Substation equipment component parameter identification and analysis method and device

By setting the equipment identification code on the substation equipment and performing image processing, the problem of difficult to identify the substation equipment types and parameters in the prior art is solved, efficient and accurate equipment identification and parameter analysis are achieved, and identification costs and deployment time are reduced.

CN118968138APending Publication Date: 2024-11-15INFORMATION & COMM BRANCH OF STATE GRID JIANGSU ELECTRIC POWER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410995315.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The prior art is difficult to effectively identify and analyze the types and parameters of substation equipment, which leads to difficulty in identifying and consumes a lot of manpower and material resources. It also requires frequent update of neural network models when equipment is updated, which has a large workload and a long cycle.

Method used

By setting the device identification code on the substation equipment, collecting images and performing integrity detection, obtaining image identification information and device component information, performing perspective transformation and image processing, and performing parameter identification analysis based on the device component information, improving the accuracy and efficiency of identification .

Benefits of technology

It improves the accuracy and efficiency of device identification, reduces the identification cost, and shortens the deployment time when adding new device types, and directly deploys through device identification code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118968138A_ABST
    Figure CN118968138A_ABST
Patent Text Reader

Abstract

The invention discloses an identification and analysis method and device for substation equipment component parameters. The method is characterized by comprising the following steps: acquiring a to-be-recognized image of target equipment through an equipment acquisition unit; when it is detected that the equipment identification code in the to-be-identified image satisfies integrity detection, acquiring image identification information and equipment component information of the to-be-identified image; performing perspective transformation and image processing on the to-be-identified image based on the image identification information and the equipment component information to obtain an equipment component image; and performing parameter identification analysis on the equipment component image based on the equipment component information to obtain target parameter information corresponding to the target equipment. Through the equipment identification code, the equipment identification accuracy and efficiency in the to-be-identified image are improved, the equipment part identification cost is effectively reduced, and when the equipment type is newly added, direct deployment can be performed through the equipment identification code, so that the deployment time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid equipment identification, and in particular to a method and device for identifying and analyzing parameters of substation equipment components. Background Art

[0002] During the operation of the substation, there are a large number and types of equipment in operation. In order to ensure the normal operation of the equipment, the substation needs to inspect the equipment one by one, take images of each device, and identify and determine the operating status of each device. When identifying the operating status of the equipment, it is necessary to identify the type of equipment based on the captured image, and then determine whether the parameters of the equipment are normal. In the prior art, the recognition and analysis of images usually adopts the training of neural network models. The neural network model obtained through training is used to identify and analyze the collected images one by one to obtain the equipment type and equipment parameters. However, since there are a large number and types of equipment running in the substation, and the instruments installed in the equipment are not single, it is difficult to train the neural network model, and it takes a lot of manpower and material resources. In addition, when the substation equipment is updated, the neural network model needs to be updated. The workload is too large and the cycle is long, which makes it difficult to meet the needs of identifying substation equipment. Summary of the invention

[0003] The present invention provides a method and device for identifying and analyzing parameters of substation equipment components, so as to solve the technical problem that it is difficult to identify the type and parameters of substation equipment in the prior art.

[0004] According to one aspect of the present invention, a method for identifying and analyzing parameters of substation equipment components is provided, comprising:

[0005] Collecting the image to be identified of the target device through the device acquisition unit;

[0006] When it is detected that the device identification code in the image to be identified satisfies the integrity detection, acquiring the image identification information and device component information of the image to be identified;

[0007] Performing perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain a device component image;

[0008] Parameter identification and analysis are performed on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

[0009] According to another aspect of the present invention, there is provided a device for identifying and analyzing parameters of substation equipment components, comprising:

[0010] An image acquisition module, used for acquiring an image to be identified of a target device through a device acquisition unit;

[0011] An image identification recognition module is used to obtain image identification information and device component information of the image to be identified when it is detected that the device identification code in the image to be identified meets the integrity detection;

[0012] An image processing module, used for performing perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain a device component image;

[0013] The image analysis module is used to perform parameter identification and analysis on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

[0014] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0015] at least one processor; and

[0016] a memory communicatively connected to the at least one processor; wherein,

[0017] 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 identifying and parsing substation equipment component parameters described in any embodiment of the present invention.

[0018] 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 identifying and parsing substation equipment component parameters described in any embodiment of the present invention when executed.

