Data transmission method and system based on power monitoring video risk identification

By obtaining the image features of the power monitoring video frame and the image block feature matrix of the reference video frame, we perform embedding mapping, saliency information extraction and filtering operations to identify abnormal states in the power monitoring video frame, solving the problem of low recognition accuracy in the existing technology. problems and improve the safety and management efficiency of the power system.

CN118570724APending Publication Date: 2024-08-30STATE GRID JIANGSU ELECTRIC POWER CO LTD NANTONG POWER SUPPLY BRANCH +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410643840.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing power monitoring video recognition technology is difficult to accurately identify abnormal conditions, affecting the safety and management efficiency of the power system.

Method used

By obtaining the image features of the power monitoring video frame and the image block feature matrix of the reference video frame, we perform embedding mapping, saliency information extraction and filtering operations, and combine the feature vectors for identification to improve the accuracy and reliability of abnormal identification.

Benefits of technology

It significantly improves the regularity and recognition accuracy of image blocks and video frame features, enhances the ability to identify abnormal states in power monitoring video frames, and improves the safety and management efficiency of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570724A
    Figure CN118570724A
Patent Text Reader

Abstract

The invention provides a data transmission method and system based on electric power monitoring video risk identification. The method comprises the following steps: acquiring image features of a video frame and an image block feature matrix of a reference video frame of a target video frame; then encoding the image features and the image block feature matrix to obtain video frame embedding features and image block embedding features corresponding to the image blocks, and performing saliency information extraction on the video frame embedding features and the image block embedding features to obtain cross-correlation information of the image blocks; according to saliency information extraction, each image block spontaneously determines corresponding cross-correlation information in video frame embedding features, so that the regularity of the image blocks and the video frame features is improved; and filtering operation is performed on the image block feature matrix to obtain the filtering features of each image block, the filtering features are combined with the cross-correlation information, and the cross-correlation information and the target image features are combined to recognize the monitoring state of the image blocks in the target power monitoring video frame, so that the recognition precision and reliability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of power monitoring and image processing, and more specifically, to a data transmission method and system based on risk identification of power monitoring videos. Background Art

[0002] Power video surveillance is to monitor and record the equipment and places of the power system in real time through technical means such as cameras and network transmission, so as to improve the management efficiency of the power system while ensuring the safe operation of the power system. The power system involves dangerous factors such as high voltage and high temperature, as well as problems such as supervision and management of equipment. Power video surveillance can install monitoring equipment in the power system to realize real-time monitoring and recording of power facilities, places and lines, which helps to discover potential safety hazards, reduce the occurrence of accidents, and improve the safety of the power system. The power system involves various issues such as equipment, maintenance, and dispatching. Power video surveillance can realize real-time monitoring of the equipment and places of the power system around the clock, obtain the operating status of the equipment in time, find and deal with problems, and improve the management efficiency and maintenance speed of the power system. As one of the important management means of the power system, power video surveillance improves the management efficiency and operation efficiency of the power system while ensuring the safe and stable operation of the power system, and promotes the intelligent construction of the power system. How to improve the accuracy of abnormal state recognition based on power monitoring video is a technical issue that needs to be considered. Summary of the invention

[0003] The object of the present invention is to provide a data transmission method and system based on power monitoring video risk identification.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides a data transmission method based on risk identification of power monitoring video, which is applied to a monitoring server, wherein the monitoring server is communicatively connected to an early warning terminal, and the method includes:

[0006] Obtain power monitoring video and determine the target power monitoring video frame;

[0007] Acquire image features of a target power monitoring video frame and an image block feature matrix of a reference video frame corresponding to the target power monitoring video frame; the image block feature matrix includes image block features corresponding to each image block in the reference video frame;

[0008] Performing embedding mapping on the image features and the image block feature matrix respectively to obtain video frame embedding features and image block embedding features corresponding to each of the image blocks;

[0009] Extracting saliency information from the video frame embedding features and the image block embedding features to obtain inter-correlation information of each of the image blocks;

[0010] Performing a filtering operation on the image block feature matrix to obtain filtering features of each of the image blocks;

[0011] Combining the mutual correlation information and the filtering features to obtain a combined feature vector of each image block, and identifying the combined feature vector to obtain an abnormality recognition result corresponding to each image block in the target power monitoring video frame;

[0012] When the abnormality identification result is a preset result, the abnormality identification result is transmitted to the early warning terminal.

[0013] As an implementation manner, the step of obtaining an image block feature matrix of a reference video frame corresponding to the target power monitoring video frame includes:

[0014] An image block matrix corresponding to the reference video frame is obtained, and image block encoding is performed on each image block in the image block matrix to obtain the image block feature matrix.

