A carbon metering anti-tampering method for a meter box of an electric meter based on two-dimensional verification of physical data

By constructing the physical state vector of the electricity meter box and performing correlation analysis with carbon data, a tamper-proof evidence chain is generated, which solves the problem of low credibility of carbon metering data sources in the electricity meter box scenario, and realizes accurate identification of electricity theft and cost-effective carbon data storage.

CN123179433APending Publication Date: 2026-11-27HEXING ELECTRICAL CO LTD +4
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611565173.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot effectively guarantee the source credibility of carbon metering data in the context of electricity meter boxes. Physical security and data verification lack time-series correlation analysis capabilities, making it impossible to accurately distinguish between normal operation and maintenance and electricity theft. Furthermore, blockchain evidence storage is costly and lacks accurate evidence storage strategies.

Method used

By acquiring various status information of the meter box, a physical state vector of the meter box is constructed. The event level is determined based on the physical state vector, and the correlation degree is calculated by combining carbon data information to generate a tamper-proof evidence chain, thereby realizing accurate correlation judgment and feedback measures between physical events and carbon data.

Benefits of technology

It improves the credibility of carbon metering data sources in the context of electricity meter boxes, accurately identifies electricity theft, provides logically rigorous judgment criteria, reduces the cost of blockchain evidence storage, and ensures the fairness of carbon quota accounting and settlement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179433A_ABST
    Figure CN123179433A_ABST
Patent Text Reader

Abstract

The embodiment of the specification discloses a carbon metering anti-tampering method for electric meter box based on physical data double-dimensional verification, which comprises the following steps: acquiring at least one state information of an electric meter box, performing time alignment processing on each state information, and constructing a physical state vector of the electric meter box; determining a corresponding physical event level of the electric meter box based on the physical state vector of the electric meter box; for the electric meter box with the determined physical event level, collecting corresponding carbon data information of the electric meter in the electric meter box based on a preset analysis time window, and calculating the correlation degree between the electric meter in the electric meter box and the physical event based on the carbon data information; based on the physical event level and the correlation degree, determining a current corresponding tampering level from a plurality of preset judgment rules, and executing corresponding feedback measures based on the tampering level, so as to solve the problem of low carbon metering data source credibility in the electric meter box scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electrical carbon metering security protection and carbon emission data trust management technology, and in particular to a method, device, electronic device and storage medium for preventing tampering of electrical meter box carbon metering based on physical data dual-dimensional verification. Background Technology

[0002] With the deepening of the "dual carbon" goals and the continuous expansion of the national carbon emissions trading market, the authenticity, completeness, and reliability of carbon emission data from the electricity consumption end have become a fundamental guarantee for the healthy operation of the carbon trading market. Low-voltage electricity metering boxes, as a key connection node between the distribution network and end users, directly impact the credibility of carbon quota calculation, carbon trading settlement, and carbon emission supervision through the electricity metering data stored within them and the resulting carbon emission accounting data.

[0003] Currently, electricity meter boxes are typically exposed to users as physical devices, making them vulnerable to risks such as unauthorized access, wiring alterations, disassembly of metering devices, and external interference. Electricity theft not only distorts electricity metering data but can also lead to anomalies in carbon emission accounting data, thereby affecting the fairness of carbon trading results and the accuracy of regulatory conclusions. Therefore, ensuring the reliability of carbon metering data sources in meter box scenarios has become a crucial issue that needs to be addressed in the fields of electricity metering and carbon data regulation.

[0004] From a physical security perspective, existing anti-theft technologies mainly rely on physical protection measures such as microswitches on meter box doors, lead seals, and mechanical locks. These solutions typically only detect whether the meter box door has been opened, and are unable to detect more subtle changes in the physical state inside the meter box, such as meter removal, wiring modifications, short circuits in the secondary circuit of the current transformer, and strong magnetic interference. Furthermore, physical alarm signals usually operate independently and are not effectively linked to the carbon metering data system; therefore, they cannot be automatically correlated with carbon emission data changes after the door is opened. In addition, records such as timestamps and durations of physical events are often stored in a scattered manner, lacking effective tamper protection, and are at risk of being disregarded in case of disputes.

[0005] From a data verification perspective, existing carbon data trust solutions mostly employ technologies such as blockchain notarization and encrypted transmission, primarily focusing on data-level notarization and integrity protection, while failing to adequately cover the perception of security events in the physical world. When electricity thieves tamper with electricity data through physical means such as diverting wiring, interfering with meter readings with strong magnetic fields, or short-circuiting the secondary circuit of current transformers, the blockchain may notarize the tampered data, thus solidifying the distorted data into seemingly "trustworthy" data, but it is difficult to fundamentally prevent the source of carbon measurement data from being distorted. In addition, existing blockchain solutions typically directly hash the original carbon data for notarization, resulting in large data volumes, high on-chain costs, and a lack of precise notarization strategies for physical events.

[0006] From the perspective of physical and data linkage, existing technologies still have several shortcomings. First, there is a lack of time-series correlation analysis capabilities between physical security incidents and carbon data anomalies, making it difficult to automatically determine whether physical events such as opening the meter box door have led to changes in carbon emission data. Second, existing solutions lack the ability to intelligently classify and identify the root causes of abnormal events, making it difficult to distinguish between different scenarios such as normal operation and maintenance, electricity theft, and equipment failure. For example, existing systems often struggle to accurately identify situations such as no change in carbon data after opening the meter box for maintenance, a sudden drop in carbon emission data after opening the meter box, or abnormal carbon data even when the meter box door is not opened.

[0007] In summary, existing technologies still have shortcomings in terms of physical security, data storage, and physical-data linkage, and cannot effectively solve the problem of low reliability of carbon metering data sources in the context of electricity meter boxes. Summary of the Invention

[0008] To address the problems existing in the prior art, this specification describes one or more embodiments of a method, apparatus, electronic device, and storage medium for preventing tampering of carbon metering in electricity meter boxes based on two-dimensional verification of physical data.