[0019] The technical solution of the embodiment of the present invention collects the image to be identified of the target device through the device acquisition unit. When it is detected that the device identification code in the image to be identified meets the integrity test, the image identification information and device component information of the image to be identified are obtained. By performing integrity test on the device identification code of the image to be identified, the validity of the image to be identified can be determined. Only valid images to be identified are detected, which improves the detection efficiency. The image to be identified is perspective transformed and processed based on the image identification information and the device component information to obtain a device component image. The device component information is used as reference information to improve the accuracy and efficiency of image correction during perspective transformation, and effectively improve the recognition accuracy. Parameter identification and analysis are performed on the device component image based on the device component information to obtain target parameter information corresponding to the target device, and the parameter analysis of the device component image can be guided by the device component information, which can effectively improve the efficiency and accuracy of parameter analysis, solve the technical problem that it is difficult to identify the type and parameters of substation equipment in the prior art, improve the accuracy of device identification in the image to be identified through the device identification code, effectively reduce the cost of device component identification, and when a new device type is added, it can be directly deployed through the device identification code, shortening the deployment time.

[0020] 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

[0021] 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.

[0022] Figure 1 A flowchart of a method for identifying and analyzing substation equipment component parameters is provided for an embodiment of the present invention;

[0023] Figure 2 A flowchart of another method for identifying and analyzing substation equipment component parameters provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of the structure of a device for identifying and analyzing parameters of substation equipment components provided by an embodiment of the present invention;

[0025] Figure 4 A schematic structural diagram of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0026] 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.

[0027] 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.

[0028] Figure 1 The present invention provides a flowchart of a method for identifying and analyzing substation equipment component parameters. This embodiment can be applied to the situation where the equipment components in the substation are inspected, the inspected equipment components are identified, and the equipment parameters are read. The method can be executed by a device for identifying and analyzing substation equipment component parameters. The device for identifying and analyzing substation equipment component parameters can be implemented in the form of hardware and / or software. The device for identifying and analyzing substation equipment component parameters can be configured in an electronic device. Figure 1 As shown, the method includes:

[0029] Optionally, in an embodiment of the present invention, for substation equipment set in a substation, it is necessary to set an equipment identification code on the outer surface of the substation equipment during setting, preferably in an equipment panel with parameter components of the substation equipment, and the equipment panel containing the equipment identification code is oriented toward the inspection route to facilitate shooting of the equipment panel during the inspection.

[0030] When setting the equipment identification code, the position and size of the equipment identification code need to be adjusted according to the actual size and shape of the substation equipment, and the clarity of the equipment identification code also needs to be ensured. It should be noted that the equipment identification code can be set by spraying or gluing.

[0031] Optionally, the equipment identification code may be a barcode storing information. Preferably, the equipment identification code may be a QR code, in which the equipment component information in each equipment panel in the substation equipment is recorded. The equipment component information includes the upper boundary length and left boundary length of the equipment identification code, component analysis type, component outline information, component shape information, and component parameter measurement type.

[0032] Further, the component parsing type may be a parsing type for component parameters; for example, the component parsing type may be for printed digital recognition and pointer-type instruments. Component contour information may be component contour coordinates; for example, assuming that the component is a rectangular component contour, the component contour coordinates of this component are the coordinates of the four vertices of the rectangle; for a circular component contour, the component contour coordinates of this component are the coordinates of the center of the circle and the radius of the circle; for an irregular component contour, the component contour coordinates of this component are the coordinates of all vertices of the component. Component shape information may be the shape of the component; for example, the component shape may be a rectangular, circular, or irregular shape; the component parameter measurement type may be the numerical meaning corresponding to the parameter in the component; for example, the component parameter measurement type may be temperature and oil pressure. It should be noted that since the QR code records information in the form of string encoding, the above-mentioned component information and QR code information need to be set according to the string rules, for example, for component parsing type: 1 represents printed digital recognition, 2 represents pointer-type instruments; for component shape information: 1 represents a rectangle, 2 represents a circle, and 3 represents an irregular shape; for component parameter measurement type: 1 represents temperature, and 2 represents oil pressure.

[0033] Optionally, when determining the coordinates of the component contour, it is necessary to use the upper left corner vertex of the device identification code as the coordinate origin, the upper boundary of the device identification code as the x-axis of the coordinate system, and the left boundary of the QR code as the Y-axis to measure the coordinates of the component contour and obtain the component contour coordinates in the coordinate system.