[0015] As an implementation manner, the embedding mapping of the image features and the image block feature matrix to obtain the video frame embedding features and the image block embedding features corresponding to each of the image blocks includes:

[0016] Performing the embedding mapping on the image features through a first embedding mapping operator to obtain the video frame embedding features; the first embedding mapping operator includes M multi-layer perceptron networks;

[0017] The embedding mapping is performed on the image block feature matrix through a second embedding mapping operator to obtain image block embedding features corresponding to each image block; the second embedding mapping operator includes N multi-layer perceptron networks; M and N are both positive integers greater than 0.

[0018] As an implementation manner, the extracting saliency information from the video frame embedding features and the image block embedding features to obtain the mutual correlation information of each image block includes:

[0019] Determining the video frame embedding feature as an anchor variable and a result variable, and determining the image block embedding feature as a search variable;

[0020] The saliency information is extracted from the anchor variable, the result variable and the search variable to obtain the mutual correlation information corresponding to each of the image blocks.

[0021] As an implementation manner, the identifying the combined feature vector to obtain the abnormality identification result corresponding to each image block in the target power monitoring video frame includes:

[0022] Performing full connection mapping on the combined feature vector to obtain fully connected features corresponding to each of the image blocks;

[0023] The fully connected features are classified and normalized to obtain the recognition confidence of each image block belonging to each monitoring state classification in the target power monitoring video frame; the monitoring state classification includes a normal monitoring state and an abnormal monitoring state;

[0024] The reference video frame type corresponding to each of the image blocks in the target power monitoring video frame is determined based on the recognition confidence, and the reference video frame type is used as the abnormal recognition result of the image block in the target power monitoring video frame.

[0025] As an implementation manner, before obtaining the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame, the method further includes:

[0026] Obtaining sample image features of a power monitoring video frame sample and a sample image block feature matrix of a target sample reference video frame corresponding to the power monitoring video frame sample; matching each sample image block in the target sample reference video frame with a corresponding monitoring state classification annotation;

[0027] The sample image features and the sample image block feature matrix are loaded into a preset monitoring neural network, and at the same time, the monitoring state classification recognition result corresponding to each sample image block in the power monitoring video frame sample obtained by the preset monitoring neural network is obtained; the preset monitoring neural network includes an embedding mapping operator for performing the embedding mapping, a saliency extraction operator for performing the saliency information extraction, a filtering operator for performing the filtering operation, and a classification recognition operator for performing the recognition;

[0028] Generate an error value by using a preset debugging error function and monitoring state classification annotations and monitoring state classification recognition results corresponding to each of the sample image blocks;

[0029] If the error value is greater than the error threshold, the preset monitoring neural network is optimized by using the preset adjustment operator and the error value, and when the optimization is completed, the step of loading the sample image features and the sample image block feature matrix into the preset monitoring neural network is jumped to;

[0030] If the error value is less than or equal to the error threshold, the step of acquiring the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame is entered based on the preset monitoring neural network.

[0031] As an implementation manner, the step of obtaining sample image features of a power monitoring video frame sample and a sample image block feature matrix of a target sample reference video frame corresponding to the power monitoring video frame sample includes:

[0032] Acquire a normal power monitoring video frame and a normal image block matrix corresponding to the normal power monitoring video frame; the normal power monitoring video frame includes a plurality of monitoring image areas, each of the monitoring image areas is associated with each image block in the normal image block matrix;

[0033] Interpolating and extracting the normal power monitoring video frame;

[0034] Adding noise to each of the surveillance image regions at random;

[0035] In the normal image block matrix, a first monitoring state classification annotation representing an abnormal state is assigned to the image block corresponding to the monitoring image area with the added noise, and a second monitoring state classification annotation representing a normal state is assigned to the image block corresponding to the monitoring image area without the added noise;

[0036] Determine the normal power monitoring video frame that has undergone the interpolation extraction and the noise addition as the power monitoring video frame sample, and determine the normal image block matrix that has completed the annotation as the sample image block matrix;

[0037] The power monitoring video frame samples are converted into image features, and the sample image block matrix is ​​converted into a sample image block feature matrix.

[0038] As an implementation manner, the step of assigning a first monitoring state classification annotation representing an abnormal state to the image block corresponding to the noisy monitoring image region includes:

[0039] Based on the type of noise addition, a first monitoring state classification annotation corresponding to the type is assigned to an image block corresponding to the noisy monitoring image area.

[0040] In the second aspect, an embodiment of the present application provides a data transmission system based on risk identification of power monitoring videos, including a monitoring server and an early warning terminal that communicate with each other, the monitoring server including a memory and a processor, the memory storing a computer program that can be run on the processor, and the processor implementing the above-described method when executing the computer program.

[0041] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the above-described method when executed by a processor.

