CN114049598B - State identification method and device of power primitive, storage medium and electronic equipment - Google Patents

State identification method and device of power primitive, storage medium and electronic equipment Download PDF

Info

Publication number
CN114049598B
CN114049598B CN202210038143.6A CN202210038143A CN114049598B CN 114049598 B CN114049598 B CN 114049598B CN 202210038143 A CN202210038143 A CN 202210038143A CN 114049598 B CN114049598 B CN 114049598B
Authority
CN
China
Prior art keywords
primitive
point
image
point signal
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210038143.6A
Other languages
Chinese (zh)
Other versions
CN114049598A (en
Inventor
陈东海
胡铁军
章杜锡
周洋
吴昱浩
马丽军
潘杰锋
杨跃平
管金胜
俞佳捷
张霁明
余佳音
盛海静
吴昊
李丹
杨淇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yongyao Science And Technology Branch Of Ningbo Transmission And Transfer Construction Co ltd
Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Yongyao Science And Technology Branch Of Ningbo Transmission And Transfer Construction Co ltd
Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yongyao Science And Technology Branch Of Ningbo Transmission And Transfer Construction Co ltd, Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical Yongyao Science And Technology Branch Of Ningbo Transmission And Transfer Construction Co ltd
Priority to CN202210038143.6A priority Critical patent/CN114049598B/en
Publication of CN114049598A publication Critical patent/CN114049598A/en
Application granted granted Critical
Publication of CN114049598B publication Critical patent/CN114049598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00001Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/40Display of information, e.g. of data or controls

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a device for recognizing the state of a power primitive, a storage medium and electronic equipment, wherein the method comprises the following steps: when a point-to-point signal is received, acquiring a point-to-point signal parameter of the point-to-point signal; acquiring an image to be identified corresponding to the point-to-point signal parameter; judging whether the image to be identified meets a preset detection condition or not; if the image to be recognized meets the detection condition, determining a power primitive in the image to be recognized; judging whether the electric power primitive is consistent with a standard electric power primitive corresponding to the point-to-point signal parameter; if the power primitive is consistent with the standard power primitive, acquiring a primitive state recognition model corresponding to the standard power primitive; and identifying the electric power primitive by applying the primitive state identification model to obtain a state identification result of the electric power primitive. By applying the method provided by the invention, the state of the power primitive can be rapidly and accurately identified.

Description

State identification method and device of power primitive, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of new generation information and new energy, in particular to a method and a device for identifying the state of a power primitive, a storage medium and electronic equipment.
Background
With the development of science and technology, intelligent substations are widely applied, and the intelligent substations do not need to be manually attended but monitor measuring point information and picture signals of the substations through a dispatching center. In order to ensure that the correlation between the measuring point information and the picture signal of the transformer substation is accurate, the point signals of the dispatching master station and the transformer substation end need to be checked before a newly-built transformer substation or an expanded transformer substation project is put into operation, and the real-time performance and the data consistency of the signals are verified, so that the transformer substation can be correctly monitored by a dispatching center.
In the checking process of the point signals, the electric power pattern in the electric power pattern file of the SCADA system of the point signals needs to be manually acquired, so that the state of the electric power primitive in the electric power pattern is determined, and the checking of the point signals is completed.
Disclosure of Invention
The invention aims to provide a method for identifying the state of an electric power primitive, which can quickly and accurately identify the state of the electric power primitive.
The invention also provides a state recognition device of the electric power primitive, which is used for ensuring the realization and the application of the method in practice.
A state identification method of a power primitive comprises the following steps:
when a point-to-point signal is received, acquiring a point-to-point signal parameter of the point-to-point signal;
acquiring an image to be identified corresponding to the point-to-point signal parameter;
judging whether the image to be identified meets a preset detection condition or not;
if the image to be recognized meets the detection condition, determining a power primitive in the image to be recognized;
judging whether the electric power primitive is consistent with a standard electric power primitive corresponding to the point-to-point signal parameter;
if the power primitive is consistent with the standard power primitive, acquiring a primitive state recognition model corresponding to the standard power primitive;
and identifying the electric power primitive by applying the primitive state identification model to obtain a state identification result of the electric power primitive.
Optionally, the obtaining of the to-be-recognized image corresponding to the pair of point signal parameters includes:
determining a power graphic file comprising a target graphic page; the target graphic page is a graphic page of point-to-point signal test information comprising the point-to-point signal parameters;
monitoring a preset graphic display interface, sequentially displaying each graphic page in the power graphic file on the graphic display interface, and recording time information for displaying the target graphic page when the target graphic page is displayed;
acquiring a monitoring picture corresponding to the time information in a monitoring video; the monitoring video is obtained by monitoring the image display interface;
and taking the monitoring picture as the image to be identified corresponding to the point-to-point signal parameter.
Optionally, the determining whether the power primitive is consistent with the standard power primitive corresponding to the pair of point-to-point signal parameters includes:
acquiring a point-to-point signal identifier contained in the point-to-point signal parameter;
traversing a preset comparison table according to the point-to-point signal identifier to determine a standard electric power primitive corresponding to the point-to-point signal parameter;
and comparing the power primitive with the standard power primitive to judge whether the power primitive is consistent with the standard power primitive.
Optionally, in the method, the identifying the electric power primitive in the image to be identified by applying the primitive state identification model to obtain the state identification result of the electric power primitive includes:
intercepting an image area of the power primitive from the image to be identified;
preprocessing the image area, inputting the preprocessed image area to the primitive state identification model, and obtaining a state identification result of the power primitive;
the primitive state recognition model is obtained by training according to a preset training set, and the training set comprises image samples of the standard power primitive in different primitive states and a sample label of each image sample.
Optionally, the method further includes, after obtaining the state identification result of the power primitive, that:
and sending the state identification result to a preset workstation, so that the workstation checks and accepts the point-to-point signal based on the state identification result.
An apparatus for recognizing states of power primitives, comprising:
the receiving unit is used for acquiring a point-to-point signal parameter of the point-to-point signal when the point-to-point signal is received;
the first acquisition unit is used for acquiring the image to be identified corresponding to the point signal parameter;
the first judgment unit is used for judging whether the image to be identified meets the preset detection condition or not;
the determining unit is used for determining a power primitive in the image to be identified if the image to be identified meets the detection condition;
the second judging unit is used for judging whether the electric power primitive is consistent with a standard electric power primitive corresponding to the point-to-point signal parameter or not;
the second obtaining unit is used for obtaining a primitive state recognition model corresponding to the standard power primitive if the power primitive is consistent with the standard power primitive;
and the recognition unit is used for recognizing the electric power primitive in the image to be recognized by applying the primitive state recognition model to obtain a state recognition result of the electric power primitive.
The above apparatus, optionally, the first obtaining unit includes:
a first determining subunit, configured to determine a power graphics file including a target graphics page; the target graphic page is a graphic page of point-to-point signal test information comprising the point-to-point signal parameters;
the monitoring subunit is used for monitoring a preset graphic display interface, sequentially displaying each graphic page in the power graphic file on the graphic display interface, and recording and displaying time information of the target graphic page when the target graphic page is displayed;
the acquisition subunit is used for acquiring a monitoring picture corresponding to the time information in a monitoring video; the monitoring video is obtained by monitoring the image display interface;
and the execution subunit is used for taking the monitoring picture as the image to be identified corresponding to the point-to-point signal parameter.
The above apparatus, optionally, the identification unit includes:
the intercepting subunit is used for intercepting an image area of the power primitive from the image to be identified;
the identification subunit is used for preprocessing the image area, inputting the preprocessed image area into the primitive state identification model and obtaining a state identification result of the power primitive;
the primitive state recognition model is obtained by training according to a preset training set, and the training set comprises image samples of the standard power primitive in different primitive states and a sample label of each image sample.
A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium is located to perform the method for state recognition of power primitives as described above.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to perform the method for state identification of power primitives as described above by one or more processors.
Compared with the prior art, the invention has the following advantages:
the invention provides a method and a device for recognizing the state of a power primitive, a storage medium and electronic equipment, wherein the method comprises the following steps: when a point-to-point signal is received, acquiring a point-to-point signal parameter of the point-to-point signal; acquiring an image to be identified corresponding to the point-to-point signal parameter; judging whether the image to be identified meets a preset detection condition or not; if the image to be recognized meets the detection condition, determining a power primitive in the image to be recognized; judging whether the electric power primitive is consistent with a standard electric power primitive corresponding to the point-to-point signal parameter; if the power primitive is consistent with the standard power primitive, acquiring a primitive state recognition model corresponding to the standard power primitive; and identifying the electric power primitive by applying the primitive state identification model to obtain a state identification result of the electric power primitive. By applying the method provided by the invention, the image to be identified of the point signal can be obtained, the electric power primitive in the image to be identified can be identified by applying the primitive state identification model corresponding to the electric power primitive in the image to be identified, the state identification result of the electric power primitive can be quickly obtained, and the error in obtaining the image to be identified of the point signal can be avoided and the identification accuracy can be improved by judging whether the electric power primitive represented by the primitive identification result is consistent with the standard electric power primitive or not.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for identifying states of power primitives according to the present invention;
FIG. 2 is a flowchart of a process of acquiring an image to be recognized corresponding to a point signal parameter according to the present invention;
FIG. 3 is a flowchart of a process for obtaining a state recognition result of a power primitive according to the present invention;
fig. 4 is a schematic structural diagram of a state identification apparatus for power primitives according to the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the invention provides a state identification method of an electric power primitive, which can be applied to electronic equipment, wherein the electronic equipment can be any one workstation in a scheduling system, the scheduling system comprises a scheduling system server and a plurality of workstations, and a flow chart of the method is shown in fig. 1 and specifically comprises the following steps:
s101: when the point-to-point signal is received, the point-to-point signal parameter of the point-to-point signal is acquired.
In the embodiment of the present invention, the pair of point signal parameters may include one or more of a pair of point signal identifier, a pair of point signal type, a pair of point signal value, and the like, and the pair of point signal type may be a remote signaling type or a remote sensing type.
S102: and acquiring the image to be identified corresponding to the point-to-point signal parameter.
In the embodiment of the present invention, the image to be recognized may include image information of the target graphics page.
The target graphic page is a graphic page corresponding to the point-to-point signal parameter in a preset power graphic file, and the target graphic page may include point-to-point signal test information of the point-to-point signal parameter.
S103: and judging whether the image to be recognized meets a preset detection condition, if so, executing S105, and if not, executing S104.
In the embodiment of the present invention, the detection condition may include one or more of a size of the image to be recognized being consistent with a preset standard size, a memory space occupied by the image to be recognized being smaller than a preset threshold, a format of the image to be recognized and a preset standard image format, a signal type of the point-to-point signal being a remote signaling type, and the like.
S104: and sending alarm information that the image to be identified does not accord with the detection condition.
In the embodiment of the invention, under the condition that the image to be recognized does not meet the detection condition, the image to be recognized corresponding to the point signal parameter to be aligned can be obtained again.
S105: and determining the electric power primitive in the image to be identified.
In this embodiment, one possible way to determine the power primitive in the image to be recognized is as follows: the method comprises the steps of identifying an image to be identified through a preset primitive identification model to determine electric power primitives in the image to be identified, wherein the primitive identification model is obtained through training according to a preset primitive sample set, the primitive sample set comprises training sample images of all types of electric power primitives and label information of each training sample image, the label information represents the electric power primitives of the training sample images, and the primitive identification model can be a VGG model and the like.
Optionally, another feasible way of determining the power primitive in the image to be recognized is as follows: and recognizing the electric power primitive identification contained in the image to be recognized through a character recognition OCR technology, and determining the electric power primitive in the image to be recognized based on the electric power primitive identification.
The power primitive can be a switch, a knife switch, a light word plate or a handcart and other types of primitives.
S106: and judging whether the electric power primitive is consistent with the standard electric power primitive corresponding to the point-to-point signal parameter, if so, executing S107, otherwise, returning to the step of executing S102.
In this embodiment, a feasible way of determining whether the power primitive is consistent with the standard power primitive corresponding to the point-to-point signal parameter is as follows: acquiring a point-to-point signal identifier contained in a point-to-point signal parameter; traversing a preset comparison table according to the point signal identifier to determine a standard electric power primitive corresponding to the point signal parameter; and comparing the power primitive with the standard power primitive to judge whether the power primitive is consistent with the standard power primitive. And comparing the primitive identification of the power primitive with the primitive identification of the standard power primitive to judge whether the power primitive is consistent with the standard power primitive.
Specifically, the correspondence between the identification of the point-to-point signal in the point-to-point signal parameter and the standard power primitive is recorded in the comparison table.
S107: and acquiring a primitive state recognition model corresponding to the standard power primitive.
In the embodiment of the invention, the primitive state recognition model corresponding to the standard power primitive can be determined in a preset primitive state recognition model set, the primitive state recognition model set comprises a plurality of candidate primitive state recognition models, and different standard power primitives correspond to different primitive state recognition models.
S108: and identifying the electric power primitive in the image to be identified by applying the primitive state identification model to obtain a state identification result of the electric power primitive.
In the embodiment of the present invention, the state recognition result may be a separated state or a closed state.
The primitive state recognition model can be a model of an image processing function packaged with OpenCV; the method can also be a neural network model, for example, a convolutional neural network model, specifically including an input layer, a plurality of hidden layers, and an output layer, where the hidden layers may be convolutional layers, pooling layers, and fully-connected layers, and the output layer may be provided with a softmax classifier.
By applying the method provided by the embodiment of the invention, after the point-to-point signal is received, the image to be identified of the point-to-point signal can be obtained, the electric power primitive in the image to be identified is identified by applying the primitive state identification model corresponding to the electric power primitive, the state identification result of the electric power primitive can be quickly obtained, and by judging whether the electric power primitive in the image to be identified is consistent with the standard electric power primitive, the error in obtaining the image to be identified of the point-to-point signal can be avoided, and the identification accuracy is improved.
In this embodiment of the present invention, based on the implementation process described above, specifically, after performing S108, the status recognition result may be sent to a preset workstation, so that the workstation checks and accepts the peer-to-peer signal based on the status recognition result.
In the embodiment of the present invention, the workstation may determine whether the state represented by the state identification result is consistent with the standard state corresponding to the pair of point signals, if so, the pair of point signals are accepted and passed, otherwise, the pair of point signals are not accepted and passed.
In the method provided in the embodiment of the present invention, based on the implementation process, specifically, the process of acquiring the to-be-identified image corresponding to the point-to-point signal parameter specifically includes, as shown in fig. 2:
s201: determining a power graphic file comprising a target graphic page; the target graphic page is a graphic page of the point-to-point signal test information including the point-to-point signal parameters.
In the embodiment of the invention, the power graphic file comprising the target graphic page can be determined by the point-to-point signal identifier in the point-to-point signal parameter.
S202: monitoring a preset graphic display interface, sequentially displaying each graphic page in the power graphic file on the graphic display interface, and recording and displaying time information of the target graphic page when the target graphic page is displayed.
In the embodiment of the invention, the graphical display interface can be monitored through a preset camera, and can also be monitored through a screen recording program.
S203: and acquiring a monitoring picture corresponding to the time information in a monitoring video, wherein the monitoring video is obtained by a monitoring image display interface.
S204: and taking the monitoring picture as the image to be identified corresponding to the point-to-point signal parameter.
In the embodiment of the invention, the target graphic page can contain a target graphic page identifier, and identifier recognition can be performed on each video frame of the monitoring video, so that the monitoring image containing the target graphic page in the monitoring video is determined.
By applying the method provided by the embodiment of the invention, the graph to be identified is obtained in the monitoring video through the time information, and the image of the target graph page can be conveniently and quickly obtained.
In an embodiment of the present invention, based on the foregoing implementation process, specifically, the identifying the electric power primitive in the image to be identified by using the primitive state identification model to obtain a state identification result of the electric power primitive, as shown in fig. 3, specifically includes:
s301: and intercepting an image area of the power primitive from the image to be identified.
In the embodiment of the invention, the image to be recognized can be processed through the position detection model of the standard power primitive, so as to mark the detection frame on the image to be recognized, and an image area framed by the detection frame is intercepted and taken as the image area of the power primitive.
The position detection model is obtained by training based on a position detection sample set, the position detection sample set comprises a plurality of position detection samples, and each position detection sample comprises a standard primitive image with a labeled detection frame.
Specifically, the location detection model may be any target detection network such as an SSD network, an R-CNN network, a YOLO network, and the like.
S302: and preprocessing the image area, inputting the preprocessed image area to the primitive state identification model, and obtaining a state identification result of the power primitive.
In the embodiment of the present invention, one feasible way to pre-process the image area is as follows: and removing noise of the image area.
The primitive state recognition model may be obtained by training a preset neural network model through a preset training set, where the neural network model may be a CNN convolutional neural network model, and the training set includes image samples of the standard power primitive in different primitive states and a sample label of each image sample, where the sample label is set according to the type and state of the standard primitive, for example, when the standard power primitive is a switch, the sample label may be in an open state or a closed state.
Specifically, after the preprocessed image area is input into the primitive state recognition model, feature extraction is performed on the preprocessed image area by the primitive state recognition model to obtain primitive features, probability values corresponding to the primitive features and each sample label are determined, and the sample label with the maximum probability value is used as a state recognition result of the power primitive.
By applying the method provided by the embodiment of the invention, the image area of the power primitive can be accurately positioned, the primitive state recognition model is applied to recognize the image area, the state recognition result is obtained, and the state detection speed and precision of the power primitive can be improved.
The state identification method of the electric power graphic primitive provided by the invention can be applied to the point checking and acceptance of an intelligent substation, a station-side intelligent point aligning device of the intelligent substation can send a point aligning signal to a dispatching master station system, a workstation in the dispatching master station system can acquire a point aligning signal parameter of the point aligning signal under the condition that the workstation receives the point aligning signal, an electric power graphic file which a target graphic page containing the point aligning signal belongs to is determined based on a point aligning signal mark in the point aligning signal parameter, the electric power graphic file contains a plurality of electric power graphic pictures, each electric power graphic picture in the electric power graphic file is displayed and monitored to acquire an image of the target graphic page, namely an image to be identified corresponding to the point aligning signal parameter, and whether the image to be identified meets a preset detection condition is judged; if the image to be recognized meets the detection condition, recognizing the image to be recognized by applying a preset primitive recognition model to obtain a primitive recognition result of the image to be recognized; determining a standard electric power primitive corresponding to the point signal parameter in a preset comparison table; judging whether the power primitive represented by the primitive identification result is consistent with the standard power primitive or not; if the standard power primitive is consistent with the standard power primitive, acquiring a primitive state recognition model corresponding to the standard power primitive; and identifying the electric power primitive in the image to be identified by applying the primitive state identification model to obtain a state identification result of the electric power primitive. If the images are inconsistent, the images to be recognized may be obtained wrongly, and in this case, the images to be recognized may be obtained again, or an alarm may be given.
Corresponding to the method illustrated in fig. 1, an embodiment of the present invention further provides a state identification device for an electric power primitive, which is used to implement the method illustrated in fig. 1 specifically, and the state identification device for an electric power primitive provided in the embodiment of the present invention may be applied to an electronic device, and a schematic structural diagram of the state identification device is illustrated in fig. 4, and specifically includes:
a receiving unit 401, configured to obtain a point-to-point signal parameter of a point-to-point signal when the point-to-point signal is received;
a first obtaining unit 402, configured to obtain an image to be identified corresponding to the pair of point signal parameters;
a first judging unit 403, configured to judge whether the image to be recognized satisfies a preset detection condition;
a determining unit 404, configured to determine, if the image to be recognized meets the detection condition, an electric power primitive in the image to be recognized;
a second determining unit 405, configured to determine whether the power primitive is consistent with a standard power primitive corresponding to the pair of point signal parameters;
a second obtaining unit 406, configured to obtain a primitive state identification model corresponding to the standard power primitive if the power primitive is consistent with the standard power primitive;
the identifying unit 407 is configured to identify the power primitive in the image to be identified by applying the primitive state identification model, so as to obtain a state identification result of the power primitive.
In an embodiment provided by the present invention, based on the foregoing implementation, optionally, the first obtaining unit 402 includes:
a first determining subunit, configured to determine a power graphics file including a target graphics page; the target graphic page is a graphic page of point-to-point signal test information comprising the point-to-point signal parameters;
the monitoring subunit is used for monitoring a preset graphic display interface, sequentially displaying each graphic page in the power graphic file on the graphic display interface, and recording and displaying time information of the target graphic page when the target graphic page is displayed;
the acquisition subunit is used for acquiring a monitoring picture corresponding to the time information in a monitoring video; the monitoring video is obtained by monitoring the image display interface;
and the execution subunit is used for taking the monitoring picture as the image to be identified corresponding to the point-to-point signal parameter.
In an embodiment provided by the present invention, based on the foregoing implementation, optionally, the identifying unit 407 includes:
the intercepting subunit is used for intercepting an image area of the power primitive from the image to be identified;
the identification subunit is used for preprocessing the image area, inputting the preprocessed image area into the primitive state identification model and obtaining a state identification result of the power primitive;
the primitive state recognition model is obtained by training according to a preset training set, and the training set comprises image samples of the standard power primitive in different primitive states and a sample label of each image sample.
The specific principle and the implementation process of each unit and each module in the state identification device for the power primitive disclosed in the embodiment of the present invention are the same as those of the state identification method for the power primitive disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the state identification method for the power primitive provided in the embodiment of the present invention, which are not described herein again.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the equipment where the storage medium is located is controlled to execute the state identification method of the power primitive.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 5, which specifically includes a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to perform the following operations according to the one or more instructions 502:
when a point-to-point signal is received, acquiring a point-to-point signal parameter of the point-to-point signal;
acquiring an image to be identified corresponding to the point-to-point signal parameter;
judging whether the image to be identified meets a preset detection condition or not;
if the image to be recognized meets the detection condition, determining a power primitive in the image to be recognized;
judging whether the electric power primitive is consistent with a standard electric power primitive corresponding to the point-to-point signal parameter;
if the power primitive is consistent with the standard power primitive, acquiring a primitive state recognition model corresponding to the standard power primitive;
and identifying the electric power primitive by applying the primitive state identification model to obtain a state identification result of the electric power primitive.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The above detailed description is provided for the state identification method of the power primitive provided by the present invention, and a specific example is applied in the present text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for recognizing the state of a power primitive is characterized by comprising the following steps:
when a point-to-point signal is received, acquiring a point-to-point signal parameter of the point-to-point signal;
acquiring an image to be identified corresponding to the point-to-point signal parameter;
judging whether the image to be identified meets a preset detection condition or not;
if the image to be recognized meets the detection condition, determining a power primitive in the image to be recognized;
judging whether the electric power primitive is consistent with a standard electric power primitive corresponding to the point-to-point signal parameter;
if the electric power primitive is consistent with the standard electric power primitive, acquiring a primitive state identification model corresponding to the standard electric power primitive according to the correctness of the image to be identified acquired by the point-to-point signal parameter;
identifying the electric power primitive by applying the primitive state identification model to obtain a state identification result of the electric power primitive;
the identifying the electric power primitive by applying the primitive state identifying model to obtain the state identifying result of the electric power primitive comprises the following steps:
intercepting an image area of the power primitive from the image to be identified;
the image area is preprocessed, the preprocessed image area is input into the primitive state recognition model, the primitive state recognition model extracts features of the preprocessed image area to obtain primitive features, probability values of the primitive features corresponding to the sample tags are determined, and the sample tag with the maximum probability value is used as a state recognition result of the power primitive.
2. The method according to claim 1, wherein the acquiring the image to be recognized corresponding to the pair of point signal parameters comprises:
determining a power graphic file comprising a target graphic page; the target graphic page is a graphic page of point-to-point signal test information comprising the point-to-point signal parameters;
monitoring a preset graphic display interface, sequentially displaying each graphic page in the power graphic file on the graphic display interface, and recording time information for displaying the target graphic page when the target graphic page is displayed;
acquiring a monitoring picture corresponding to the time information in a monitoring video; the monitoring video is obtained by monitoring the image display interface;
and taking the monitoring picture as the image to be identified corresponding to the point-to-point signal parameter.
3. The method of claim 1, wherein the determining whether the power primitive is consistent with a standard power primitive corresponding to the pair of point-to-point signal parameters comprises:
acquiring a point-to-point signal identifier contained in the point-to-point signal parameter;
traversing a preset comparison table according to the point-to-point signal identifier to determine a standard electric power primitive corresponding to the point-to-point signal parameter;
and comparing the power primitive with the standard power primitive to judge whether the power primitive is consistent with the standard power primitive.
4. The method according to claim 1, wherein the primitive state recognition model is trained according to a preset training set, and the training set comprises image samples of the standard power primitive in different primitive states and a sample label of each image sample.
5. The method according to claim 1, wherein after obtaining the state recognition result of the power primitive, the method further comprises:
and sending the state identification result to a preset workstation, so that the workstation checks and accepts the point-to-point signal based on the state identification result.
6. An apparatus for recognizing states of power primitives, comprising:
the receiving unit is used for acquiring a point-to-point signal parameter of the point-to-point signal when the point-to-point signal is received;
the first acquisition unit is used for acquiring the image to be identified corresponding to the point signal parameter;
the first judgment unit is used for judging whether the image to be identified meets the preset detection condition or not;
the determining unit is used for determining a power primitive in the image to be identified if the image to be identified meets the detection condition;
the second judging unit is used for judging whether the electric power primitive is consistent with a standard electric power primitive corresponding to the point-to-point signal parameter or not;
the second obtaining unit is used for obtaining a primitive state recognition model corresponding to the standard electric power primitive according to the correctness of the image to be recognized obtained by the point-to-point signal parameter if the electric power primitive is consistent with the standard electric power primitive;
the recognition unit is used for recognizing the electric power primitive in the image to be recognized by applying the primitive state recognition model to obtain a state recognition result of the electric power primitive;
the identification unit includes:
the intercepting subunit is used for intercepting an image area of the power primitive from the image to be identified;
the identification subunit is configured to pre-process the image region, input the pre-processed image region to the primitive state identification model, perform feature extraction on the pre-processed image region by the primitive state identification model, obtain primitive features, determine a probability value corresponding to each sample tag of the primitive features, and use the sample tag with the largest probability value as a state identification result of the power primitive.
7. The apparatus of claim 6, wherein the first obtaining unit comprises:
a first determining subunit, configured to determine a power graphics file including a target graphics page; the target graphic page is a graphic page of point-to-point signal test information comprising the point-to-point signal parameters;
the monitoring subunit is used for monitoring a preset graphic display interface, sequentially displaying each graphic page in the power graphic file on the graphic display interface, and recording and displaying time information of the target graphic page when the target graphic page is displayed;
the acquisition subunit is used for acquiring a monitoring picture corresponding to the time information in a monitoring video; the monitoring video is obtained by monitoring the image display interface;
and the execution subunit is used for taking the monitoring picture as the image to be identified corresponding to the point-to-point signal parameter.
8. The apparatus of claim 6, wherein the primitive state recognition model is trained according to a predetermined training set, and the training set comprises image samples of the standard power primitive in different primitive states and a sample label of each image sample.
9. A storage medium, characterized in that the storage medium comprises a storage instruction, wherein when the instruction runs, a device in which the storage medium is located is controlled to execute the state identification method of the power primitive according to any one of claims 1 to 5.
10. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the method for state recognition of power primitives of any one of claims 1-5.
CN202210038143.6A 2022-01-13 2022-01-13 State identification method and device of power primitive, storage medium and electronic equipment Active CN114049598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210038143.6A CN114049598B (en) 2022-01-13 2022-01-13 State identification method and device of power primitive, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210038143.6A CN114049598B (en) 2022-01-13 2022-01-13 State identification method and device of power primitive, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114049598A CN114049598A (en) 2022-02-15
CN114049598B true CN114049598B (en) 2022-04-19

Family

ID=80196567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210038143.6A Active CN114049598B (en) 2022-01-13 2022-01-13 State identification method and device of power primitive, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114049598B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612079B (en) * 2022-05-16 2022-09-02 国网江西省电力有限公司电力科学研究院 Automatic checking method for monitoring information graph library of centralized control station

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113256766A (en) * 2021-07-13 2021-08-13 国网浙江省电力有限公司宁波供电公司 Method and device for acquiring power graphic picture, storage medium and electronic equipment
WO2021232670A1 (en) * 2020-05-22 2021-11-25 深圳技术大学 Pcb component identification method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111222186B (en) * 2020-01-03 2023-06-02 湖南特能博世科技有限公司 Method, device and server for identifying graphic primitives
CN113312952B (en) * 2020-12-31 2024-04-30 南京太司德智能电气有限公司 Method for checking consistency of power graphic picture association engineering in svg format
CN113221688B (en) * 2021-04-28 2024-03-19 南京南瑞继保电气有限公司 Knife switch state identification method, device and storage medium
CN113762185A (en) * 2021-09-14 2021-12-07 珠海理想科技有限公司 Intelligent system for achieving state acquisition of power equipment based on computer vision

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021232670A1 (en) * 2020-05-22 2021-11-25 深圳技术大学 Pcb component identification method and device
CN113256766A (en) * 2021-07-13 2021-08-13 国网浙江省电力有限公司宁波供电公司 Method and device for acquiring power graphic picture, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Sinc-based Dynamic Movement Primitives for Encoding Point-to-point Kinematic Behaviors;Dimitrios Papageorgiou等;《2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)》;20190107;第8339-8345页 *

