Power equipment state consistency detection method and device, computer equipment, readable storage medium and program product

By registering measurement points on the power equipment and applying preset consistency detection rules in the partition execution module, the problem of low status consistency detection efficiency of power equipment is solved, and a fast and efficient detection process is achieved.

CN118897702AActive Publication Date: 2024-11-05ENERGY STORAGE RES INST OF CHINA SOUTHERN POWER GRID PEAK-FREQUENCY MODULATION POWER GENERATION CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411123123.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-05
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

The existing power equipment state consistency detection methods are inefficient, mainly because they rely on historical databases to obtain state data, which leads to slow reading and writing speed, which affects detection efficiency.

Method used

By pre-registering the measurement points on the power equipment, obtaining real-time status data, and applying preset consistency detection rules in the partition execution module for detection, consistency detection is performed when the detection conditions are met, and dependence of historical databases is avoided.

Benefits of technology

The efficiency of power equipment status consistency detection is improved, and a fast and consistent detection process is achieved through the combination of real-time data and preset rules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897702A_ABST
    Figure CN118897702A_ABST
Patent Text Reader

Abstract

The invention relates to a power equipment state consistency detection method and device, computer equipment, a readable storage medium and a program product. The method comprises the following steps: acquiring fact state data corresponding to a measuring point registered on power equipment in advance, and when detecting that a detection state of a preset consistency detection rule in a corresponding partition execution module is open, acquiring a comparison result of data acquisition time corresponding to real-time state data and detection state opening time; and when a comparison result meets a preset detection condition, performing consistency detection on the power equipment according to a preset consistency detection rule and each piece of fact state data in the partition execution module. Compared with a traditional method of obtaining data through a historical database for judgment, according to the scheme, the real-time state data are obtained through the preset detection points, and when the detection conditions are met, consistency detection is carried out on the power equipment based on the preset consistency detection rules corresponding to the partition execution modules, so that the efficiency of consistency detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power technology, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for detecting consistency of electric power equipment status. Background Art

[0002] The consistency of equipment status in the power field means that when the equipment is in a certain state or working condition, one or some related switch quantities or analog quantities should satisfy a certain mathematical relationship in a certain state, or in a certain range, or between multiple quantities. In order to ensure the normal operation of the power system, it is necessary to detect the consistency of the status of power equipment in a timely manner. At present, the consistency detection of power equipment status is usually judged by obtaining the status of each device at the corresponding time node from the historical database. However, the reading and writing speed of the historical database is slow, and obtaining status data through the historical database for status consistency detection will reduce the detection efficiency.

[0003] Therefore, the current method for consistency detection of power equipment has the defect of low detection efficiency. Summary of the invention