[0042] This application has at least the following beneficial effects:

[0043] The data transmission method and system based on power monitoring video risk identification provided by the embodiment of the present application obtain the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame, wherein the image block feature matrix contains the image block features corresponding to each image block in the reference video frame; then the image features and the image block feature matrix are encoded respectively to obtain the video frame embedded features and the image block embedded features corresponding to each image block, and the video frame embedded features and the image block embedded features are subjected to saliency information extraction to obtain the mutual correlation information of each image block, wherein the saliency information extraction is that each image block spontaneously determines the corresponding mutual correlation information in the video frame embedded features, which can greatly improve the regularity of the image block and the video frame features; the image block feature matrix is ​​subjected to filtering operation to obtain the filtering features of each image block, and the filtering features can be combined with the mutual correlation information to identify the abnormal recognition results corresponding to each image block in the target power monitoring video frame, and the mutual correlation information and the target image features are combined to identify the monitoring state of the image block in the target power monitoring video frame, thereby improving the recognition accuracy and reliability.

[0044] Other features will be described in part in the following description. Those skilled in the art will discover these features in part upon inspection of the following content and drawings, or may learn these features through production or use. The features of the present application may be implemented and obtained by practicing or using various aspects of the methods, tools, and combinations listed in the detailed examples described below. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used to illustrate the technical solutions of the present disclosure together with the specification.

[0046] Figure 1 It is a schematic diagram of a data transmission system based on power monitoring video risk identification provided in an embodiment of the present application.

[0047] Figure 2 This is a flowchart of a data transmission method based on power monitoring video risk identification provided in an embodiment of the present application.

[0048] Figure 3 It is a schematic diagram of the functional module architecture of a data transmission device based on power monitoring video risk identification provided in an embodiment of the present application.

[0049] Figure 4 It is a schematic diagram of the composition of a monitoring server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0051] In the following description, references to “some embodiments”, “as an implementation / scheme”, and “in one implementation” describe a subset of all possible embodiments, but it can be understood that “some embodiments”, “as an implementation / scheme”, and “in one implementation” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0052] In the following description, the terms "first\second\third" and the like are only used to distinguish similar objects and do not represent a specific order for the objects. It is understandable that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0053] The data transmission method based on power monitoring video risk identification provided in the embodiment of the present application can be executed by a monitoring server. The monitoring server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.

[0054] Figure 1: is a schematic diagram of an application scenario of a data transmission system based on risk identification of power monitoring video provided in an embodiment of the present application. The data transmission system based on risk identification of power monitoring video provided in an embodiment of the present application includes an early warning terminal 100, a network 200 and a monitoring server 300, and the early warning terminal 100 and the monitoring server 300 are connected in communication via the network 200. The monitoring server 300 is used to execute the method provided in an embodiment of the present application. Specifically, an embodiment of the present application provides a data transmission method based on risk identification of power monitoring video, and the method is applied to a monitoring server, such as Figure 2 As shown, the method includes:

[0055] Step S10, acquiring a power monitoring video and determining a target power monitoring video frame.

[0056] The power monitoring video is a video for monitoring and controlling power equipment, power grids, power plants, etc. For example, the equipment involved in power monitoring includes power transformers, switchgear, collector lines, transmission lines, substations, etc. Various sensors, control devices, cameras, etc. are required for monitoring. When an abnormal state is detected, the identified abnormal result is sent to the monitoring center (i.e., the early warning terminal) for early warning. Abnormal states include equipment failure, smoke and flames, illegal intrusion, abnormal vibration, etc. When identifying an abnormal state, it can be done through image recognition technology. In the traditional recognition scheme, the target video frame is aligned and regularized with the standard video frame (e.g., the historical normal state video frame), and the difference is identified to determine the abnormality. This method has high requirements for the size and angle of the video frame image. The alignment process inevitably produces boundary drift, which affects the recognition accuracy. In the embodiment of the present application, the target power monitoring video frame is the video frame image that needs to be abnormally identified. For example, the video frame with the highest definition in multiple frames of power monitoring video frames is determined as the target power monitoring video frame.

[0057] Step S20, obtaining image features of a target power monitoring video frame and an image block feature matrix of a reference video frame corresponding to the target power monitoring video frame; the image block feature matrix includes image block features corresponding to each image block in the reference video frame.

[0058] The present application obtains the image features of the target power monitoring video frame, and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame. The image features are features that describe the target power monitoring video frame, such as texture, color, and shape. The reference video frame is a normal state video frame (such as a historical normal state video frame) corresponding to the target power monitoring video frame. The reference video frame includes multiple image blocks. The method of splitting the image blocks is not limited. For example, the reference video frame is split into multiple image blocks according to a preset splitting size. The arrangement relationship of each image block corresponds to its position in the original video frame. Each image block corresponds to a corresponding image block feature. Multiple image block features constitute an image block feature matrix, wherein each image block in the image block matrix can be image block encoded (such as embedded encoding) to obtain an image block feature matrix.

