Electric carbon metering method and device based on electric energy meter, electronic equipment and medium

By determining the metering cycle difference based on the system time and electricity settlement time of the electricity meter, and combining it with the carbon emission factor to calculate carbon emission data, the problem of low accuracy and high cost in traditional carbon emission metering methods is solved, and accurate and real-time carbon emission metering is achieved.

CN121502125BActive Publication Date: 2026-04-07ZHEJIANG CHINT INSTR & METER
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-01-12
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Traditional methods of measuring carbon emissions have low accuracy and high cost, and fail to fully utilize the data acquisition advantages of smart meters, thus failing to achieve accurate carbon emissions measurement.

Method used

The metering cycle difference is determined by the system time and electricity settlement time of the electricity meter, adjacent metering cycles are identified, the current interval electricity increment data is converted into historical data, and carbon emission data is calculated by combining the electricity carbon factor and the historical interval electricity increment data. Accurate electricity carbon metering is carried out using existing electricity meter hardware.

Benefits of technology

It improves the accuracy of carbon metering and reduces costs, while also capturing time-of-use differences in electricity consumption, ensuring data accuracy and real-time performance, and adapting to carbon metering needs in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121502125B_ABST
    Figure CN121502125B_ABST
Patent Text Reader

Abstract

This application relates to the field of carbon emission metering technology, and discloses a method, device, electronic device, and medium for carbon emission metering based on an electricity meter. The method includes: determining the metering cycle difference based on the system time and electricity settlement time of the electricity meter; the electricity settlement time is the time of the most recent execution of the interval electricity increment storage operation; when the metering cycle difference is 1 and the system time is greater than the electricity settlement time, using the current interval electricity increment data as historical interval electricity increment data; dividing a single metering cycle into multiple intervals; reading the carbon emission factor from the electricity meter and determining the validity of the carbon emission factor; if the carbon emission factor is valid, reading historical interval electricity increment data from the electricity meter; and determining the carbon emission data for the previous metering cycle based on the carbon emission factor and historical interval electricity increment data. This application improves the accuracy of carbon emission metering and reduces costs by performing carbon emission metering and accounting.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electric carbon metering, and in particular to an electric carbon metering method and device based on an electric energy meter, an electronic device, and a medium. BACKGROUND

[0002] With the urgent demand for low-carbon transformation of the power industry, electric carbon metering has become a problem to be solved in the field. Traditional electric carbon metering methods mainly use macro statistical methods of centralized accounting or rely on additional installation of special metering equipment. The above traditional electric carbon metering methods have the problems of low accounting accuracy and high cost. SUMMARY

[0003] The present application provides an electric carbon metering method and device based on an electric energy meter, an electronic device, and a medium to solve the problems of low accounting accuracy and high cost of electric carbon metering.

[0004] In a first aspect, the present application provides an electric carbon metering method based on an electric energy meter, which comprises:

[0005] determining a metering period difference value according to a system time of the electric energy meter and an electric energy settlement time; the electric energy settlement time is the time of the last time an interval electric energy increment storage operation is performed;

[0006] when the metering period difference value is 1 and the system time is greater than the electric energy settlement time, taking current interval electric energy increment data as historical interval electric energy increment data; the historical interval electric energy increment data is interval electric energy increment data corresponding to each interval in the last metering period of the current metering period; the metering period difference value of 1 indicates that the metering period in which the system time is located and the metering period in which the electric energy settlement time is located are adjacent metering periods; a single metering period is divided into multiple intervals;

[0007] reading an electric carbon factor from the electric energy meter and determining the legality of the electric carbon factor;

[0008] if the electric carbon factor is legal, reading the historical interval electric energy increment data from the electric energy meter;

[0009] determining carbon emission data in the last metering period according to the electric carbon factor and the historical interval electric energy increment data.

[0010] The method provided in the embodiment can identify adjacent measurement periods by determining the measurement period difference value through the system time of the electric energy meter and the electric energy settlement time, and can convert the current interval electric energy increment data into historical data, i.e., historical interval electric energy increment data, when switching the measurement period, and can calculate the carbon emission data by combining the electric carbon factor and the historical interval electric energy increment data, thereby realizing accurate electric carbon measurement based on the existing electric energy meter hardware, improving the measurement accuracy, and reducing the cost without the need of additionally installing special equipment, and fully utilizing the data acquisition advantage of the electric energy meter, thereby solving the problem of the traditional macro statistical method that is extensive and does not consider the time period difference.

[0011] In an optional implementation, the method further includes:

[0012] When the measurement period difference value is 1 and the system time is greater than the electric energy settlement time, performing an interval electric energy increment storage operation.

[0013] The method provided in the embodiment can realize the collection and storage of the interval electric energy increment data corresponding to the system time in the current measurement period when the measurement period difference value is 1 and the system time is greater than the electric energy settlement time, avoid data omission, further improve the accuracy of the interval electric energy increment data, and improve the reliability of subsequent carbon emission data calculation.

[0014] In an optional implementation, the method further includes:

[0015] When the measurement period difference value is 0 and the interval number corresponding to the system time is different from the interval number corresponding to the electric energy settlement time, performing an interval electric energy increment storage operation; the interval number is obtained by numbering each interval when a single measurement period is divided into multiple intervals;

[0016] Updating the electric energy settlement time to the system time to obtain an updated electric energy settlement time.