[0034] For example, taking the device identification code as a QR code, assuming that the length of the upper border of the QR code is a1, and the length of the left border is a2; the coordinates of the four vertices of the rectangular digital instrument are (x1, y1), (x2, y2), (x3, y4), and (x4, y4), and the numbers represent temperature; the center coordinates of the circular pointer instrument are (x5, x6), the radius is r, and the pointer indicates oil pressure. The final concatenated string is: a1, a2; 1, 1, (x1, y1), (x2, y2), (x3, y4), (x4, y4), 1; 2, 2, (x5, x6), r, 2, and the concatenated string is encoded as a QR code.

[0035] S110 , collecting an image to be identified of a target device through a device collection unit.

[0036] The equipment collection unit may be a device capable of patrolling and photographing. It should be noted that the equipment collection unit may be a patrol robot or a patrol drone. The patrol robot may patrol along a fixed route, and the patrol drone may fly and patrol along a fixed route.

[0037] Optionally, the equipment acquisition unit usually patrols the substation along a fixed route, and takes the substation equipment with the equipment identification code as the target equipment, and photographs the target equipment during the patrol process to obtain the image to be identified of the target equipment. The image to be identified can be an image obtained by photographing the equipment identification code and components of the target equipment.

[0038] S120: When it is detected that the device identification code in the image to be identified satisfies the integrity check, image identification information and device component information of the image to be identified are obtained.

[0039] Optionally, when the device acquisition unit acquires images of the target device, it may be affected by the environment of the substation, resulting in the integrity of the acquired image to be identified being affected, and the image to be identified needs to be integrity checked. The integrity check process may be to detect and extract the device identification code in the image to be identified, and decode and integrity check the device identification code.

[0040] The specific integrity detection process is as follows: the collected image to be identified is preprocessed, and through image normalization and image scaling, the preprocessed image to be identified is extracted through a deep neural network to identify the edges, corners and significant features of the device identification code of the image to be identified, and then the candidate area where the device identification code may exist is obtained through the sliding window, candidate area filtering and bounding box regression of the region proposal network, and then the device identification code area is obtained through confidence sorting and region suppression of non-maximum suppression (NMS);

[0041] After obtaining the device identification code area, the device identification code area is binarized, the grayscale image is converted into a binary image, the binary image is located and aligned by checking the positioning points and perspective transformation, and the device identification code is decoded and integrity checked. The decoding process includes data extraction, error correction, and data decoding; the integrity check includes positioning point detection, geometric correction, and error correction capability.

[0042] Optionally, only after the binary image passes the integrity check, the image to be identified is deemed to have passed the integrity check. When the image to be identified passes the integrity check, the device identification code can be decoded to obtain device component information, and the device identification code is positionally identified, and based on the device identification code upper boundary length and left boundary length of the device identification code recorded in the device component information, the image identification information is obtained.

[0043] The image identification information may be the coordinate information of the device identification code in the image to be identified. It should be noted that the device identification code has at least one vertex in the image to be identified, and the image identification information is the vertex coordinates of each vertex. The coordinate system of the vertex coordinates is established based on the image to be identified, and the two vertical sides of the image are used as the coordinate axes of the coordinate system.

[0044] Specifically, after obtaining the image to be identified of the target device, it is necessary to perform an integrity check on the image to be identified. When it is detected that the device identification code in the image to be identified meets the integrity check, the image identification information and device component information of the image to be identified are obtained.

[0045] Optionally, in another optional embodiment of the present invention, obtaining the image identification information and device component information of the image to be identified includes:

[0046] Obtaining device decoding information and image identification information corresponding to the device identification code;

[0047] The device component information of the image to be identified is obtained by querying a preset device database according to the device decoding information.

[0048] Among them, the device decoding information can be information obtained by decoding the device identification code during the integrity check process. It should be noted that in the embodiment of the present invention, since the substation equipment itself has a device identification code, it is impossible to re-set the device identification code for the substation equipment. There is at least one device identification code in the image to be detected, and then the integrity check of the device identification code is performed. If the device identification code is decoded to obtain device decoding information, it is necessary to obtain the device component information of the image to be identified based on the device decoding information.

[0049] Optionally, when an equipment identification code already exists in the substation equipment, the equipment identification code is decoded in advance to obtain equipment decoding information of the equipment identification code, and the position of the equipment identification code of the substation equipment is identified to obtain the upper boundary length and the left boundary length of the equipment identification code, and the component analysis type, component outline information, component shape information, and component parameter measurement type corresponding to the substation equipment are manually identified and measured as the equipment component information of the equipment identification code, and an information data table with one-to-one correspondence between the equipment decoding information and the equipment component information is created, and the information data table is stored in a pre-created equipment database. After obtaining the equipment decoding information, the equipment decoding information is matched in the pre-created equipment database to obtain the information data table, and the equipment component information in the information data table is used as the equipment component information of the image to be identified.

