CN112419701B - Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium - Google Patents

Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium Download PDF

Info

Publication number
CN112419701B
CN112419701B CN202011146717.9A CN202011146717A CN112419701B CN 112419701 B CN112419701 B CN 112419701B CN 202011146717 A CN202011146717 A CN 202011146717A CN 112419701 B CN112419701 B CN 112419701B
Authority
CN
China
Prior art keywords
initial
message
telecontrol equipment
type
data
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
CN202011146717.9A
Other languages
Chinese (zh)
Other versions
CN112419701A (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.)
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Meizhou Power Supply Bureau of Guangdong Power Grid 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 Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN202011146717.9A priority Critical patent/CN112419701B/en
Publication of CN112419701A publication Critical patent/CN112419701A/en
Application granted granted Critical
Publication of CN112419701B publication Critical patent/CN112419701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C25/00Arrangements for preventing or correcting errors; Monitoring arrangements
    • 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]
    • 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/00002Circuit 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 monitoring
    • 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/00006Circuit 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 information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • 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/16Electric power substations
    • 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
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for judging data abnormity of telecontrol equipment, wherein the method for judging the data abnormity of the telecontrol equipment comprises the following steps: collecting a multi-frame initial message returned by the telecontrol equipment, wherein the telecontrol equipment is arranged in a power plant or a transformer substation and is used for realizing the collection, measurement and monitoring of the operation data of the power equipment of the power plant or the transformer substation; determining an initial type of an initial message; acquiring the characteristics which are matched with the initial type of the multi-frame initial message and have continuity; and if the characteristics are consistent with the preset target type, judging that the data returned by the telecontrol equipment is abnormal. Compared with a mode of manually analyzing and judging the result after the initial message is analyzed, the workload of monitoring personnel can be effectively reduced, and then the acquired initial message can be analyzed and judged more timely to judge whether the data returned by the telecontrol equipment is abnormal or not, so that the monitoring personnel can be assisted to monitor the running states of the telecontrol equipment and the main station.