[0017] The method provided in the embodiment can perform an interval electric energy increment storage operation and update the electric energy settlement time when the system time and the electric energy settlement time belong to different intervals in the same measurement period, thereby realizing the real-time collection and storage of the interval electric energy increment data in a single measurement period, ensuring that the interval electric energy increment data of each interval accurately corresponds to the time period, solving the defect that the traditional measurement method cannot capture the difference in time-of-use electricity, and providing subdivided data support for subsequent matching of the electric carbon factor and accurate calculation of carbon emission according to intervals.

[0018] In an optional implementation, the performing of the interval electric energy increment storage operation includes:

[0019] The difference between the first electric energy and the second electric energy is taken as interval electric energy increment data of the interval corresponding to the system time, and the interval electric energy increment data of the interval corresponding to the system time is stored; the first electric energy is total active electric energy corresponding to the system time; and the second electric energy is total active electric energy corresponding to the electric energy settlement time.

[0020] The method provided by the embodiment directly calculates based on core electric power parameters collected by an electric energy meter in real time, takes the difference between total active electric energy corresponding to a system time and total active electric energy corresponding to an electric energy settlement time as interval electric energy increment data, does not need complex conversion or additional data input, ensures the authenticity and calculation efficiency of interval electric energy increment data, and simultaneously meets the hardware data collection capability of an intelligent electric energy meter and fully gives play to the functional advantages of existing equipment.

[0021] In an optional implementation, the method further includes:

[0022] When the metering period difference is greater than 1, the current interval electric energy increment data and the historical interval electric energy increment data are deleted.

[0023] The method provided by the embodiment deletes current and historical interval electric energy increment data when the metering period difference is greater than 1, avoids invalid or erroneous data caused by time disorder from participating in carbon emission calculation, guarantees the accuracy of electric carbon metering from a data source, and solves the problem of unreliable data in an electric energy meter time correction, power-off and other abnormal scenarios.

[0024] In an optional implementation, the method further includes:

[0025] The type of the electric carbon factor is determined; the type of the electric carbon factor includes a general type or an interval type;

[0026] When the type of the electric carbon factor is the general type, it is determined that the electric carbon factor is legal;

[0027] When the type of the electric carbon factor is the interval type, it is determined whether a metering period corresponding to the electric carbon factor is a previous metering period of a current metering period;

[0028] If the metering period corresponding to the electric carbon factor is the previous metering period of the current metering period, it is determined that the electric carbon factor is legal;

[0029] If the metering period corresponding to the electric carbon factor is not the previous metering period of the current metering period, it is determined that the electric carbon factor is illegal.

[0030] The method provided by the embodiment distinguishes the general type and the interval type of the electric carbon factor, formulates the legality determination rule in a targeted manner, the electric carbon factor is directly legal for the general type, and the electric carbon factor needs to be matched with the metering period to be legal for the interval type, which adapts to the electric carbon metering demand in different scenes, avoids the calculation error caused by the mismatch between the electric carbon factor and the metering period, ensures the corresponding consistency of the electric carbon factor and the historical interval electric energy increment data, and further improves the calculation precision of the carbon emission data.

[0031] In an optional implementation, the determining of the carbon emission data in the last metering period according to the electric carbon factor and the historical interval electric energy increment data comprises:

[0032] multiplying the electric carbon factor and the historical interval electric energy increment data to obtain the carbon emission data in the last metering period.

[0033] The method provided by the embodiment directly multiplies the electric carbon factor and the historical interval electric energy increment data to obtain the carbon emission data, the calculation logic is simple and efficient, a complex algorithm model is not needed, the operation capability of the smart electric energy meter is adapted to, and the carbon emission data in each interval and the whole period can be quickly output, the real-time performance and the practicability of the electric carbon metering are realized, and the quick acquisition demand of the carbon emission data is met.

[0034] In a second aspect, the application provides an electric carbon metering device based on an electric energy meter, which comprises:

[0035] a first processing module configured to determine a metering period difference value according to a system time of the electric energy meter and an electric energy settlement time; the electric energy settlement time is a time of the last time of performing an interval electric energy increment storage operation;

[0036] a second processing module configured to, when the metering period difference value is 1 and the system time is greater than the electric energy settlement time, take current interval electric energy increment data as historical interval electric energy increment data; the historical interval electric energy increment data is interval electric energy increment data corresponding to each interval in the last metering period of the current metering period; the metering period difference value being 1 indicates that the metering period in which the system time is located and the metering period in which the electric energy settlement time is located are adjacent metering periods; a single metering period is divided into multiple intervals;

[0037] a third processing module configured to read an electric carbon factor from the electric energy meter and determine the legality of the electric carbon factor; if the electric carbon factor is legal, read the historical interval electric energy increment data from the electric energy meter;

[0038] a fourth processing module configured to determine carbon emission data in the last metering period according to the electric carbon factor and the historical interval electric energy increment data.

[0039] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, which are connected to each other in communication, the memory stores computer instructions, and the processor executes the computer instructions to perform the electric carbon metering method based on an electric energy meter according to the first aspect or any one of the corresponding embodiments thereof.

[0040] In a fourth aspect, the present application provides a computer readable storage medium, which stores computer instructions for causing a computer to perform the electric carbon metering method based on an electric energy meter according to the first aspect or any one of the corresponding embodiments thereof.