[0050] Optionally, after obtaining the image to be identified of the target device, it is necessary to perform an integrity check on the image to be identified. When it is detected that the device identification code in the image to be identified satisfies the integrity check, the device decoding information and image identification information corresponding to the device identification code are obtained, and the device decoding information is used to perform data query in a preset device database to obtain device component information.

[0051] S130. Perform perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain a device component image.

[0052] Optionally, after encoding the device identification code information and component information of the target device into a device identification code, the device identification code is set on the target device, and an image of the target device is captured to obtain an original stored image, and the device component information of the device identification code is recorded, and the original stored image and the device component information of the device identification code are stored in a device database. After obtaining the image to be identified, the original stored image corresponding to the image to be identified is queried, and the device component information corresponding to the original stored image is directly obtained in the device database.

[0053] Optionally, perspective transformation usually requires calculation of a perspective matrix, and the device component information and the image recognition information of the image to be recognized are subjected to perspective matrix calculation, and then the image to be recognized is subjected to perspective transformation.

[0054] Optionally, the device component image can be the image to be identified after perspective transformation correction and image masking. Due to the environmental restrictions of the substation, the image to be identified is deformed. Even if the image to be identified passes the integrity test, the device identification code and component image of the device panel in the image to be identified are deformed. The device component image is obtained by perspective transformation of the image to be identified based on the device component information and image identification information, and image masking based on the device component information.

[0055] S140: Perform parameter recognition and analysis on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

[0056] The target parameter information may be parameters displayed on components on a device panel in the image to be identified.

[0057] Optionally, the device component image is subjected to parameter identification and analysis based on the device component information to obtain target parameter information corresponding to the target device. The device component information may be obtained by decoding the device identification code during the integrity detection process; or by identifying the device identification code to obtain device decoding information, and querying a preset device database based on the device decoding information to obtain the device component information.

[0058] The technical solution of the embodiment of the present invention collects the image to be identified of the target device through the device acquisition unit. When it is detected that the device identification code in the image to be identified meets the integrity test, the image identification information and device component information of the image to be identified are obtained. By performing integrity test on the device identification code of the image to be identified, the validity of the image to be identified can be determined. Only valid images to be identified are detected, which improves the detection efficiency. The image to be identified is perspective transformed and processed based on the image identification information and the device component information to obtain a device component image. The device component information is used as reference information to improve the accuracy and efficiency of image correction during perspective transformation, and effectively improve the recognition accuracy. Parameter identification and analysis are performed on the device component image based on the device component information to obtain target parameter information corresponding to the target device, and the parameter analysis of the device component image can be guided by the device component information, which can effectively improve the efficiency and accuracy of parameter analysis, solve the technical problem that it is difficult to identify the type and parameters of substation equipment in the prior art, improve the accuracy of device identification in the image to be identified through the device identification code, effectively reduce the cost of device component identification, and when a new device type is added, it can be directly deployed through the device identification code, shortening the deployment time.

[0059] Figure 2 This is a flowchart of another method for identifying and analyzing substation equipment component parameters provided by an embodiment of the present invention. The relationship between this embodiment and the above embodiment is to specifically explain the specific process of perspective transformation of the image to be identified based on the image identification information and the equipment component information. Figure 2 As shown, the method includes:

[0060] S210 , collecting the image to be recognized of the target device through the device collection unit.

[0061] S220: When it is detected that the device identification code in the image to be identified satisfies the integrity check, image identification information and device component information of the image to be identified are obtained.

[0062] S230: Determine a first perspective matrix according to the image identification information and the device component information.

[0063] Optionally, since the upper boundary length and the left boundary length of the device identification code are recorded in the device component information, in the target device, since the upper boundary of the device identification code is the x-axis of the coordinate system and the left boundary of the device identification code is the Y-axis, the original vertex coordinate set of the device component image in the target device is obtained based on the upper boundary length and the left boundary length of the device identification code. Among them, the original vertex coordinate set can be the coordinates of each vertex of the device identification code in the original stored image. Exemplarily, taking the device identification code as a QR code as an example, in the target device, the upper boundary of the QR code is the x-axis of the coordinate system, the left boundary of the QR code is the Y-axis, and the upper boundary length of the device identification code is a1, and the left boundary length is a2, then the original vertex coordinate set is A (0, 0), B (a1, 0), C (a1, a2), D (0, a2), A, B, C, D are the four vertices of the device identification code.