Description

Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of power grid dispatching, in particular to a method, a device, equipment and a storage medium for judging data abnormity of telecontrol equipment.
Background
In the remote control technology of the power system in the power system, remote control equipment is mainly arranged at a transformer substation and a power station, then remote operation equipment is monitored and controlled by a master station application communication technology arranged in a dispatching center, and remote measurement (YC), remote signaling (YX), remote control (YK) and remote regulation of production stations such as the power station and the transformer substation are realized by the remote control equipment.
At present, a communication protocol commonly used in an electric power system is an IEC (international electrotechnical commission) protocol, and the IEC protocol is adopted for message coding of communication among a scheduling center, a power station and a transformer substation, so that question answering and data transmission among the scheduling center, the power station and the transformer substation are realized, and unattended operation of the transformer substation and the power station is realized. In actual production work, for the judgment of the abnormality and the fault of the telemechanical system of the power system, the message content is often analyzed and judged manually to judge whether the communication between the dispatching center and the power station and the substation is abnormal or faulty.
The method not only needs to arrange the on-duty personnel to analyze and judge the messages transmitted between the dispatching center and the power station and the transformer substation, consumes a large amount of manpower and material resources, but also has high transmission abnormity and fault judgment delay between the dispatching center and the power station and between the dispatching center and the transformer substation, and delays the diagnosis and recovery of the fault.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for judging data abnormity of telecontrol equipment, which are used for monitoring the data transmission state between a dispatching center and a power station and between the dispatching center and a transformer substation.
In a first aspect, an embodiment of the present invention provides a method for determining data exception of a telemechanical device, including:
collecting a multi-frame initial message returned by telecontrol equipment, wherein the telecontrol equipment is arranged in a power plant or a transformer substation and is used for realizing the collection, measurement and monitoring of the operation data of power equipment of the power plant or the transformer substation;
determining an initial type of the initial message;
acquiring the characteristics which are matched with the initial types of the initial messages of multiple frames and have continuity;
and if the characteristics are consistent with the preset target type, judging that the data returned by the telecontrol equipment is abnormal.
Optionally, the acquiring a multi-frame initial packet returned by the remote equipment includes:
sending a query message to the telecontrol equipment in a polling mode;
and receiving an initial message returned by the telecontrol equipment in response to the query message.
Optionally, the determining the initial type of the initial packet includes:
and acquiring a type identifier from the initial message, wherein the type identifier is used for representing the initial type of the initial message.
Optionally, the obtaining a type identifier from the initial packet includes:
acquiring an initial frame check sum from the message tail of the initial message;
calculating a check value of the initial message, wherein the check value is the sum of the initial message except the check sum of the initial frame;
when the check sum of the initial frame is not equal to the check value, judging that the initial type of the initial message is an error message;
and when the initial frame check sum is equal to the check value, acquiring a type identifier from a message header of the initial message.
Optionally, after determining the initial type of the initial packet, the method further includes:
intercepting a specified number of continuous initial messages as target message segments;
counting the number of the initial messages of which the initial types are error messages;
and when the number is larger than or equal to a preset numerical value, judging that the data returned by the telecontrol equipment is abnormal.
Optionally, the obtaining the characteristics with continuity, which are matched with the initial type of the initial packet of the multiple frames, includes:
arbitrarily intercepting at least two continuous initial messages as target message segments;
when the initial type of the target segment is the same, characterizing the initial type of the target segment.
Optionally, if the characteristic matches a preset target type, determining that the data returned by the telecontrol equipment is abnormal includes:
comparing the features with a preset target type;
when the characteristics are the same as the target type, judging that the data returned by the telecontrol equipment is abnormal;
and when the characteristics are different from the target type, judging that the data returned by the telecontrol equipment is normal.
In a second aspect, an embodiment of the present invention further provides a device for determining data abnormality of a telemechanical device, where the device includes:
the system comprises an acquisition module, a monitoring module and a control module, wherein the acquisition module is used for acquiring multi-frame initial messages returned by telecontrol equipment, and the telecontrol equipment is arranged in a power plant or a transformer substation and is used for realizing the acquisition, measurement and monitoring of operation data of power equipment of the power plant or the transformer substation;
a type determining module, configured to determine an initial type of the initial packet;
the characteristic acquisition module is used for acquiring continuous characteristics matched with the initial types of the multi-frame initial messages;
and the judging module is used for judging that the data returned by the telecontrol equipment is abnormal when the characteristics are consistent with the preset target type.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for determining data exception of a telecontrol device according to the first aspect when executing the program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for determining data abnormality of a telemechanical device according to the first aspect.
According to the method, the continuous multi-frame initial messages returned by the main station of the telecontrol equipment response scheduling center arranged by the power plant or the transformer substation are collected, the initial types corresponding to the initial messages are determined, the characteristics representing the continuity of the initial types of the continuous multi-frame initial messages are obtained, the initial messages can be rapidly classified, the initial messages with the same continuous initial types in the initial messages are selected, and therefore the data analysis amount is effectively reduced; compared with the mode of manually analyzing and judging the result after the initial message is analyzed manually, the workload of monitoring personnel can be effectively reduced, then the collected initial message can be analyzed more timely to judge whether the data returned by the telecontrol equipment is abnormal, and further the monitoring personnel can be assisted to monitor the running states of the telecontrol equipment and the main station.
Drawings
Fig. 1 is a flowchart of a data abnormality determination method for a telemechanical device according to an embodiment of the present invention;
fig. 2 is a flowchart of a data abnormality determination method for a telemechanical device according to a second embodiment of the present invention;
fig. 3 is a structural diagram of a mobile device data abnormality determination apparatus according to a third embodiment of the present invention;
fig. 4 is a structural diagram of a data abnormality determination device of a telecontrol apparatus in a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for determining data abnormality of a telemechanical device according to an embodiment of the present invention, where the method is applicable to determining data transmission conditions between a master station of a scheduling center and telemechanical devices of a power station and a substation, and the method can be executed by a telemechanical device data abnormality determining device, and specifically includes the following steps:
and 110, collecting a multi-frame initial message returned by the telecontrol equipment, wherein the telecontrol equipment is arranged in a power plant or a transformer substation and is used for realizing the collection, measurement and monitoring of the operation data of the power equipment of the power plant or the transformer substation.
In this embodiment, the remote control refers to the application of remote communication technology to monitor and control the remote operating device, so as to implement various functions such as remote measurement, remote signal, remote control and remote adjustment. In the automated implementation of electric power systems, telemechanical control techniques play a crucial role. The specific telemechanical control is realized mainly by a master station arranged in a dispatching center and power stations and substations arranged in power stations and transformer substations through a data acquisition technology, a channel coding technology and a communication transmission technology. The telecontrol equipment converts the operating conditions (including on-off states, operating parameters of the equipment and the like) of each power plant, power supply station and transformer substation into a signal form convenient for transmission, adds a protection measure to prevent external interference in the transmission process, and transmits the signal form to the dispatching center through a special information channel after modulation. The main station of the dispatching center is subjected to inverse modulation, and is restored to be signals corresponding to the working conditions of a power plant, a power supply station and a transformer substation, and then the signals are displayed for monitoring by dispatching personnel. Some control commands of the dispatching personnel can also be transmitted to remote power plants, power stations and substations through similar processes to drive controlled objects.
Secondly, due to the characteristics of power production, information exchange among power plants, substations and dispatch centers can only be realized through channels. And the information transfer can only be in a serial manner. Therefore, in order to identify, receive and process the transmitted information after reaching the other party, strict specifications are made on the format of the transmitted information, which is one of the contents of the telecontrol protocol. These specifications include whether the mode of transmission is synchronous or asynchronous, frame sync words, interference-free measures, bit sync mode, frame structure, information transmission process. The common protocol in the power industry is the IEC protocol, which mainly includes the IEC-101/102/103/104 protocol, and in the process of transmitting information, data is encoded into messages according to the convention of the IEC protocol, and the messages are transmitted to each other in the form of a message, and each message is a frame.
In this embodiment, the provided method for judging data abnormality of a telecontrol device is mainly applied to a master station of a scheduling center, where the collecting of a multi-frame initial message returned by the telecontrol device refers to a message returned by the telecontrol device in response to an instruction of the master station received at the master station, and it should be noted that in the collecting process, a continuous message should be collected as the initial message in this embodiment, so as to avoid an error phenomenon caused by missing part of the message in the collecting process.
Optionally, the collection of the message may be to receive the message returned by the remote equipment in real time, or to directly collect the message sent by the remote equipment at the remote equipment end, or to read the message received by the host within a certain time period, which is not further limited herein as long as the message required in this embodiment can be obtained. In addition, in order to ensure real-time judgment of data transmitted by the telecontrol equipment, a real-time acquisition and analysis mode can be adopted to obtain the message.
Step 120, determining the initial type of the initial message.
The messages transmitted among the power plant, the substation and the dispatching center have various different types, and are respectively used for information transmission under different conditions, so that the information transmission of different types is realized. For example: the messages can be divided into correct messages and error messages according to the correctness of the messages; according to the action of the message, the method can be divided into an initialization message, a time synchronization message, a total calling message, a remote control message, a remote signaling message, a remote measuring message and a remote pulse message.
In this embodiment, the initial type of the initial packet is determined, that is, the correctness and other action types of the initial packet are determined. The specific confirmation method can determine according to the characteristic values in different types of initial messages, for example, determine the correctness of the initial message through frame check in the message, determine whether the message is an error message, and further determine which type of the initial message is an initialization message, a time synchronization message, a total call message, a remote control message, a remote communication message, a remote measurement message, or a remote pulse message according to the type identification bits of the non-error message, thereby confirming the initial type of the initial message.
And step 130, acquiring the characteristics which are matched with the initial type of the multi-frame initial message and have continuity.
In the present embodiment, the initial packets exist as a plurality of consecutive frames, where the initial types of some consecutive initial packets may be the same, and the continuous characteristic mentioned in the present embodiment that matches the initial type of the multi-frame initial packet means the number of initial packets and the initial type characteristic that occur consecutively in the consecutive multi-frame initial packets and have the same initial type. In other words, it is necessary to find initial packets with the same continuous initial types from consecutive multi-frame initial packets, and obtain the initial types and the continuous number corresponding to the initial packets.
And 140, if the characteristics are consistent with the preset target type, judging that the data returned by the telecontrol equipment is abnormal.
In this embodiment, the preset target type refers to a type corresponding to an initial packet of data exception returned by the telecontrol apparatus. That is, when the initial message of the type continuously appears, the data returned by the telecontrol equipment is abnormal, and the communication abnormality between the telecontrol equipment and the master station is represented. In other words, when the initial message corresponding to the target type continuously appears, the communication between the telecontrol equipment and the master station is abnormal, the telecontrol equipment is in a false online state, and the data returned by the telecontrol equipment is abnormal.
In the method for judging the data abnormality of the telemechanical equipment provided by the embodiment, continuous multiframe initial messages returned by a master station of a telemechanical equipment response scheduling center set by a power plant or a transformer substation are collected, then the initial types corresponding to the initial messages are determined, the characteristic of representing the continuity of the initial types of the continuous multiframe initial messages is obtained, the initial messages can be rapidly classified, the initial messages with the same continuous initial types in the initial messages are selected, and therefore the data analysis amount is effectively reduced; compared with the mode of manually analyzing and judging the result after the initial message is analyzed manually, the workload of monitoring personnel can be effectively reduced, then the collected initial message can be analyzed more timely to judge whether the data returned by the telecontrol equipment is abnormal, and further the monitoring personnel can be assisted to monitor the running states of the telecontrol equipment and the main station.
Example two
A second embodiment of the present invention provides another method for determining data abnormality of a telecontrol apparatus, fig. 2 is a flowchart of the method for determining data abnormality of a telecontrol apparatus according to the second embodiment of the present invention, which is further detailed based on the first embodiment, and describes a data processing process in detail, as shown in fig. 2, the method includes:
step 201, sending a query message to the telecontrol equipment in a polling manner.
The telecontrol equipment is arranged in a power plant or a transformer substation and used for realizing the operation data acquisition, measurement and monitoring of power equipment of the power plant or the transformer substation.
Step 202, receiving an initial message returned by the telecontrol equipment responding to the query message.
In this embodiment, the master station of the scheduling center sends the query message to the telecontrol equipment installed in the power plant, the power supply station, and the substation in a polling manner, and the telecontrol equipment installed in each power plant, power supply station, and substation will respond to the query message and return to the initial message required in the method for determining the abnormal data of the telecontrol equipment described in this embodiment after receiving the query message sent by the master station.
In other embodiments, the query message may be sent in other manners, or a message generated in the normal working process of the master station and the telecontrol equipment may be directly collected as a required initial message. The key point in this embodiment is the acquisition of the initial packet, and the specific acquisition manner is a common technique in the art and will not be described herein.
Step 203, obtaining a type identifier from the initial message, where the type identifier is used to indicate an initial type of the initial message.
The data in the message are arranged according to a certain frame structure, and a common protocol in the power industry is an IEC (international electrotechnical commission) protocol which mainly comprises an IEC-101/102/103/104 protocol, so that the initial type to which the initial type belongs can be judged from the data corresponding to the type identification bits in the message, and the message is further divided into different initial types according to the types represented by different type identifications. Furthermore, the correctness of the initial message can be judged through the frame checksum bits, and the error message is marked as an error type.
In a specific embodiment, step 203 comprises:
step 2031, obtain the initial frame checksum from the message tail of the initial message.
The frame checksum is a value set for judging whether the message is affected by external influence and has changed its value or abnormal phenomena such as frame loss and frame break, and can be used for judging whether the message is correct or not. For example, in the IEC-101/104 specification, a one-byte frame checksum bit is provided at the end of a message, and its value represents the frame checksum, i.e., the sum of the data calculated at the sender of the message except for itself.
Step 2032, calculating the check value of the initial message, where the check value is the sum of the initial message excluding the initial frame checksum.
In this embodiment, the frame checksum bits are summed with other data except for the frame checksum bits themselves, so that the same rule needs to be followed for calculation when calculating the checksum value, and the calculation manner of the check value is different from that of the frame checksum, so that the calculated checksum value is not comparable to the frame checksum, and whether the packet is damaged cannot be correctly determined.
Step 2033, comparing the initial frame checksum with the check value;
when the checksum of the initial frame is not equal to the check value, performing step 2034;
when the initial frame checksum and the check value are equal, step 2035 is performed;
step 2034, judging the initial type of the initial message as an error message;
step 2035, obtain the type identifier from the header of the initial packet.
In this embodiment, when the obtained initial frame checksum is not equal to the calculated check value, it represents that the message may be affected by external influences to change its own value or change the value set by abnormal phenomena such as frame loss and frame break, i.e. there is a possibility of data error in the corresponding initial message. At this time, the corresponding initial message is defined as an error message to mark the error initial message.
And when the obtained initial frame checksum is equal to the calculated check value, the data of the message is correct, the message is effective, and at the moment, the message header of the initial message is read, and the type identifier in the message header is read, so that the initial type of the message is obtained.
Step 204, intercepting the specified number of continuous initial messages as target message segments.
The specified number may be selected according to actual situations, for example, continuous 10 or 20 frames of initial messages are selected as the target segments required by this embodiment.
Step 205, comparing the number of initial messages with the initial type of error messages with a preset numerical value;
if the number is greater than or equal to the value, go to step 209.
In step 205, the number of initial type bit error messages in the intercepted specified number of initial messages needs to be obtained, and then the obtained number is compared with a preset numerical value, so as to determine whether the number of error messages in the intercepted specified number of initial messages exceeds the number in a normal working state, and further determine whether data returned by the telecontrol equipment is normal.
In other embodiments, the proportion of the error messages in the intercepted specified number of initial messages may be calculated, and then compared with the maximum proportion of the error messages in the normal working state, so as to determine whether the data returned by the telecontrol equipment is abnormal.
And step 206, arbitrarily intercepting at least two continuous initial messages as target message segments.
In this embodiment, the intercepting manner for the initial packet in step 206 is similar to the intercepting manner in step 204, and specifically, the intercepting manner in step 204 may be referred to. The message intercepting length in step 206 may be determined according to the number of the same initial type that is commonly found when the data returned by the telecontrol equipment is abnormal, for example, when two identical initial types representing faults are continuously returned, the communication between the telecontrol equipment and the master station is in an abnormal state, and at this time, the word intercepting length in step 206 may be set to two bits, that is, two continuous initial messages are intercepted as the target message segment. In addition, it should be understood that the two consecutive initial messages illustrated herein are only for illustration, and in other embodiments, the two consecutive initial messages may have interception lengths of three, four, five, and the like.
And step 207, when the initial types of the target segments are the same, taking the initial types of the target segments as characteristics.
The function in step 207 is to determine whether the initial types of the initial messages in the single target segment are the same, and if the initial types of the initial messages are the same, it means that the initial types of the initial messages in the specified length of the intercept are the same.
Step 208, comparing the characteristics with preset target types;
when the feature is the same as the target type, go to step 209;
when the feature is not the same as the target type, go to step 210;
and step 209, judging that the data returned by the telecontrol equipment is abnormal.
And step 210, judging that the data returned by the telecontrol equipment is normal.
When the initial type of the initial message in the target message segment is the same and is the same as the preset target type, it indicates that the data returned by the telecontrol equipment is abnormal, and the data returned by the telecontrol equipment has long-continuity data with the same initial type, which indicates that the telecontrol equipment may be in a state of no data or returning false data. In other words, the master station queries data from the telecontrol equipment during the normal operation of the telecontrol equipment, the data returned by the telecontrol equipment does not have initial messages with the same continuous target type exceeding a certain length under normal conditions, and when the initial messages occur, the telecontrol equipment is in a state of no data or false data return. In this embodiment, whether the initial packet of the target type that should not continuously appear continuously appears is determined mainly based on the determination of the continuity of the initial type of the received initial packet and by comparing the initial packet with the preset target type, that is, whether the data of the remote device is abnormal is determined.
In this embodiment, the correctness of the initial message is verified first, so as to determine the error message in the initial message, and whether the telecontrol equipment data is abnormal is determined by the proportion of the error message, so that the telecontrol equipment data abnormal form with a large number of error messages can be eliminated, and the subsequent calculation amount is effectively reduced. Then, the initial type corresponding to the initial message is determined, then, the initial messages with the same initial type within the specified length are screened out as the characteristic of the abnormal data of the telecontrol equipment provided in the embodiment, and finally, the initial messages are compared with the preset target type to judge whether the initial messages with the same continuous length and the initial types are normal or not. Compared with a mode of manually analyzing and judging the result after the initial message is analyzed, the workload of monitoring personnel can be effectively reduced, and then the acquired initial message can be analyzed and judged more timely to judge whether the data returned by the telecontrol equipment is abnormal or not, so that the monitoring personnel can be assisted to monitor the running states of the telecontrol equipment and the main station.
EXAMPLE III
Fig. 3 is a structural diagram of a data abnormality determination apparatus for a remote control device according to a third embodiment of the present invention, where the apparatus can execute the data abnormality determination method for the remote control device according to the third embodiment, specifically, the apparatus includes:
the acquisition module 301 is configured to acquire a multi-frame initial message returned by a telecontrol device, where the telecontrol device is arranged in a power plant or a substation and is used to acquire, measure and monitor operation data of power equipment in the power plant or the substation;
a type determining module 302, configured to determine an initial type of the initial packet;
a feature obtaining module 303, configured to obtain a feature that is matched with the initial type of the multiple frames of the initial packet and has continuity;
a determining module 304, configured to determine that data returned by the telecontrol equipment is abnormal when the characteristic matches a preset target type.
The acquisition module 301 includes:
the query unit is used for sending a query message to the telecontrol equipment in a polling mode;
and the receiving unit is used for receiving the initial message returned by the telecontrol equipment responding to the query message.
The type determination module 302 includes:
a type identifier obtaining unit, configured to obtain a type identifier from the initial packet, where the type identifier is used to indicate an initial type of the initial packet.
The type identification obtaining unit includes:
an initial frame check sum obtaining subunit, configured to obtain an initial frame check sum from a message tail of the initial message;
a check value operator unit, configured to calculate a check value of the initial packet, where the check value is a sum of the initial packet excluding the initial frame checksum;
an error judgment subunit, configured to judge, when the checksum of the initial frame is not equal to the check value, that the initial type of the initial packet is an error packet;
a type identifier obtaining subunit, configured to obtain a type identifier from a packet header of the initial packet when the initial frame checksum is equal to the check value.
Further comprising:
an intercepting subunit, configured to intercept a specified number of consecutive initial messages as target message segments;
a counting subunit, configured to count the number of the initial packets of which the initial types are error packets;
and the judging subunit is used for judging that the data returned by the telecontrol equipment is abnormal when the number is greater than or equal to a preset numerical value.
The feature acquisition module 303 includes:
an intercepting unit, configured to arbitrarily intercept at least two consecutive initial messages as target message segments;
a feature obtaining unit, configured to take the initial type of the target segment as a feature when the initial type of the target segment is the same.
The determining module 304 includes:
the comparison unit is used for comparing the characteristics with a preset target type;
when the characteristics are the same as the target type, judging that the data returned by the telecontrol equipment is abnormal;
and when the characteristics are different from the target type, judging that the data returned by the telecontrol equipment is normal.
The telecontrol equipment data abnormity judgment device provided by the embodiment of the invention can execute the telecontrol equipment data abnormity judgment method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a structural diagram of a data abnormality determination apparatus for a telemechanical apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the apparatus includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processors 410 in the device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410, the memory 420, the input device 430 and the output device 440 in the apparatus may be connected by a bus or other means, for example, in fig. 4.
The memory 420 serves as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for determining the data abnormality of the telecontrol equipment in the embodiment of the present invention (for example, the acquisition module 301, the type determination module 302, the feature acquisition module 303, and the determination module 304 in the telecontrol equipment data abnormality determination apparatus). The processor 410 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 420, that is, the above-described method for determining data abnormality of the telemechanical device is implemented.
The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may be used to collect the initial message returned by the telemechanical device. The output device 440 may be used to output the determination result.
EXAMPLE five
The fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for determining data abnormality of a telemechanical device is implemented, where the method includes:
collecting a multi-frame initial message returned by telecontrol equipment, wherein the telecontrol equipment is arranged in a power plant or a transformer substation and is used for realizing the collection, measurement and monitoring of the operation data of power equipment of the power plant or the transformer substation;
determining an initial type of the initial message;
acquiring the characteristics which are matched with the initial types of the initial messages of multiple frames and have continuity;
and if the characteristics are consistent with the preset target type, judging that the data returned by the telecontrol equipment is abnormal.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method for determining data abnormality of a telemechanical device provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the data abnormality determination apparatus for a telemechanical device, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method for judging data abnormity of telecontrol equipment is characterized by comprising the following steps:
collecting a multi-frame initial message returned by telecontrol equipment, wherein the telecontrol equipment is arranged in a power plant or a transformer substation and is used for realizing the collection, measurement and monitoring of the operation data of power equipment of the power plant or the transformer substation;
acquiring a type identifier from the initial message, and determining the initial type of the initial message;
arbitrarily intercepting at least two continuous initial messages as target message segments;
when the initial type of the target segment is the same, characterizing the initial type of the target segment;
and if the characteristics are consistent with the preset target type, judging that the data returned by the telecontrol equipment is abnormal.
2. The method for judging the data abnormality of the telecontrol equipment according to claim 1, wherein the collecting of the multiframe initial messages returned by the telecontrol equipment comprises:
sending a query message to the telecontrol equipment in a polling mode;
and receiving an initial message returned by the telecontrol equipment in response to the query message.
3. The method for determining data abnormality of a telecontrol apparatus according to claim 1, wherein said obtaining a type identifier from said initial packet comprises:
acquiring an initial frame check sum from the message tail of the initial message;
calculating a check value of the initial message, wherein the check value is the sum of the initial message except the check sum of the initial frame;
when the check sum of the initial frame is not equal to the check value, judging that the initial type of the initial message is an error message;
and when the initial frame check sum is equal to the check value, acquiring a type identifier from a message header of the initial message.
4. The method according to claim 3, wherein after determining the initial type of the initial packet, the method further comprises:
intercepting a specified number of continuous initial messages as target message segments;
counting the number of the initial messages of which the initial types are error messages;
and when the number is larger than or equal to a preset numerical value, judging that the data returned by the telecontrol equipment is abnormal.
5. The method for determining data abnormality of a telecontrol apparatus according to claim 1, wherein if the characteristic matches a preset target type, determining that the data returned by the telecontrol apparatus is abnormal comprises:
comparing the features with a preset target type;
when the characteristics are the same as the target type, judging that the data returned by the telecontrol equipment is abnormal;
and when the characteristics are different from the target type, judging that the data returned by the telecontrol equipment is normal.
6. A data abnormality determination device for a telecontrol apparatus, comprising:
the system comprises an acquisition module, a monitoring module and a control module, wherein the acquisition module is used for acquiring multi-frame initial messages returned by telecontrol equipment, and the telecontrol equipment is arranged in a power plant or a transformer substation and is used for realizing the acquisition, measurement and monitoring of operation data of power equipment of the power plant or the transformer substation;
a type determining module, configured to determine an initial type of the initial packet;
the characteristic acquisition module is used for acquiring continuous characteristics matched with the initial types of the multi-frame initial messages;
the judging module is used for judging that the data returned by the telecontrol equipment is abnormal when the characteristics are consistent with a preset target type;
the feature acquisition module includes:
an intercepting unit, configured to arbitrarily intercept at least two consecutive initial messages as target message segments;
a feature obtaining unit, configured to take the initial type of the target segment as a feature when the initial type of the target segment is the same.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for determining abnormality of data of a telemechanical device according to any one of claims 1 to 5 when executing the program.
8. A computer-readable storage medium on which a computer program is stored, the program being characterized by implementing, when executed by a processor, the method for determining abnormality of data of a telemechanical apparatus according to any one of claims 1 to 5.
CN202011146717.9A 2020-10-23 2020-10-23 Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium Active CN112419701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011146717.9A CN112419701B (en) 2020-10-23 2020-10-23 Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011146717.9A CN112419701B (en) 2020-10-23 2020-10-23 Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112419701A CN112419701A (en) 2021-02-26
CN112419701B true CN112419701B (en) 2022-03-08