[0009] According to the first aspect, a method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data is provided, the method comprising:

[0010] At least one state information of the meter box is obtained, and time alignment processing is performed on each state information to construct a meter box physical state vector. The meter box physical state vector is used to characterize the physical state change of the meter box within a preset time range.

[0011] Based on the physical state vector of the meter box, the physical event level corresponding to the meter box is determined;

[0012] For meter boxes with a determined physical event level, carbon data information corresponding to the meters in the meter box is collected based on a preset analysis time window, and the degree of correlation between the meters in the meter box and the physical event is calculated based on the carbon data information.

[0013] Based on the physical event level and the degree of correlation, the current tampering level is determined from a plurality of preset judgment rules, and corresponding feedback measures are executed based on the tampering level.

[0014] Preferably, the status information includes door status information, meter location information, wiring status information, electromagnetic environment information, and vibration displacement information. The door status information is used to characterize the opening and closing state of the meter box door, the meter location information is used to characterize the installation position of the meter inside the meter box, the wiring status information is used to characterize the state of the CT secondary circuit inside the meter box, the electromagnetic environment information is used to characterize the magnetic field distribution inside the meter box, and the vibration displacement information is used to characterize the acceleration signal of the meter box.

[0015] Preferably, the step of calculating the correlation between the electricity meter in the meter box and the physical event based on the carbon data information includes:

[0016] Based on the carbon data information, the carbon emission data is evaluated for anomalies from at least one preset anomaly dimension to obtain a carbon data anomaly score.

[0017] Based on the carbon data anomaly score, the correlation between the meter readings in the meter box and the physical event is quantitatively characterized.

[0018] Preferably, the preset anomaly dimension includes at least one of the following:

[0019] The carbon emission time series continuity verification dimension is used to calculate the change in carbon emission data between adjacent time intervals based on the current carbon emission data and the corresponding carbon emission data within the preset time window before and after it, and to determine whether the change exceeds the preset time series continuity threshold.

[0020] The multi-meter cross-validation verification dimension is used to determine the degree of deviation of the carbon emission data of the target meter relative to the carbon emission data of the other sub-meters based on the carbon emission data of each sub-meter in the meter box, and to determine whether the degree of deviation exceeds the preset multi-meter cross-validation threshold.

[0021] The carbon emission factor consistency verification dimension is used to verify whether the carbon emission factor used in the current carbon metering data matches the carbon emission factor corresponding to the current power supply area or the current power supply period.

[0022] The physical event level determination verification dimension is used to verify the consistency between the total electricity consumption of the meter box and the sum of the electricity consumption of each sub-meter.

[0023] Preferably, the multi-table cross-validation verification dimensions include:

[0024] Calculate the carbon emission change rate of each meter in the meter box;

[0025] Calculate the median and median absolute deviation of the carbon emission changes for each meter at the same sampling time;

[0026] The deviation of each meter is calculated based on the absolute deviation between the median and the median.

[0027] Preferably, the method further includes:

[0028] When the correlation degree exceeds a preset correlation threshold or the carbon data anomaly score exceeds a preset anomaly threshold, obtain the physical event record corresponding to the physical event, the carbon measurement data within the time period corresponding to the physical event, the correlation degree or the carbon data anomaly score, and the feedback measures determined based on the physical event and / or the carbon data anomaly.

[0029] The physical event record, the carbon measurement data, the correlation degree or the carbon data anomaly score, and the feedback measures are associated and encapsulated to generate a tamper-proof evidence chain that characterizes the causal relationship between the physical event and the carbon measurement data anomaly.

[0030] Preferably, the method further includes:

[0031] Obtain the evidence chain corresponding to the time to be verified;

[0032] The digital signatures of each evidence node in the evidence chain are verified using the public key corresponding to the meter box.

[0033] Along the order of the nodes in the chain of evidence, calculate the data hash value of the current evidence node one by one, and compare it with the hash value stored in the previous evidence node;

[0034] Based on the on-chain storage timestamps of each evidence node in the evidence chain, the temporal continuity and hash anchoring validity of the evidence chain are verified.

[0035] According to the second aspect, a tamper-proof device for carbon metering in an electricity meter box based on two-dimensional verification of physical data is provided, the device comprising:

[0036] The physical information acquisition module is used to acquire at least one state information of the meter box, and to perform time alignment processing on each state information to construct a physical state vector of the meter box. The physical state vector of the meter box represents the physical state change of the meter box within a preset time range.

[0037] The physical state determination module is used to determine the physical event level corresponding to the meter box based on the physical state vector of the meter box;

[0038] The data physical association module is used to collect carbon data information corresponding to the meters in the meter box with a determined physical event level based on a preset analysis time window, and calculate the degree of association between the meters in the meter box and the physical event based on the carbon data information.

[0039] The determination and execution module is used to determine the current tampering level from a plurality of preset determination rules based on the physical event level and the degree of correlation, and to execute corresponding feedback measures based on the tampering level.

[0040] According to a third aspect, an electronic device is provided, including a processor and a memory;

[0041] The processor is connected to the memory;

[0042] The memory is used to store executable program code;

[0043] The processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method provided as in the first aspect or any possible implementation thereof.

[0044] According to a fourth aspect, a computer-readable storage medium is provided having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the method provided as in the first aspect or any possible implementation thereof.

[0045] The beneficial effects of this invention are as follows:

[0046] 1. The method and apparatus provided in the embodiments of this specification acquire multiple state information of the meter box and perform time alignment to construct a meter box physical state vector representing the physical state change. Then, the physical state vector is used to determine the carbon metering tampering of the meter box and execute corresponding measures. It can accurately capture the fine physical state changes inside the meter box. Even if the meter is physically compromised, the occurrence time and method of the tampering event can still be recorded, which improves the credibility of the carbon metering data source in the meter box scenario.