[0041] In a fifth aspect, the present application provides a computer program product, which comprises computer instructions for causing a computer to perform the electric carbon metering method based on an electric energy meter according to the first aspect or any one of the corresponding embodiments thereof. BRIEF DESCRIPTION OF DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the specific embodiments or prior art in the present application, the drawings needed to be used in the description of the specific embodiments or prior art will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0043] Figure 1 is a schematic diagram of an application scenario according to an embodiment of the present application;

[0044] Figure 2 is a flowchart of an electric carbon metering method based on an electric energy meter according to an embodiment of the present application;

[0045] Figure 3 is a schematic diagram of a related process of a day switching according to an embodiment of the present application;

[0046] Figure 4 is a schematic diagram of a related process of an interval switching according to an embodiment of the present application;

[0047] Figure 5 is a schematic diagram of a related process in a time anomaly according to an embodiment of the present application;

[0048] Figure 6 is a schematic diagram of an electric carbon metering system according to an embodiment of the present application;

[0049] Figure 7 is a schematic diagram of a calculation and storage process of interval electric energy increment data according to an embodiment of the present application;

[0050] Figure 8 is a schematic diagram of an electric carbon data freezing process according to an embodiment of the present application;

[0051] Figure 9 This is a structural block diagram of an energy meter-based carbon metering device according to an embodiment of this application;

[0052] Figure 10 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0054] It is understood that before using the technical solutions disclosed in the various embodiments of this application, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this application in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0055] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0056] As one optional application scenario in the embodiments of this application, such as Figure 1 As shown, the electricity meter-based carbon metering system may include at least one terminal device and at least one server. Figure 1 The system is illustrated in the example, which includes a computer 101, a mobile terminal 102, and a server 103, and the terminal devices such as the computer 101 and the mobile terminal 102 are connected to the server 103 through a network 110.

[0057] The terminal device can be a power meter, smartphone, tablet, laptop, PDA, or desktop computer. Server 103 can be a standalone physical server, a server cluster, a distributed system, or a cloud server providing cloud services. Network 110 can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranets, local area networks, wide area networks, mobile communication networks, and combinations thereof.

[0058] Currently, the application of smart meters is still limited to the traditional field of electricity metering. Their massive data collection capabilities have not been effectively combined with the needs of carbon emission metering, leading to numerous technical bottlenecks in the carbon emission metering system. Related carbon emission metering methods mainly suffer from three problems: First, the calculation methods are crude, mostly using macro-statistical methods and failing to consider the correlation between electricity consumption periods, load characteristics, and real-time carbon emission intensity. Second, smart meter functions are limited; existing equipment has not developed dedicated functional modules for carbon emission metering, data is not interconnected with carbon emission databases, and the hardware advantages are not fully utilized. Third, applicability and visualization are insufficient; existing carbon emission metering methods are mostly designed for large industrial users, lacking lightweight civilian solutions, regional / industry standards are inconsistent, and real-time display of carbon emission data is impossible, hindering efforts to support low-carbon transformation.

[0059] According to an embodiment of this application, an embodiment of an electricity carbon metering method based on an electricity meter is provided to solve the above-mentioned problems. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0060] This embodiment provides a method for measuring carbon dioxide based on an electricity meter, which can be used in the aforementioned mobile terminals, such as electricity meters, smartphones, tablets, etc. Figure 2 This is a flowchart of an energy meter-based carbon metering method according to an embodiment of this application, as shown below. Figure 2 As shown, the process includes the following steps:

[0061] Step S201: Determine the metering cycle difference based on the system time and electricity settlement time of the electricity meter.

[0062] In this embodiment, the electricity settlement time is the time of the most recent execution of the interval electricity incremental storage operation. The electricity meter used in this application is a smart meter, which has core functions such as real-time data acquisition, two-way communication, and multi-parameter measurement. It can accurately record key power parameters such as voltage, current, power, and electricity consumption of users, and upload the data to the power grid dispatch center in real time through the power information acquisition system, providing a reliable data foundation for power grid load forecasting, orderly electricity consumption management, power quality monitoring, and electricity bill settlement.

[0063] In this embodiment, the electricity meter can store incremental electricity data within a preset number of metering cycles. As an example, with a preset number of 2 and a metering cycle of days, the electricity meter can store incremental electricity data within 2 days, in which case the metering cycle is 1 day. The 24 hours of a day are evenly divided into multiple intervals, and each interval is sequentially numbered to obtain an interval number. The interval number can be represented by any combination of numbers, letters, and symbols. As an example, if the 24 hours of a day are evenly divided into 96 intervals, each interval is 15 minutes long. For example, 00:00~00:14:59 corresponds to interval number N1, and 00:15~00:29:59 corresponds to interval number N2. Or, (0:00, 0:15] corresponds to interval number N1, and (0:15, 0:30] corresponds to interval number N2.

[0064] In this embodiment, the interval length can be set to an integer multiple of 15 minutes, and the number of intervals will decrease accordingly. The number of intervals and the interval length can be freely divided. Considering that the minute freeze design of general electricity meters is 15 minutes, this application preferably divides 24 hours of a day into 96 intervals, each interval being 15 minutes. The above design is the most reasonable.

[0065] Step S202: When the metering cycle difference is 1 and the system time is greater than the electricity settlement time, the current interval electricity increment data is used as the historical interval electricity increment data.

