Cable fingerprint identification method and system
By constructing a cable fingerprint identification method and using geographical environment images and cross-sectional images to detect cable loss and wire change angles, the problem of unused cable characteristic data is solved and the accuracy and speed of cable fault detection are improved.
Patent Information
- Application Number
- CN202410677751.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-29
AI Technical Summary
In the existing technology, the characteristic data of cables formed during the manufacturing, transportation, and installation processes cannot be effectively utilized, resulting in a large amount of calculation and slow speed in the process of cable identification and fault detection, and it is difficult to accurately determine the cable installation location and location. match.
By obtaining geographical environment images and cross-sectional images of cable installation locations and multiple time points, we can predict cable loss, detect wire shapes and positions, use feature rotation algorithms to detect wire change angles, construct cable fingerprints, and establish a cable fingerprint database to realize cable faults. Time and location identification.
It reduces the amount of calculation, improves the accuracy and speed of cable fault detection, can more accurately identify the location of cable faults, and meets the needs of cable full life cycle management.
Smart Images

Figure CN118279673B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a cable fingerprint recognition method and system. Background Art
[0002] At present, with the advent of intelligence and informatization, we have entered the data age. Taking the power system as an example, the cable contains a lot of data about itself. Just like human fingerprints look similar on the surface, but in fact everyone is born with different fingerprints. Cable fingerprint refers to the acquisition of characteristic data formed by the cable during the manufacturing, transportation, installation and other processes through specific detection and analysis of the cable, and combining these data to form a unique "fingerprint" for identifying and locating the status, location, disease and other problems of the cable. Cable fingerprint technology can help realize the full life cycle management of the cable, improve the safety, reliability and service life of the cable, and reduce the incidence of power accidents. By collecting the implicit information of the cable and establishing a feature library so that this feature library can describe it, it is called power fingerprint. However, these data are often wasted, and when it is necessary to judge, detect or predict the cable, this information needs to be obtained every time. It greatly increases our calculation amount and prolongs the calculation speed. It is very important to mine the specific implicit features of the cable and build a cable fingerprint that can meet the production and life services. It is also necessary to accurately judge the cable installation position and installation matching according to the cable fingerprint. Summary of the invention
[0003] The object of the present invention is to provide a cable fingerprint identification method and system to solve the above problems existing in the prior art.
[0004] In a first aspect, an embodiment of the present invention provides a cable fingerprint identification method, comprising:
[0005] Obtaining the cable installation location, multiple geographical environment images at multiple time points, and two cross-sectional images at both ends of the cable; the geographical environment images represent the environmental conditions at different geographical locations at multiple time periods in a year; the cross-sectional images represent images of the exposed cross sections at both ends of the cable taken by a movable camera device at the same horizontal plane; the cable installation location represents the geographical location where the cable is installed;
[0006] Based on the multiple geographic environment images at the multiple time points and the cable installation locations, predict the cable loss in different environments to obtain a cable environmental loss value;
[0007] Based on the cross-sectional image, the shape and position of the wire in the cross-sectional area are detected to obtain cross-sectional features; two cross-sectional features are obtained corresponding to the two cross-sectional images;
[0008] By using a feature rotation algorithm, based on the two cross-sectional features and the two cross-sectional images, the changed position of the conductor in the cable is detected to obtain the changed angle of the conductor;
[0009] The cable environment feature, the conductor change angle and the two cross-sectional features are constructed into a key-value pair with the corresponding cable as a cable fingerprint; one cable corresponds to one cable environment feature and one conductor change angle corresponds to two cross-sectional features; multiple cables correspond to multiple cable fingerprints;
[0010] Identify the cable fault time and location based on the cable fingerprint.
[0011] Optionally, a cable fingerprint library is constructed based on multiple cable fingerprints.
[0012] Optionally, the detecting the changed position of the conductor in the cable based on the two cross-sectional features and the two cross-sectional images by a feature rotation algorithm to obtain the changed angle of the conductor includes:
[0013] The cross-sectional feature is divided into a first cross-sectional feature and a second cross-sectional feature; a cross-sectional image corresponding to the first cross-sectional feature is used as a first cross-sectional image; and a cross-sectional image corresponding to the second cross-sectional feature is used as a second cross-sectional image;
[0014] Inputting the first cross-sectional feature into a classification network to detect the distribution position of the wire and obtain a first wire position detection feature;
[0015] Inputting the second cross-sectional feature into a classification network, detecting the distribution position of the wire, and obtaining a second wire position detection feature and a second wire position center point;
[0016] Obtaining a plurality of rotation features based on the first wire position detection feature by a feature rotation algorithm;
[0017] Through a matching neural network, matching of the wire position and shape is performed according to the second wire position detection feature and the rotation feature to obtain a wire matching value; multiple rotation features correspond to multiple wire matching values;
[0018] Based on the first cross-sectional feature and a plurality of wire matching values, obtaining a first rotated cross-sectional feature;
[0019] Matching is performed based on the first cross-sectional image, the second cross-sectional image, the first rotation cross-sectional feature and the second wire position center point to obtain a wire change angle.
[0020] Optionally, the method of obtaining a plurality of rotation features based on the first wire position detection feature through a feature rotation algorithm includes:
[0021] Obtaining the sum of the height plus the width of the first wire position detection feature - 1 as the number of columns, the sum of the width plus the height of the first wire position detection feature - 1 as the number of columns, and a zero matrix corresponding to the number of pages of the first wire position detection feature length as an increase matrix;
[0022] According to the correspondence between the center point of the first wire position detection feature and the center point of the increase matrix, the first wire position detection feature is copied to the increase matrix to obtain a wire increase matrix;
[0023] Obtain multiple rotation angles; the rotation angles are 45 degrees, 90 degrees, 180 degrees, 225 degrees, 270 degrees, and 315 degrees; the rotation angles represent the angles at which the first wire position detection feature is rotated;
[0024] The values in the wire increase matrix are rotated according to the rotation angle based on the center point of the wire increase matrix to obtain a rotation feature; and multiple rotation features are obtained corresponding to multiple rotation angles.
[0025] Optionally, the obtaining the wire change angle based on matching the first cross-sectional image, the second cross-sectional image, the first rotation cross-sectional feature and the second wire position center point includes:
[0026] Inputting the first cross-sectional feature into a classification network for classification to obtain a first conductor position center point;
[0027] Marking the center point of the first wire position in the first cross-sectional image to obtain a first wire image; marking the center point of the second wire position in the second cross-sectional image to obtain a second wire image;
[0028] Based on the first conductor image, a value line of changes in the positions of a plurality of center points in the first conductor image is marked to obtain a first curve image; and a second curve image is obtained corresponding to the second conductor image;
[0029] According to the first curve image and the second curve image, a curve matching network is input to perform curve matching, and the angle difference is determined to obtain the wire change angle.
[0030] Optionally, the step of marking value lines of changes in positions of a plurality of center points in the first wire image based on the first wire image to obtain a first curve image includes:
[0031] Segmenting the first conductive line image at different angles based on the center point to obtain multiple segmentation sets;
[0032] Fitting the values in the segmentation set to obtain a fitting curve; multiple segmentation sets correspond to multiple fitting curves;
[0033] The plurality of fitting curves are respectively marked in the first wire image to obtain a first curve image.
[0034] Optionally, the matching of the wire position and shape according to the second wire position detection feature and the rotation feature to obtain the wire matching value includes:
[0035] The matching neural network is a discriminant network; the matching neural network comprises two outputs, one output represents the probability of matching, and the other output represents the probability of not matching;
[0036] If the second wire position detection feature and the rotation feature are input into a matching neural network, matching features are extracted to obtain a first matching probability and a first non-matching probability;
[0037] The quotient of the first matching probability divided by the first non-matching probability is taken as a conductor matching value.
[0038] Optionally, obtaining a first rotational cross-sectional feature based on the first cross-sectional feature and a plurality of wire matching values includes:
[0039] Using a wire matching value greater than other wire matching values among the multiple wire matching values as a first wire matching value;
[0040] taking the rotation angle corresponding to the rotation feature corresponding to the first wire matching value as the first rotation angle;
[0041] The first cross-sectional feature is rotated according to the first rotation angle to obtain a first rotated cross-sectional feature.
[0042] Optionally, the predicting the cable loss in different environments based on the multiple geographic environment images at the multiple time points and the cable installation locations to obtain the cable environment characteristics includes:
[0043] Segmenting the cable installation position in the geographic environment image to obtain a cable installation image;
[0044] The cable installation image is input into an environmental monitoring network to predict the cable loss in different environments and obtain environmental convolution features; multiple geographic environment images at multiple time points correspond to multiple environmental convolution features;
[0045] The multiple environmental convolutional features are input into a temporal convolutional network for convolution to obtain cable environmental features.
[0046] In a second aspect, an embodiment of the present invention provides a cable fingerprint identification system, including:
[0047] Acquisition module: obtains the cable installation location, multiple geographical environment images at multiple time points and two cross-sectional images at both ends of the cable; the geographical environment images represent the environmental conditions of different geographical locations at multiple time periods in a year; the cross-sectional images represent images of the exposed cross sections of both ends of the cable taken by a movable camera device on the same horizontal plane; the cable installation location represents the geographical location where the cable is installed;
[0048] Environmental prediction module: predicting the cable loss in different environments based on the multiple geographic environment images at the multiple time points and the cable installation location, and obtaining the cable environmental loss value;
[0049] Cross-section detection module: based on the cross-section image, detect the shape and position of the wire in the cross-section to obtain cross-section features; two cross-section features are obtained corresponding to the two cross-section images;
[0050] Feature rotation module: through the feature rotation algorithm, based on the two cross-sectional features and the two cross-sectional images, the changed position of the conductor in the cable is detected to obtain the changed angle of the conductor;
[0051] Key-value pair module: construct a key-value pair with the cable environment feature, the conductor change angle and the two cross-sectional features and the corresponding cable as a cable fingerprint; one cable corresponds to one cable environment feature and one conductor change angle corresponds to two cross-sectional features; multiple cables correspond to multiple cable fingerprints;
[0052] Identification module: Identifies the fault time and location of the cable based on the cable fingerprint.
[0053] Compared with the prior art, the embodiments of the present invention achieve the following beneficial effects:
[0054] The embodiment of the present invention also provides a cable fingerprint identification method and system, the method comprising: obtaining a cable installation location, multiple geographical environment images at multiple time points, and two cross-sectional images at both ends of the cable. The geographical environment images represent the environmental status of different geographical locations in multiple time periods within a year. The cross-sectional images represent images of the cross-sections exposed at both ends of the cable taken by a movable camera device on the same horizontal plane. The cable installation location represents the geographical location where the cable is installed. Based on the multiple geographical environment images at multiple time points and the cable installation location, the loss of the cable in different environments is predicted to obtain the cable environmental loss value. Based on the cross-sectional images, the shape and position of the wire in the cross section are detected to obtain the cross-sectional features. Two cross-sectional features are obtained corresponding to the two cross-sectional images. Through a feature rotation algorithm, based on the two cross-sectional features and the two cross-sectional images, the change position of the wire in the cable is detected to obtain the change angle of the wire. The cable environmental features, the change angle of the wire, and the two cross-sectional features are constructed into a key-value pair with the corresponding cable as a cable fingerprint. One cable corresponds to one cable environmental feature and one wire change angle corresponds to two cross-sectional features. Multiple cable fingerprints are obtained corresponding to multiple cables. The fault time and fault location of the cable are identified according to the cable fingerprint.
[0055] In the present invention, the damage of the cable under different environments is predicted, the position of the wire in the cable is determined, and the cross-sectional features are obtained by detecting the shape and color of the wire. The cross-sectional features are rotated, and roughly matched by the rotation features to reduce the amount of calculation. The angle of wire rotation is obtained by fitting the curve of the center point of the position. The rotation angle of the wire at both ends of the cable is detected to build a cable fingerprint library. The cable environmental features can reflect the damage in different environments, and the wire change angle can show the state of the wire used to connect the two ends of the cable. At the same time, the damage state can also be predicted for different angles. The cross-sectional features are cross-sectional features before the location classification of the wire is found, which can be used to determine the position and category of the wire. The constructed cable fingerprint library can meet the requirements of reducing installation matching and replacing cable-specific implicit features according to environmental damage, reducing the amount of calculation and speeding up the calculation speed. Thereby achieving a more accurate detection of cable faults, and accurately identifying the location of the fault with both ends of a string of cables that have been installed. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 The present invention provides a flow chart of a cable fingerprint identification method. DETAILED DESCRIPTION
[0057] The present invention will be described in detail below in conjunction with the accompanying drawings.
[0058] Example 1
[0059] like Figure 1 As shown, an embodiment of the present invention provides a cable fingerprint identification method, the method comprising:
[0060] S101: Obtain the cable installation location, multiple geographical environment images at multiple time points, and two cross-sectional images at both ends of the cable. The geographical environment images represent the environmental conditions at multiple time points in different geographical locations within a year. The cross-sectional images represent images of the exposed cross-sections at both ends of the cable taken by a movable camera device on the same horizontal plane. The cable installation location represents the geographical location where the cable is installed.
[0061] In this embodiment, the environment includes temperature and humidity, and can also include the acidity and alkalinity of the soil in the geographical area.
[0062] In this embodiment, the time interval of a time period is 6 hours. The temperature corresponding to a time point is the average value of the temperature within 6 hours from the previous time point to the time point, and the humidity corresponding to a time point is the average value of the humidity within 6 hours from the previous time point to the time point.
[0063] The geographical environment image is used to obtain the time point corresponding to each geographical location, and the cable installation location can find the corresponding location in the geographical environment image.
[0064] S102: Based on the multiple geographic environment images at the multiple time points and the cable installation positions, predict the cable loss in different environments to obtain the cable environment loss value.
[0065] S103: Based on the cross-sectional image, the shape and position of the wire in the cross-sectional area are detected to obtain cross-sectional features. Two cross-sectional features are obtained corresponding to the two cross-sectional images.
[0066] S104: Using a feature rotation algorithm, based on the two cross-sectional features and the two cross-sectional images, detecting the changed position of the conductor in the cable, and obtaining a changed angle of the conductor.
[0067] S105: Construct a key-value pair with the cable environment feature, the conductor change angle and the two cross-sectional features and the corresponding cable as a cable fingerprint. One cable corresponds to one cable environment feature and one conductor change angle corresponds to two cross-sectional features. Multiple cables correspond to multiple cable fingerprints.
[0068] The cable environment feature can reflect the damage in different environments, the conductor change angle can show the state of the connecting conductors at both ends of the cable, and the damage state can also be predicted for different angles. The cross-sectional feature is the cross-sectional feature before the location and classification of the conductor are found, which can be used to determine the location and category of the conductor.
[0069] S106: Identify the fault time and location of the cable according to the cable fingerprint.
[0070] Among them, the time of cable failure can be predicted according to the cable environment characteristics. The cross-sectional image can be rotated according to the change angle of the wire, and the wires in similar positions can be marked in the two cross-sectional images to obtain matching wire labels. It is possible to find the energized end of a wire and the matching other end. The discharge state of the two ends of a series of connected cables is obtained to determine whether each wire is faulty. If one wire is faulty, the location of the fault is found according to the matching wire label, for example, which wire is faulty.
[0071] In the embodiment of the present invention, the constructed fingerprint library contains the standard fingerprint corresponding to the cable fingerprint and the cable fault position. For S106, specifically: the cable fingerprint is matched with the standard fingerprint, and the cosine value of the vector angle between the cable fingerprint and the standard fingerprint can be calculated. If the cosine value is less than 0.5, it is determined that the cable fingerprint matches the standard fingerprint, and the fault position corresponding to the standard fingerprint is used as the fault position of the cable fingerprint, and the detection time point (camera time point) is used as the cable fault time.
[0072] Optionally, the method further includes: constructing a cable fingerprint library based on multiple cable fingerprints.
[0073] Optionally, the detecting the changed position of the conductor in the cable based on the two cross-sectional features and the two cross-sectional images by a feature rotation algorithm to obtain the changed angle of the conductor includes:
[0074] The cross-sectional feature is divided into a first cross-sectional feature and a second cross-sectional feature. A cross-sectional image corresponding to the first cross-sectional feature is used as a first cross-sectional image. A cross-sectional image corresponding to the second cross-sectional feature is used as a second cross-sectional image.
[0075] The first cross-sectional feature is input into a classification network to detect the distribution position of the wire and obtain a first wire position detection feature.
[0076] The second cross-sectional feature is input into a classification network to detect the distribution position of the wire, and obtain a second wire position detection feature and a second wire position center point.
[0077] The second cross-sectional features are input into a classification network to detect the center points of all wire positions in the cross-sectional image, and the features of the convolution output of the previous convolution layer before the last convolution layer for obtaining the center points are used as the second wire position detection features.
[0078] In this embodiment, the classification network is a convolutional neural network (CNN), which is used to detect the position of each wire.
[0079] A plurality of rotation features are obtained based on the first wire position detection feature through a feature rotation algorithm.
[0080] The second wire position detection feature and the rotation feature are input into a matching neural network to match the wire position and shape to obtain a wire matching value. Multiple wire matching values are obtained corresponding to multiple rotation features.
[0081] Based on the plurality of wire matching values, a first rotational cross-sectional image and a second cross-sectional image are obtained.
[0082] Matching is performed based on the first cross-sectional image, the second cross-sectional image, the first rotation cross-sectional feature and the second wire position center point to obtain a wire change angle.
[0083] Optionally, a plurality of rotation features are obtained based on the first wire position detection feature through a feature rotation algorithm, including:
[0084] The sum of the height and width of the first wire position detection feature -1 is obtained as the number of columns, the sum of the width and height of the first wire position detection feature -1 is obtained as the number of columns, and the zero matrix corresponding to the number of pages of the first wire position detection feature length is used as the increase matrix.
[0085] The first wire position detection feature is represented by a three-dimensional matrix, the number of columns of the three-dimensional matrix corresponds to the height after feature extraction from the cross-sectional image, and the number of rows of the three-dimensional matrix corresponds to the width after feature extraction from the cross-sectional image.
[0086] Through the above method, after the border is added, the value in the first wire position detection feature can be placed in a position to be placed during the rotation process.
[0087] According to the correspondence between the center point of the first wire position detection feature and the center point of the increase matrix, the first wire position detection feature is copied to the increase matrix to obtain the wire increase matrix.
[0088] Among them, the center point of the first wire position detection feature and the center point of the increase matrix are found, and then the value of each value in the first wire position detection feature on the increase matrix is found, such as the feature vector corresponding to the upper left corner of the first wire position detection feature is put into (the horizontal coordinate of the center point of the increase matrix minus the difference of 1 / 2 width of the first wire position detection feature, and the vertical coordinate of the center point of the increase matrix plus the sum of 1 / 2 height of the first wire position detection feature).
[0089] If one of the pages in the first wire position detection feature is: , the center point is the second row and second column, so the number of rows and columns of the added matrix is 5. Then the wire adds one page of the matrix , the center point is the third row and third column.
[0090] A plurality of rotation angles are obtained. The rotation angles are 45 degrees, 90 degrees, 180 degrees, 225 degrees, 270 degrees, and 315 degrees. The rotation angles represent the angles at which the first wire position detection feature is rotated.
[0091] The values in the wire addition matrix are rotated according to the rotation angle based on the center point of the wire addition matrix to obtain a rotation feature. Multiple rotation features are obtained corresponding to multiple rotation angles.
[0092] Among them, if the rotation angle is 45 degrees, then one of the corresponding rotation features is , which means the wire increases the matrix In the figure, the 1 in the second row and second column is rotated 45 degrees to the third row and second column according to its position in the third row and third column.
[0093] The rotation feature indicates that the corresponding image is rotated.
[0094] Through the above method, only one convolution is needed to obtain multiple positions of the image after rotation, which reduces the amount of calculation and enables multi-angle matching.
[0095] Optionally, the obtaining the wire change angle based on matching the first cross-sectional image, the second cross-sectional image, the first rotation cross-sectional feature and the second wire position center point includes:
[0096] The first cross-sectional feature is input into a classification network for classification to obtain a first conductor position center point.
[0097] In this embodiment, the classification network is a convolutional neural network (CNN), which is used to detect the position of each wire.
[0098] The first conductor position center point is marked in the first cross-sectional image to obtain a first conductor image. The second conductor position center point is marked in the second cross-sectional image to obtain a second conductor image.
[0099] Based on the first conductor image, value lines of changes in the positions of a plurality of center points in the first conductor image are marked to obtain a first curve image. A second curve image is obtained corresponding to the second conductor image.
[0100] According to the first curve image and the second curve image, a curve matching network is input to perform curve matching, and the angle difference is determined to obtain the wire change angle.
[0101] Optionally, the step of marking value lines of changes in positions of a plurality of center points in the first wire image based on the first wire image to obtain a first curve image includes:
[0102] The first conductive line image is segmented at different angles based on the center point to obtain multiple segmentation sets.
[0103] In this embodiment, the division is performed at 5 degrees.
[0104] The values in the segmentation set are fitted to obtain a fitting curve. Multiple segmentation sets correspond to multiple fitting curves.
[0105] Among them, the least square method is used for fitting.
[0106] The plurality of fitting curves are respectively marked in the first wire image to obtain a first curve image.
[0107] Optionally, the matching of the wire position and shape according to the second wire position detection feature and the rotation feature to obtain the wire matching value includes:
[0108] The matching neural network is a discriminant network. The matching neural network includes two outputs, one output represents the probability of matching, and the other output represents the probability of not matching.
[0109] The discriminant network is a discriminator network.
[0110] If the second wire position detection feature and the rotation feature are input into a matching neural network, matching features are extracted to obtain a first matching probability and a first non-matching probability.
[0111] The quotient of the first matching probability divided by the first non-matching probability is taken as a conductor matching value.
[0112] Optionally, obtaining a first rotational cross-sectional feature based on the first cross-sectional feature and a plurality of wire matching values includes:
[0113] A wire matching value greater than other wire matching values among the multiple wire matching values is used as a first wire matching value.
[0114] The rotation angle corresponding to the rotation feature corresponding to the first wire matching value is used as the first rotation angle.
[0115] The first cross-sectional feature is rotated according to the first rotation angle to obtain a first rotated cross-sectional feature.
[0116] Optionally, the predicting the cable loss in different environments based on the multiple geographic environment images at the multiple time points and the cable installation locations to obtain the cable environment characteristics includes:
[0117] The cable installation position is segmented in the geographic environment image to obtain a cable installation image.
[0118] The cable installation image is input into the environmental monitoring network to predict the cable loss in different environments and obtain environmental convolution features. Multiple geographical environment images at multiple time points correspond to multiple environmental convolution features.
[0119] In this embodiment, the environmental monitoring network is a recurrent neural network (RNN).
[0120] The multiple environmental convolutional features are input into a temporal convolutional network for convolution to obtain cable environmental features.
[0121] In this embodiment, the temporal convolutional network is a temporal convolutional network (TCN).
[0122] Optionally, the environmental monitoring network is trained using a training set of multiple regions containing different environments in the geographic environment image.
[0123] During training, find the values of different environments at different times for training.
[0124] Example 2
[0125] Based on the above cable fingerprint identification method, an embodiment of the present invention further provides a cable fingerprint identification system, the system comprising:
[0126] The acquisition module is used to obtain the cable installation location, multiple geographical environment images at multiple time points, and two cross-sectional images at both ends of the cable. The geographical environment images represent the environmental conditions of different geographical locations at multiple time periods in a year. The cross-sectional images represent images of the exposed cross sections of both ends of the cable taken by a movable camera device on the same horizontal plane. The cable installation location represents the geographical location where the cable is installed.
[0127] The environment prediction module is used to predict the cable loss in different environments based on the multiple geographic environment images at the multiple time points and the cable installation location, and obtain the cable environment loss value.
[0128] The cross-sectional detection module is used to detect the shape and position of the wire in the cross-sectional view based on the cross-sectional image to obtain cross-sectional features. Two cross-sectional features are obtained corresponding to the two cross-sectional images.
[0129] The feature rotation module is used to detect the changed position of the conductor in the cable and obtain the changed angle of the conductor based on the two cross-sectional features and the two cross-sectional images through a feature rotation algorithm.
[0130] The key-value pair module is used to construct a key-value pair with the cable environment feature, the conductor change angle and the two cross-sectional features and the corresponding cable as a cable fingerprint. One cable corresponds to one cable environment feature and one conductor change angle corresponds to two cross-sectional features. Multiple cables correspond to multiple cable fingerprints.
[0131] The identification module is used to identify the fault time and location of the cable according to the cable fingerprint.
Claims
1. A cable fingerprint identification method, characterized in that: include: Obtain the cable installation location, multiple geographic environment images at multiple time points, and two cross-sectional images at both ends of the cable; The geographical environment image represents the environmental status of different geographical locations in multiple time periods of a year; the cross-sectional image represents an image of the cross-sectional area exposed at both ends of the cable taken by a movable camera device on the same horizontal plane; the cable installation location represents the geographical location where the cable is installed; Based on the multiple geographic environment images at the multiple time points and the cable installation locations, predict the cable loss in different environments to obtain cable environment characteristics; Based on the cross-sectional image, detecting the shape and position of the wire in the cross-sectional area to obtain cross-sectional features; Two cross-sectional features are obtained corresponding to the two cross-sectional images; By using a feature rotation algorithm, based on the two cross-sectional features and the two cross-sectional images, the changed position of the conductor in the cable is detected to obtain the changed angle of the conductor; The cable environment characteristics, the conductor change angle and the two cross-sectional characteristics are constructed into a key-value pair with the corresponding cable as a cable fingerprint; One cable corresponds to one cable environment feature and one conductor change angle corresponds to two cross-sectional features; Multiple cables correspond to obtaining multiple cable fingerprints; Identify the cable fault time and location based on the cable fingerprint; The method further comprises: A cable fingerprint library is constructed based on multiple cable fingerprints.
2. The cable fingerprint identification method according to claim 1, characterized in that: The method of detecting the changed position of the conductor in the cable based on the two cross-sectional features and the two cross-sectional images by using a feature rotation algorithm to obtain the changed angle of the conductor includes: The cross-sectional feature is divided into a first cross-sectional feature and a second cross-sectional feature; a cross-sectional image corresponding to the first cross-sectional feature is used as a first cross-sectional image; and a cross-sectional image corresponding to the second cross-sectional feature is used as a second cross-sectional image; Inputting the first cross-sectional feature into a classification network to detect the distribution position of the wire and obtain a first wire position detection feature; Inputting the second cross-sectional feature into a classification network, detecting the distribution position of the wire, and obtaining a second wire position detection feature and a second wire position center point; Obtaining a plurality of rotation features based on the first wire position detection feature by a feature rotation algorithm; Through a matching neural network, matching of the wire position and shape is performed according to the second wire position detection feature and the rotation feature to obtain a wire matching value; multiple rotation features correspond to multiple wire matching values; Based on the first cross-sectional feature and a plurality of wire matching values, obtaining a first rotated cross-sectional feature; Matching is performed based on the first cross-sectional image, the second cross-sectional image, the first rotation cross-sectional feature and the second wire position center point to obtain a wire change angle.
3. The cable fingerprint identification method according to claim 2, characterized in that: The method of obtaining a plurality of rotation features based on the first wire position detection feature through a feature rotation algorithm includes: Obtaining the sum of the height plus the width of the first wire position detection feature - 1 as the number of columns, the sum of the width plus the height of the first wire position detection feature - 1 as the number of rows, and a zero matrix corresponding to the number of pages of the first wire position detection feature length as an increase matrix; According to the correspondence between the center point of the first wire position detection feature and the center point of the increase matrix, the first wire position detection feature is copied to the increase matrix to obtain a wire increase matrix; Obtain multiple rotation angles; the rotation angles are 45 degrees, 90 degrees, 180 degrees, 225 degrees, 270 degrees, and 315 degrees; the rotation angles represent the angles at which the first wire position detection feature is rotated; The values in the wire increase matrix are rotated according to the rotation angle based on the center point of the wire increase matrix to obtain a rotation feature; and multiple rotation features are obtained corresponding to multiple rotation angles.
4. The cable fingerprint identification method according to claim 2, characterized in that: The obtaining of the wire change angle based on matching the first cross-sectional image, the second cross-sectional image, the first rotation cross-sectional feature and the second wire position center point includes: Inputting the first rotation cross-section feature into a classification network for classification to obtain a first wire position center point; Marking the center point of the first wire position in the first cross-sectional image to obtain a first wire image; marking the center point of the second wire position in the second cross-sectional image to obtain a second wire image; Based on the first conductor image, a value line of changes in the positions of a plurality of center points in the first conductor image is marked to obtain a first curve image; and a second curve image is obtained corresponding to the second conductor image; According to the first curve image and the second curve image, a curve matching network is input to perform curve matching, and the angle difference is determined to obtain the wire change angle.
5. The cable fingerprint identification method according to claim 4, characterized in that: The step of marking the value lines of the changes in the positions of the plurality of center points in the first wire image based on the first wire image to obtain the first curve image includes: Segmenting the first conductive line image at different angles based on the center point to obtain multiple segmentation sets; Fitting the values in the segmentation set to obtain a fitting curve; multiple segmentation sets correspond to multiple fitting curves; The plurality of fitting curves are respectively marked in the first wire image to obtain a first curve image.
6. The cable fingerprint identification method according to claim 2, characterized in that: The matching neural network is used to match the position and shape of the wire according to the second wire position detection feature and the rotation feature to obtain a wire matching value, including: The matching neural network is a discriminant network; the matching neural network comprises two outputs, one output represents the probability of matching, and the other output represents the probability of not matching; If the second wire position detection feature and the rotation feature are input into a matching neural network, matching features are extracted to obtain a first matching probability and a first non-matching probability; The quotient of the first matching probability divided by the first non-matching probability is taken as the wire matching value.
7. The cable fingerprint identification method according to claim 2, characterized in that: The obtaining of a first rotational cross-sectional feature based on the first cross-sectional feature and a plurality of wire matching values comprises: Using a wire matching value greater than other wire matching values among the multiple wire matching values as a first wire matching value; taking the rotation angle corresponding to the rotation feature corresponding to the first wire matching value as the first rotation angle; The first cross-sectional feature is rotated according to the first rotation angle to obtain a first rotated cross-sectional feature.
8. The cable fingerprint identification method according to claim 1, characterized in that: The method of predicting the cable loss in different environments based on the multiple geographic environment images at the multiple time points and the cable installation locations to obtain cable environment characteristics includes: Segmenting the cable installation position in the geographic environment image to obtain a cable installation image; The cable installation image is input into an environmental monitoring network to predict the cable loss in different environments and obtain environmental convolution features; multiple geographic environment images at multiple time points correspond to multiple environmental convolution features; The multiple environmental convolutional features are input into a temporal convolutional network for convolution to obtain cable environmental features.
9. A cable fingerprint identification system, characterized in that: include: Acquisition module: obtains the cable installation location, multiple geographic environment images at multiple time points, and two cross-sectional images at both ends of the cable; The geographical environment image represents the environmental status of different geographical locations in multiple time periods of a year; the cross-sectional image represents an image of the cross-sectional area exposed at both ends of the cable taken by a movable camera device on the same horizontal plane; the cable installation location represents the geographical location where the cable is installed; Environmental prediction module: based on the multiple geographical environment images at the multiple time points and the cable installation location, predict the cable loss in different environments to obtain cable environmental characteristics; A cross-section detection module: based on the cross-section image, detects the shape and position of the wire in the cross-section to obtain cross-section features; Two cross-sectional features are obtained corresponding to the two cross-sectional images; Feature rotation module: through the feature rotation algorithm, based on the two cross-sectional features and the two cross-sectional images, the changed position of the conductor in the cable is detected to obtain the changed angle of the conductor; Key-value pair module: constructing a key-value pair of the cable environment characteristics, the conductor change angle and the two cross-sectional characteristics with the corresponding cable as a cable fingerprint; One cable corresponds to one cable environment feature and one conductor change angle corresponds to two cross-sectional features; Multiple cables correspond to obtaining multiple cable fingerprints; Identification module: Identifies the fault time and location of the cable based on the cable fingerprint.