[0047] 2. The method and apparatus provided in the embodiments of this specification first determine the physical event level based on the physical state vector of the meter box, and then collect carbon data information within a preset analysis time window for events with determined levels and calculate the degree of correlation between them and physical events. This can effectively distinguish different scenarios: for example, when the physical event of the box door opening is detected, if the correlation degree is low (no significant change in carbon data), it can be determined as normal operation and maintenance; if the correlation degree is high (a sudden change in carbon data), it can be determined as suspected tampering, thus improving the accuracy and robustness of anomaly detection.

[0048] 3. The methods and apparatus provided in the embodiments of this specification determine the level of tampering by comprehensively considering the level of physical events and the degree of correlation with carbon data, and execute corresponding feedback measures. This not only enables real-time detection and blocking of tampering behavior, but also provides regulatory agencies with a set of logically rigorous judgment criteria. When carbon trading disputes occur, it can provide a complete chain of evidence including changes in physical state, time windows, data correlation, and the level of tampering. This effectively solves the problem of difficulty in determining responsibility caused by the dispersion of evidence and lack of temporal correlation in traditional solutions, and ensures the fairness of carbon quota accounting and settlement. Attached Figure Description

[0049] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0050] Figure 1 This is a flowchart illustrating a method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data, as specifically implemented in this manual.

[0051] Figure 2 This is a schematic diagram of the structure of a carbon metering anti-tampering device for an electricity meter box based on physical data dual-dimensional verification in a specific implementation of this specification;

[0052] Figure 3 This is a schematic diagram of the structure of an electronic device used in a specific implementation of this specification. Detailed Implementation

[0053] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0054] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The following description provides multiple embodiments of this application, which can be substituted or combined with each other. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.

[0055] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.

[0056] See Figure 1 , Figure 1 This is a flowchart illustrating a method for preventing tampering of carbon metering in electricity meter boxes based on two-dimensional verification of physical data, provided in an embodiment of this application. In this embodiment, the method includes:

[0057] S101. Obtain at least one state information of the meter box, and perform time alignment processing on each state information to construct a meter box physical state vector. The meter box physical state vector is used to characterize the physical state change of the meter box within a preset time range.

[0058] The entity executing this application may be a cloud server.

[0059] In the embodiments of this specification, the status information of the meter box is obtained. There is at least one type of status information. The obtained status information is aligned with a unified time reference (GPS / BeiDou time synchronization or NTP network time synchronization, accuracy ±1ms). Then, the status information is used to construct a physical state vector of the meter box. The physical state vector of the meter box is used to characterize the physical state changes of the meter box within a preset time range.

[0060] In one possible implementation, the status information includes door status information, meter location information, wiring status information, electromagnetic environment information, and vibration displacement information. The door status information is used to characterize the opening and closing state of the meter box door, the meter location information is used to characterize the installation position of the meter inside the meter box, the wiring status information is used to characterize the state of the CT secondary circuit inside the meter box, the electromagnetic environment information is used to characterize the magnetic field distribution inside the meter box, and the vibration displacement information is used to characterize the acceleration signal of the meter box.

[0061] In the embodiments of this specification, the status information includes cabinet door status information, meter location information, wiring status information, electromagnetic environment information, and vibration displacement information. Cabinet door status information: This is obtained by detecting the opening and closing status of the cabinet door using a magnetic sensor. The system records the precise timestamp, duration, and angle of each door opening. The magnetic sensor is independently powered to ensure normal operation even when the main power supply is cut off, and records unauthorized opening events. Meter location information: This is obtained by using an infrared photoelectric beam sensor or an ultrasonic distance sensor to monitor the installation position of each meter within the cabinet. When a meter is removed from the rail, the sensor signal is interrupted, triggering an in-situ anomaly alarm. The detection accuracy is ≤5mm, capable of identifying minute meter displacements. Wiring status information: A circuit integrity detection circuit is deployed in the main incoming line of the cabinet and the secondary circuits of each sub-meter's CT (Cable Transmission) circuit. By injecting a microampere-level high-frequency detection signal, the system monitors the connectivity, impedance changes, and short / open circuit status of the CT secondary circuits in real time. Abnormal changes in the impedance of the CT secondary circuits can sensitively reflect wiring modifications. Electromagnetic Environment Information: A miniature Hall sensor array is deployed inside the meter enclosure to monitor the magnetic field distribution inside the enclosure in real time. Under normal operating conditions, the magnetic field strength inside the enclosure is generated by the current of each meter and is stable. When a strong magnet is applied externally, the magnetic field distribution changes abnormally. The magnetic field anomaly detection model judges abnormal changes in the magnetic field strength inside the enclosure based on the linear relationship between the current of each meter and the magnetic field strength and the spatial distribution consistency of the magnetic field gradient. Vibration and Displacement Information: A MEMS triaxial accelerometer is used to monitor abnormal vibration and displacement of the entire enclosure. Under normal conditions, the acceleration signal is stable. When subjected to violent damage, drilling, or relocation, the acceleration signal shows significant impact pulses. Frequency domain analysis of the acceleration data can distinguish between environmental vibration and destructive impact. This application achieves multi-dimensional perception of the physical state inside the meter box by collecting information on the box door status, meter location, wiring status, electromagnetic environment, and vibration displacement. It also performs joint verification of the above physical state information with carbon metering data, thereby distinguishing between normal operation and maintenance, equipment failure, and abnormal scenarios such as human tampering. This improves the accuracy, completeness, and traceability of carbon emission data anomaly identification and reduces the risk of misjudgment caused by a single physical alarm or a single data verification.

[0062] Time synchronization and spatial registration are performed on data from various sensors to ensure a unified time reference (GPS / BeiDou time synchronization or NTP network time synchronization, with high accuracy). Align multi-source sensor data to generate a physical safety state vector for the enclosure:

[0063]