[0066] In this embodiment, the historical interval energy increment data refers to the interval energy increment data corresponding to each interval within the previous metering cycle of the current metering cycle. A metering cycle difference of 1 indicates that the metering cycle in which the system time is located and the metering cycle in which the energy settlement time is located are adjacent metering cycles. A single metering cycle is divided into multiple intervals.

[0067] In this embodiment, when the preset quantity is 2 and the metering period is daily, the historical interval energy increment data is the interval energy increment data corresponding to the 96 intervals of the previous day, and the current interval energy increment data is the interval energy increment data corresponding to the 96 intervals of the current day. The metering period difference is the absolute difference between the days in the date range.

[0068] For example, if the system time is 2025.10.10, 00:14:59, and the electricity billing time is 2025.10.9, 23:59:59, the electricity meter stores interval electricity increment data. The historical interval electricity increment data (interval electricity increment data corresponding to the 96 intervals of the previous day) is the data from 2025.10.8, and the current interval electricity increment data (interval electricity increment data corresponding to the 96 intervals of the current day) is the data from 2025.10.9. A system time of 2025.10.10, 00:14:59 indicates that the next metering cycle is approaching, and a daily switchover is initiated. The relevant procedures for the daily switchover are as follows... Figure 3 As shown, when the metering cycle difference is 1 and the system time is greater than the electricity billing time, an interval electricity increment storage operation is performed. The interval electricity increment data with system time 2025.10.10, 00:14:59 and interval number N1 is stored. The current interval electricity increment data (data from 2025.10.9) is read, the historical interval electricity increment data (data from 2025.10.8) is updated to the current interval electricity increment data (data from 2025.10.9), the current interval electricity increment data (data from 2025.10.9) is cleared to zero, and the data from 2025.10.10 is used as the current interval electricity increment data.

[0069] Step S203: Read the carbon factor from the electricity meter and determine its validity. If the carbon factor is valid, read the historical interval electricity increment data from the electricity meter.

[0070] In this embodiment of the application, if the carbon factor is invalid, the second part of the carbon emission data will not be calculated and stored (frozen), and the historical interval energy increment data will not be read from the electricity meter.

[0071] Step S204: Determine the carbon emission data for the previous metering cycle based on the carbon factor and historical interval electricity increment data.

[0072] In this embodiment, carbon emission data from the previous metering cycle is stored (frozen) to obtain a new frozen electricity carbon data record. This application can meter and monitor electricity data and carbon emission data.

[0073] The carbon metering in this application is divided into two parts: the first part is the calculation and storage of incremental electrical energy data within a given range, and the second part is the calculation and storage (freezing) of carbon emission data. Considering that electrical energy includes two types, reverse active energy and forward active energy, this application uses forward active energy as an example for explanation of the embodiments. The processing of reverse active energy and forward active energy is the same, and will not be repeated here.

[0074] Reverse active power refers to the active power generated when the user side (such as distributed photovoltaic, energy storage power station, etc.) transmits power to the grid. That is, the direction of power flow is opposite to the direction of power supply from the grid. It is the power fed back to the grid by the user and is commonly seen in the scenario of surplus power from new energy power generation users being fed into the grid.

[0075] Positive active power refers to the active power generated when the power grid transmits power to the user side (such as industrial enterprises, commercial places, residential buildings, etc.). In other words, the power flows from the power grid to the user to meet the operating needs of various electrical equipment of the user. It is the power generated in the most common power consumption scenario.

[0076] The core difference between the two lies in the opposite direction of the flow of electrical energy. However, the logic for calculating and storing the interval increments of the two types of electrical energy in this application, as well as the subsequent calculation of carbon emission data in combination with the electrical carbon factor, is completely consistent. It is only necessary to independently store the data through the reverse active current / previous day 96 interval electrical energy increment array and the positive active current / previous day 96 interval electrical energy increment array, and finally output the carbon emission data corresponding to the positive and reverse electrical energy respectively, so as to ensure the comprehensiveness of electrical carbon metering and adapt to complex electricity consumption scenarios including new energy power generation.

[0077] When the metering cycle difference is 1 and the system time is greater than the electricity settlement time, new historical interval electricity increment data (data from October 9, 2025) is obtained. At this time, the second part of carbon emission data is calculated and stored (frozen), which is the relevant scheme of steps S203 and S204.

[0078] This embodiment determines the metering cycle difference by using the system time and electricity settlement time of the electricity meter. It can identify adjacent metering cycles, and when switching metering cycles, it converts the current interval's electricity increment data into historical data, i.e., historical interval electricity increment data. Combined with the electricity carbon factor and historical interval electricity increment data, carbon emission data is calculated, realizing accurate electricity carbon metering based on existing electricity meter hardware. This improves metering accuracy, eliminates the need for additional special equipment, reduces costs, and fully utilizes the data acquisition advantages of the electricity meter. It also solves the problems of traditional macro-statistical methods being crude and not considering time-period differences.

[0079] In one optional implementation, the electricity meter-based carbon metering method further includes:

[0080] When the metering cycle difference is 0, and the interval number corresponding to the system time is different from the interval number corresponding to the electricity settlement time, an interval electricity incremental storage operation is performed. The electricity settlement time is then updated to the system time to obtain the updated electricity settlement time.