[0064] Optionally, after obtaining the original vertex coordinate set, a first perspective matrix that maps the original vertex coordinate set to the image identification information is calculated based on the original vertex coordinate set and the image identification information. The first perspective matrix can be obtained by performing perspective transformation calculation based on the original vertex coordinate set and the image identification information. Exemplarily, the specific process of calculating the perspective matrix is ​​as follows: the original vertex coordinate set is A(0,0), B(a1,0), C(a1,a2), D(0,a2), and the image identification information is: A', B', C', D', and A and A', B and B', C and C', and D and D' are respectively used as 4 pairs of corresponding points. Convert the original vertex coordinate set A, B, C, D from two-dimensional coordinates (x, y) to homogeneous coordinates (x, y, 1), and construct a 3x3 perspective matrix. Select the last item of the matrix as 1. Transform the homogeneous coordinates through the perspective transformation matrix to obtain new homogeneous coordinates. Normalize the new homogeneous coordinates to obtain the two-dimensional coordinates A', B', C', D', and then obtain 8 equations to solve the 8 unknowns of the perspective matrix, and obtain the perspective matrix corresponding to the 8 unknowns.

[0065] S240: Perform perspective transformation on the image to be recognized using the first perspective matrix and the device component information to obtain a corrected image.

[0066] The corrected image may be an image to be recognized that has been corrected by perspective transformation.

[0067] Specifically, after obtaining the first perspective matrix, the image to be recognized is perspectively transformed again according to the device component information through the first perspective matrix to obtain a corrected image of the image to be recognized.

[0068] Optionally, in another optional embodiment of the present invention, performing perspective transformation on the image to be recognized according to the original stored image by using the first perspective matrix to obtain a corrected image includes:

[0069] According to the device component information, a first vertex coordinate set of a minimum circumscribed rectangle corresponding to the device component is obtained; the first vertex coordinate set is perspective transformed by the first perspective matrix to determine a second vertex coordinate set corresponding to the image to be identified; according to the first vertex coordinate set, the coordinates of the minimum circumscribed rectangle corresponding to the device component are updated to determine a third vertex coordinate set; according to the second vertex coordinate set and the third vertex coordinate set, the second perspective matrix is ​​determined; the image to be identified is perspective transformed by the second perspective matrix to obtain the corrected image.

[0070] Among them, the minimum bounding rectangle can be an axis-aligned rectangle of the minimum area that can completely surround the device component in the target device. It should be noted that when identifying the image to be identified corresponding to the target device, the device component information corresponding to the device identification code is obtained by parsing, and the first vertex coordinate set of the minimum bounding rectangle of the device component is obtained according to the device component information. The first vertex coordinate set includes the coordinates of the four vertices of the minimum bounding rectangle corresponding to the device component. Exemplarily, the first vertex coordinate set can be expressed as P(x1, y1), Q(x2, y2), R(x3, y3), S(x4, y4).

[0071] Optionally, the first vertex coordinate set of the minimum circumscribed rectangle of the equipment component is obtained according to the equipment component information, and the coordinates of the four vertices of the first vertex coordinate set in the image to be identified are calculated by the first perspective matrix, and the calculated four vertex coordinates are used as the second vertex coordinate set. Exemplarily, the process of calculating P(x1, y1), Q(x2, y2), R(x3, y3) and S(x4, y4) and the first perspective matrix is ​​as follows: for each point, each point is converted into homogeneous coordinates in turn, and the first perspective matrix is ​​applied to each point to obtain each point after the change, and each point is converted and normalized to calculate P', Q', R' and S'.

[0072] The second perspective matrix may be calculated based on the third vertex coordinates and the second vertex coordinate set.

[0073] Optionally, in order to prevent the corrected image from losing the picture, the coordinates of the minimum enclosing rectangle corresponding to the equipment component are updated according to the first vertex coordinate set of the equipment component image, the vertices of the minimum enclosing rectangle are used as the origin of the coordinate system, and the width and height of the minimum enclosing rectangle are obtained based on the first vertex coordinates, and then the coordinates are updated to obtain a third vertex coordinate set; wherein, the coordinate system corresponding to the third vertex coordinate set is a new coordinate system obtained by using the vertices of the minimum enclosing rectangle as the origin of the coordinate system and the width and height of the minimum enclosing rectangle as coordinate axes. Exemplarily, the first vertex coordinate set is the coordinates of the four vertices P(x1, y1), Q(x2, y2), R(x3, y3), S(x4, y4), w is the width of the rectangular outline (w=x2-x1=x3-x4), h is the height of the rectangular outline (h=y1-y4=y2-y3), and the third vertex coordinate set is P" (0, 0), Q" (w, 0), R" (0, h), S" (w, h).