[0059] Optionally, obtaining an image block feature matrix of a reference video frame corresponding to the target power monitoring video frame specifically includes: obtaining an image block matrix corresponding to the reference video frame, and performing image block encoding on each image block in the image block matrix to obtain an image block feature matrix.

[0060] Step S30, embedding and mapping the image feature matrix and the image block feature matrix are performed respectively to obtain the video frame embedding feature and the image block embedding feature corresponding to each image block.

[0061] The image features and image block feature matrices are embedded and mapped (i.e., the process of feature encoding, mapping high-dimensional features to low-dimensional space) to obtain video frame embedding features and image block embedding features corresponding to each image block, so as to mine the features in the image features and image block feature matrices through a neural network. For example, an embedding mapping operator (i.e., an encoder) based on a recurrent neural network encodes the image features and image block feature matrices. The embedding mapping operator may include a multi-layer perceptron network (also known as a feedforward neural network). The embedding mapping operator is obtained by cascading multi-layer perceptron networks, and each multi-layer perceptron network includes a joint focus mapping operator (i.e., an attention-based multi-head neural network operator), an identity mapping operator (ResNet), a normalization operator (such as an LN algorithm), and a filtering operator (such as a convolution operator). The image features and image block feature matrices are embedded and mapped by different embedding mapping operators. In an embodiment of the present application, the first embedding mapping operator corresponding to the image features and the second embedding mapping operator corresponding to the image block feature matrix both include multi-layer perceptron networks, but the number of multi-layer perceptron networks in the first embedding mapping operator and the second embedding mapping operator is different.

[0062] Optionally, embedding mapping is performed on the image feature and the image block feature matrix to obtain the video frame embedding feature and the image block embedding feature corresponding to each image block, including:

[0063] The image features are embedded and mapped by the first embedding mapping operator to obtain the video frame embedding features; the first embedding mapping operator includes M multi-layer perceptron networks; the image block feature matrix is ​​embedded and mapped by the second embedding mapping operator to obtain the image block embedding features corresponding to each image block; the second embedding mapping operator includes N multi-layer perceptron networks. M and N are positive integers greater than 0, and the values ​​are set according to actual needs. The dimensions of the video frame embedding features and image block features are not limited.

[0064] Step S40: extract saliency information from the video frame embedding features and the image block embedding features to obtain inter-correlation information of each image block.

[0065] After obtaining the video frame embedding features and image block features, the mutual correlation information corresponding to each image block is mined in the video frame embedding features based on the attention mechanism, that is, the contextual features corresponding to each image block in the video frame embedding features are determined. The attention strategy can spontaneously determine the corresponding mutual correlation information for each image block in the video frame embedding features, which can greatly increase the regularity of the image block and the video frame features and help alignment. It can be understood that the attention mechanism includes a search variable (i.e., Query), an anchor variable (i.e., Key), and a result variable (i.e., Value). The search variable is the input sequence representation that the model currently wants to pay attention to or process. It is usually the last hidden state or current decoder state obtained by the encoder, which can be regarded as a question or content that needs to be judged. The anchor variable is used to calculate the similarity between the search variable and each element in all other input sequences. It is also generated by the encoder, but unlike the search variable, the anchor variable can be regarded as information provided to the model for retrieval or search. The result variable contains the importance weight of the represented input sequence element in the model. It is also generated by the encoder and can be regarded as giving an answer or decision for a specific content. In order to mine the mutual correlation information corresponding to each image block in the video frame embedding features, it is necessary to determine the video frame embedding features as anchor variables and result variables, and determine the image block embedding features as search variables, so as to extract saliency information through anchor variables, result variables and search variables to obtain the mutual correlation information corresponding to each image block.

[0066] Optionally, extracting saliency information from the video frame embedding features and the image block embedding features to obtain inter-correlation information of each image block includes:

[0067] The video frame embedding features are determined as anchor variables and result variables, and the image block embedding features are determined as search variables; significant information is extracted from the anchor variables, result variables and search variables to obtain the mutual correlation information corresponding to each image block.

[0068] Step S50, performing a filtering operation on the image block feature matrix to obtain filtering features of each image block.

[0069] In addition to mining correlated information, the present application also combines the features of the image block itself to determine whether there is an abnormality in the target power monitoring video frame. Therefore, it is necessary to perform filtering operations (such as convolution) on the image block feature matrix itself to obtain the filtering features corresponding to each image block, and then use the filtering features as the features of the image block.