Family

ID=74840702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011146717.9A Active CN112419701B (en) 2020-10-23 2020-10-23 Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112419701B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852198A (en) * 2021-09-24 2021-12-28 广东电网有限责任公司 Monitoring system for telecontrol machine of transformer substation
CN113778037B (en) * 2021-11-09 2022-04-01 江苏未来智慧信息科技有限公司 Power plant production monitoring system and method
CN114142619B (en) * 2021-12-28 2024-04-19 广东电网有限责任公司 Overhauling determining method and device for telemechanical device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018158A (en) * 2007-03-13 2007-08-15 杭州华为三康技术有限公司 Method and device for obtaining the system status
CN104158298A (en) * 2014-09-03 2014-11-19 国家电网公司 Abnormal event recognizing method and device for dispatching automation system
CN106411620A (en) * 2016-12-02 2017-02-15 国网安徽省电力公司亳州供电公司 Power communication abnormal event filtering method
CN107819641A (en) * 2017-07-05 2018-03-20 中国南方电网有限责任公司超高压输电公司南宁监控中心 A kind of exception analysis method and device for protecting letter system
CN211266591U (en) * 2019-12-31 2020-08-14 河北荣毅通信有限公司 Photoelectric circuit breaker device system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3420365A1 (en) * 1984-06-01 1985-12-05 Brown, Boveri & Cie Ag, 6800 Mannheim METHOD FOR SWITCHING BETWEEN REDUNDANT TRANSMISSION PATHS
CN111726197B (en) * 2019-03-22 2023-04-18 株洲中车机电科技有限公司 Self-adaptive control method and device for data transmission of telecontrol device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018158A (en) * 2007-03-13 2007-08-15 杭州华为三康技术有限公司 Method and device for obtaining the system status
CN104158298A (en) * 2014-09-03 2014-11-19 国家电网公司 Abnormal event recognizing method and device for dispatching automation system
CN106411620A (en) * 2016-12-02 2017-02-15 国网安徽省电力公司亳州供电公司 Power communication abnormal event filtering method
CN107819641A (en) * 2017-07-05 2018-03-20 中国南方电网有限责任公司超高压输电公司南宁监控中心 A kind of exception analysis method and device for protecting letter system
CN211266591U (en) * 2019-12-31 2020-08-14 河北荣毅通信有限公司 Photoelectric circuit breaker device system