[0074] Optionally, after obtaining the third vertex coordinate set, a second perspective matrix is ​​calculated to map the second vertex coordinate set to the third vertex coordinate set. For the specific calculation process, refer to the calculation process of calculating the first matrix.

[0075] Optionally, in another optional embodiment of the present invention, performing perspective transformation on the image to be identified by using the second perspective matrix to obtain the device component image includes:

[0076] The image to be recognized is perspective transformed by using the second perspective matrix to obtain a perspective transformed image; and the perspective transformed image is cropped according to the third vertex coordinate set to obtain a corrected image.

[0077] The perspective transformed image may be obtained by performing perspective transformation on the image to be identified based on the second perspective matrix.

[0078] Optionally, after calculating the second perspective matrix of the image to be identified, the entire image to be identified is perspective transformed by using the second perspective matrix to obtain a perspective transformed image; since the obtained perspective transformed image has too much content and is likely to affect the parameter recognition result, the third vertex coordinate set is used as the basis, and pixels of the image in the rectangular area whose coordinates are the coordinate values ​​of the third vertex coordinate set are extracted from the perspective transformed image to complete image cropping and obtain a corrected image.

[0079] S250 , acquiring component contour information according to the device component information, and performing image masking on the corrected image based on the component contour information to obtain the device component image.

[0080] The device component image may be a rectified image after image masking.

[0081] Optionally, the embodiment of the present invention obtains device component information by decoding the device identification code in the image to be identified, and obtains component contour information based on the device component information.

[0082] Optionally, the component contour information is the device component contour coordinates. Based on the component contour information, the specific contour of the component can be obtained, and then the corrected image is masked according to the component contour information to obtain the device component image. Exemplarily, the process of implementing image masking of the corrected image can be as follows: a mask image of the corrected image can be created, and the range included in the component contour information is used as the area of ​​interest, and the area outside the range included in the component contour information is used as the area of ​​no interest. The area of ​​interest is marked with a high grayscale value, and the area of ​​no interest is marked with a low grayscale value. By multiplying each pixel of the mask image and the corrected image, the two images are combined to obtain the device component image. Among them, the device component image is a binary image, the area with high grayscale values ​​is the device component, and the area with low grayscale values ​​is the irrelevant area of ​​the device panel.

[0083] S260: Perform parameter recognition and analysis on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

[0084] Optionally, in another optional embodiment of the present invention, the performing parameter identification and parsing on the device component image based on the device component information to obtain target parameter information corresponding to the target device includes:

[0085] The component analysis type is acquired according to the device component information; and parameter identification and analysis is performed on the device component image according to the component analysis type to obtain the target parameter information.

[0086] Specifically, the device component information corresponding to the device identification code in the image to be identified is obtained, the component parsing type is obtained from the device component information, and parameter identification and parsing of the device component image is performed according to the component parsing type to obtain target parameter information.

[0087] Optionally, in another optional embodiment of the present invention, performing parameter identification and parsing on the device component image according to the component parsing type to obtain the target parameter information includes:

[0088] Get the image parsing method corresponding to the component parsing type;

[0089] The equipment component image is identified by the image analysis method to obtain the target parameter information.

[0090] The image analysis method may be a pre-set analysis method for each component analysis type. It should be noted that corresponding image analysis methods are set for different component analysis types. For example, if the component analysis type is printed digital recognition, the image analysis method is printed digital recognition software, and if the component analysis type is pointer instrument, the image analysis method is pointer instrument recognition software.

[0091] Optionally, the image of the equipment component is analyzed for parameters by an image analysis method corresponding to the component analysis type to obtain target parameter information. Exemplarily, the image of the equipment component is analyzed by printed digital recognition software to identify the numbers in the image; the image of the equipment component is analyzed by pointer instrument recognition software to identify the pointer reading in the image.

[0092] Optionally, after obtaining the target parameter information, the read target parameter is reported according to the component parameter measurement type. For example, if the component parameter measurement type is temperature, the target parameter information is the device temperature; if the component parameter measurement type is oil pressure, the target parameter information is the oil pressure.