[0070] Step S60, combining the mutual correlation information and the filtering features to obtain a combined feature vector of each image block, and identifying the combined feature vector to obtain an abnormality identification result corresponding to each image block in the target power monitoring video frame.

[0071] After obtaining the mutual correlation information and the filtering features, the present application will combine the mutual correlation information and the filtering features to obtain the combined feature vector corresponding to each image block, and then identify the combined feature vector to obtain the abnormal identification result corresponding to each image block in the target power monitoring video frame. For example, the combined feature vector is fully connected (for the purpose of dimensionality reduction and summarization), the fully connected features corresponding to each image block are obtained, and the fully connected features are classified and normalized (such as based on classifiers, such as softmax, SVM and other classifiers), and the state of each image block in the target power monitoring video frame belongs to the recognition confidence of each monitoring state classification, and then the monitoring state of each image block is determined based on the recognition confidence. The monitoring state classification can include "normal classification" representing the normal state and "abnormal classification" representing the abnormal state. In other embodiments, the number of categories of the monitoring state classification can also include more according to actual needs, for example, it also includes suspicious classification, and specific abnormal types, such as equipment failure.

[0072] Step S70: When the abnormality recognition result is a preset result, the abnormality recognition result is transmitted to the early warning terminal.

[0073] For example, the preset result represents the result of abnormal state classification. At this time, the recognition result is transmitted to the early warning terminal, so that the early warning terminal can issue an early warning prompt and the staff can intervene in time.

[0074] Optionally, the combined feature vector is identified to obtain an abnormality identification result corresponding to each image block in the target power monitoring video frame, including:

[0075] The combined feature vector is fully connected and mapped to obtain the fully connected features corresponding to each image block; the fully connected features are classified and normalized and mapped to obtain the recognition confidence of each image block belonging to each monitoring state classification in the target power monitoring video frame; the monitoring state classification includes normal monitoring state and abnormal monitoring state; based on the recognition confidence, the reference video frame type corresponding to each image block in the target power monitoring video frame is determined, and the reference video frame type is used as the abnormal recognition result of the image block in the target power monitoring video frame.

[0076] Based on this, the present application obtains the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame, wherein the image block feature matrix contains the image block features corresponding to each image block in the reference video frame; then the image features and the image block feature matrix are respectively encoded to obtain the video frame embedded features and the image block embedded features corresponding to each image block, and the video frame embedded features and the image block embedded features are subjected to significant information extraction to obtain the mutual correlation information of each image block, so that each image block spontaneously determines the corresponding mutual correlation information in the video frame embedded features, which can greatly improve the regularity of the image block and the video frame features; finally, the image block feature matrix is ​​filtered to obtain the filtering features of each image block, and the filtering features are combined with the mutual correlation information to identify the abnormal recognition results corresponding to each image block in the target power monitoring video frame, and the mutual correlation information and the target image features are combined to identify the monitoring status of the image block in the target power monitoring video frame, thereby improving the recognition accuracy and reliability.

[0077] Based on this, the network architecture of the monitoring neural network is introduced below to implement the data transmission method based on risk identification of power monitoring video. Specifically, the preset monitoring neural network may include the following contents:

[0078] 1. Position embedding of image features is performed and loaded into the first embedding mapping operator to obtain the video frame embedding features output by the first embedding mapping operator. The first embedding mapping operator includes multiple multi-layer perceptrons, and the image features will be processed by the joint focus mapping operator, the identity mapping operator, the normalization and the filtering operation in the multi-layer perceptron to obtain the video frame embedding features corresponding to the image features.

[0079] Second, the image block is loaded into the encoding operator for image block encoding to obtain the image block feature matrix, the image block feature matrix is ​​position-encoded, and loaded into the second embedding mapping operator to obtain the image block embedding feature output by the second embedding mapping operator, which is also composed of multiple multi-layer perceptrons. The video frame embedding feature is determined as the anchor variable and the result variable, the image block embedding feature is determined as the search variable, and the anchor variable, the result variable and the search variable are loaded into the attention operator for attention focusing to obtain the mutual correlation information corresponding to each image block.

[0080] 3. Perform a one-dimensional filtering operation on the image block feature matrix to obtain the filtering features, and then load the combined mutual correlation information and the filtering features into the fully connected operator for full connection processing to obtain the fully connected features.

[0081] Fourth, load the fully connected features into the classifier operator for classification to obtain the classification confidence corresponding to each image block.

[0082] Based on this, the debugging process of the monitoring neural network is introduced below. Optionally, before obtaining the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame, it includes:

[0083] Step S100, obtaining sample image features of power monitoring video frame samples and a sample image block feature matrix of a target sample reference video frame corresponding to the power monitoring video frame samples; each sample image block in the target sample reference video frame matches a corresponding monitoring state classification annotation.