Also Published As

Publication number Publication date
CN112419701A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN112419701B (en) Telecontrol equipment data abnormity judgment method, telecontrol equipment data abnormity judgment device, telecontrol equipment data abnormity judgment equipment and storage medium
CN110365529B (en) Edge computing intelligent gateway service processing method and edge computing intelligent gateway
CN110048507B (en) Automatic inspection method and system for power distribution automation system
CN109633326A (en) A kind of detachable line loss analysis system
CN108683578B (en) In-place device ring network communication test method and test system
CN104301137A (en) Method and system for analyzing influences of electric power communication faults on services
CN103532738B (en) The defining method of a kind of port connection relationship and device
CN107742925A (en) The hard pressing plate method for inspecting of transformer station based on three-level network
CN109412902B (en) Intelligent monitoring method, storage device, terminal and system of power dispatching data network system
CN110784456B (en) Automatic identification method and communication method for communication protocol
CN116866154B (en) Intelligent dispatching management system for power distribution network communication service based on virtual machine cluster
CN103297298A (en) Network storm real-time rapid detecting method used for intelligent substation
CN110908956B (en) Information protection master station system and fault information archiving method thereof
CN111030882A (en) Network quality measurement method and system based on intelligent substation service message
CN115396752B (en) Redis-based biplane data acquisition method and system
CN116760732A (en) Power distribution terminal data communication monitoring method and device and related equipment
CN104483564B (en) Automatic power-measuring terminal fault data recording equipment and recording method
CN211127301U (en) Intelligent substation secondary equipment operation and maintenance management and control system
CN113270944A (en) Low-voltage power distribution user side state evaluation method
CN115314362B (en) Remote dispatching terminal fault detection method and system based on telemetry network
CN104979907A (en) Substation automation device detection method based on D5000 system
CN109525415A (en) A kind of Intelligent power distribution terminal topological model motor synchronizing method and self-synchronous device
CN113224851B (en) Power distribution terminal state determination method and device, electronic equipment and storage medium
CN114915022B (en) Wireless communication method and system for intelligent power distribution network
CN210015512U (en) Line loss statistical analysis device and system

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