[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for detecting the consistency of power equipment status, which can improve the detection efficiency, in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for detecting consistency of power equipment status, the method comprising:

[0006] Based on a preset cycle, each real-time status data corresponding to each measuring point collected by the data subscription unit is obtained; each of the measuring points is pre-registered in each of the electric power devices, and each of the measuring points is used to collect the real-time status data corresponding to each of the electric power devices;

[0007] Input each of the real-time status data into the corresponding partition execution module, and when it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is turned on, obtain the data acquisition time corresponding to the real-time status data, and obtain the comparison result between the detection state turn-on time corresponding to the preset consistency detection rule and the data acquisition time;

[0008] If the comparison result meets the preset detection condition, consistency detection is performed on each of the power devices according to the preset consistency detection rule and each of the real-time status data in the partition execution module.

[0009] In one embodiment, obtaining a comparison result between the detection state start time corresponding to the preset consistency detection rule and the data acquisition time includes:

[0010] Obtaining the difference between the data acquisition time and the detection state start time;

[0011] If the difference is less than or equal to a preset time difference threshold, it is determined that the comparison result meets a preset detection condition.

[0012] In one embodiment, after inputting each of the real-time status data into the corresponding partition execution module, the method further includes:

[0013] When it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is in the closed state, obtaining the preset start condition corresponding to the preset consistency detection rule;

[0014] If the real-time status data meets the preset start condition, the detection state of the preset consistency detection rule corresponding to the partition execution module is changed to the start state;

[0015] According to the preset consistency detection rule of the start-up state and the real-time status data in the partition execution module, consistency detection is performed on each of the power devices.

[0016] In one embodiment, the consistency detection of each of the power devices is performed according to the preset consistency detection rule of the start-up state and each real-time state data in the partition execution module, including:

[0017] Obtaining the detection duration corresponding to the preset consistency detection rule; the detection duration represents the duration corresponding to the detection of the states of each of the power devices being consistent based on the preset consistency detection rule after the detection state of the preset consistency detection rule becomes the on state;

[0018] According to the detection duration, a step of performing consistency detection on each of the power devices based on the preset consistency detection rule and each of the real-time status data in the partition execution module is executed.

[0019] In one embodiment, the performing consistency detection on each of the power devices according to the preset consistency detection rule and each of the real-time status data in the partition execution module includes:

[0020] Acquire each preset state data corresponding to each of the electric devices in the preset consistency detection rule; each of the electric devices is consistent under the corresponding preset state data;

[0021] Obtaining numerical comparison results of each preset state data corresponding to each of the electric power devices and each corresponding real-time state data;

[0022] If the numerical comparison result satisfies the preset consistency detection rule, it is determined that each of the electrical devices passes the consistency detection.

[0023] In one embodiment, after performing consistency detection on each of the power devices according to the preset consistency detection rule and each of the real-time status data in the partition execution module, the method further includes:

[0024] If each of the electric devices fails the consistency test, generating an alarm message according to the real-time status data corresponding to each of the electric devices;

[0025] The alarm information is input into a message queue, and the alarm information is output based on the message queue.

[0026] In one embodiment, the method further comprises:

[0027] When each preset consistency detection rule input is detected, each measurement point corresponding to each preset consistency detection rule is obtained;

[0028] Acquire each preset power equipment information corresponding to each of the measuring points;

[0029] According to each of the preset power equipment information, register the corresponding measuring point in the corresponding power equipment;

[0030] Based on the registered measuring points, real-time status data corresponding to each of the electric power equipment is collected.

[0031] In a second aspect, the present application provides a device for detecting consistency of power equipment status, the device comprising:

[0032] An acquisition module, used for acquiring, based on a preset period, each real-time status data corresponding to each measuring point collected by the data subscription unit; each of the measuring points is pre-registered in each of the electric power devices, and each of the measuring points is used for collecting the real-time status data corresponding to each of the electric power devices;

[0033] An input module, used to input each of the real-time status data into the corresponding partition execution module, and when it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is turned on, obtain the data acquisition time corresponding to the real-time status data, and obtain the comparison result between the detection state turn-on time corresponding to the preset consistency detection rule and the data acquisition time;

[0034] The detection module is used to perform consistency detection on each of the power devices according to the preset consistency detection rules and the real-time status data of each in the partition execution module if the comparison result meets the preset detection condition.

[0035] In a third aspect, the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

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

[0037] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.

[0038] The above-mentioned power equipment state consistency detection method, device, computer equipment, computer-readable storage medium and computer program product obtain the actual state data corresponding to the measurement point pre-registered on the power equipment, and when the detection state of the preset consistency detection rule in the corresponding partition execution module is detected to be turned on, obtain the comparison result between the data acquisition time corresponding to the real-time state data and the detection state turn-on time, and when the comparison result meets the preset detection condition, perform consistency detection on the power equipment according to the preset consistency detection rule and each actual state data in the partition execution module. Compared with the traditional method of obtaining data through a historical database for judgment, this solution obtains real-time state data through preset measurement points, and when the detection condition is met, performs consistency detection on the power equipment based on the preset consistency detection rule corresponding to the partition execution module, thereby improving the efficiency of consistency detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A schematic diagram of a flow chart of a method for detecting consistency of power equipment status in one embodiment;

[0041] Figure 2 It is a flowchart of a method for detecting consistency of power equipment status in another embodiment;

[0042] Figure 3 It is a flowchart of a method for detecting consistency of power equipment status in another embodiment;

[0043] Figure 4 It is a structural block diagram of a device for detecting consistency of power equipment status in one embodiment;

[0044] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] In one embodiment, Figure 1 As shown, a method for detecting the consistency of the state of an electric power device is provided. This embodiment takes the method applied to a server as an example for illustration. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server, including the following steps S202 to S206. Among them:

[0047] Step S202, based on a preset cycle, obtaining each real-time status data corresponding to each measuring point collected by the data subscription unit; each measuring point is pre-registered in each power device, and each measuring point is used to collect the real-time status data corresponding to each power device.

[0048] Among them, the above-mentioned state consistency detection can be a state consistency detection for power equipment. The state consistency of equipment in the power field means that when the equipment is in a certain state or working condition, one or some switch quantities or analog quantities related to it should be in a certain state, or in a certain range, or a certain mathematical relationship between multiple quantities. Then the terminal can pre-register each measuring point in each power equipment, where each measuring point can be used to collect real-time state data of the power equipment where the measuring point is located, so that the terminal can obtain the collected real-time state data and determine whether to perform consistency detection based on the collected real-time state data.

[0049] The terminal may be a computer device used for consistency judgment in the power system. The terminal pre-registers measurement points in each power device. In one embodiment, it also includes: when each preset consistency detection rule is detected, each measurement point corresponding to each preset consistency detection rule is obtained; each preset power device information corresponding to each measurement point is obtained; according to each preset power device information, the corresponding measurement point is registered in the corresponding power device; based on each registered measurement point, the real-time status data corresponding to each power device is collected.

[0050] In this embodiment, when the terminal can detect the preset consistency detection rules that need to be input, such as the preset consistency detection rules input by the relevant technical personnel, the terminal can obtain the various measurement points corresponding to the preset consistency detection rules. For example, each preset one-time detection rule has corresponding status data that needs to be collected. The terminal determines the corresponding measurement points based on the status data that needs to be collected for each preset one-time detection rule. The terminal can obtain the preset power equipment information corresponding to each measurement point, so that the terminal can determine the power equipment that needs to register the measurement point and the location where the measurement point is registered in the power equipment according to the preset power equipment information. That is, the terminal registers the corresponding measurement point in the corresponding power equipment according to the preset power equipment information, so that the terminal can collect the real-time status data corresponding to the power equipment based on the registered measurement points.