[0084] The monitoring status classification annotation contains at least "normal classification" and "abnormal classification".

[0085] Step S200, loading the sample image features and the sample image block feature matrix into a preset monitoring neural network, and simultaneously obtaining the monitoring state classification and recognition results corresponding to each sample image block in the power monitoring video frame sample obtained by the preset monitoring neural network; the preset monitoring neural network includes an embedding mapping operator for embedding mapping, a saliency extraction operator for extracting saliency information, a filtering operator for filtering operations, and a classification recognition operator for recognition.

[0086] Step S300, generating an error value by using a preset debugging error function (such as a cross entropy function) and monitoring state classification annotations and monitoring state classification recognition results corresponding to each sample image block.

[0087] Step S400, if the error value is greater than the error threshold, the preset monitoring neural network parameters are optimized through the preset adjustment operator and the error value, and when the optimization is completed, jump to the step of loading the sample image feature and the sample image block feature matrix into the preset monitoring neural network.

[0088] Step S500, if the error value is less than or equal to the error threshold, the step of obtaining the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame is entered based on the preset monitoring neural network.

[0089] In order to improve the debugging speed of the neural network, the embodiment of the present application pre-sets an adjustment operator (such as Adam) to help the model optimize parameters. If the error value is greater than the error threshold, it means that the network needs further debugging and continues to iterate. If the error value is less than or equal to the error threshold, the network converges and debugging stops.

[0090] In some independently implemented solutions, since collecting large-scale abnormal monitoring video frames for abnormal annotation consumes a lot of time and manpower costs, in order to save costs and improve efficiency, the embodiment of the present application uses image noise to construct training samples based on normal power monitoring video frames and normal image block matrices. Specifically, the sample image features of the power monitoring video frame samples and the sample image block feature matrix of the reference video frame corresponding to the power monitoring video frame samples are obtained, including:

[0091] Step S110, obtaining a normal power monitoring video frame and a normal image block matrix corresponding to the normal power monitoring video frame; the normal power monitoring video frame includes multiple monitoring image areas, and each monitoring image area is associated with each image block in the normal image block matrix.

[0092] Step S120, interpolating and extracting the normal power monitoring video frame.

[0093] Among them, interpolation is used to increase or decrease the number of pixels in an image, while decimation is used to reduce the number of pixels in an image. Interpolation decimation completes the resampling of video frames. For example, interpolation can be achieved through nearest neighbor interpolation, which selects the nearest original pixel value for the target pixel. In nearest neighbor interpolation, the grayscale value of the target pixel comes directly from the nearest original pixel value.

[0094] Step S130, adding noise to each monitoring image area at random.

[0095] For example, the noise addition method may be pixel replacement (replacing with pixels corresponding to abnormal states).

[0096] Step S140, in the normal image block matrix, assigning a first monitoring state classification annotation representing an abnormal state to an image block corresponding to a monitoring image region with noise addition, and assigning a second monitoring state classification annotation representing a normal state to an image block corresponding to a monitoring image region without noise addition.

[0097] Optionally, assigning a first monitoring state classification annotation characterizing an abnormal state to an image block corresponding to the noisy monitoring image area may specifically include: assigning a first monitoring state classification annotation corresponding to the type to the image block corresponding to the noisy monitoring image area based on the type of noise.

[0098] Step S150, determining the normal power monitoring video frame after interpolation extraction and noise addition as the power monitoring video frame sample, and determining the normal image block matrix after annotation assignment as the sample image block matrix;

[0099] Step S160, converting the power monitoring video frame samples into image features, and converting the sample image block matrix into a sample image block feature matrix.

[0100] In summary, the data transmission method and system based on power monitoring video risk identification provided by the embodiment of the present application obtain the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame, the image block feature matrix containing the image block features corresponding to each image block in the reference video frame; then the image features and the image block feature matrix are encoded respectively to obtain the video frame embedded features and the image block embedded features corresponding to each image block, and the video frame embedded features and the image block embedded features are subjected to saliency information extraction to obtain the mutual correlation information of each image block, wherein the saliency information extraction is that each image block spontaneously determines the corresponding mutual correlation information in the video frame embedded features, which can greatly improve the regularity of the image block and the video frame features; the image block feature matrix is ​​subjected to filtering operation to obtain the filtering features of each image block, and the filtering features can be combined with the mutual correlation information to identify the abnormal recognition results corresponding to each image block in the target power monitoring video frame, and the mutual correlation information and the target image features are combined to identify the monitoring state of the image block in the target power monitoring video frame, thereby improving the recognition accuracy and reliability.