[0081] In this embodiment, the interval number is obtained by numbering each interval when a single metering period is sequentially divided into multiple intervals. In this embodiment, performing the interval energy increment storage operation includes:

[0082] The difference between the first and second electrical energy values ​​is used as the interval electrical energy increment data corresponding to the system time interval, and this interval electrical energy increment data is stored. The first electrical energy value is the total active electrical energy corresponding to the system time. The second electrical energy value is the total active electrical energy corresponding to the electricity settlement time. Total active electrical energy refers to the cumulative total electrical energy value (usually measured in kilowatt-hours, kWh) measured in real time by the smart meter, which characterizes the actual work capacity of electrical energy.

[0083] In this embodiment, the metering cycle difference is 0, and the different interval numbers corresponding to the system time and the electricity settlement time indicate that the system time and the electricity settlement time belong to different intervals within the same metering cycle. Taking the interval number corresponding to the system time as 2 and the interval number corresponding to the electricity settlement time as 1 as an example, the relevant process for interval switching is as follows: Figure 4 As shown, the total active energy (positive active energy) corresponding to the system time is read from the energy meter, which is the first energy; the total active energy (positive active energy) corresponding to the energy billing time is read from the energy meter, which is the second energy; and the difference between the first energy and the second energy is calculated. If only one energy change occurs within the same interval, the difference is used as the interval energy increment data corresponding to the system time. If multiple energy changes occur within the same interval, the differences are accumulated into the interval energy increment data corresponding to the system time. The energy settlement time is updated to the system time to obtain the updated energy settlement time. The total active energy corresponding to the energy settlement time is updated to the total active energy corresponding to the system time to obtain the updated total active energy corresponding to the energy settlement time. In other words, the second energy is updated to the first energy to obtain the updated second energy.

[0084] This embodiment uses the difference between the total active energy corresponding to the system time and the total active energy corresponding to the electricity settlement time as the interval energy increment data. It directly calculates based on the core power parameters collected in real time by the electricity meter, without the need for complex conversion or additional data input. This ensures the authenticity of the interval energy increment data and the calculation efficiency, while also matching the hardware data acquisition capabilities of the smart electricity meter and giving full play to the functional advantages of existing equipment.

[0085] In this embodiment, when the system time and the electricity settlement time belong to different intervals within the same metering cycle, an interval electricity increment storage operation is performed and the electricity settlement time is updated. This realizes the real-time acquisition and storage of electricity increment data for each interval within a single metering cycle, ensuring that the interval electricity increment data for each interval accurately corresponds to the time period. This solves the defect of traditional metering methods that cannot capture time-of-use differences, and provides detailed data support for subsequent matching of carbon factors by interval and accurate calculation of carbon emissions.

[0086] In one optional implementation, the electricity meter-based carbon metering method further includes:

[0087] When the difference between metering cycles is greater than 1, delete the current interval's incremental energy data and the historical interval's incremental energy data.

[0088] In this embodiment of the application, the relevant procedures for handling time anomalies are as follows: Figure 5 As shown, when the metering cycle difference is greater than 1, the current interval's incremental energy data and the historical interval's incremental energy data are deleted. The energy settlement time is updated to the system time, resulting in the updated energy settlement time. The total active energy corresponding to the energy settlement time is updated to the total active energy corresponding to the system time, resulting in the updated total active energy corresponding to the energy settlement time. In other words, the second energy is updated to the first energy, resulting in the updated second energy, awaiting the next action.

[0089] In this embodiment, the electricity settlement time is updated every 15 minutes. When the difference between the system time and the electricity settlement date / time metering cycle (daily absolute difference) is greater than 1, the time is no longer continuous, and the stored electricity data for the 96 intervals of the current day is meaningless. A metering cycle difference greater than 1 is considered an anomaly in the electricity meter's time. Whether the anomaly is caused by time synchronization or other reasons, the interval electricity increment data is unreliable. Therefore, the current interval electricity increment data and the historical interval electricity increment data are cleared to zero. Taking positive active energy as an example, the positive active energy increment data for the current day's 96 intervals and the positive active energy increment data for the previous day's 96 intervals are cleared to zero.

[0090] This embodiment deletes the incremental data of current and historical intervals of electricity when the difference between the metering cycles is greater than 1, thus avoiding invalid or erroneous data caused by time disorder from participating in carbon emission calculation. This ensures the accuracy of electricity carbon metering from the data source and solves the problem of unreliable data in abnormal scenarios such as electricity meter time calibration and power outages.

[0091] like Figure 6 As shown, this application provides an electric carbon metering system, which includes a rate module, an energy module, and a freeze module.

[0092] The rate module obtains the system time from the electricity meter, determines whether a range change has occurred based on the system time, and calculates the metering cycle difference if a range change has occurred. A range electricity calculation message is sent to the electricity module via a message queue. When the electricity module has a metering cycle difference of 1 and the system time is greater than the electricity settlement time, it uses the current range electricity increment data as historical range electricity increment data and then sends an electricity carbon freeze message to the freeze module. In this embodiment, a range change time is preset. When the system time is the preset range change time, a range change is determined to have occurred. As an example, the maximum value in the divided range can be used as the range change time. As an example, the rate module sends different messages to the electricity module via a message queue to perform different operations. For example, the range electricity calculation message may include a first message, a second message, a third message, and a fourth message. The first message is sent to the electricity module when the metering cycle difference is 1 and the system time is greater than the electricity settlement time. The second message is sent to the electricity module when the metering cycle difference is greater than 1. The third message is sent to the electricity module when the metering cycle difference is 0 and the range number is not 1. If none of the above conditions apply, send the fourth message to the power module.