[0051] The terminal may be provided with a data subscription unit, and the terminal may obtain the real-time status data corresponding to each measuring point collected by the data subscription unit based on a preset period. The data subscription unit may collect the real-time status data of each measuring point in each power device.

[0052] Specifically, a real-time data subscription module and a partition execution module are provided in the terminal. The data subscription module is also referred to as a data subscription unit, which can be used to collect real-time status data of the measuring point; the partition execution module can be used as a storage location for preset consistency detection rules, and multiple partition execution modules can be provided in the terminal, each of which can correspond to a preset consistency detection rule. The preset consistency detection rules can be related to the same or different measuring points, and have different judgment rules for these measuring points. The terminal saves all measuring points related to the consistency judgment rules of all power equipment states in the entire system through the real-time data subscription module. And the terminal can register the subscription tasks of these measuring points in advance to the source system, such as the equipment status monitoring system, centralized control system, electric energy management system, etc. in the power system through the real-time data subscription module. After receiving the real-time status data push through the real-time data subscription module, the terminal pushes the relevant data to the corresponding partition execution module. In the partition execution module, a certain measuring point may be used by multiple equipment status consistency judgment rules.

[0053] Step S204, input each real-time status data into the corresponding partition execution module, and when it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is turned on, obtain the data acquisition time corresponding to the real-time status data, and obtain the comparison result of the detection state turn-on time and the data acquisition time corresponding to the preset consistency detection rule.

[0054] Among them, multiple partition execution modules can be set in the terminal, and the partition execution modules correspond to the preset consistency detection rules one by one. The measurement points required for each preset consistency detection rule can be the same or different, so the terminal needs to input the real-time status data corresponding to each measurement point obtained above into the corresponding partition execution module. In the partition execution module, the preset consistency detection rule needs to be triggered and turned on, and the consistency detection can be performed after the detection state is changed to on. Among them, the condition that the detection state of the preset consistency detection rule is turned on can be manually turned on, or it can be turned on by judging the data of the input measurement points. For example, the data of some target measurement points among the measurement points input into the partition execution module meets the turn-on condition of the preset consistency detection rule. At this time, the terminal can change the detection state of the preset consistency detection rule to on.

[0055] When the detection state of the preset consistency detection rule corresponding to the partition execution module is turned on, the terminal can obtain the data acquisition time corresponding to the real-time status data, that is, the time when the measurement point collects the above real-time status data. At the same time, the terminal can also obtain the detection state start time corresponding to the preset consistency detection rule, that is, the time when the preset consistency detection rule is triggered to start. Thus, the terminal can obtain the comparison result of the detection state start time and the data acquisition time corresponding to the preset consistency detection rule. Among them, the above comparison result can be a comparison of time differences. Based on different time differences, the terminal can adopt different strategies.

[0056] Specifically, in the partition execution module, a partition is a device status consistency judgment rule. The partition execution module has its own independent state memory, trigger condition judgment component, and target condition judgment component. The rules do not affect each other. The real-time status data of the above measurement points enters the partition of the relevant rules and drives the logic execution.

[0057] Among them, the above trigger condition determination component and target condition determination component can be based on Aviator expression, which is a high-performance, lightweight scripting language suitable for light programming. It is very simple and has a low learning cost. Its main usage scenarios are rule judgment, rule engine, and formula calculation. The execution result of the above expression is a Boolean type, that is, true or false. For example, there is a switch measurement point D1, whose measurement point id is "d_1111", there is a unit operating condition measurement point D2, whose measurement point is "d_2111", and the trigger condition corresponding to the preset consistency detection rule is that the switch measurement point D1 is equal to 1 and the unit operating condition measurement point D2 is equal to 5, then the expression can be written as: states["hs_data"]['d_1111']["value"] == 1 AND states["hs_data"][ 'd_2111'] ["value"] == 5. Among them, states is a state storage, and the structure of the real-time state data entering the partition execution module expressed in JSON syntax is as follows:

[0058] {

[0059] "hs_data":{

[0060] "d_1111":{

[0061] "value":1,

[0062] "timestamp":"2024-02-01 00:00:00.000"

[0063] } ,

[0064] "d_2111":{

[0065] "value":5,

[0066] "timestamp":"2024-02-01 00:00:01.000"

[0067] }

[0068] } ,

[0069] "current_meas_point": "d_2111"

[0070] "trigger_state": true,

[0071] "trigger_state_time": "2024-02-01 00:00:01.000"

[0072] "target_condition":false

[0073] };

[0074] Among them, hs_data stores the latest time series data (real-time status data) of each measuring point that enters the execution partition of the preset consistency detection rule of the current device state. current_meas_point represents the id of the measuring point to which the data currently driving the preset consistency detection rule R belongs. trigger_state is the state of the trigger condition, true means it is turned on, false or not set means it is in the off state. trigger_state_time is the state time of the trigger condition, that is, the time when trigger_state changes from false to true, or from true to false. target_condition represents the target condition state, true means the target condition is met, false or not set means it is in the off state. target_condition is used to indicate whether the real-time status data of each measuring point in the above partition execution module meets the preset consistency detection rules.

[0075] Step S206: If the comparison result meets the preset detection condition, a consistency detection is performed on each power device according to the preset consistency detection rule and each real-time status data in the partition execution module.