[0101] Based on the above embodiments, the present application provides a data transmission device based on risk identification of power monitoring video. Figure 3 The embodiment of the present application provides a data transmission device 340 based on risk identification of power monitoring video, such as Figure 3 As shown, the device 340 includes:

[0102] The data acquisition module 341 is used to acquire the power monitoring video and determine the target power monitoring video frame;

[0103] A feature mining module 342 is used to obtain image features of a target power monitoring video frame and an image block feature matrix of a reference video frame corresponding to the target power monitoring video frame; the image block feature matrix includes image block features corresponding to each image block in the reference video frame;

[0104] A feature embedding module 343 is used to embed and map the image features and the image block feature matrix to obtain video frame embedding features and image block embedding features corresponding to each image block;

[0105] A saliency determination module 344 is used to extract saliency information from the video frame embedding features and the image block embedding features to obtain inter-correlation information of each image block;

[0106] A feature filtering module 345 is used to perform a filtering operation on the image block feature matrix to obtain filtering features of each image block;

[0107] A feature combination module 346 is used to combine the mutual correlation information and the filtering feature to obtain a combined feature vector of each image block, and identify the combined feature vector to obtain an abnormality recognition result corresponding to each image block in the target power monitoring video frame;

[0108] The data transmission module 347 is used to transmit the abnormality identification result to the early warning terminal when the abnormality identification result is a preset result.

[0109] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0110] If the technical solution of this application involves personal or private information, the product using the technical solution of this application has clearly informed the personal information processing rules and obtained the individual's voluntary consent before processing personal information. If the technical solution of this application involves sensitive personal information, the product using the technical solution of this application has obtained the individual's separate consent before processing sensitive personal information, and at the same time meets the requirements of "explicit consent", and collects within the scope of laws and regulations. For example, on personal information collection devices such as cameras, clear and prominent signs are set to inform that the personal information collection scope has been entered and personal information will be collected. If the individual voluntarily enters the collection scope, it is deemed that he or she agrees to collect his or her personal information; or on the device that processes personal information, the personal information processing rules are notified by obvious signs / information, and the individual's authorization is obtained through pop-up information or by asking the individual to upload his or her personal information; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the type of personal information processed.

[0111] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0112] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the above method when executing the computer program.

[0113] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program implements the above method when executed by a processor. The computer-readable storage medium may be transient or non-transient.

[0114] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.

[0115] It should be noted that Figure 4 is a schematic diagram of a hardware entity of a monitoring server provided in an embodiment of the present application, such as Figure 4 As shown, the hardware entity of the monitoring server 300 includes: a processor 310, a communication interface 320 and a memory 330, wherein: the processor 310 generally controls the overall operation of the monitoring server 300. The communication interface 320 enables the electronic device to communicate with other terminals or servers through a network. The memory 330 is configured to store instructions and applications executable by the processor 310, and can also cache data to be processed or processed by the processor 310 and each module in the monitoring server 300 (for example, image data, audio data, voice communication data and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data can be transmitted between the processor 310, the communication interface 320 and the memory 330 through the bus 340. It should be pointed out here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.

[0116] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0117] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0118] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0119] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0120] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0121] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0122] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0123] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A data transmission method based on risk identification of power monitoring video, characterized in that: Applied to a monitoring server, the monitoring server is communicatively connected with an early warning terminal, the method comprising: Obtain power monitoring video and determine the target power monitoring video frame; Acquire image features of a target power monitoring video frame and an image block feature matrix of a reference video frame corresponding to the target power monitoring video frame; the image block feature matrix includes image block features corresponding to each image block in the reference video frame; Performing embedding mapping on the image features and the image block feature matrix respectively to obtain video frame embedding features and image block embedding features corresponding to each of the image blocks; Extracting saliency information from the video frame embedding features and the image block embedding features to obtain inter-correlation information of each of the image blocks; Performing a filtering operation on the image block feature matrix to obtain filtering features of each of the image blocks; Combining the mutual correlation information and the filtering features to obtain a combined feature vector of each image block, and identifying the combined feature vector to obtain an abnormality recognition result corresponding to each image block in the target power monitoring video frame; When the abnormality identification result is a preset result, the abnormality identification result is transmitted to the early warning terminal.

2. The data transmission method based on risk identification of power monitoring video according to claim 1 is characterized in that: The step of obtaining an image block feature matrix of a reference video frame corresponding to the target power monitoring video frame includes: An image block matrix corresponding to the reference video frame is obtained, and image block encoding is performed on each image block in the image block matrix to obtain the image block feature matrix.