[0093] The power module is used to determine one of several scenarios when it receives a power calculation message for an interval.

[0094] The freeze module, upon receiving an electricity carbon freeze message, reads the electricity carbon factor from the electricity meter and determines its validity. If the electricity carbon factor is valid, it reads historical interval electricity increment data from the electricity meter. Based on the electricity carbon factor and historical interval electricity increment data, it determines the carbon emission data for the previous metering cycle.

[0095] The first part describes the calculation and storage process of incremental power data for different time zones, such as... Figure 7 As shown, when the metering cycle difference is 1 and the system time is greater than the electricity billing time, it is a cross-metering cycle switch. When the metering cycle difference is greater than 1, the current interval's incremental electricity data and the historical interval's incremental electricity data are deleted. When the metering cycle difference is 0 and the interval numbers are different, it is an interval switch, and the interval's incremental electricity data is stored. The interval's incremental electricity data is stored in the electricity meter, and the electricity carbon metering data is frozen for use.

[0096] In one alternative implementation, determining the legitimacy of the electrocarbon factor in step 203 includes:

[0097] Determine the type of the electrocarbon factor. If the electrocarbon factor is of the general type, determine that the electrocarbon factor is valid. If the electrocarbon factor is of the interval type, determine whether the metering period corresponding to the electrocarbon factor is the previous metering period. If the metering period corresponding to the electrocarbon factor is not the previous metering period, then the electrocarbon factor is invalid. If the metering period corresponding to the electrocarbon factor is the previous metering period, then the electrocarbon factor is valid.

[0098] In this embodiment, the type of electrocarbon factor includes a general type or a range type. In this embodiment, if the electrocarbon factor is valid, an electrocarbon freezing operation is performed; if the electrocarbon factor is invalid, an electrocarbon freezing operation is not performed.

[0099] In this embodiment of the application, the carbon factor is pre-set, determined by the power department, and issued through the main station. The type of carbon factor includes general type or interval type. The general type carbon factor is a unified factor, and the interval type carbon factor is an interval factor.

[0100] This embodiment distinguishes between the general type and the interval type of the carbon emission factor and formulates targeted legality judgment rules. The general type of carbon emission factor is directly legal, while the interval type of carbon emission factor is legal only if it matches the metering period. This not only adapts to the carbon emission metering needs in different scenarios, but also avoids the calculation error caused by the mismatch between the carbon emission factor and the metering period, and ensures the consistency between the carbon emission factor and the historical interval electricity increment data, further improving the calculation accuracy of carbon emission data.

[0101] In one optional implementation, step 204 determines the carbon emission data for the previous metering period based on the carbon factor and the historical interval electricity increment data, including: using the product of the carbon factor and the historical interval electricity increment data as the carbon emission data for the previous metering period.

[0102] In this embodiment, the electric carbon factor refers to the electricity carbon emission factor, which is a conversion factor (usually kgCO2 / kWh) for the carbon emissions corresponding to a unit of electricity during production and transmission. Its core function is to quantify the carbon footprint intensity associated with consuming / generating 1 kWh of electricity. It is calculated and determined by the power sector based on factors such as the energy structure of the regional power grid (e.g., the proportion of thermal power, hydropower, wind power, and photovoltaic power), unit efficiency, and transmission losses. This data is uniformly distributed to smart meters through a main station and supports dynamic updates to ensure it matches the actual carbon emission level of the power grid. The general-type electric carbon factor is a single, all-time universal coefficient, suitable for scenarios with stable carbon emission intensity. The interval-type electric carbon factor is suitable for scenarios where differences in energy structure during peak and off-peak periods lead to varying carbon emission intensities. The essence of carbon emission data is the product of electricity consumption / generation and carbon emission intensity per unit of electricity. For example, if the electricity increment data for a certain period is 10 kWh, and the electricity carbon factor for that period is 0.5 kg CO2 / kWh, it means that every 1 kWh of electricity consumed in that period will generate 0.5 kg of carbon dioxide. Therefore, the carbon emission corresponding to 10 kWh of electricity is 10 × 0.5 = 5 kg CO2.

[0103] As an example, if the carbon emission factor is of a general type, the carbon emission factor is multiplied by the incremental electricity consumption data for each interval to obtain the carbon emission data for each interval. The sum of the carbon emission data for all intervals is used as the cumulative carbon emission data for the previous metering period. The carbon emission data for the previous metering period includes the carbon emission data for each interval and the cumulative carbon emission data for the previous metering period. The carbon emission data for the previous metering period is stored to obtain a new frozen carbon emission data entry.