[0076] Among them, the terminal can adopt different measures for different comparison results. For example, if the above comparison result does not meet the preset detection condition, that is, the time difference between the detection state start time and the data acquisition time corresponding to the preset consistency detection rule is greater than the preset threshold, then the terminal can determine that the time difference exceeds the judgment time range, and the detection state of the preset consistency detection rule is not started in time, resulting in a decrease in judgment efficiency. At this time, the terminal can directly end the detection steps of each input measurement point.

[0077] If the above comparison result meets the preset conditions, for example, the time difference between the detection state start time and the data acquisition time corresponding to the preset consistency detection rule is less than or equal to the preset threshold, the terminal can determine that the time difference does not exceed the determined time range. At this time, the terminal can perform consistency detection on each power device according to the preset consistency detection rules in the above partition execution module and the real-time status data in the partition execution module. For example, it is judged whether the real-time status data of each measurement point input to the partition execution module meets the preset consistency detection rules.

[0078] In the above-mentioned power equipment state consistency detection method, by obtaining the actual state data corresponding to the measurement point pre-registered on the power equipment, when it is detected that the detection state of the preset consistency detection rule in the corresponding partition execution module is turned on, the comparison result between the data acquisition time corresponding to the real-time state data and the detection state turn-on time is obtained. When the comparison result meets the preset detection condition, the power equipment is tested for consistency according to the preset consistency detection rule and each actual state data in the partition execution module. Compared with the traditional method of obtaining data through a historical database for judgment, this solution obtains real-time state data through preset measurement points, and when the detection conditions are met, the power equipment is tested for consistency based on the preset consistency detection rule corresponding to the partition execution module, thereby improving the efficiency of consistency detection.

[0079] In one embodiment, obtaining a comparison result between the detection state start time and the data acquisition time corresponding to a preset consistency detection rule includes: obtaining the difference between the data acquisition time and the detection state start time; if the difference is less than or equal to a preset time difference threshold, determining that the comparison result meets the preset detection condition.

[0080] In this embodiment, after the preset consistency detection rule meets the trigger condition and the detection state becomes on, the terminal can detect whether the consistency determination time has been exceeded in the partition execution module. For example, the terminal can obtain the difference between the data acquisition time and the detection state on time. If the above interpolation is greater than the preset time difference threshold, it means that the determination time range has been exceeded. At this time, the terminal can directly end the consistency detection. If the difference is less than or equal to the preset time difference threshold, it means that the determination time range has not been exceeded. The terminal can determine that the comparison result meets the preset detection condition, and the terminal can continue to execute the consistency detection process of the preset consistency detection rule.

[0081] Specifically, for the preset consistency detection rule R in the partition execution module, the terminal can write the latest real-time status data of a certain measurement point M received into the state memory in the partition execution module. Record the id of the measurement point M currently being processed. The terminal can obtain from the state memory whether the trigger condition of the above rule R has been turned on. If it is turned on, continue to execute, otherwise the logic chain corresponding to the unactivated state will be executed. When the trigger condition is in the on state, the terminal can obtain the id of the current measurement point M from the state memory, set as id_m, then id_m= states["current_meas_point"]), and then the terminal can obtain the data time stamp t0 (data acquisition time) of the measurement point M in the state memory, where the data acquisition time can be specifically expressed as states["hs_data"][id_m]["timestamp"]. The terminal can also obtain the start time t of the trigger condition (detection state start time), that is, states["trigger_state_time"]. The terminal can pre-set it within the time range of ts (preset time difference threshold). If the device reaches a consistent state, when t0-t>ts, the terminal can consider that it exceeds the judgment time range. When the time mark exceeds the determination time range, the terminal can end the pairing. If it does not exceed the determination time range, the step of judging whether each measurement point meets the requirements based on the preset consistency detection rule is continued, wherein the consistency detection result can be stored in the state memory of the corresponding partition execution module.

[0082] Through this embodiment, the terminal can determine whether a preset consistency check can be performed based on the time difference between the data acquisition time and the detection state start time, thereby preventing consistency check from being performed when the data loses real-time performance, thereby improving the efficiency of consistency detection of power equipment.

[0083] In one embodiment, after each real-time status data is input into the corresponding partition execution module, it also includes: when it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is in the closed state, obtaining the preset start condition corresponding to the preset consistency detection rule; if the real-time status data meets the preset start condition, the detection state of the preset consistency detection rule corresponding to the partition execution module is changed to the open state; according to the preset consistency detection rule in the open state and the various real-time status data in the partition execution module, consistency detection is performed on each power equipment.

[0084] In this embodiment, the detection state of the preset consistency detection rule in the above partition execution module may be in a closed state, and the terminal cannot perform the preset consistency detection at this time. Then the terminal can judge whether the preset consistency detection rule meets the start condition. For example, the terminal can obtain the preset start condition corresponding to the preset consistency detection rule.

[0085] If the above real-time status data does not meet the preset start condition, the terminal can end the process of performing consistency detection on each measurement point in the partition execution module.

[0086] If the real-time status data meets the preset start-up conditions, for example, if the status value of the target measuring point among the measuring points in the partition execution module is detected to be consistent with the measuring point and status value corresponding to the start-up conditions of the preset consistency detection rule, the terminal can change the detection state of the preset consistency detection rule corresponding to the partition execution module to the on state. Thus, the terminal can perform consistency detection on each power device according to the preset consistency detection rule of the on state and each real-time status data in the partition execution module. Among them, the terminal can trigger the process of consistency detection using the preset consistency detection rule and each real-time status data by setting a timing.