[0064] in, This indicates the door status (0 = closed, 1 = open). This represents the status of the i-th meter (0 = normal status, 1 = abnormal status). The wiring status is as follows: 0 = normal, 1 = CT circuit abnormal, 2 = voltage circuit abnormal. This is a sign of magnetic field anomaly (0 = normal, 1 = abnormal). This is a sign of abnormal vibration (0 = normal, 1 = abnormal).

[0065] Furthermore, a miniature CMOS camera is installed inside the meter box. When the box door is opened, the meter's status changes, or the carbon data is abnormal, it triggers the taking of photos of the internal state of the meter box, which are then stored as visual evidence in the chain of evidence. To protect user privacy, the camera only operates under triggered conditions, and the shooting area is limited to the wiring area inside the meter box, not the user's residence.

[0066] S102. Based on the physical state vector of the meter box, determine the physical event level corresponding to the meter box;

[0067] In the embodiments of this specification, the physical event level corresponding to the meter box is determined based on the physical state vector of the meter box. Specifically, when the door magnetic signal changes and no authorization token is matched (when the meter box is opened, opened for maintenance, an abnormal alarm occurs, or carbon data changes, the system generates or verifies an authorization token carrying information such as timestamp, device ID, event type, and operator identity; only when this token matches the system's expected token is the operation considered legal, and the physical event and carbon data change are associated with the same trusted evidence chain), the physical event is determined to be an unauthorized opening of the box door, and the physical event is encoded as PE-01, with the physical event level classified as medium; when the door opening duration is > ( When the default interval is 10 minutes, the physical event is determined to be that the cabinet door has not been closed for an extended period of time, and the physical event is coded as PE-02, with the physical event level classified as medium; when the meter's presence sensor signal is interrupted... ( When the default time is 5 seconds, the physical event is determined to be a meter presence abnormality, coded as PE-03, and classified as high-level; when the circuit impedance exceeds the normal range, the physical event is determined to be a CT secondary circuit abnormality, coded as PE-04, and classified as high-level; when the voltage signal is missing a phase or has an abnormal amplitude, the physical event is determined to be a voltage circuit abnormality, coded as PE-05, and classified as high-level; when the magnetic field strength exceeds the normal range by 3 times the standard deviation, the physical event is determined to be a strong magnetic interference detection, coded as PE-06, and classified as high-level; when the acceleration impact pulse is >0.5g, the physical event is determined to be a violent damage to the meter box, coded as PE-07, and classified as emergency.

[0068] S103. For meter boxes with a determined physical event level, collect carbon data information corresponding to the meters in the meter box based on a preset analysis time window, and calculate the degree of correlation between the meters in the meter box and the physical event based on the carbon data information.

[0069] In the embodiments of this specification, for each detected physical event (PE-01 to PE-07), its occurrence time is... Define the correlation analysis time window as the baseline. ,in This is the window for backtracking before the event (default 30 minutes). This is the post-event monitoring window (default 60 minutes). Within the association window, carbon data information of the meters in the meter box is collected, and the correlation between the meters in the meter box and the physical event is calculated based on the carbon data information.

[0070] In one possible implementation, calculating the correlation between the electricity meter in the meter box and the physical event based on the carbon data information includes:

[0071] Based on the carbon data information, the carbon emission data is evaluated for anomalies from at least one preset anomaly dimension to obtain a carbon data anomaly score.

[0072] Based on the carbon data anomaly score, the correlation between the meter readings in the meter box and the physical event is quantitatively characterized.

[0073] In the embodiments described in this specification, carbon emission data is evaluated for anomalies based on carbon data information from at least one preset anomaly dimension to obtain a carbon data anomaly score. Based on carbon data anomaly scoring, the correlation between meter readings and physical events within the meter box is quantitatively characterized.

[0074] Specifically, physical events The degree of correlation between the carbon data anomaly in the i-th partition table:

[0075]

[0076] in, Representing physical events The degree of correlation between the carbon data anomalies in the i-th sub-table and the data itself. A larger value indicates a stronger correlation between physical events and carbon data anomalies. This represents the average anomaly score of the carbon data in the i-th sub-table within the time window preceding the physical event. This represents the average anomaly score of the carbon data in the i-th sub-table within the time window following the physical event. Let be the percentage of the sharp drop in carbon emissions for the i-th sub-table. The moment when the physical event occurs. The moment when carbon data anomalies are first detected. The time decay constant (default) The time component (5 min) reflects the temporal proximity between physical events and carbon data anomalies: the faster carbon data anomalies appear after a physical event, the higher the time component score. For the weighting coefficients, satisfying ,default .

[0077] In one possible implementation, the preset anomaly dimension includes at least one of the following:

[0078] The carbon emission time series continuity verification dimension is used to calculate the change in carbon emission data between adjacent time intervals based on the current carbon emission data and the corresponding carbon emission data within the preset time window before and after it, and to determine whether the change exceeds the preset time series continuity threshold.

[0079] The multi-meter cross-validation verification dimension is used to determine the degree of deviation of the carbon emission data of the target meter relative to the carbon emission data of the other sub-meters based on the carbon emission data of each sub-meter in the meter box, and to determine whether the degree of deviation exceeds the preset multi-meter cross-validation threshold.

[0080] The carbon emission factor consistency verification dimension is used to verify whether the carbon emission factor used in the current carbon metering data matches the carbon emission factor corresponding to the current power supply area or the current power supply period.

[0081] The physical event level determination verification dimension is used to verify the consistency between the total electricity consumption of the meter box and the sum of the electricity consumption of each sub-meter.

[0082] In the embodiments described in this specification, the anomaly dimension includes at least one of the following:

[0083] The carbon emission time series continuity verification dimension is used to calculate the change in carbon emission data between adjacent time intervals based on the current carbon emission data and the corresponding carbon emission data within a preset time window before and after it, and to determine whether the change exceeds a preset time series continuity threshold. Specifically, it is manifested as follows:

[0084] Calculate the first difference of the carbon emission series for each sub-table:

[0085]

[0086] in, This represents the change in carbon emissions from the previous time point. This represents the carbon emissions at time k. This represents the carbon emissions at time k-1.

[0087] Under normal circumstances It should meet the following requirements:

[0088]

[0089] in, The relative change rate threshold (default 0.3, meaning the carbon emission change between adjacent sampling points does not exceed 30%). This is the tolerance value for absolute change (default 0.05 kgCO2, used to filter out small fluctuations).

[0090] When detected When the threshold is exceeded, it is marked as a timing jump anomaly. (Continuous occurrences...) When there are abrupt anomalies (default) This was determined to be an anomaly in the continuity of the carbon emission sequence.

[0091] Furthermore, particular attention is paid to the pattern of sudden drops in carbon emissions—the timing characteristics of sudden and significant decreases in carbon emissions caused by electricity theft:

[0092]

[0093] in, Let be the percentage of the sharp drop in carbon emissions for the i-th sub-table. This represents the carbon emissions within the time window preceding the abnormal event (by default, the average value is taken one hour before the event). This represents the carbon emissions within a time window following the abnormal event (the default value is the average of the first hour after the event). When When the carbon emissions drop by more than 50% (the default threshold is 0.5), it is considered an abnormal drop.

[0094] The multi-meter cross-validation verification dimension is used to determine the degree of deviation of the target meter's carbon emission data from the carbon emission data of the other sub-meters within the meter box, based on the carbon emission data of each sub-meter, and to determine whether the degree of deviation exceeds a preset multi-meter cross-validation threshold. Specifically, it is manifested as follows:

[0095] For N sub-meters within the meter box, calculate the rate of change in carbon emissions for each sub-meter:

[0096]

[0097] in, Let represent the rate of change in carbon emissions of the i-th electricity meter. It is a small constant (with a value of 10). -6 ( ), to prevent the denominator from being zero.

[0098] At the same sampling time The rate of change of carbon emissions from all sub-meters within the meter box constitutes a vector.

[0099] Calculate the median of the vector. and median absolute deviation :

[0100]

[0101] For the i-th table partition, define its deviation index. :

[0102]

[0103] when (default When the median absolute deviation (MAD) is approximately 3.5 times, it indicates that the carbon emission change pattern of this sub-meter deviates significantly from that of other sub-meters in the box. After ruling out common environmental causes, it is determined to be a suspected human-induced anomaly. Taking advantage of the fact that multiple meters in the meter box are in the same environment, the median absolute deviation (MAD) method is used to eliminate common environmental interference, effectively separating carbon data fluctuations caused by the environment from carbon data anomalies caused by human factors, thus reducing the false alarm rate.

[0104] The carbon emission factor consistency verification dimension is used to verify whether the carbon emission factor used in the current carbon metering data matches the carbon emission factor corresponding to the current power supply area or the current power supply period. Specifically, it is manifested as follows:

[0105] carbon emission factors It remains relatively stable within a 15-minute time window (the power grid structure does not change drastically on a minute-by-minute basis). This characteristic is used to perform consistency verification of carbon emission factors.

[0106] Calculate the carbon emission factor fluctuation index within a short time window :

[0107]

[0108] in, Number of sampling points within the window (default) (corresponding to 15 minutes) Let represent the carbon emission factor at time t. Indicates the sample index within the window. Indicates the sampling time interval. This represents the j-th historical moment within the window. This represents the window mean.

[0109] when When the default value is 0.05 kgCO2 / kWh, the carbon emission factor data is determined to be potentially tampered with (the local cache is maliciously modified or the data is tampered with during transmission).

[0110] At the same time, the locally cached carbon emission factor is compared with the baseline value synchronized in the cloud:

[0111]

[0112] in, This represents the absolute value of the difference between the locally cached carbon emission factor and the baseline value synchronized from the cloud. This represents the carbon emission factor cached locally. This represents the baseline value for cloud synchronization.

[0113] when When the local carbon emission factor is determined to be abnormal (default 0.02 kgCO2 / kWh), it will automatically revert to the cloud baseline value and trigger an alarm.

[0114] The physical event level determination verification dimension is used to verify the consistency between the total electricity consumption of the meter box and the sum of the electricity consumption of each sub-meter, specifically manifested as follows:

[0115] When the physical security layer detects physical events PE-01 to PE-07, it automatically encrypts the main-branch core frequency (from 15 minutes to 1 minute) and monitors the events before and after the physical events. The change, if a physical event occurs after If the carbon measurement data shows a significant increase (exceeding the normal range) and the change cannot be explained by environmental factors, then it is determined that a physical event has caused the carbon measurement data to be abnormal.

[0116] Furthermore,

[0117]

[0118] in, Indicates time Total score deviation, Indicates time Total meter reading This indicates that the i-th sub-table is at time i. The amount of electricity.

[0119] Carbon data anomaly scoring:

[0120]

[0121] in, Indicates anomaly scoring in carbon data. to Normalized anomaly scores (0 to 1) for each dimension. to These are the weighting coefficients. The closer the value is to 1, the more severe the carbon data anomaly.

[0122] S104. Based on the physical event level and the degree of correlation, determine the current tampering level from a plurality of preset judgment rules, and execute corresponding feedback measures based on the tampering level.

[0123] In the embodiments of this specification, based on the degree of correlation Based on the physical event type, the following association determination rules are defined:

[0124] Rule 1 (Strong Correlation - High Suspicion of Electricity Theft): (Default threshold 0.7) If the physical event type is PE-03 (meter in-situ abnormality), PE-04 (CT circuit abnormality), or PE-06 (strong magnetic interference), it is considered highly suspicious of electricity theft. An alarm is immediately triggered, notifying maintenance personnel to conduct on-site verification, and the carbon quota trading of that sub-meter is automatically frozen.

[0125] Rule Two (Medium-level correlation - Moderate suspicion of electricity theft): (Default threshold 0.4), physical event type PE-01 (unauthorized door opening) and carbon emission drop ratio The case was determined to be a moderate case of electricity theft. Encrypted carbon data was sampled every minute for 2 hours, and an early warning work order was generated.

[0126] Rule 3 (Weak Association - Normal Operation and Maintenance): (Default threshold 0.15), and the physical event type is PE-01 (box door open), and a valid operation and maintenance authorization token is matched after the door is opened, it is determined to be a normal operation and maintenance operation. The operation and maintenance log is recorded for future reference, and no alarm is triggered.

[0127] Rule 4 (Carbon data anomalies without physical events): (Default threshold 0.6), but there are no physical events within the associated window. If there is no change, it is judged as a suspected remote attack or equipment malfunction. This triggers the remote communication link security detection and equipment self-diagnosis process.

[0128] Rule 5 (Physical Event No Carbon Data Anomaly): A physical event was detected, but none of the tables within the associated window showed any carbon data anomalies. and Determine that the physical event did not cause anomalies in the carbon data (e.g., it was a false trigger or has already been fixed). Record the event for future reference and reduce its severity level.

[0129] In one possible implementation, the method further includes:

[0130] When the correlation degree exceeds a preset correlation threshold or the carbon data anomaly score exceeds a preset anomaly threshold, obtain the physical event record corresponding to the physical event, the carbon measurement data within the time period corresponding to the physical event, the correlation degree or the carbon data anomaly score, and the feedback measures determined based on the physical event and / or the carbon data anomaly.

[0131] The physical event record, the carbon measurement data, the correlation degree or the carbon data anomaly score, and the feedback measures are associated and encapsulated to generate a tamper-proof evidence chain that characterizes the causal relationship between the physical event and the carbon measurement data anomaly.

[0132] In the embodiments of this specification, an "event-triggered precise evidence storage" strategy is adopted: evidence is only stored when the physical-data correlation strength is strong. Exceeding the threshold ( (or carbon data anomaly score) Exceeding the threshold ( Only when this condition is met will a complete evidence record be generated and stored on the blockchain. (Single evidence record)

[0133] Includes the following fields:

[0134]

[0135] in: Represents the unique identifier of the event (UUID v4). Represents the precise timestamp of the event (ISO 8601 format, accurate to milliseconds). This indicates the physical event type code (PE-01 to PE-07) or the carbon data anomaly type code (CE-01 to CE-04). Represents the physical security state vector Snapshot, This represents a snapshot of carbon emission data in each sub-table before and after the event (including...). , , (and other key indicators) Indicates the strength of the correlation between physical and carbon data , This indicates the matching result and anomaly level of the association determination rule. This represents a record of response actions automatically executed by the system. This represents the SHA-256 hash value of the previous piece of evidence, forming a chain structure. : A national cryptographic SM2 digital signature for all fields (signed using the private key in the TPM security chip of the meter box gateway).

[0136] Evidence records are linked together using hash pointers to form an immutable chain of evidence:

[0137]

[0138] in, For the first The chain hash value of the evidence, This represents the k-th piece of evidence record. The initial root of trust hash for the meter box gateway (generated based on the TPM chip's unique ID and factory-preset key). The current head hash of the evidence chain. A hash anchor is performed every 15 minutes to the cloud-based notarized blockchain (which will...) (Write into the blockchain transaction) to ensure that the timeline of the entire evidence chain is tamper-proof.

[0139] Routine carbon measurement data is stored locally and backed up in the cloud, without blockchain notarization, significantly reducing the amount of data uploaded to the blockchain (more than 95% less than full blockchain upload). The local evidence chain storage uses a circular log structure, retaining complete evidence records for the most recent 90 days. Evidence records older than 90 days are archived, compressed, and uploaded to the cloud for long-term storage (retained for 10 years, meeting regulatory requirements for carbon trading data preservation). This application constructs a complete evidence record structure from physical events → carbon data snapshots → correlation analysis → judgment decisions → response actions. The verifiability and non-repudiation of each record are ensured through SHA-256 hash chains and the national cryptographic SM2 digital signature. Furthermore, an "event-triggered precise notarization" strategy is adopted, only storing carbon measurement data with abnormal physical-data correlations on the blockchain; routine carbon measurement data does not incur blockchain costs. Compared to the full carbon data on-chain solution, this reduces the amount of blockchain notarized data by more than 95%, making the meter-level carbon measurement tamper-proof solution economically feasible for large-scale deployment.

[0140] In one possible implementation, the method further includes:

[0141] Obtain the evidence chain corresponding to the time to be verified;

[0142] The digital signatures of each evidence node in the evidence chain are verified using the public key corresponding to the meter box.

[0143] Along the order of the nodes in the chain of evidence, calculate the data hash value of the current evidence node one by one, and compare it with the hash value stored in the previous evidence node;

[0144] Based on the on-chain storage timestamps of each evidence node in the evidence chain, the temporal continuity and hash anchoring validity of the evidence chain are verified.

[0145] In the embodiments described in this specification, any third party (regulatory agency, carbon trading platform, judicial body) can independently verify the completeness and authenticity of the chain of evidence through the following steps: 1. Obtain the evidence records corresponding to the event to be verified. 2. Use the public key of the meter box gateway TPM chip for verification. 3. Calculate the validity of the SM2 signature; The SHA-256 hash, and 4. Compare; trace back along the chain of evidence and verify each link. 5. Verify consistency by querying the anchored transactions on the cloud-based notarized blockchain. The on-chain timestamp of the evidence. The above five verification steps ensure the immutability of any record in the evidence chain—modification of any record will cause all subsequent hash values ​​to change and become inconsistent with the anchor hash on the cloud-based notarized chain.

[0146] The following will be combined with the appendix Figure 2 This application provides a detailed description of the anti-tampering device for carbon metering in electricity meter boxes based on two-dimensional verification of physical data, as provided in the embodiments of this application. It should be noted that the appendix... Figure 2 The tamper-proof device for carbon metering in the meter box based on physical data dual-dimensional verification shown is used to perform the functions described in this application. Figure 1 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts relevant to the embodiments of this application. For specific technical details not disclosed, please refer to this application. Figure 1 The example shown.

[0147] Please see Figure 2 , Figure 2 This is a schematic diagram of the structure of the anti-tampering device for carbon metering in an electricity meter box based on two-dimensional verification of physical data, provided in an embodiment of this application. Figure 2 As shown, the device includes:

[0148] The physical information acquisition module 201 is used to acquire at least one state information of the meter box, and to perform time alignment processing on each state information to construct a physical state vector of the meter box. The physical state vector of the meter box represents the physical state change of the meter box within a preset time range.

[0149] The physical state determination module 202 is used to determine the physical event level corresponding to the meter box based on the physical state vector of the meter box;

[0150] The data physical association module 203 is used to collect carbon data information corresponding to the meters in the meter box with a determined physical event level based on a preset analysis time window, and calculate the degree of association between the meters in the meter box and the physical event based on the carbon data information.

[0151] The determination and execution module 204 is used to determine the current tampering level from a plurality of preset determination rules based on the physical event level and the degree of correlation, and to execute corresponding feedback measures based on the tampering level.

[0152] In one possible implementation, the physical information acquisition module 201 is specifically used for:

[0153] The status information includes door status information, meter location information, wiring status information, electromagnetic environment information, and vibration displacement information. The door status information is used to characterize the opening and closing state of the meter box door. The meter location information is used to characterize the installation position of the meter inside the meter box. The wiring status information is used to characterize the state of the CT secondary circuit inside the meter box. The electromagnetic environment information is used to characterize the magnetic field distribution inside the meter box. The vibration displacement information is used to characterize the acceleration signal of the meter box.

[0154] In one possible implementation, the data physical association module 203 is specifically used for:

[0155] Based on the carbon data information, the carbon emission data is evaluated for anomalies from at least one preset anomaly dimension to obtain a carbon data anomaly score.

[0156] Based on the carbon data anomaly score, the correlation between the meter readings in the meter box and the physical event is quantitatively characterized.

[0157] In one possible implementation, the data physical association module 203 is specifically used for:

[0158] The preset anomaly dimension includes at least one of the following:

[0159] The carbon emission time series continuity verification dimension is used to calculate the change in carbon emission data between adjacent time intervals based on the current carbon emission data and the corresponding carbon emission data within the preset time window before and after it, and to determine whether the change exceeds the preset time series continuity threshold.

[0160] The multi-meter cross-validation verification dimension is used to determine the degree of deviation of the carbon emission data of the target meter relative to the carbon emission data of the other sub-meters based on the carbon emission data of each sub-meter in the meter box, and to determine whether the degree of deviation exceeds the preset multi-meter cross-validation threshold.

[0161] The carbon emission factor consistency verification dimension is used to verify whether the carbon emission factor used in the current carbon metering data matches the carbon emission factor corresponding to the current power supply area or the current power supply period.

[0162] The physical event level determination verification dimension is used to verify the consistency between the total electricity consumption of the meter box and the sum of the electricity consumption of each sub-meter.

[0163] In one possible implementation, the data physical association module 203 is specifically used for:

[0164] Calculate the carbon emission change rate of each meter in the meter box;

[0165] Calculate the median and median absolute deviation of the carbon emission changes for each meter at the same sampling time;

[0166] The deviation of each meter is calculated based on the absolute deviation between the median and the median.

[0167] In one possible implementation, the determination execution module 204 is specifically used for:

[0168] When the correlation degree exceeds a preset correlation threshold or the carbon data anomaly score exceeds a preset anomaly threshold, obtain the physical event record corresponding to the physical event, the carbon measurement data within the time period corresponding to the physical event, the correlation degree or the carbon data anomaly score, and the feedback measures determined based on the physical event and / or the carbon data anomaly.

[0169] The physical event record, the carbon measurement data, the correlation degree or the carbon data anomaly score, and the feedback measures are associated and encapsulated to generate a tamper-proof evidence chain that characterizes the causal relationship between the physical event and the carbon measurement data anomaly.

[0170] In one possible implementation, the determination execution module 204 is specifically used for:

[0171] Obtain the evidence chain corresponding to the time to be verified;

[0172] The digital signatures of each evidence node in the evidence chain are verified using the public key corresponding to the meter box.

[0173] Along the order of the nodes in the chain of evidence, calculate the data hash value of the current evidence node one by one, and compare it with the hash value stored in the previous evidence node;

[0174] Based on the on-chain storage timestamps of each evidence node in the evidence chain, the temporal continuity and hash anchoring validity of the evidence chain are verified.

[0175] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.

[0176] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.

[0177] See Figure 3 It shows a schematic diagram of the structure of an electronic device according to an embodiment of this application, which can be used to implement... Figure 1 The method in the illustrated embodiment. (As shown) Figure 3 As shown, the electronic device 300 may include: at least one central processing unit 301, at least one network interface 304, user interface 303, memory 305, and at least one communication bus 302.

[0178] The communication bus 302 is used to enable communication between these components.

[0179] The user interface 303 may include a display screen and a camera. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0180] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0181] The central processing unit 301 may include one or more processing cores. The central processing unit 301 connects to various parts within the electronic device 300 using various interfaces and lines. It executes various functions of the terminal 300 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and by calling data stored in the memory 305. Optionally, the central processing unit 301 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The central processing unit 301 may integrate one or more of the following: a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the central processing unit 301.

[0182] The memory 305 may include random access memory (RAM) or read-only memory. Optionally, the memory 305 may include a non-transitory computer-readable storage medium. The memory 305 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 305 may also be at least one storage device located remotely from the aforementioned central processing unit 301. Figure 3 As shown, the memory 305, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.

[0183] exist Figure 3 In the illustrated electronic device 300, the user interface 303 is mainly used to provide an input interface for the user and to acquire user input data; while the central processing unit 301 can be used to call the application program stored in the memory 305 and specifically perform the following operations:

[0184] S101. Obtain at least one state information of the meter box, and perform time alignment processing on each state information to construct a meter box physical state vector. The meter box physical state vector is used to characterize the physical state change of the meter box within a preset time range.

[0185] S102. Based on the physical state vector of the meter box, determine the physical event level corresponding to the meter box;

[0186] S103. For meter boxes with a determined physical event level, collect carbon data information corresponding to the meters in the meter box based on a preset analysis time window, and calculate the degree of correlation between the meters in the meter box and the physical event based on the carbon data information.

[0187] S104. Based on the physical event level and the degree of correlation, determine the current tampering level from a plurality of preset judgment rules, and execute corresponding feedback measures based on the tampering level.

[0188] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0189] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0190] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0191] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0192] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0193] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0194] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0195] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0196] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of embodiments of this disclosure upon considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.