[0104] As another example, if the carbon emission factor is of interval type, then the carbon emission factor includes multiple factors. The interval corresponding to each factor will be determined, and the product of the factor and the interval's corresponding interval's incremental electricity consumption data will be used as the carbon emission data for that interval. This process yields the carbon emission data for each interval. The sum of the carbon emission data corresponding to all intervals will be used as the cumulative carbon emission data for the previous measurement period. The carbon emission data for the previous measurement period includes the carbon emission data corresponding to each interval and the cumulative carbon emission data for the previous measurement period. For example, the historical interval incremental electricity consumption data of this application includes interval incremental electricity consumption data corresponding to 96 intervals. When the factors and intervals do not correspond one-to-one, the factors can be evenly distributed according to the order of the 96 intervals, and one factor can correspond to multiple intervals. When there are 48 carbon emission factors, the first factor can correspond to intervals N1 and N2. The second factor can correspond to intervals N3 and N4. If there are only 24 factors, then one factor corresponds to four intervals; the first factor corresponds to intervals N1, N2, N3, and N4. The second factor corresponds to the intervals numbered N5, N6, N7, and N8.

[0105] The carbon data freezing process is as follows: Figure 8 As shown, when the carbon freeze module receives an electricity carbon freeze message, it reads the electricity carbon factor from the electricity meter and determines the validity of the electricity carbon factor. If the electricity carbon factor is valid, it reads the historical interval electricity increment data from the electricity meter. Based on the electricity carbon factor and the historical interval electricity increment data, it determines the carbon emission data corresponding to each interval and the cumulative carbon emission data of the previous metering cycle, and generates a new electricity carbon freeze record in the electricity meter.

[0106] In this embodiment, when the master station needs to analyze carbon data, it simply reads the frozen carbon data from the corresponding smart meter. This application fully utilizes the hardware advantages of smart meters, and through processing energy data, effectively combines the massive data collection capabilities of smart meters with the demand for carbon metering, thereby promoting energy structure transformation.

[0107] This embodiment obtains carbon emission data by directly multiplying the carbon factor with the historical interval's incremental electricity data. The calculation logic is simple and efficient, requiring no complex algorithm model. It is compatible with the computing power of smart meters and can quickly output carbon emission data for each interval and the entire cycle, realizing the real-time performance and practicality of carbon metering and meeting the need for rapid acquisition of carbon emission data.

[0108] This embodiment also provides an electricity meter-based carbon metering device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0109] This embodiment provides an energy meter-based carbon metering device, such as... Figure 9 As shown, it includes:

[0110] The first processing module 501 is used to determine the metering cycle difference based on the system time and electricity settlement time of the electricity meter. The electricity settlement time is the time of the most recent execution of the interval electricity increment storage operation.

[0111] The second processing module 502 is used to treat the current interval's incremental energy data as historical interval incremental energy data when the metering cycle difference is 1 and the system time is greater than the electricity settlement time. The historical interval incremental energy data refers to the interval incremental energy data corresponding to each interval within the previous metering cycle of the current metering cycle. A metering cycle difference of 1 indicates that the metering cycle in which the system time is located and the metering cycle in which the electricity settlement time is located are adjacent metering cycles. A single metering cycle is divided into multiple intervals.

[0112] The third processing module 503 is used to read the carbon factor from the electricity meter and determine the validity of the carbon factor. If the carbon factor is valid, the module reads the historical interval electricity increment data from the electricity meter.

[0113] The fourth processing module 504 is used to determine the carbon emission data for the previous metering cycle based on the carbon factor and historical interval electricity increment data.

[0114] In an optional implementation, the second processing module 502 is further configured to perform an interval energy increment storage operation when the metering cycle difference is 1 and the system time is greater than the energy settlement time.

[0115] In an optional implementation, the electricity meter-based carbon metering device further includes a fifth processing module, used to perform an incremental storage operation of electricity consumption within a given period when the metering cycle difference is 0 and the interval number corresponding to the system time is different from the interval number corresponding to the electricity settlement time. The interval number is obtained by numbering each interval when a single metering cycle is sequentially divided into multiple intervals.

[0116] Update the electricity billing time to the system time to obtain the updated electricity billing time.

[0117] In one optional embodiment, the electricity meter-based carbon metering device further includes: an execution module, configured to perform an interval energy increment storage operation: using the difference between the first energy and the second energy as the interval energy increment data corresponding to the system time interval, and storing the interval energy increment data corresponding to the system time interval. The first energy is the total active energy corresponding to the system time. The second energy is the total active energy corresponding to the electricity settlement time.

[0118] In one optional implementation, the electricity meter-based carbon metering device further includes a sixth processing module, used to delete the current interval electricity increment data and the historical interval electricity increment data when the metering cycle difference is greater than 1.

[0119] In one alternative implementation, the third processing module 503 is specifically used to determine the type of electrocarbon factor. The type of electrocarbon factor includes a general type or a range type.

[0120] When the type of the electrocarbon factor is general, the electrocarbon factor is determined to be legal.

[0121] When the type of the electric carbon factor is an interval type, determine whether the metering period corresponding to the electric carbon factor is the previous metering period of the current metering period.

[0122] If the metering period corresponding to the electric carbon factor is the previous metering period of the current metering period, then the electric carbon factor is determined to be valid.

[0123] If the metering period corresponding to the electric carbon factor is not the previous metering period of the current metering period, then the electric carbon factor is determined to be invalid.

[0124] In one optional implementation, the fourth processing module 504 is specifically used to multiply the electric carbon factor and the historical interval electricity increment data as the carbon emission data for the previous metering cycle.

[0125] The electricity meter-based carbon metering device provided in this application can execute the electricity meter-based carbon metering method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the above modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.