3. The data transmission method based on risk identification of power monitoring video according to claim 1 is characterized in that: The embedding mapping of the image features and the image block feature matrix to obtain the video frame embedding features and the image block embedding features corresponding to each of the image blocks comprises: Performing the embedding mapping on the image features through a first embedding mapping operator to obtain the video frame embedding features; the first embedding mapping operator includes M multi-layer perceptron networks; The embedding mapping is performed on the image block feature matrix through a second embedding mapping operator to obtain image block embedding features corresponding to each image block; the second embedding mapping operator includes N multi-layer perceptron networks; M and N are both positive integers greater than 0.

4. The data transmission method based on power monitoring video risk identification according to claim 1 is characterized in that: The extracting saliency information from the video frame embedding features and the image block embedding features to obtain the inter-correlation information of each image block includes: Determining the video frame embedding feature as an anchor variable and a result variable, and determining the image block embedding feature as a search variable; The saliency information is extracted from the anchor variable, the result variable and the search variable to obtain the mutual correlation information corresponding to each of the image blocks.

5. The data transmission method based on power monitoring video risk identification according to claim 1 is characterized in that: The identifying of the combined feature vector to obtain the abnormality identification result corresponding to each image block in the target power monitoring video frame includes: Performing full connection mapping on the combined feature vector to obtain fully connected features corresponding to each of the image blocks; The fully connected features are classified and normalized to obtain the recognition confidence of each image block belonging to each monitoring state classification in the target power monitoring video frame; the monitoring state classification includes a normal monitoring state and an abnormal monitoring state; The reference video frame type corresponding to each of the image blocks in the target power monitoring video frame is determined based on the recognition confidence, and the reference video frame type is used as the abnormal recognition result of the image block in the target power monitoring video frame.

6. The data transmission method based on risk identification of power monitoring video according to any one of claims 1 to 5, characterized in that: Before acquiring the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame, the method further includes: Obtaining sample image features of a power monitoring video frame sample and a sample image block feature matrix of a target sample reference video frame corresponding to the power monitoring video frame sample; matching each sample image block in the target sample reference video frame with a corresponding monitoring state classification annotation; The sample image features and the sample image block feature matrix are loaded into a preset monitoring neural network, and at the same time, the monitoring state classification recognition result corresponding to each sample image block in the power monitoring video frame sample obtained by the preset monitoring neural network is obtained; the preset monitoring neural network includes an embedding mapping operator for performing the embedding mapping, a saliency extraction operator for performing the saliency information extraction, a filtering operator for performing the filtering operation, and a classification recognition operator for performing the recognition; Generate an error value by using a preset debugging error function and monitoring state classification annotations and monitoring state classification recognition results corresponding to each of the sample image blocks; If the error value is greater than the error threshold, the preset monitoring neural network is optimized by using the preset adjustment operator and the error value, and when the optimization is completed, the step of loading the sample image features and the sample image block feature matrix into the preset monitoring neural network is jumped to; If the error value is less than or equal to the error threshold, the step of acquiring the image features of the target power monitoring video frame and the image block feature matrix of the reference video frame corresponding to the target power monitoring video frame is entered based on the preset monitoring neural network.

7. The data transmission method based on risk identification of power monitoring video according to claim 6 is characterized in that: The method of obtaining sample image features of a power monitoring video frame sample and a sample image block feature matrix of a target sample reference video frame corresponding to the power monitoring video frame sample includes: Acquire a normal power monitoring video frame and a normal image block matrix corresponding to the normal power monitoring video frame; the normal power monitoring video frame includes a plurality of monitoring image areas, each of the monitoring image areas is associated with each image block in the normal image block matrix; Interpolating and extracting the normal power monitoring video frame; Adding noise to each of the surveillance image regions at random; In the normal image block matrix, a first monitoring state classification annotation representing an abnormal state is assigned to the image block corresponding to the monitoring image area with the added noise, and a second monitoring state classification annotation representing a normal state is assigned to the image block corresponding to the monitoring image area without the added noise; Determine the normal power monitoring video frame that has undergone the interpolation extraction and the noise addition as the power monitoring video frame sample, and determine the normal image block matrix that has completed the annotation as the sample image block matrix; The power monitoring video frame samples are converted into image features, and the sample image block matrix is ​​converted into a sample image block feature matrix.

8. The data transmission method based on risk identification of power monitoring video according to claim 7 is characterized in that: The step of assigning a first monitoring state classification annotation representing an abnormal state to the image block corresponding to the noisy monitoring image area includes: Based on the type of noise addition, a first monitoring state classification annotation corresponding to the type is assigned to an image block corresponding to the noisy monitoring image area.

9. A data transmission system based on risk identification of power monitoring video, characterized in that: It comprises a monitoring server and an early warning terminal communicating with each other, the monitoring server comprises a memory and a processor, the memory stores a computer program executable on the processor, and the processor implements the method according to any one of claims 1 to 8 when executing the computer program.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.