[0087] In one embodiment, a consistency check is performed on each power device according to a preset consistency detection rule of an on state and various real-time status data in a partition execution module, including: obtaining a detection duration corresponding to the preset consistency detection rule; the detection duration represents a duration corresponding to when the status of each power device is detected to be consistent based on the preset consistency detection rule after the detection state of the preset consistency detection rule is changed to an on state; according to the detection duration, executing steps of performing a consistency check on each power device based on the preset consistency detection rule and various real-time status data in the partition execution module.

[0088] In this embodiment, the terminal can trigger consistency detection in a timing manner after changing the detection state of the above-mentioned preset consistency detection condition from off to on. For example, the terminal can obtain the detection duration corresponding to the preset consistency detection rule. Among them, the detection duration represents the duration corresponding to the detection of the states of each power device as consistent based on the preset consistency detection rule after the detection state of the preset consistency detection rule is changed to the on state, that is, after the triggering condition of the preset consistency detection rule is established and the detection state of the preset consistency detection rule is turned on, how long should the device state be consistent. The terminal can execute the steps of performing consistency detection on each power device based on the preset consistency detection rule and each real-time status data in the partition execution module according to the detection duration, that is, within the above-mentioned detection duration, the terminal needs to complete the steps of performing consistency detection on each power device based on the preset consistency detection rule and each real-time status data in the partition execution module, otherwise the preset timing task will be triggered.

[0089] Specifically, taking the preset consistency detection rule R as an example, when the trigger state of the above preset consistency detection rule is closed, the terminal can execute the trigger condition determination of the above rule R, that is, detect whether the start condition is met. If the execution result is false, that is, the preset start condition is not met, the terminal can end the consistency detection process. If it is true, that is, the preset start condition is met, the terminal can set the trigger condition state of the above rule R to open in the state memory in the partition execution module, that is, the detection state becomes open. In addition, the terminal can also set a timer for the above rule R, which is triggered after t+Δt (detection duration). Wherein t refers to the preset time after the trigger condition is established, that is, after the detection state of the preset consistency detection rule is turned on, how long the target condition should be established, that is, the device state is consistent. Δt refers to the data acquisition delay of the source system, which is usually set to 1 second. Thus, the terminal can execute the above steps of performing consistency detection on each power device based on the preset consistency detection rule and each real-time status data in the partition execution module, and execute the corresponding timed task when the execution time reaches the above detection time.

[0090] Among them, the timer-triggered timing task includes setting the trigger condition of the above rule R to the closed state. And obtain the target condition determination result of rule R from the state memory of the partition execution module, that is, the result of the above consistency detection. If it is established, that is, there is consistency between the various power devices, then the process is terminated directly. If it is not established, that is, there is a relationship between a certain power device and other power devices that does not meet the preset one-time detection rule, it means that the device status is inconsistent and an alarm message needs to be issued.

[0091] Through the above embodiments, when the detection state of the preset consistency detection rule is off, the terminal can determine whether to turn on the detection state of the preset consistency detection rule by judging whether the trigger condition is met, and perform consistency detection of the preset consistency detection rule by setting a timer, thereby improving the efficiency of consistency detection.

[0092] In one embodiment, a consistency check is performed on each power device according to preset consistency detection rules and each real-time status data in a partition execution module, including: obtaining each preset status data corresponding to each power device in the preset consistency detection rules; each power device is consistent under the corresponding preset status data; obtaining a numerical comparison result between each preset status data corresponding to each power device and each corresponding real-time status data; if the numerical comparison result meets the preset consistency detection rules, it is determined that each power device has passed the consistency test.

[0093] In this embodiment, the above-mentioned preset consistency detection rule includes the state that other power devices should be in when the state of a certain power device is in a certain state. Then the preset consistency detection rule includes multiple preset state data. The terminal can obtain the preset state data corresponding to each power device in the preset consistency detection rule. Among them, each power device has consistency under the corresponding preset state data. That is, when the real-time state data of the above-mentioned input partition execution module meets the state of the corresponding preset state data, the power devices corresponding to each real-time state data meet consistency.

[0094] The terminal can obtain the numerical comparison results of each preset state data corresponding to each power device and the corresponding each real-time state data. If the above numerical comparison results do not meet the preset consistency detection rules, that is, the values ​​and relationships of each real-time state data do not meet the values ​​and relationships of each preset state data, the terminal can output alarm information. If the numerical comparison results meet the preset consistency detection rules, that is, the values ​​and relationships of each real-time state data meet the values ​​and relationships of each preset state data, the terminal can determine that each power device has passed the consistency detection.

[0095] Through this embodiment, the terminal can compare each real-time status data with each preset status data in the preset consistency detection rule, and then determine whether each power device corresponding to each real-time status data meets the consistency, thereby improving the efficiency of consistency detection of the power equipment.

[0096] In one embodiment, after performing consistency detection on each power device according to preset consistency detection rules and various real-time status data in the partition execution module, it also includes: if each power device fails the consistency detection, generating alarm information according to the real-time status data corresponding to each power device; inputting the alarm information into a message queue, and outputting the alarm information based on the message queue.