Claims

1. A method for preventing tampering of carbon metering in electricity meter boxes based on two-dimensional verification of physical data, characterized in that, The method includes: At least one state information of the meter box is obtained, and time alignment processing is performed on each state information to construct a meter box physical state vector. The meter box physical state vector is used to characterize the physical state change of the meter box within a preset time range. Based on the physical state vector of the meter box, the physical event level corresponding to the meter box is determined; For meter boxes with a determined physical event level, carbon data information corresponding to the meters in the meter box is collected based on a preset analysis time window, and the degree of correlation between the meters in the meter box and the physical event is calculated based on the carbon data information. Based on the physical event level and the degree of correlation, the current tampering level is determined from a plurality of preset judgment rules, and corresponding feedback measures are executed based on the tampering level.

2. The method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data as described in claim 1, characterized in that, The status information includes door status information, meter location information, wiring status information, electromagnetic environment information, and vibration displacement information. The door status information is used to characterize the opening and closing state of the meter box door. The meter location information is used to characterize the installation position of the meter inside the meter box. The wiring status information is used to characterize the state of the CT secondary circuit inside the meter box. The electromagnetic environment information is used to characterize the magnetic field distribution inside the meter box. The vibration displacement information is used to characterize the acceleration signal of the meter box.

3. The method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data according to claim 1, characterized in that, The calculation of the correlation between the electricity meter in the meter box and the physical event based on the carbon data information includes: Based on the carbon data information, the carbon emission data is evaluated for anomalies from at least one preset anomaly dimension to obtain a carbon data anomaly score. Based on the carbon data anomaly score, the correlation between the meter readings in the meter box and the physical event is quantitatively characterized.