[0093] The method provided in the embodiment of the present invention can effectively improve the recognition accuracy of the image to be recognized by calculating two perspective matrices and performing two perspective transformations on the image to be recognized, and perform parameter analysis on the device component image through the image analysis method corresponding to the component analysis type. Through personalized image analysis methods for device components of different device types, the analysis accuracy can be effectively improved, and the same detection method is used for substation equipment of different equipment types, which can effectively reduce implementation costs and shorten deployment time.

[0094] Figure 3 A schematic diagram of the structure of a device for identifying and analyzing substation equipment component parameters provided by an embodiment of the present invention. Figure 3 As shown, the device includes: an image acquisition module 310, an image identification module 320, an image processing module 330 and an image analysis module 340; wherein,

[0095] An image acquisition module 310 is used to acquire an image to be identified of a target device through a device acquisition unit;

[0096] The image identification recognition module 320 is used to obtain the image identification information and device component information of the image to be identified when it is detected that the device identification code in the image to be identified meets the integrity detection;

[0097] An image processing module 330 is used to perform perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain a device component image;

[0098] The image analysis module 340 is used to perform parameter recognition and analysis on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

[0099] The technical solution of the embodiment of the present invention collects the image to be identified of the target device through the device acquisition unit. When it is detected that the device identification code in the image to be identified meets the integrity test, the image identification information and device component information of the image to be identified are obtained. By performing integrity test on the device identification code of the image to be identified, the validity of the image to be identified can be determined. Only valid images to be identified are detected, which improves the detection efficiency. The image to be identified is perspective transformed and processed based on the image identification information and the device component information to obtain a device component image. The device component information is used as reference information to improve the accuracy and efficiency of image correction during perspective transformation, and effectively improve the recognition accuracy. Parameter identification and analysis are performed on the device component image based on the device component information to obtain target parameter information corresponding to the target device, and the parameter analysis of the device component image can be guided by the device component information, which can effectively improve the efficiency and accuracy of parameter analysis, solve the technical problem that it is difficult to identify the type and parameters of substation equipment in the prior art, improve the accuracy of device identification in the image to be identified through the device identification code, effectively reduce the cost of device component identification, and when a new device type is added, it can be directly deployed through the device identification code, shortening the deployment time.

[0100] Optionally, the image processing module is specifically used for:

[0101] Determine a first perspective matrix according to the image identification information and the device component information;

[0102] Performing perspective transformation on the image to be recognized by using the first perspective matrix and the device component information to obtain a corrected image;

[0103] The component contour information is acquired according to the device component information, and the image mask is performed on the rectified image based on the component contour information to obtain the device component image. Optionally, the image processing module is further configured to:

[0104] Acquire a first vertex coordinate set of a minimum circumscribed rectangle corresponding to the device component according to the device component information;

[0105] Performing perspective transformation on the first vertex coordinate set by using the first perspective matrix to determine a second vertex coordinate set corresponding to the image to be recognized;

[0106] Update the coordinates of the minimum circumscribed rectangle corresponding to the device component according to the first vertex coordinate set to determine a third vertex coordinate set;

[0107] Determine the second perspective matrix according to the second vertex coordinate set and the third vertex coordinate set;

[0108] The image to be recognized is perspectively transformed using the second perspective matrix to obtain the corrected image.

[0109] Optionally, the image processing module is further used to:

[0110] Performing perspective transformation on the image to be recognized by using the second perspective matrix to obtain a perspective transformed image;

[0111] The perspective transformed image is cropped according to the third vertex coordinate set to obtain a corrected image.

[0112] Optionally, the image parsing module is specifically used for:

[0113] Acquire a component parsing type according to the device component information;

[0114] Parameter identification and analysis are performed on the device component image according to the component analysis type to obtain the target parameter information.

[0115] Optionally, the image parsing module is further used for:

[0116] Get the image parsing method corresponding to the component parsing type;

[0117] The equipment component image is identified by the image analysis method to obtain the target parameter information.

[0118] Optionally, the image identification module is specifically used to:

[0119] Obtaining device decoding information and image identification information corresponding to the device identification code;

[0120] The device component information of the image to be identified is obtained by querying a preset device database according to the device decoding information.

[0121] The device for identifying and analyzing substation equipment component parameters provided in the embodiment of the present invention can execute the method for identifying and analyzing substation equipment component parameters provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0122] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can 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 modes are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0123] like Figure 4 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.

[0124] 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 grid such as the Internet and / or various telecommunication grids.

[0125] 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 the identification and analysis method of the substation equipment component parameters.