[0097] In this embodiment, if the above numerical comparison result does not meet the preset consistency detection rule, that is, the numerical value and relationship of each real-time status data do not meet the numerical value and relationship of each preset status data, the terminal can output the alarm information. For example, the terminal can generate alarm information according to the real-time status data corresponding to each power device, input the alarm information into the message queue, and output the alarm information based on the message queue. Among them, the message queue can output the alarm information by traversing the circular queue.

[0098] Specifically, the above alarm can be triggered by timing, and the timing inspection and cleaning module in the terminal is triggered by timing. After the triggering, the terminal performs a series of actions based on the context preset when the partition execution module submits the task, including rule information, state memory, etc. The timing task triggered by the timer includes setting the trigger condition of the above rule R to the closed state, and obtaining the target condition judgment result of rule R from the state memory of the partition execution module, that is, the result of the above consistency detection. If it is established, that is, there is consistency between the various power devices, the process ends directly. If it is not established, that is, the relationship between a certain power device and other power devices does not meet the preset one-time detection rules, indicating that the device status is inconsistent and an alarm message needs to be issued. At this time, the terminal can append the alarm message to the message queue of the alarm module, and then set the above target_condition to false, indicating that the consistency test fails. Among them, the alarm module in the terminal loops through the alarm message list to send an alarm message.

[0099] In addition, the terminal may use a preset timer, such as the above detection duration, and when the detection duration is reached, the terminal may execute the above timing task, thereby ensuring the real-time nature of the consistency judgment.

[0100] Through this embodiment, the terminal can output alarm information in time when detecting that the consistency is not satisfied, thereby improving the efficiency of consistency detection of power equipment.

[0101] In an exemplary embodiment, Figure 2 As shown, Figure 2 It is a flowchart of a method for detecting the consistency of the state of power equipment in another embodiment. In this embodiment, a real-time data subscription module, a data-driven consistency judgment rule partition execution module, a scheduled inspection and cleaning module, and an alarm module are provided in the terminal. Among them, the partition execution module includes a trigger condition judgment component, a target condition judgment component, and a state memory. Among them, the partition execution module includes partitions corresponding to multiple preset consistency detection rules. The specific detection process of the above consistency detection rules can be as follows Figure 3 As shown, Figure 3 It is a flowchart of a method for detecting consistency of power equipment status in yet another embodiment.

[0102] Among them, a real-time data subscription module is set in the terminal, which can be used to collect real-time status data of the measuring points. The terminal saves all measuring points related to the status consistency judgment rules of all power equipment in the entire system through the real-time data subscription module. And the terminal can pre-register the subscription tasks of these measuring points to the source system, such as the equipment status monitoring system, centralized control system, electric energy management system, etc. in the power system through the real-time data subscription module. After the terminal receives the real-time status data push through the real-time data subscription module, it pushes the relevant data to the corresponding partition execution module. Among them, a certain measuring point in the partition execution module may be used by multiple equipment status consistency judgment rules.

[0103] In the partition execution module, a partition is a device status consistency judgment rule. The partition execution module has its own independent state memory, trigger condition judgment component, and target condition judgment component. The rules do not affect each other. The real-time status data of the above measurement points enters the partition of the relevant rules and drives the logic execution.

[0104] The scheduled inspection and cleaning module in the terminal is triggered regularly. After being triggered, a series of actions are performed based on the context preset when the partition execution module submits the task, including rule information, state memory, etc.

[0105] The alarm module in the terminal can loop through the alarm message list and send alarm messages.

[0106] Among them, taking the preset consistency detection rule as R as an example, the terminal can write the latest real-time status data of a certain measurement point M received into the state memory in the partition execution module. Record the id of the measurement point M currently being processed. The terminal can obtain from the state memory whether the trigger condition of the above rule R has been turned on. If it is turned on, continue to execute, otherwise the logic chain corresponding to the unopened state will be executed. When the trigger condition is in the on state, the terminal can obtain the id of the current measurement point M from the state memory, set it as id_m, then id_m= states["current_meas_point"]), and then the terminal can obtain the data time stamp t0 (data acquisition time) of the measurement point M in the state memory, where the data acquisition time can be specifically expressed as states["hs_data"][id_m]["timestamp"]. The terminal can also obtain the start time t of the trigger condition (detection state start time), that is, states["trigger_state_time"]. The terminal can pre-set it within the time range of ts (preset time difference threshold). If the device reaches a consistent state, when t0-t>ts, the terminal can consider that it exceeds the judgment time range. When the time mark exceeds the determination time range, the terminal can end the pairing. If it does not exceed the determination time range, the step of judging whether each measurement point meets the requirements based on the preset consistency detection rule is continued, wherein the consistency detection result can be stored in the state memory of the corresponding partition execution module.