4. The method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data according to claim 3, characterized in that, The preset anomaly dimension includes at least one of the following: The carbon emission time series continuity verification dimension is used to calculate the change in carbon emission data between adjacent time intervals based on the current carbon emission data and the corresponding carbon emission data within the preset time window before and after it, and to determine whether the change exceeds the preset time series continuity threshold. The multi-meter cross-validation verification dimension is used to determine the degree of deviation of the carbon emission data of the target meter relative to the carbon emission data of the other sub-meters based on the carbon emission data of each sub-meter in the meter box, and to determine whether the degree of deviation exceeds the preset multi-meter cross-validation threshold. The carbon emission factor consistency verification dimension is used to verify whether the carbon emission factor used in the current carbon metering data matches the carbon emission factor corresponding to the current power supply area or the current power supply period. The physical event level determination verification dimension is used to verify the consistency between the total electricity consumption of the meter box and the sum of the electricity consumption of each sub-meter.

5. The method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data according to claim 4, characterized in that, The dimensions of the multi-table cross-validation include: Calculate the carbon emission change rate of each meter in the meter box; Calculate the median and median absolute deviation of the carbon emission changes for each meter at the same sampling time; The deviation of each meter is calculated based on the absolute deviation between the median and the median.

6. The method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data according to claim 3, characterized in that, The method further includes: When the correlation degree exceeds a preset correlation threshold or the carbon data anomaly score exceeds a preset anomaly threshold, obtain the physical event record corresponding to the physical event, the carbon measurement data within the time period corresponding to the physical event, the correlation degree or the carbon data anomaly score, and the feedback measures determined based on the physical event and / or the carbon data anomaly. The physical event record, the carbon measurement data, the correlation degree or the carbon data anomaly score, and the feedback measures are associated and encapsulated to generate a tamper-proof evidence chain that characterizes the causal relationship between the physical event and the carbon measurement data anomaly.