Also Published As

Publication number Publication date
CN114049598A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN109145680B (en) Method, device and equipment for acquiring obstacle information and computer storage medium
CN109086756A (en) A kind of text detection analysis method, device and equipment based on deep neural network
CN111368824B (en) Instrument identification method, mobile device and storage medium
CN114049598B (en) State identification method and device of power primitive, storage medium and electronic equipment
CN114898466A (en) Video motion recognition method and system for smart factory
CN110796039B (en) Face flaw detection method and device, electronic equipment and storage medium
CN112926621A (en) Data labeling method and device, electronic equipment and storage medium
CN114972880A (en) Label identification method and device, electronic equipment and storage medium
WO2022062968A1 (en) Self-training method, system, apparatus, electronic device, and storage medium
CN110689447A (en) Real-time detection method for social software user published content based on deep learning
CN110008923A (en) Image processing method and training method and device, calculate equipment at medium
EP4105896A2 (en) Method, apparatus and platform of generating document, electronic device, storage medium and program product
CN116580232A (en) Automatic image labeling method and system and electronic equipment
CN116110066A (en) Information extraction method, device and equipment of bill text and storage medium
CN115953744A (en) Vehicle identification tracking method based on deep learning
CN115018783A (en) Video watermark detection method and device, electronic equipment and storage medium
CN112989256B (en) Method and device for identifying web fingerprint in response information
CN111626369B (en) Face recognition algorithm effect evaluation method and device, machine readable medium and equipment
CN114034260A (en) Deep foundation pit support structure deformation diagnosis system based on streaming media and BIM
CN113869364A (en) Image processing method, image processing apparatus, electronic device, and medium
CN113283396A (en) Target object class detection method and device, computer equipment and storage medium
CN110851349A (en) Page abnormal display detection method, terminal equipment and storage medium
CN115631493B (en) Text region determining method, system and related device
CN115049965A (en) Training method and device for detection model, electronic equipment and storage medium
WO2023168964A1 (en) Data segmentation method and related apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant