A method and system for verifying power data and a computer device
By employing a multi-level verification method involving single-table data verification rules and inter-table data verification rules in a multi-master environment, the problem of insufficient accuracy in electricity data verification was solved, achieving accuracy and consistency of electricity data and ensuring the fairness of electricity billing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2026-03-17
AI Technical Summary
Existing methods for verifying electricity data have insufficient accuracy in multi-master station environments. In particular, due to the influence of various interference factors on electricity meters, a single verification rule cannot fully cover all potential sources of error.
A multi-level verification rule is adopted, including single-table data verification rules (missing data rule, large number rule, and load curve verification rule) and inter-table data rules. By comparing the data between the statistical master station and the master station to be verified, the accuracy and consistency of the electricity data are ensured.
This improves the accuracy of electricity data verification, reduces metering errors caused by meter malfunctions or equipment problems, ensures the fairness and accuracy of electricity billing, and prevents power supply units from under-measuring electricity.
Smart Images

Figure CN119760787B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electricity billing technology, and in particular to a method, system, and computer equipment for verifying electricity data. Background Technology
[0002] In an electricity billing system, the Energy Metering and Billing System (EAS) is the core of the electricity telemetry system. It can directly extract data from the data acquisition devices at each metering point, perform data verification, validation, and storage, and process, calculate, and generate reports. It enables the verification of electricity reports between master stations; only after successful verification will the final daily, monthly, and annual electricity reports be generated.
[0003] Currently, there are situations where multiple master stations collect electricity data from electricity meters, and most of the electricity data verification uses a single rule. However, the metering verification of electricity meters is affected by a variety of interference factors. If the verification rule is singular, it may not be able to fully cover all potential sources of error, thus affecting the accuracy of the verification. Summary of the Invention
[0004] The technical problem to be solved by the present invention is how to improve the accuracy of power data verification, and to provide a power data verification method, system and computer equipment.
[0005] The technical solution adopted by this invention to solve its technical problem is: a method for verifying electricity data, applied to the verification of electricity working data among multiple master stations, wherein the multiple master stations include a statistical master station and at least one master station to be verified; the verification method includes the following steps:
[0006] Obtain the power consumption data to be verified, which includes the power consumption data of the statistical master station and the power consumption data of all the master stations to be verified in the multi-master station, and the power consumption data includes the power consumption data of at least one electricity meter.
[0007] Determine whether each power data in the power data to be verified conforms to the single-table data verification rules;
[0008] If the power consumption data of the statistical master station and the power consumption data of at least one of the master stations to be verified conform to the single table data verification rules, then it is determined whether the power consumption data of the statistical master station and the power consumption data of each master station to be verified conform to the inter-table data rules in the power consumption data that passes the single table data verification rules.
[0009] If there are power consumption data from the statistical master station and power consumption data from the master station to be verified that conform to the inter-table data rules, then the power consumption data from the statistical master station and the power consumption data from the master station to be verified that conform to the inter-table data rules are deemed to have passed the verification.
[0010] Preferably, the single-table data verification rules include: missing number rules, large number rules, and load curve verification rules;
[0011] The step of determining whether each data point in the data to be verified conforms to the single-table data verification rules includes:
[0012] Determine whether each data point of the electricity consumption data to be checked conforms to the missing data rule, wherein each data point of the electricity consumption data is the electricity consumption data of a single electricity meter;
[0013] If there are power consumption data that conform to the missing number rule, then determine whether each power consumption data that conforms to the missing number rule conforms to the large number rule.
[0014] If there is power consumption data that conforms to the large number rule, then determine whether each power consumption data that conforms to the large number rule conforms to the load curve verification rule.
[0015] If there is electrical power operation data that meets the load curve verification rules, then each piece of electrical power operation data that simultaneously meets the missing number rule, the large number rule, and the load curve verification rules is determined to meet the single table data verification rules.
[0016] Preferably, determining whether each electrical operating data point conforms to the missing number rule conforms to the large number rule includes:
[0017] On each load curve formed based on each electrical operating data that conforms to the aforementioned deficit rule, adjacent load values are acquired at preset intervals to sequentially obtain the first load value. Second load value Third load value and the fourth load value Where i is an integer greater than or equal to 1;
[0018] Second load value If the power requirement is greater than the first preset power requirement value, it is determined that it does not meet the large number rule. The first preset power requirement value is the preset maximum power requirement value.
[0019] If the second load value If the load value is less than or equal to the first preset power demand value, then the second load value is determined. and the first load value Whether it is equal to the second preset power demand value, where the second preset power demand value is less than the first preset power demand value;
[0020] If the second load value Or the first load value If the load value is equal to the second preset power demand value, then the first preset rate of change is set to the second load value. The rate of change;
[0021] If the second load value and the first load value If none of them are equal to the second preset power demand value, then the second load value will be... Reduce the first load value The difference between the second load value and the second load value and the first load value The ratio of the minimum value in the middle is set as the second load value. The rate of change;
[0022] If the second load value The rate of change is greater than the maximum preset rate of change, and the third load value Or the fourth load value If the value is equal to the third preset power demand value, then it does not conform to the large number rule, and the third preset power demand value is greater than the second preset power demand value.
[0023] Preferably, determining whether each electrical operating data point conforming to the large number rule conforms to the load curve verification rule includes:
[0024] The first duration of power data is obtained by extracting power data within a first preset duration from each power data that conforms to the large number rule;
[0025] First power data and second power data are obtained from the first duration power data. The first power data is the power data within the first duration power data delayed by a first set time from the start time of the first preset duration. The second power data is the power data within the first duration power data advanced by a second set time from the end time of the first preset duration.
[0026] Subtract the first power data from the second power data to obtain the difference between the first and last power levels;
[0027] The total power consumption data for the first duration is summed up to obtain the accumulated power consumption.
[0028] Determine whether the difference between the first and last power supplies and the accumulated power supply meet the preset load curve requirements. If they do, then the load curve verification rules are met.
[0029] Preferably, the step of determining whether the difference between the first and last electricity charges and the accumulated electricity charge meet the preset load curve requirements, and if so, conforming to the load curve verification rules, includes:
[0030] If the difference between the first and last power levels and the accumulated power level are both equal to the preset power constant, then the load curve verification rule is met.
[0031] If either the difference between the first and last charges or the accumulated charges are not equal to the preset charge constant, then the load curve verification rule is not met.
[0032] If neither the difference between the first and last power supplies nor the accumulated power supply is equal to the preset power constant, then the load curve change rate between the difference between the first and last power supplies and the accumulated power supply is calculated to obtain the load change rate.
[0033] If the load change rate is greater than the preset hourly change rate, then the load curve verification rule is not met.
[0034] Preferably, the step of calculating the load curve change rate between the difference between the first and last electricity charges and the accumulated electricity charges to obtain the load change rate includes:
[0035] Calculate the absolute value of the difference between the first and last electricity charges and the accumulated electricity charges to obtain the change amount;
[0036] The load change rate is obtained by dividing the change by the difference in electricity levels at the beginning and end.
[0037] Preferably, the power consumption data of the statistical master station includes the main power consumption data of the master table of the statistical master station, the backup power consumption data of the backup table of the statistical master station, and the calibration power consumption data of the calibration table of the statistical master station; the power consumption data of the master station to be verified includes the main power consumption data to be verified of the master table of the master station to be verified; the step of determining whether the power consumption data of the statistical master station and the power consumption data of each master station to be verified conform to the inter-table data rules in the power consumption data that passes the single table data verification rules includes:
[0038] Determine whether the main power operation data and the backup power operation data conform to the inter-table data rules;
[0039] Determine whether the main power consumption data and the calibration power consumption data conform to the inter-table data rules;
[0040] Determine whether the main power consumption data and the main power consumption data to be verified conform to the inter-table data rules;
[0041] If the main power data and the backup power data, the main power data and the calibration power data, and the main power data and the main power data to be verified all conform to the inter-table data rules, then the power data to be verified is determined to conform to the inter-table data rules.
[0042] Preferably, there is an order relationship between the judgment of the main power operation data, the backup power operation data, the calibration power operation data, and the main power operation data to be verified; the judgment of whether the power operation data of the statistical master station and the power operation data of each master station to be verified in the power operation data that passes the single table data verification rules conform to the inter-table data rules includes:
[0043] If the main power operation data and the backup power operation data conform to the inter-table data rules, then determine whether the main power operation data and the calibration power operation data conform to the inter-table data rules.
[0044] If the main power consumption data and the main power consumption data to be verified conform to the inter-table data rules, then determine whether the main power consumption data and the main power consumption data to be verified conform to the inter-table data rules.
[0045] Preferably, determining whether two power consumption data points conform to the inter-table data rules includes:
[0046] Set the two power operation data as the first power operation data and the second power operation data respectively;
[0047] The accumulated values of the first power consumption data and the second power consumption data within a preset time period are obtained respectively to obtain the first accumulated value and the second accumulated value;
[0048] Compare the first accumulated value and the second accumulated value with the maximum accumulated threshold constant;
[0049] If both the first accumulated value and the second accumulated value are less than or equal to the maximum accumulated threshold constant, then the absolute value of the difference between the first accumulated value and the second accumulated value is calculated to obtain the accumulated difference; if the accumulated difference is less than or equal to the minimum accumulated threshold constant, then it is determined that the first power operation data and the second power operation data conform to the inter-table data rules; if the accumulated difference is greater than the minimum accumulated threshold constant, then the first power operation data and the second power operation data do not conform to the inter-table data rules.
[0050] If the first accumulated value or the second accumulated value is greater than the maximum accumulated threshold constant, then the first accumulated value, the second accumulated value, and the accumulated threshold constant are compared.
[0051] If both the first accumulated value and the second accumulated value are equal to the accumulated threshold constant, then the first power operation data and the second power operation data conform to the inter-table data rules.
[0052] If only one of the first accumulated value and the second accumulated value is equal to the accumulated threshold constant, then the first power operation data and the second power operation data do not conform to the inter-table data rules.
[0053] If neither the first accumulated value nor the second accumulated value is equal to the accumulated threshold constant, then the accumulated error is calculated based on the first accumulated value and the second accumulated value.
[0054] If the cumulative error is less than the preset comparison error, then the first power operation data and the second power operation data conform to the inter-table data rules.
[0055] A power consumption data verification system is applied to verify power consumption data among multiple master stations, characterized in that the multiple master stations include a statistical master station and at least one master station to be verified; the verification system includes:
[0056] The power consumption data acquisition unit is used to acquire the power consumption data to be verified. The power consumption data to be verified includes the power consumption data of the statistical master station and the power consumption data of all the master stations to be verified in the multi-master station. The power consumption data includes the power consumption data of at least one electricity meter.
[0057] The single-table data verification rule judgment unit is used to determine whether each power working data in the power data to be verified conforms to the single-table data verification rule.
[0058] The inter-table data rule judgment unit is used to determine whether the power operation data of the statistical master station and the power operation data of each of the master stations to be verified conform to the inter-table data rule if the power operation data of the statistical master station and the power operation data of at least one master station to be verified conform to the single table data verification rule.
[0059] The power consumption data verification unit is used to determine that the power consumption data of the statistical master station and the power consumption data of the master station to be verified, which conform to the inter-table data rules, have passed the verification.
[0060] A computer includes a processor and a memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of any of the above-described verification methods.
[0061] The implementation of this invention has the following beneficial effects:
[0062] This invention compares the electricity operation data of the statistical master station using the single-meter verification rule with the electricity operation data of at least one master station to be verified using the single-meter verification rule, through inter-meter verification rules. This can detect data anomalies caused by electricity meter issues, avoid the problem of low verification accuracy caused by using incorrect electricity data as the benchmark data for electricity data verification, and ensure the accuracy of electricity operation data. This reduces the possibility of electricity data errors caused by malfunctions or problems of electricity meters and related equipment, prevents inaccurate metering, or under-metering by power supply units, and confirms the fairness and correctness of electricity metering. Attached Figure Description
[0063] The present invention will be further described below with reference to the accompanying drawings and embodiments:
[0064] Figure 1 Here is a flowchart of a power data verification method in one embodiment;
[0065] Figure 2 This is a schematic diagram illustrating the data interaction between the main statistical station and the main station to be verified in one embodiment;
[0066] Figure 3 This is a schematic diagram of the verification process between master stations in one embodiment. Detailed Implementation
[0067] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0068] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.
[0069] This invention provides a method for verifying power data, which is applied to the verification of power working data among multiple master stations, including a statistical master station and at least one master station to be verified.
[0070] Specifically, the master station is used to collect electricity consumption data from the electricity meters. Among multiple master stations, the one responsible for collecting, processing, and analyzing the electricity consumption data collected by other master stations is the statistics master station, while the other master stations are the verification master stations. The statistics master station and the verification master stations can poll and switch roles.
[0071] The execution subject of the power data verification method provided in this embodiment of the invention is a statistical master station. When each verification master station acts as a statistical master station, it has the function of executing the power data verification method of this invention. Specifically, in each embodiment, the execution subject is an electronic device or mobile terminal of the statistical master station that has data acquisition and data processing functions, which is not specifically limited here.
[0072] Furthermore, the power consumption data includes power consumption data from the statistical master station and power consumption data from at least one master station to be verified. For example... Figure 1 As shown, the verification method includes the following steps:
[0073] S1: Obtain the power consumption data to be verified. The power consumption data to be verified includes the power consumption data of the statistical master station and the power consumption data of all master stations to be verified among multiple master stations. The power consumption data includes the power consumption data of at least one electricity meter.
[0074] Furthermore, the electricity consumption data refers to the electricity meter data collected by the statistical master station and the master station to be verified within a preset time period. Specifically, the electricity consumption data to be verified refers to the electricity consumption data of the statistical master station and the master station to be verified that has not been marked with a verification mark. In some executable embodiments, the preset time is 1 hour. Specifically, the preset time can also be changed according to different data collection requirements, and is not limited here.
[0075] It should be noted that verifying electricity data through the main statistical station avoids distributing data from the main statistical station to the station to be verified and then transmitting the verification results back to the main statistical station. This reduces the number of data transmissions and the probability of data loss.
[0076] In some feasible embodiments, the statistical master station acquires measurement data from the main energy meter, backup energy meter, and calibration energy meter via the network as its electricity operation data. It then acquires measurement data from the main energy meter acquired by the master station to be calibrated via the network as its electricity operation data. Both batches of data are then combined into the electricity data to be verified.
[0077] S2: Determine whether each power data in the power data to be verified conforms to the single table data verification rules.
[0078] Specifically, the single-meter data verification rules include various verification rules used to check for problems in the electricity consumption data collected from different master stations. For example, it determines whether there are missing data points in the electricity consumption data of each meter. If missing data points are found, it may be due to a meter malfunction or network transmission fluctuations. Another example is if the load curve of the electricity consumption data is problematic, which may indicate a meter malfunction. Therefore, the single-meter data verification rules can identify data anomalies caused by meter issues, avoiding low verification accuracy due to using incorrect electricity consumption data as the baseline for verification, and effectively preventing billing anomalies caused by meter malfunctions.
[0079] S3: If the power consumption data of the statistical master station and the power consumption data of at least one master station to be verified meet the single table data verification rules, then determine whether the power consumption data of the statistical master station and the power consumption data of each master station to be verified meet the inter-table data rules.
[0080] Furthermore, if the electricity consumption data from the main statistical station does not conform to the single-table data verification rules, relevant personnel will be notified to verify the electricity consumption data from the main statistical station. The main statistical station serves as the benchmark for verifying electricity consumption data; if it contains anomalies, the accuracy of data from other stations awaiting verification cannot be guaranteed. Verifying the electricity consumption data from other stations only after ensuring the accuracy of the main statistical station's data can effectively reduce the error rate of electricity consumption data verification and save significant manpower and resources in subsequent data verification work.
[0081] It should be noted that, in order to further improve the efficiency and accuracy of power data verification, in some scenarios, only power data that passes the single-table data verification rules will be subject to inter-table verification.
[0082] S4: If there are power consumption data from the statistical master station and power consumption data from the master station to be verified that conform to the inter-table data rules, then the power consumption data from the statistical master station and the power consumption data from the master station to be verified that conform to the inter-table data rules are deemed to have passed the verification.
[0083] Furthermore, if there is no electricity work data from the statistical master station or the master station to be verified that conforms to the inter-table data rules, then all electricity work data verification is deemed to have failed. Relevant personnel will be notified to conduct an investigation.
[0084] Cross-verification of multiple electricity consumption data points can verify the accuracy and reliability of electricity meters, thereby ensuring the fairness and accuracy of billing. Simultaneously, verification of electricity consumption data between the statistical master station and the master station to be verified, by comparing the data from both sides, can prevent unilateral tampering of electricity consumption data by either the statistical master station or the master station to be verified, thus ensuring the accuracy of the electricity consumption data.
[0085] This invention reduces the transmission of electricity data by transferring it from the master station to the statistical master station, and then using the statistical master station's electricity data for verification. This further reduces the likelihood of data loss. Simultaneously, this invention utilizes single-meter and inter-meter verification rules to minimize errors in electricity data caused by meter and related equipment malfunctions, preventing inaccurate metering or under-metering by power suppliers, thus ensuring the fairness and accuracy of electricity measurement.
[0086] In some executable implementations, single-table data validation rules include: missing number rules, large number rules, and load curve validation rules.
[0087] Understandably, missing data rules primarily validate data from an integrity perspective, ensuring that the data is complete and not missing. Specifically, it involves null value checks and record count checks to inspect for null values or whether the record count meets expectations, thereby guaranteeing data integrity.
[0088] The rule of large numbers primarily validates data from a reasonableness perspective, focusing on whether the logical relationships between data points are reasonable. The rule of large numbers may involve volatility checks, examining whether the data exhibits abnormally large fluctuations or remains within a pre-defined reasonable range, thereby ensuring the data's reasonableness.
[0089] Load curve verification rules primarily assess the accuracy and reasonableness of the data. They verify the accuracy and reasonableness of the electricity meter data by comparing the actual readings with the expected electricity consumption pattern (load curve). This may involve logical checks and relational checks to ensure that the electricity meter readings match actual electricity usage.
[0090] In some executable embodiments, determining whether each data point in the data to be verified conforms to the single-table data verification rules includes:
[0091] Determine whether each data point in the electricity consumption data to be verified conforms to the missing data rule. Each data point is the electricity consumption data of a single electricity meter.
[0092] Furthermore, if any of the power data in the power data to be verified does not meet the missing data rule, then no further verification will be performed.
[0093] Specifically, a missing number is determined by checking if any measurement point in the electricity data to be verified has no base value. For example, if the electricity data obtained by the main station from the main energy meter has no base value, meaning the electricity data is empty, then it is considered a missing number.
[0094] In some other executable embodiments, the electricity meters used by the statistical master station and the master station to be statistically analyzed are C3000. If the electricity meter does not collect or import data, the missing data verification will fail. Therefore, modifying the report value only on the electricity meter interface without the statistical master station or the master station to be verified collecting data is also considered a missing data issue.
[0095] If there are power consumption data that meet the missing number rule, then determine whether each power consumption data that meets the missing number rule meets the large number rule.
[0096] Specifically, the electricity consumption data displayed by an electricity meter should theoretically reflect actual electricity consumption. Therefore, certain physical and engineering limitations prevent some values from being excessively high. For example, the circuits or equipment connected to the electricity meter have rated power, and the electricity consumption data should not exceed the maximum capacity of these devices. Secondly, electricity consumption is the product of power and time; therefore, there is a theoretical upper limit to the accumulation of electricity over a fixed time interval. If the electricity consumption displayed by the meter exceeds the maximum possible value calculated based on power and time, the electricity consumption data may be inaccurate. Therefore, by determining whether the electricity consumption data to be verified conforms to the rule of large numbers, the reliability and representativeness of the electricity consumption data can be improved, and the statistical analysis of the electricity consumption data can be made more stable and accurate.
[0097] If there are power consumption data that conform to the rule of large numbers, then determine whether each power consumption data that conforms to the rule of large numbers conforms to the load curve verification rule.
[0098] Generally, load curve verification typically involves checking aspects such as curve shape, data consistency, and forecast accuracy. The shape and characteristics of the load curve reflect the operating status of the power grid. An accurate load curve is crucial for formulating electricity pricing policies, scheduling generation, and conducting electricity trading. Load curve verification helps improve market transparency and fairness.
[0099] If there is electrical work data that meets the load curve verification rules, then each electrical work data that simultaneously meets the missing number rule, the large number rule, and the load curve verification rules is deemed to meet the single table data verification rules.
[0100] This embodiment performs verification in the order of missing data, large numbers, and load curve verification rules. This verification order first ensures the integrity of the data, then ensures the data range, and finally ensures the overall rationality of the data. Following this order can reduce the waste of computing resources and avoid wasting resources verifying the data range or even the rationality when there are missing data. At high time resolution, it can also save time in verifying data and improve verification efficiency.
[0101] In some executable embodiments, determining whether each electrical operating data point that conforms to the missing number rule conforms to the large number rule includes:
[0102] On each load curve formed based on each electrical work data that conforms to the deficit rule, adjacent load values are obtained at preset intervals to sequentially obtain the first load value. Second load value Third load value and the fourth load value Where i is an integer greater than or equal to 1.
[0103] Specifically, the power consumption data of each item that meets the missing data rule is arranged in chronological order to form a load curve.
[0104] The integral period (preset time interval) of a typical load curve is an approximation of 60 minutes, while the preset interval time used for electricity statistics is usually 15 minutes or 5 minutes.
[0105] In some other executable embodiments, the preset interval is 1 minute. A 1-minute recording interval provides high temporal resolution, enabling more precise capture of short-term fluctuations and transient changes in load. High temporal resolution load data helps analyze power quality-related issues, such as voltage fluctuations and frequency deviations, facilitating the implementation of appropriate measures to improve power quality. Simultaneously, high temporal resolution load curves also help to promptly detect anomalies in the power grid, such as equipment failures, power outages, or abnormal electricity consumption behavior.
[0106] Second load value If the power demand exceeds the first preset power demand value, it is determined that it does not conform to the large number rule. The first preset power demand value is the preset maximum power demand value.
[0107] It should be noted that the preset maximum electricity demand value is generally an estimated maximum electricity demand. If the actual electricity demand data differs significantly from the first preset demand value, it indicates that the demand estimate does not match reality. This may lead to problems in power supply planning and dispatch, affecting the stability and efficiency of the power grid. Furthermore, an excessively large difference between the actual electricity demand data and the first preset demand value may impact the stability and security of the power system, affecting its normal operation. Therefore, by judging… Whether the demand exceeds the preset value can help to promptly detect potential risks to the stability and security of the power system.
[0108] If the second load value If the load is less than or equal to the first preset power demand value, then determine the second load value. and the first load value Is it equal to the second preset power demand value? The second preset power demand value is less than the first preset power demand value.
[0109] Specifically, the rate of change of each point in the electricity data compared to the previous point reflects the relative change in load, generation, or consumption in the power system. This relationship can be represented by calculating the ratio of the difference in electricity consumption at two consecutive points in time to the electricity consumption at the previous point in time.
[0110] If the second load value Or the first load value If the load value is equal to the second preset power demand value, then the first preset rate of change is set as the second load value. The rate of change.
[0111] Specifically, when the second load value Equal to the second preset power demand value or the first load value When the load value equals the second preset power demand value, the second load value will be... The value of the rate of change is set to the value of the first preset rate of change.
[0112] If the second load value and the first load value If none of them are equal to the second preset power demand value, then the second load value will be... Reduce first load value The difference between the second load value and the second load value and the first load value The ratio of the minimum value in the middle is set as the second load value. The rate of change.
[0113] Specifically, when the second load value Not equal to the second preset power demand value, and the first load value When neither of them is equal to the second preset power demand value, the second load value The value of the rate of change is equal to the value of the second load. Reduce first load value The difference between the second load value and the second load value and the first load value The ratio of the minimum value in the range.
[0114] In some scenarios, the second preset power demand value can be 0.
[0115] If the second load value The rate of change is greater than the maximum preset rate of change, and the third load value Or the fourth load value If the power demand is equal to the third preset power demand value, then it does not conform to the rule of large numbers. The third preset power demand value is greater than the second preset power demand value.
[0116] Specifically, the second load value of each electrical operating data point that conforms to the missing data rule. The rate of change is greater than the maximum preset rate of change, and the third load value Or the fourth load value If the power demand is equal to the third preset power demand value, then the power operation data for each value does not conform to the rule of large numbers.
[0117] In some scenarios, the third preset power requirement value is 2.
[0118] Specifically, excessive fluctuations in the rate of change may be due to the addition or removal of electrical equipment or equipment malfunctions. When a large number of new electrical devices are added, or when a device malfunctions, it can cause significant fluctuations in current, thus increasing the rate of change in electricity consumption data. In such cases, it is necessary to promptly inspect and repair the electrical equipment to ensure the stable operation of the power system. Excessive fluctuations may also be due to theft or leakage in the wiring. These situations can lead to abnormal current flow, affecting the accuracy of electricity consumption data. In these cases, timely inspection and repair of the wiring can prevent unnecessary energy loss and safety hazards.
[0119] In some other executable embodiments, the step of determining whether the power data to be checked conforms to the rule of large numbers for each power operation data includes:
[0120] a) Calculate the rate of change of each load value relative to the previous load value within one hour. Let these two points be the second load values. First load value .
[0121]
[0122] b) Calculate the transition state for each point.
[0123] =
[0124] c) If >big_value or ( And (third load value) If it does not conform to the rule of large numbers, the large number rule check fails.
[0125] in, The rate of change; This is a transition state; The second preset rate of change; The load value for each minute; for The load value for the previous minute; for The load value for the next minute; for The load value for the next two minutes; big_value is the maximum power demand value for each minute; () is a function for finding the absolute value of data.
[0126] In some executable embodiments, determining whether each electrical operating data point conforming to the rule of large numbers conforms to the load curve verification rule includes:
[0127] The first duration of power data is obtained by extracting power data within a first preset duration from each power data that conforms to the rule of large numbers.
[0128] It should be noted that the first preset duration here is the integral period of the load curve.
[0129] First power data and second power data are obtained from the first duration power data. The first power data is the power data within the first duration power data, which is delayed by a first set time from the start time of the first preset duration. The second power data is the power data within the first duration power data, which is advanced by a second set time from the end time of the first preset duration.
[0130] Specifically, the first preset duration is greater than the first set time and the second set time. Further, the first set time is equal to the second set time. Both the first and second set times can be the intervals between measurements by the electricity meter. The first set time can also be the start time. The second set time can be the end time.
[0131] Subtract the first and second battery data to get the difference between the first and last battery levels.
[0132] The total power consumption data for the first duration is summed up to obtain the accumulated power consumption.
[0133] Determine whether the difference between the first and last power supplies and the accumulated power supply meet the preset load curve requirements. If they do, then the load curve verification rules are met.
[0134] Specifically, the load curve verification rules check whether the sum of the electricity consumption data of a single meter and the difference between the beginning and end of the electricity consumption data meet the requirements. By comparing the changes in electricity consumption data and total consumption within a specific time period, it verifies whether the electricity meter reading matches the expected electricity usage pattern, thereby ensuring the accuracy and rationality of the electricity meter data.
[0135] In some executable embodiments, it is determined whether the difference between the first and last charge levels and the accumulated charge level meet the preset load curve requirements. If they do, the load curve verification rules are met, including:
[0136] If the difference between the first and last power levels and the cumulative power level are both equal to the preset power constant, then the load curve verification rules are met.
[0137] Specifically, a preset power constant can be set based on historical power variation observation experience. Alternatively, a preset power constant can be set based on anticipated changes in power operating data.
[0138] If either the difference between the first and last charges or the cumulative charge is not equal to the preset charge constant, then the load curve verification rules are not met.
[0139] Furthermore, the preset power constant can be 0.
[0140] If neither the difference between the first and last power consumptions nor the accumulated power consumption is equal to the preset power consumption constant, then the load curve change rate between the difference between the first and last power consumptions and the accumulated power consumption is calculated to obtain the load change rate.
[0141] If the load change rate is greater than the preset hourly change rate, it does not meet the load curve verification rules.
[0142] Understandably, if the load change rate is greater than the preset hourly change rate, it means that the change in electricity consumption exceeds the expected maximum value. This indicates a problem with the electricity meter data or that the electricity usage pattern does not match the expected load curve. The preset hourly change rate is an expected maximum value of load change over a period of time. The preset hourly change rate is typically the expected maximum value of load change within one hour.
[0143] In some executable embodiments, the load change rate is obtained by calculating the load curve change rate between the difference between the first and last electricity charges and the accumulated electricity charges, including:
[0144] Calculate the absolute value of the difference between the first and last electricity charges and the cumulative electricity charges to obtain the change.
[0145] The load change rate is obtained by dividing the change by the difference in electricity levels at the beginning and end.
[0146] The load change rate reflects the ratio between the actual and expected changes in electricity consumption data. An excessively high load change rate may indicate problems with the power system's operation or abnormal meter readings. Calculating the load change rate can help identify anomalies in electricity consumption data, improving inspection efficiency and reducing wasted human resources.
[0147] In some other executable embodiments, let v1 (difference between the first and last load values) be the difference between the two ends of the 1-hour load curve, and v2 (cumulative load value) be the sum of the load values within the 1-hour load curve. If both v1 and v2 are 0 (preset load constant), the verification passes. If only one of v1 and v2 is 0, the verification fails. If neither is 0, and abs(v2-v1) / v1 If 100 (load change rate) > lp_ate (preset hourly change rate), the verification fails; otherwise, the verification passes. () is a function for finding the absolute value of data.
[0148] In some executable embodiments, the power consumption data of the statistical master station includes the main power consumption data of the main table of the statistical master station, the backup power consumption data of the backup table of the statistical master station, and the calibration power consumption data of the calibration table of the statistical master station.
[0149] It's important to clarify that the primary meter in a power system is the main energy meter used for metering electricity. It's typically used to measure the electricity consumption of large users, such as large industrial users or high-voltage users. The data provided by the primary meter is the direct basis for electricity bill settlement between the power company and the user; therefore, its accuracy and reliability are crucial. The backup meter serves as a standby for the primary meter. When the primary meter fails or requires maintenance, the backup meter can take over the metering to ensure the continuity and reliability of electricity measurement. The backup meter exists to reduce metering interruptions caused by primary meter problems and ensure the stability of electricity metering. A calibration meter is used to verify the accuracy of other energy meters. It is a high-precision energy meter, typically used to calibrate and test whether other energy meters meet the prescribed accuracy standards. The calibration meter itself requires rigorous calibration and testing to ensure the accuracy of its measurement results. In the power system, calibration meters are used to ensure the accuracy of electricity metering and maintain the fairness of the electricity market.
[0150] The power consumption data of the master station to be verified includes the main power consumption data of the master table of the master station to be verified. It determines whether the power consumption data of the master station in the power consumption data that passes the single-table data validation rules conforms to the inter-table data rules with the power consumption data of each master station to be verified, including:
[0151] Determine whether the main power consumption data and the backup power consumption data conform to the inter-table data rules.
[0152] Determine whether the main power consumption data and the calibration power consumption data conform to the inter-table data rules.
[0153] Determine whether the main power consumption data and the main power consumption data to be verified conform to the inter-table data rules.
[0154] It should be noted that the main power consumption data and the main power consumption data to be verified are collected from the same energy meter by different master stations. Therefore, the main power consumption data and the main power consumption data to be verified should be essentially consistent. Thus, comparing the main power consumption data and the main power consumption data to be verified can check for omissions, errors, or inconsistencies in data transmission or recording, ensuring data integrity and accuracy. Secondly, even if two stations use the same master meter, external factors (such as grid fluctuations, equipment failures, etc.) may cause data recording anomalies. Determining whether the main power consumption data and the main power consumption data to be verified conform to inter-meter data rules can help identify these anomalies.
[0155] If the main power data and the backup power data, the main power data and the calibration power data, and the main power data and the main power data to be verified all conform to the inter-table data rules, then it is determined that the two power data to be verified conform to the inter-table data rules.
[0156] By verifying whether the main power data, backup power data, calibration power data, and main power data to be verified conform to the inter-meter data rules, the consistency and accuracy of the data are ensured, economic losses caused by data errors are reduced, and the accuracy and reliability of power market and grid operation data are improved.
[0157] In some executable embodiments, there is an order to the judgments regarding the primary power operation data, backup power operation data, calibration power operation data, and primary power operation data to be verified. The judgment process involves determining whether the power operation data of the main station and the power operation data of each master station to be verified conform to the inter-table data rules, as defined by the single-table data verification rules.
[0158] If the main power data and the backup power data conform to the inter-table data rules, then determine whether the main power data and the calibration power data conform to the inter-table data rules.
[0159] If the main power consumption data and the main power consumption data to be verified conform to the inter-table data rules, then determine whether the main power consumption data and the main power consumption data to be verified conform to the inter-table data rules.
[0160] The electricity data in the master table, backup table, and calibration table are interdependent. If the electricity data in these three tables does not meet the inter-table rules, it indicates a problem with the electricity data in the main statistical station. In this case, verifying the main electricity data or the data to be verified is meaningless. Therefore, performing inter-table data verification in the above order can minimize meaningless verification and improve verification efficiency.
[0161] In some executable embodiments, determining whether two electrical operation data points conform to inter-table data rules includes:
[0162] Set the two power operation data as the first power operation data and the second power operation data, respectively.
[0163] The first accumulated value and the second accumulated value are obtained by acquiring the accumulated values of the first power consumption data and the second power consumption data within a preset time period.
[0164] The first and second accumulated values are compared with the maximum accumulated threshold constant.
[0165] If both the first and second accumulated values are less than or equal to the maximum accumulated threshold constant, then the absolute value of the difference between the first and second accumulated values is calculated to obtain the accumulated difference. If the accumulated difference is less than or equal to the minimum accumulated threshold constant, then it is determined that the first and second electricity working data conform to the inter-table data rules. If the accumulated difference is greater than the minimum accumulated threshold constant, then the first and second electricity working data do not conform to the inter-table data rules.
[0166] If the first accumulated value or the second accumulated value is greater than the maximum accumulated threshold constant, then the first accumulated value or the second accumulated value is compared with the accumulated threshold constant.
[0167] If both the first accumulated value and the second accumulated value are equal to the accumulated threshold constant, then the first power consumption data and the second power consumption data conform to the inter-table data rules.
[0168] If only one of the first and second accumulated values is equal to the accumulated threshold constant, then the first power consumption data and the second power consumption data do not conform to the inter-table data rules.
[0169] If neither the first accumulated value nor the second accumulated value is equal to the accumulated threshold constant, then the accumulated error is calculated based on the first accumulated value and the second accumulated value.
[0170] If the cumulative error is less than the preset comparison error, then the first power operation data and the second power operation data conform to the inter-table data rules.
[0171] Furthermore, in some scenarios, let the cumulative values of two power consumption data points within one hour be v1 (first cumulative value) and v2 (second cumulative value); High is the corresponding high threshold (cumulative maximum threshold constant), low is the corresponding low threshold (cumulative minimum threshold constant), and bias is the comparison error. Then, the pseudocode for determining whether two power consumption data points conform to the inter-table data rules is as follows:
[0172] If v1<= high And v2<= high Then
[0173] If abs(v2-v1)<= low, then
[0174] Success
[0175] Else
[0176] Fail
[0177] End If
[0178] Else
[0179] If v1 = 0 and v2 = 0, then
[0180] Success
[0181] Else If (v1 = 0 And v2<>0) Or (v1<>0 And v2=0) Then
[0182] Fail
[0183] Else If abs(v2-v1) / v1 100 <= bias Then
[0184] Success
[0185] Else
[0186] Fail
[0187] End If.
[0188] In one executable embodiment, the statistics master station obtains the power consumption data from its own master table, backup table, and calibration table, and acquires the power consumption data from the master table obtained by the master station to be calibrated via network transmission technology, and verifies it. The statistics master station verifies whether there are any missing data in the master power consumption data, backup power consumption data, calibration power consumption data, and the master power consumption data to be calibrated. If there are no missing data, the master power consumption data, backup power consumption data, calibration power consumption data, and the master power consumption data to be calibrated are checked for compliance with the large number verification rule. Only after all the above power consumption data passes the large number verification rule verification step is the compliance with the load curve verification rule verified. When all the above power consumption data comply with the load curve verification rule, inter-table rule verification is performed in the following order: comparing the master power consumption data with the calibration power consumption data, comparing the master power consumption data with the backup power consumption data, and comparing the master power consumption data with the master power consumption data to be calibrated. Verification is considered successful only when all the above rules are completed.
[0189] Furthermore, the main statistical station performs data verification hourly, acquiring electricity consumption data from both the main statistical station and the station to be verified every hour. Each electricity meter collects electricity consumption data every minute as its operational data. Simultaneously, the main statistical station's database records the last time of each data verification, aligning it to the hour. Data for the current hour is automatically verified and not re-verified. Manual verification is required in case of alarms or other anomalies.
[0190] Furthermore, after verifying the power consumption data, the data is backed up to the corresponding backup table. If the backup table contains the corresponding power consumption data or is locked, the backup will not be performed; otherwise, it will be performed.
[0191] Furthermore, during the power consumption data verification process, the power consumption data is divided into one group per hour. During the data verification process, the power consumption data for the current hour will be locked, and only one alarm result will occur for each hourly group of verifications.
[0192] Furthermore, the power consumption data can be tagged with a) S: indicating successful verification; b) F: indicating verification failure; c) X: indicating that this verification is not required. For example, the backup meter measurement point data does not require master-master or master-calibration verification. For example, the verification status of a certain measurement point of the backup meter may be: SSSXSX; d) A: For failed verification, the data can be accepted on the interface, and the status in the backup table will be updated after acceptance.
[0193] For any missing power consumption data, an alarm will be triggered directly, but no record will be made. For the other five verification methods, the verification status of 60 values for each type of power consumption data will be recorded simultaneously every hour. If the power consumption data for a particular hour is locked, the six verification statuses must be S, A, or X; other statuses are impossible. If any other status occurs, the verification will be interrupted and an alarm will be triggered.
[0194] In some executable embodiments, the statistical master station acquires statistical master station work data and master station work data to be verified through network transmission technology according to a preset time, to obtain the power consumption data to be verified, including:
[0195] The master station to be verified exports the working data of the master station to be verified according to the preset time and generates the working file to be verified in the first preset directory.
[0196] The main station to be verified transfers the work files to be verified to the second preset directory of the statistics main station via SFTP.
[0197] Specifically, SFTP stands for Secure File Transfer Protocol. It provides a secure encryption method for transferring files. SFTP adds encryption and controllable feedback steps to the communication process, ensuring complete data transmission. Even if data transmission fails and data is missing, the program can automatically detect this and notify the other end to retransmit, eliminating the need for manual intervention. This reduces data loss. The main statistical station imports the data from the work files to be verified into a preset database.
[0198] Based on the preset time, query the preset database to collect the main station's work data and the main station's work data to be verified, and obtain the power consumption data to be verified.
[0199] In some executable implementations, there are two master stations. For example... Figure 3As shown, the two master stations define the plant-side data acquisition devices and measurement point names for each other. Using the import / export function of electricity metering and billing, the electricity metering and billing system of master station A can export the measurement point data (electricity operation data) into text files. Using the SFTP function, these text files are periodically transmitted to master station B, and the electricity metering and billing system of master station B can import these text files into its database. Similarly, when master station A is the statistical master station, it can also obtain the measurement point data from master station B. The statistical master station verifies the electricity operation data between corresponding measurement points of the two master stations. The verification objects should be the corresponding measurement points of the two master stations, such as the main table, backup table, verification table, and the main table to be verified of the statistical master station. Verification can be performed automatically or manually, and the verification results can be queried. However, no flag bits are set for the operation data. The verification of electricity operation data between the two master stations does not depend on data verification tasks within the same master station. Because the systems of master stations A and B have independent functions—that is, the automatic processes of the electricity metering and billing system can include different process tasks and different process execution times—if data verification between master stations requires successful data verification at the local master station, then both master stations must define the same automatic processes and the same master / verification tasks. This means that the connection condition depends on manual process definition, which carries the possibility of human error that could prevent data verification between the two master stations. Therefore, this condition should be sufficient, not necessary.
[0200] In some executable embodiments, the master station to be verified transfers the working file to be verified to the second preset directory of the statistics master station via SFTP, including:
[0201] The master station to be verified searches the sending queue of the statistical master station for the received packets. If no packet in the sending queue is matched with a packet in the receiving queue within the preset receiving time, it is determined that the second preset directory has not received the work file to be verified. The master station to be verified then resends the work file to be verified to the second preset directory via SFTP until the second preset directory receives the work file to be verified.
[0202] In some other executable embodiments, such as Figure 2As shown, the statistical work master station (CLP side) and the work master station to be verified (GPGP side) add send and receive packet queues, and periodically send the local send and receive packet queues to the other party. First, when retrieving data using the provided data retrieval interface, decompression is not performed; the data remains compressed. Then, when forming the file, a CRC check (Cyclical Redundancy Check, the most commonly used error checking code in data communication, characterized by the arbitrarily selectable lengths of the information field and the check field) is added. Then, the data is transmitted to the specified directory on the other end via SFTP. The local send queue searches for the received packet in the other party's receive queue. If a packet in the send queue does not match a packet in the receiver's queue within a certain time, it indicates that the packet data is lost and the other party has not received it. The local end then automatically retransmits the packet data, continuing until the other end receives the packet.
[0203] This invention also provides a power data verification system for verifying power operation data among multiple master stations, wherein the multiple master stations include a statistical master station and at least one master station to be verified. The verification system includes:
[0204] The power consumption data acquisition unit is used to acquire the power consumption data to be verified. The power consumption data to be verified includes the power consumption data of the statistical master station and the power consumption data of all master stations to be verified among multiple master stations. The power consumption data includes the power consumption data of at least one electricity meter.
[0205] The single-table data verification rule judgment unit is used to determine whether each power operation data in the power data to be verified conforms to the single-table data verification rule.
[0206] The inter-table data rule judgment unit is used to determine whether the power operation data of the statistical master station and the power operation data of each master station to be verified conform to the inter-table data rules if the power operation data of the statistical master station and the power operation data of each master station to be verified conform to the single table data verification rules.
[0207] The power data verification unit is used to determine that the power data of the statistical master station and the power data of the master station to be verified, which conform to the inter-table data rules, have passed the verification.
[0208] This invention acquires the power consumption data to be verified through a power consumption data acquisition unit, and then determines whether the power consumption data meets the corresponding rules through a single-table data verification rule judgment unit and an inter-table data rule judgment unit. Finally, the power consumption data verification unit determines whether the power consumption data passes the verification.
[0209] The present invention also provides a computer device comprising a processor and a memory storing a computer program, wherein the processor implements the steps of the verification method described above when executing the computer program.
[0210] The above embodiments only illustrate preferred embodiments of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can freely combine the above technical features without departing from the concept of the present invention, and can also make several modifications and improvements, all of which fall within the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.
Claims
1. A method for checking electric quantity data, applied to checking of electric quantity working data between multiple master stations, characterized in that, The multiple master stations include one statistical master station and at least one master station to be checked; the checking method comprises the following steps: acquiring the data to be checked, which comprises the working data of the statistical master station and the working data of all the master stations to be checked, and the working data comprises the working data of at least one electric energy meter; judging whether each working data in the data to be checked meets the single-meter data checking rule; if the working data of the statistical master station and the working data of at least one master station to be checked meet the single-meter data checking rule, judging whether the working data of the statistical master station and the working data of each master station to be checked meet the inter-meter data rule; if there are working data of the statistical master station and the master station to be checked meeting the inter-meter data rule, judging that the working data of the statistical master station and the master station to be checked meeting the inter-meter data rule pass the check; the judgment of whether each working data in the data to be checked meets the single-meter data checking rule comprises: judging whether each working data meeting the missing number rule meets the large number rule, which comprises: On each load curve formed based on the each electric quantity working data conforming to the rule of the lack number, adjacent load values are obtained according to preset interval time, and first load value , second load value , third load value and fourth load value are obtained in sequence, wherein i is an integer greater than or equal to 1. If the first preset power requirement value is greater than the second preset power requirement value, it is determined that the large number rule is not met, and the first preset power requirement value is a preset maximum power requirement value. If the first preset power requirement value is greater than the second preset power requirement value, it is determined that the large number rule is not met, and the first preset power requirement value is a preset maximum power requirement value. If the second load value is less than or equal to the first preset power requirement value, it is determined that the and the is equal to a second preset power requirement value, which is less than the first preset power requirement value. If the above or the aforementioned If the value is equal to the second preset power demand value, then the first preset rate of change is set to the value described above. The rate of change; If the above and stated If none of them are equal to the second preset power demand value, then the... The reduction mentioned The difference with the and stated The ratio of the minimum value in is set as the The rate of change; If the change rate of the is greater than a maximum preset change rate, and the or the is equal to a third preset power demand value, which is greater than the second preset power demand value, the large number rule is not met. wherein, the single-meter data checking rule comprises the missing number rule and the large number rule.
2. The method of claim 1, wherein, the single-meter data checking rule further comprises the load curve verification rule; the judgment of whether each working data in the data to be checked meets the single-meter data checking rule comprises: judging whether each working data in the data to be checked meets the missing number rule, and the working data is the working data of a single electric energy meter; if there is working data meeting the missing number rule, judging whether each working data meeting the missing number rule meets the large number rule; if there is working data meeting the large number rule, judging whether each working data meeting the large number rule meets the load curve verification rule; if there is working data meeting the load curve verification rule, judging that each working data meeting the missing number rule, the large number rule and the load curve verification rule meets the single-meter data checking rule.
3. The method of claim 2, wherein, the judgment of whether each working data meeting the large number rule meets the load curve verification rule comprises: acquiring the working data in a first preset time period from each working data meeting the large number rule to obtain first time period working data; acquiring first working data and second working data from the first time period working data, the first working data is the working data in a first preset time period from the start time of the first preset time period to the first preset time period, and the second working data is the working data in a second preset time period from the end time of the first preset time period to the second preset time period; Subtracting the first electric quantity data and the second electric quantity data, a head-tail electric quantity difference is obtained; Accumulating all electric quantity working data of the first time length electric quantity data, accumulated electric quantity is obtained; Judging whether the head-tail electric quantity difference and the accumulated electric quantity meet preset load curve requirements, if yes, the load curve verification rule is met.
4. The method of claim 3, wherein, The judgment whether the head-tail electric quantity difference and the accumulated electric quantity meet preset load curve requirements, if yes, the load curve verification rule is met, including: If the head-tail electric quantity difference and the accumulated electric quantity are equal to a preset electric quantity constant, the load curve verification rule is met; If one of the head-tail electric quantity difference or the accumulated electric quantity is not equal to the preset electric quantity constant, the load curve verification rule is not met; If the data of the head-tail electric quantity difference and the accumulated electric quantity are not equal to the preset electric quantity constant, a load curve change rate between the head-tail electric quantity difference and the accumulated electric quantity is calculated, a load change rate is obtained; If the load change rate is greater than a preset hour change rate, the load curve verification rule is not met.
5. The method of claim 4, wherein, The calculation of the load curve change rate between the head-tail electric quantity difference and the accumulated electric quantity, the load change rate is obtained, including: The absolute value of the difference value of the head-tail electric quantity difference and the accumulated electric quantity is calculated, a change amount is obtained; The change amount is divided by the head-tail electric quantity difference, the load change rate is obtained.
6. The method of claim 1, wherein, The electric quantity working data of the statistical master station includes the main electric quantity working data of the main table of the statistical master station, the backup electric quantity working data of the backup table of the statistical master station, and the calibration electric quantity working data of the calibration table of the statistical master station; the electric quantity working data of the to-be-checked master station includes the main to-be-checked electric quantity working data of the main table of the to-be-checked master station; the judgment whether the electric quantity working data passing the single table data verification rule meets the inter-table data rule, including: Judging whether the main electric quantity working data and the backup electric quantity working data meet the inter-table data rule; Judging whether the main electric quantity working data and the calibration electric quantity working data meet the inter-table data rule; Judging whether the main electric quantity working data and the main to-be-checked electric quantity working data meet the inter-table data rule; If the main electric quantity working data, the backup electric quantity working data, the calibration electric quantity working data, and the main to-be-checked electric quantity working data all meet the inter-table data rule, it is determined that the to-be-checked electric quantity data meets the inter-table data rule.
7. The method of claim 6, wherein, The judgment between the main electric quantity working data, the backup electric quantity working data, the calibration electric quantity working data, and the main to-be-checked electric quantity working data has a sequence relationship; the judgment whether the electric quantity working data passing the single table data verification rule meets the inter-table data rule, including: If the master power working data and the backup power working data meet the inter-table data rule, it is judged whether the master power working data and the master power working data to be checked meet the inter-table data rule. If the master power working data and the master power working data to be checked meet the inter-table data rule, it is judged whether the master power working data and the master power working data to be checked meet the inter-table data rule.
8. The method of claim 6, wherein, The method for judging whether two power working data meet the inter-table data rule comprises: The two power working data are respectively set as first power working data and second power working data. The accumulated values of the first power working data and the second power working data in a preset time period are respectively obtained, to obtain first accumulated value and second accumulated value. The first accumulated value and the second accumulated value are compared with accumulated maximum threshold constant. If the first accumulated value and the second accumulated value are both less than or equal to the accumulated maximum threshold constant, the absolute value of the difference between the first accumulated value and the second accumulated value is calculated to obtain accumulated difference; if the accumulated difference is less than or equal to accumulated minimum threshold constant, it is determined that the first power working data and the second power working data meet the inter-table data rule; if the accumulated difference is greater than the accumulated minimum threshold constant, the first power working data and the second power working data do not meet the inter-table data rule. If the first accumulated value or the second accumulated value is greater than the accumulated maximum threshold constant, the first accumulated value, the second accumulated value and accumulated threshold constant are compared. If the first accumulated value and the second accumulated value are both equal to the accumulated threshold constant, the first power working data and the second power working data meet the inter-table data rule. If only one of the first accumulated value and the second accumulated value is equal to the accumulated threshold constant, the first power working data and the second power working data do not meet the inter-table data rule. If the first accumulated value and the second accumulated value are both not equal to the accumulated threshold constant, the accumulated error is calculated according to the first accumulated value and the second accumulated value. If the accumulated error is less than preset comparison error, the first power working data and the second power working data meet the inter-table data rule.
9. A power data verification system, applied to the verification of power operation data between multiple master stations, characterized in that, The multiple master stations comprise one statistical master station and at least one master station to be checked. The verification system comprises: The power data to be checked obtaining unit is used for obtaining power data to be checked, the power data to be checked comprising power working data of the statistical master station and power working data of all the master stations to be checked in the multiple master stations, the power working data comprising power working data of at least one electric energy meter; The single-table data verification rule judging unit is used for judging whether each power working data in the power data to be checked meets single-table data verification rule; the judgment whether each power working data in the power data to be checked meets single-table data verification rule comprises: determining whether the each power work data meeting the missing number rule meets a large number rule, comprising: On each load curve formed based on the each electric quantity working data conforming to the rule of the lack number, adjacent load values are obtained according to preset interval time, and first load value , second load value , third load value and fourth load value are sequentially obtained, wherein i is an integer greater than or equal to 1. If the first preset power requirement value is greater than the second preset power requirement value, it is determined that the large number rule is not met, and the first preset power requirement value is a preset maximum power requirement value. If the first preset power requirement value is greater than the second preset power requirement value, it is determined that the large number rule is not met, and the first preset power requirement value is a preset maximum power requirement value. If the second load value is less than or equal to the first preset power requirement value, it is determined that the and the is equal to a second preset power requirement value, which is less than the first preset power requirement value. If the above or the aforementioned If the value is equal to the second preset power demand value, then the first preset rate of change is set to the value described above. The rate of change; If the above and stated If none of them are equal to the second preset power demand value, then the... The reduction mentioned The difference with the and stated The ratio of the minimum value in is set as the The rate of change; If the change rate of the is greater than a maximum preset change rate, and the or the is equal to a third preset power demand value greater than the second preset power demand value, the large number rule is not met. The single-table data checking rule comprises the missing number rule and the large number rule. The inter-table data rule determining unit is configured to determine whether the power work data of the statistical master station and the power work data of each of the to-be-checked master stations meeting the single-table data checking rule meet an inter-table data rule if the power work data of the statistical master station and the power work data of at least one of the to-be-checked master stations meet the single-table data checking rule. The power data checking unit is configured to determine that the power work data of the statistical master station and the power work data of the to-be-checked master stations meeting the inter-table data rule pass the checking if there are the power work data of the statistical master station and the power work data of the to-be-checked master stations meeting the inter-table data rule.
10. A computer device comprising a processor and a memory having stored therein a computer program, characterized in that, The processor realizes the steps of the checking method of any one of claims 1-8 when executing the computer program.
Citation Information
Patent Citations
Primary station data quality optimizing method for intelligent power grid dispatching technical support system
CN105046344A
Multi-source heterogeneous data verification system and method for intelligent power grid big data
CN107992519A