7. The method for preventing tampering of carbon metering in an electricity meter box based on two-dimensional verification of physical data according to claim 6, characterized in that, The method further includes: Obtain the evidence chain corresponding to the time to be verified; The digital signatures of each evidence node in the evidence chain are verified using the public key corresponding to the meter box. Along the order of the nodes in the chain of evidence, calculate the data hash value of the current evidence node one by one, and compare it with the hash value stored in the previous evidence node; Based on the on-chain storage timestamps of each evidence node in the evidence chain, the temporal continuity and hash anchoring validity of the evidence chain are verified.

8. A tamper-proof device for carbon metering in an electricity meter box based on two-dimensional verification of physical data, characterized in that, The device includes: The physical information acquisition module is used to acquire at least one state information of the meter box, and to perform time alignment processing on each state information to construct a physical state vector of the meter box. The physical state vector of the meter box represents the physical state change of the meter box within a preset time range. The physical state determination module is used to determine the physical event level corresponding to the meter box based on the physical state vector of the meter box; The data physical association module is used to collect carbon data information corresponding to the meters in the meter box with a determined physical event level based on a preset analysis time window, and calculate the degree of association between the meters in the meter box and the physical event based on the carbon data information. The determination and execution module is used to determine the current tampering level from a plurality of preset determination rules based on the physical event level and the degree of correlation, and to execute corresponding feedback measures based on the tampering level.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as claimed in any one of claims 1-7.