[0107] When it is detected that the trigger state of the above-mentioned preset consistency detection rule is closed, the terminal can execute the trigger condition determination of the above-mentioned rule R, that is, detect whether the start condition is met. If the execution result is false, that is, the preset start condition is not met, the terminal can end the consistency detection process. If it is true, that is, the preset start condition is met, the terminal can set the trigger condition state of the above-mentioned rule R to open in the state memory in the partition execution module, that is, the detection state becomes open. In addition, the terminal can also set a timer for the above-mentioned rule R, which is triggered after t+Δt (detection duration). Wherein t refers to the preset time after the trigger condition is established, that is, after the detection state of the preset consistency detection rule is turned on, how long the target condition should be established, that is, the device state is consistent. Δt refers to the data acquisition delay of the source system, which is usually set to 1 second. Thus, the terminal can execute the above-mentioned steps of performing consistency detection on each power device based on the preset consistency detection rule and each real-time status data in the partition execution module, and execute the corresponding timed task when the execution time reaches the above-mentioned detection time.

[0108] Among them, the timing task triggered by the timer includes setting the trigger condition of the above rule R to the closed state. And obtain the target condition judgment result of rule R from the state memory of the partition execution module, that is, the result of the above consistency test. If it is established, that is, there is consistency between the various power devices, the process ends directly. If it is not established, that is, the relationship between a certain power device and other power devices does not meet the preset one-time detection rules, it means that the device status is inconsistent and an alarm message needs to be issued. At this time, the terminal can append the alarm message to the message queue of the alarm module, and then set the above target_condition to false, indicating that the consistency test fails.

[0109] Through the above embodiments, the terminal can obtain real-time status data through preset measuring points, and when the detection conditions are met, the power equipment is tested for consistency based on the preset consistency detection rules corresponding to the partition execution module, thereby improving the efficiency of consistency detection. The consistency determination is divided into two parts: trigger conditions and target conditions. The trigger condition has two states: on and off. The target condition is executed only when the trigger condition is on, which improves the execution efficiency. The logic of the trigger condition and the target condition is expressed by Aviator expression, and the state memory is used as a shared storage area, so that the conditional logic becomes an external configuration that can be edited and applied externally. In addition, the analysis program becomes an interpretation execution configuration, and the addition, deletion and modification of the rule configuration do not require restarting the analysis program. Through Aviator expression, after the logic is turned into an external configuration, the configuration is parsed and the relevant measuring point ID is extracted from it, thereby realizing on-demand subscription of the real-time data subscription module without full subscription, saving resources and improving efficiency. In summary, the terminal divides the consistency determination into trigger and target conditions, uses Aviator expression to express the logic, and realizes external configuration through the state memory. It makes conditional logic editable without restarting the analysis program, while enabling on-demand subscription of real-time data, effectively saving resources and improving the efficiency of consistency testing of power equipment.

[0110] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0111] Based on the same inventive concept, the embodiment of the present application also provides a device for detecting the consistency of the state of an electric device for implementing the method for detecting the consistency of the state of an electric device. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method above, so the specific limitations in one or more embodiments of the device for detecting the consistency of the state of an electric device provided below can refer to the limitations of the method for detecting the consistency of the state of an electric device above, and will not be repeated here.

[0112] In an exemplary embodiment, Figure 4 As shown, a device for detecting the consistency of the state of an electric power device is provided, comprising: an acquisition module 500, an input module 502 and a detection module 504, wherein:

[0113] The acquisition module 500 is used to acquire the real-time status data corresponding to each measuring point collected by the data subscription unit based on a preset period; each measuring point is pre-registered in each power device, and each measuring point is used to collect the real-time status data corresponding to each power device.

[0114] Input module 502 is used to input various real-time status data into the corresponding partition execution module. When it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is turned on, the data acquisition time corresponding to the real-time status data is obtained, and the comparison result of the detection state turn-on time and the data acquisition time corresponding to the preset consistency detection rule is obtained.

[0115] The detection module 504 is used to perform consistency detection on each power device according to the preset consistency detection rules and each real-time status data in the partition execution module if the comparison result meets the preset detection condition.

[0116] In one embodiment, the input module 502 is used to obtain the difference between the data acquisition time and the detection state start time; if the difference is less than or equal to a preset time difference threshold, it is determined that the comparison result meets the preset detection condition.

[0117] In one embodiment, the above-mentioned device also includes: a trigger module, which is used to obtain the preset start condition corresponding to the preset consistency detection rule when it detects that the detection state of the preset consistency detection rule corresponding to the partition execution module is in the closed state; if the real-time status data meets the preset start condition, the detection state of the preset consistency detection rule corresponding to the partition execution module is changed to the open state; and consistency detection is performed on each power equipment according to the preset consistency detection rule in the open state and each real-time status data in the partition execution module.

[0118] In one embodiment, the above-mentioned trigger module is used to obtain the detection time corresponding to the preset consistency detection rule; the detection time represents the time corresponding to the detection of the status of each power device as consistent based on the preset consistency detection rule after the detection state of the preset consistency detection rule becomes the on state; according to the detection time, the steps of performing consistency detection on each power device based on the preset consistency detection rule and the real-time status data in the partition execution module are executed.

[0119] In one embodiment, the detection module 504 is used to obtain each preset status data corresponding to each power device in the preset consistency detection rules; each power device is consistent under the corresponding preset status data; obtain the numerical comparison result between each preset status data corresponding to each power device and the corresponding real-time status data; if the numerical comparison result meets the preset consistency detection rules, it is determined that each power device has passed the consistency detection.

[0120] In one embodiment, the above-mentioned device also includes: an alarm module, which is used to generate alarm information according to the real-time status data corresponding to each power device if each power device fails the consistency test; input the alarm information into a message queue, and output the alarm information based on the message queue.