[0126] In some embodiments, the identification and parsing method of substation equipment component 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 identification and parsing method of substation equipment component parameters described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the identification and parsing method of substation equipment component parameters in any other appropriate manner (e.g., by means of firmware).

[0127] 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.

[0128] 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 modes / 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.

[0129] 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.

[0130] 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).

[0131] The systems and techniques described herein can 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 grid 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 can be interconnected by any form or medium of digital data communication (e.g., a communication grid). Examples of communication grids include: a local area network (LAN), a wide area network (WAN), a blockchain grid, and the Internet.

[0132] 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 grid. The client and server relationship is generated by computer programs running on the respective 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.

[0133] 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.

[0134] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method steps for identifying and analyzing substation equipment component parameters provided in any embodiment of the present invention are implemented. The method includes:

[0135] Collecting the image to be identified of the target device through the device acquisition unit;

[0136] When it is detected that the device identification code in the image to be identified satisfies the integrity detection, acquiring the image identification information and device component information of the image to be identified;

[0137] Performing perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain a device component image;

[0138] Parameter identification and analysis are performed on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

[0139] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, 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 above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0140] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0141] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0142] Computer program code for performing the operation of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of grid, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0143] It should be understood by those skilled in the art that the above modules or steps of the present invention can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a grid composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0144] 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.

[0145] 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 identifying and analyzing parameters of substation equipment components, characterized in that: include: Collecting the image to be identified of the target device through the device acquisition unit; When it is detected that the device identification code in the image to be identified satisfies the integrity detection, acquiring the image identification information and device component information of the image to be identified; Performing perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain a device component image; Parameter identification and analysis are performed on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

2. The method according to claim 1, characterized in that The performing perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain the device component image includes: Determine a first perspective matrix according to the image identification information and the device component information; Performing perspective transformation on the image to be recognized by using the first perspective matrix and the device component information to obtain a corrected image; Component contour information is acquired according to the device component information, and image masking is performed on the corrected image based on the component contour information to obtain the device component image.

3. The method according to claim 2, characterized in that The step of performing perspective transformation on the image to be recognized by using the first perspective matrix and the device component information to obtain a corrected image includes: Acquire a first vertex coordinate set of a minimum circumscribed rectangle corresponding to the device component according to the device component information; Performing perspective transformation on the first vertex coordinate set by using the first perspective matrix to determine a second vertex coordinate set corresponding to the image to be recognized; Update the coordinates of the minimum circumscribed rectangle corresponding to the device component according to the first vertex coordinate set to determine a third vertex coordinate set; Determine a second perspective matrix based on the second vertex coordinate set and the third vertex coordinate set; The image to be recognized is perspectively transformed using the second perspective matrix to obtain the corrected image.

4. The method according to claim 3, characterized in that The step of performing perspective transformation on the image to be identified by using the second perspective matrix to obtain the device component image includes: Performing perspective transformation on the image to be recognized by using the second perspective matrix to obtain a perspective transformed image; The perspective transformed image is cropped according to the third vertex coordinate set to obtain a corrected image.

5. The method according to claim 1, characterized in that The performing parameter identification and parsing on the device component image based on the device component information to obtain target parameter information corresponding to the target device includes: Acquire a component parsing type according to the device component information; Parameter identification and analysis are performed on the device component image according to the component analysis type to obtain the target parameter information.

6. The method according to claim 5, characterized in that The performing parameter identification and parsing on the device component image according to the component parsing type to obtain the target parameter information includes: Get the image parsing method corresponding to the component parsing type; The equipment component image is identified by the image analysis method to obtain the target parameter information.

7. The method according to claim 1, characterized in that Obtaining image identification information and device component information of the image to be identified, including: Obtaining device decoding information corresponding to the device identification code and the image identification information; The device component information of the image to be identified is obtained by querying a preset device database according to the device decoding information.

8. A device for identifying and analyzing parameters of substation equipment components, characterized in that: include: An image acquisition module, used for acquiring an image to be identified of a target device through a device acquisition unit; An image identification recognition module is used to obtain image identification information and device component information of the image to be identified when it is detected that the device identification code in the image to be identified meets the integrity detection; An image processing module, used for performing perspective transformation and image processing on the image to be identified based on the image identification information and the device component information to obtain a device component image; The image analysis module is used to perform parameter identification and analysis on the device component image based on the device component information to obtain target parameter information corresponding to the target device.

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 identifying and parsing substation equipment component parameters according to any one of claims 1-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 identifying and analyzing parameters of substation equipment components according to any one of claims 1 to 7 when executed.