[0126] Figure 10 This is a schematic diagram of an electronic device provided in an embodiment of this application. See below for details. Figure 10 This diagram illustrates a suitable structural schematic for implementing the electronic device described in the embodiments of this application. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from memory 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the electronic device. The processor 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0127] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 10 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0128] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a memory 608, or installed from a ROM 602. When the computer program is executed by the processor 601, it performs the functions defined in the electricity meter-based carbon metering method of this application.

[0129] Figure 10 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0130] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the electricity meter-based carbon metering method shown in the above embodiments is implemented.

[0131] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0132] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A method for metering carbon dioxide based on an electricity meter, characterized in that, The method includes: The metering cycle difference is determined based on the system time and electricity settlement time of the electricity meter; the electricity settlement time is the time of the most recent execution of the interval electricity incremental storage operation. When the metering cycle difference is 1 and the system time is greater than the electricity settlement time, the current interval electricity increment data is used as the historical interval electricity increment data; wherein, the historical interval electricity increment data is the interval electricity increment data corresponding to each interval in the previous metering cycle of the current metering cycle; the metering cycle difference of 1 indicates that the metering cycle in which the system time is located and the metering cycle in which the electricity settlement time is located are adjacent metering cycles; a single metering cycle is divided into multiple intervals; Read the carbon factor from the electricity meter and determine the validity of the carbon factor; If the carbon factor is valid, then read the historical interval energy increment data from the energy meter; The carbon emission data for the previous metering period is determined based on the carbon factor and the historical interval electricity increment data. Determining the legality of the electrocarbon factor includes: The type of the electrocarbon factor is determined; the type of the electrocarbon factor includes a general type or a range type; When the type of the electrocarbon factor is the general type, the electrocarbon factor is determined to be legal; When the type of the electric carbon factor is the interval type, determine whether the metering period corresponding to the electric carbon factor is the previous metering period of the current metering period; If the metering period corresponding to the electric carbon factor is the previous metering period of the current metering period, then the electric carbon factor is determined to be valid. If the metering period corresponding to the electric carbon factor is not the previous metering period of the current metering period, then the electric carbon factor is determined to be invalid.

2. The method according to claim 1, characterized in that, The method further includes: When the metering cycle difference is 1 and the system time is greater than the electricity settlement time, an interval electricity incremental storage operation is performed.

3. The method according to claim 1, characterized in that, The method further includes: When the metering cycle difference is 0 and the interval number corresponding to the system time is different from the interval number corresponding to the electricity settlement time, an interval electricity incremental storage operation is performed; the interval number is obtained by numbering each interval when a single metering cycle is divided into multiple intervals in sequence. The electricity settlement time is updated to the system time to obtain the updated electricity settlement time.

4. The method according to any one of claims 1 to 3, characterized in that, The execution interval incremental energy storage operation includes: The difference between the first electrical energy and the second electrical energy is used as the interval electrical energy increment data for the interval corresponding to the system time, and the interval electrical energy increment data for the interval corresponding to the system time is stored; the first electrical energy is the total active electrical energy corresponding to the system time; the second electrical energy is the total active electrical energy corresponding to the electrical energy settlement time.

5. The method according to claim 1, characterized in that, The method further includes: When the difference between the metering cycles is greater than 1, delete the current interval energy increment data and the historical interval energy increment data.

6. The method according to claim 1, characterized in that, The step of determining the carbon emission data for the previous metering period based on the electrical carbon factor and the historical interval electricity increment data includes: The product of the carbon emission factor and the historical interval electricity increment data is used as the carbon emission data for the previous metering period.

7. A carbon metering device based on an electricity meter, characterized in that, The device includes: The first processing module is used to determine the metering cycle difference based on the system time and electricity settlement time of the electricity meter; the electricity settlement time is the time of the most recent execution of the interval electricity incremental storage operation. The second processing module is used to treat the current interval energy increment data as historical interval energy increment data when the metering cycle difference is 1 and the system time is greater than the energy settlement time; wherein, the historical interval energy increment data is the interval energy increment data corresponding to each interval in the previous metering cycle of the current metering cycle; the metering cycle difference of 1 indicates that the metering cycle in which the system time is located and the metering cycle in which the energy settlement time is located are adjacent metering cycles; and to divide a single metering cycle into multiple intervals; The third processing module is used to read the carbon factor from the electricity meter and determine the validity of the carbon factor; if the carbon factor is valid, the module reads the historical interval electricity increment data from the electricity meter. The fourth processing module is used to determine the carbon emission data for the previous metering cycle based on the electric carbon factor and the historical interval energy increment data; The third processing module is specifically used to determine the type of the electrocarbon factor; the type of the electrocarbon factor includes a general type or a range type. When the type of the electrocarbon factor is the general type, the electrocarbon factor is determined to be legal; When the type of the electric carbon factor is the interval type, determine whether the metering period corresponding to the electric carbon factor is the previous metering period of the current metering period; If the metering period corresponding to the electric carbon factor is the previous metering period of the current metering period, then the electric carbon factor is determined to be valid. If the metering period corresponding to the electric carbon factor is not the previous metering period of the current metering period, then the electric carbon factor is determined to be invalid.

8. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the steps of the electricity carbon metering method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the steps of the electricity meter-based carbon metering method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent electric energy meter data acquisition device, method and equipment for electric carbon metering, and storage medium

    CN120908518A

  • Method and apparatus for calculating carbon intensities, terminal and storage medium

    US20240370787A1