[0121] In one embodiment, the above-mentioned device also includes: a registration module, which is used to obtain each measurement point corresponding to each preset consistency detection rule when each preset consistency detection rule is detected; obtain each preset power equipment information corresponding to each measurement point; register the corresponding measurement point in the corresponding power equipment according to each preset power equipment information; based on each registered measurement point, collect the real-time status data corresponding to each power equipment.

[0122] Each module in the above-mentioned power equipment state consistency detection device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0123] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 5As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for detecting the consistency of the state of an electric power device is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0124] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0125] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above-mentioned method for detecting consistency of power equipment status when executing the computer program.

[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for detecting consistency of power equipment status is implemented.

[0127] In one embodiment, a computer program product is provided, including a computer program, which implements the above-mentioned method for detecting consistency of power equipment status when executed by a processor.

[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0129] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0130] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0131] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for detecting consistency of power equipment status, characterized in that: The method comprises: Based on a preset cycle, each real-time status data corresponding to each measuring point collected by the data subscription unit is obtained; each of the measuring points is pre-registered in each of the electric power devices, and each of the measuring points is used to collect the real-time status data corresponding to each of the electric power devices; Input each of the real-time status data into the corresponding partition execution module, and when it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is turned on, obtain the data acquisition time corresponding to the real-time status data, and obtain the comparison result between the detection state turn-on time corresponding to the preset consistency detection rule and the data acquisition time; If the comparison result meets the preset detection condition, consistency detection is performed on each of the power devices according to the preset consistency detection rule and each of the real-time status data in the partition execution module.

2. The method according to claim 1, characterized in that The obtaining of the comparison result between the detection state start time corresponding to the preset consistency detection rule and the data acquisition time includes: Obtaining the difference between the data acquisition time and the detection state start time; If the difference is less than or equal to a preset time difference threshold, it is determined that the comparison result meets a preset detection condition.

3. The method according to claim 1, characterized in that After inputting each of the real-time status data into the corresponding partition execution module, the method further includes: When it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is in the closed state, obtaining the preset start condition corresponding to the preset consistency detection rule; If the real-time status data meets the preset start condition, the detection state of the preset consistency detection rule corresponding to the partition execution module is changed to the start state; According to the preset consistency detection rule of the start-up state and the real-time status data in the partition execution module, consistency detection is performed on each of the power devices.

4. The method according to claim 3, characterized in that The method of performing consistency detection on each of the power devices according to the preset consistency detection rule of the start-up state and each real-time state data in the partition execution module includes: Obtaining the detection duration corresponding to the preset consistency detection rule; the detection duration represents the duration corresponding to the detection of the states of each of the power devices being consistent based on the preset consistency detection rule after the detection state of the preset consistency detection rule becomes the on state; According to the detection duration, a step of performing consistency detection on each of the power devices based on the preset consistency detection rule and each of the real-time status data in the partition execution module is executed.

5. The method according to claim 1, characterized in that The performing consistency detection on each of the power devices according to the preset consistency detection rule and each of the real-time status data in the partition execution module comprises: Acquire each preset state data corresponding to each of the electric devices in the preset consistency detection rule; each of the electric devices is consistent under the corresponding preset state data; Obtaining numerical comparison results of each preset state data corresponding to each of the electric power devices and each corresponding real-time state data; If the numerical comparison result satisfies the preset consistency detection rule, it is determined that each of the electrical devices passes the consistency detection.

6. The method according to claim 1, characterized in that After performing consistency detection on each of the power devices according to the preset consistency detection rule and each of the real-time status data in the partition execution module, the method further includes: If each of the electric devices fails the consistency test, generating an alarm message according to the real-time status data corresponding to each of the electric devices; The alarm information is input into a message queue, and the alarm information is output based on the message queue.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When each preset consistency detection rule input is detected, each measurement point corresponding to each preset consistency detection rule is obtained; Acquire each preset power equipment information corresponding to each of the measuring points; According to each of the preset power equipment information, register the corresponding measuring point in the corresponding power equipment; Based on the registered measuring points, real-time status data corresponding to each of the electric power equipment is collected.

8. A device for detecting the consistency of power equipment status, characterized in that: The device comprises: An acquisition module, used for acquiring, based on a preset period, each real-time status data corresponding to each measuring point collected by the data subscription unit; each of the measuring points is pre-registered in each of the electric power devices, and each of the measuring points is used for collecting the real-time status data corresponding to each of the electric power devices; An input module, used to input each of the real-time status data into the corresponding partition execution module, and when it is detected that the detection state of the preset consistency detection rule corresponding to the partition execution module is turned on, obtain the data acquisition time corresponding to the real-time status data, and obtain the comparison result between the detection state turn-on time corresponding to the preset consistency detection rule and the data acquisition time; The detection module is used to perform consistency detection on each of the power devices according to the preset consistency detection rules and the real-time status data of each in the partition execution module if the comparison result meets the preset detection condition.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Data consistency detection method and device

    CN111563088A

  • Simple system for monitoring operation state of power equipment

    CN112564287A

  • Distribution network fault studying and judging method and device

    CN114678859A

  • Power equipment abnormity early warning method and device

    CN116054404A

  • State detection method and device, equipment, storage medium and program product

    CN116067636A