A reliable interactive method and system for carbon metering data

By constructing an interactive process for dynamic factor reception, electricity-level coding, digital signature, and evidence storage of electricity carbon metering data, the problem of reliable verification and traceability of electricity carbon metering data during the circulation process is solved, and the correlation management of electricity and carbon emission information and reliable data interaction are realized.

CN122492227APending Publication Date: 2026-07-31STATE GRID BEIJING ELECTRIC POWER CO
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
STATE GRID BEIJING ELECTRIC POWER CO
Filing Date
2026-04-21
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In existing technologies, there is a lack of a unified and reliable interaction mechanism for the flow of carbon metering data to the main station and other business entities after it is generated. The reliability of the data source and the consistency verification capability after transmission are insufficient, and there is a lack of a unified identification and association mechanism, which leads to unclear data correspondence and makes it difficult to support subsequent verification and traceability.

Method used

By constructing a data interaction process that includes dynamic carbon factor reception, electricity quantification coding, digital signature, evidence storage processing, and signature verification, carbon metering data is generated and green code association, signature upload, and evidence storage verification are performed to achieve reliable verification of carbon metering data.

Benefits of technology

It significantly enhances the reliability and traceability of electricity and carbon emission measurement data in the cross-entity flow process, realizes the correlation management of electricity information and carbon emission information, and ensures the authenticity and consistency of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention provides a trusted interaction method and system for carbon metering data. The method involves acquiring electricity consumption data from a smart energy meter, receiving dynamic carbon factors from a master station, and generating carbon metering data. Based on this data, a green code is generated. Using a public-private key pair built into the smart energy meter, a digital signature is performed on the carbon metering data and the green code to generate signature data. The carbon metering data, the green code, the signature data, and the public key are uploaded to a master station, which performs evidence storage processing to generate an evidence storage record. Finally, a trusted verification result is output based on the public key and the evidence storage record. This invention achieves trusted interaction of carbon metering data, improving the verifiability and traceability of the data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power system automation technology, specifically relating to a reliable interaction method and system for carbon metering data. Background Technology

[0002] As the "dual carbon" goals continue to advance, the demand for collaborative metering and management of electricity consumption data and carbon emission data in the power system is constantly increasing. Electricity carbon metering data is not only linked to user energy consumption analysis and carbon emission accounting, but also to green electricity trading, environmental attribute management, and data flow and result verification in related business processes. Therefore, building a secure and reliable data interaction mechanism around electricity carbon metering data has become an important technical requirement in the field of power metering.

[0003] In existing technologies, smart meters typically collect, store, and upload electricity data. Some solutions can also combine the electricity carbon factor issued by the main station to generate carbon emission-related data, or enhance data security through encryption and evidence storage. In some application scenarios, metering data will also be uploaded to the main station or other platforms to support subsequent data processing, business verification, or shared use.

[0004] However, existing technologies still have shortcomings in the scenario of trusted interaction of carbon metering data: First, there is a lack of a unified trusted interaction mechanism in the process of carbon metering data flowing to the main station and other business entities after its generation, resulting in insufficient verification capabilities for the reliability of data sources and the consistency after transmission; Second, existing solutions mostly focus on data collection, calculation, or single-point storage protection, lacking a unified identification and association mechanism between carbon metering data and green electricity attribute-related data, leading to unclear data correspondence and difficulty in supporting subsequent verification and traceability; Third, in the process of sharing and using carbon metering data across entities, there is a lack of data verification and evidence storage verification links for multiple parties, which can easily lead to difficulties in trusted verification, unclear responsibility boundaries, and insufficient traceability efficiency.

[0005] Therefore, there is an urgent need for a reliable interaction method for carbon metering data to improve the reliability and traceability of carbon metering data in the process of cross-entity transfer. Summary of the Invention

[0006] This invention provides a reliable interaction method for carbon metering data. The solution constructs a data interaction process that includes dynamic carbon factor reception, electricity kilowatt-hour coding, digital signature, evidence storage processing, and signature verification. It performs green code association, signature upload, and evidence storage verification on the carbon metering data generated by the carbon metering smart meter, and outputs a reliable verification result. This solves the technical problems of difficult reliable verification, lack of unique identifiers, and insufficient traceability of carbon metering data during cross-entity transfer.

[0007] A first aspect of the present invention provides a reliable interaction method for carbon metering data, the method comprising: The system acquires electricity data based on a smart energy meter with carbon metering, receives dynamic carbon factors from the main station, generates carbon metering data based on the electricity data and the dynamic carbon factors, and performs electricity consumption coding based on the carbon metering data to generate a green code. Based on the public-private key pair built into the smart energy meter for carbon metering, digital signatures are performed on the carbon metering data and the green code to generate signature data; The carbon metering data, the green code, the signature data, and the public key in the public-private key pair are uploaded to the main collection station; the main collection station performs evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records; The signature data is verified using the public key, and the carbon metering data and the green code are verified using the stored evidence record, resulting in a reliable verification result.

[0008] By adopting the above scheme, the present invention provides a trusted interaction method for carbon emission metering data. This method generates carbon emission metering data by acquiring electricity consumption data and receiving dynamic carbon emission factors, thus establishing a correlation between electricity consumption information and carbon emission information. It generates a green code based on the carbon emission metering data, identifying the corresponding electricity consumption. Furthermore, it performs digital signatures on the carbon emission metering data and the green code based on the public-private key pair built into the carbon emission meter, generating signature data to bind the source identity of the carbon emission metering data and the green code. Further, by uploading the carbon emission metering data, the green code, the signature data, and the public key to the data acquisition master station, and having the master station perform evidence storage processing to generate an evidence storage record, it achieves evidence storage and traceability during the carbon emission metering data interaction process. This significantly improves the verifiability and traceability of the carbon emission metering data during the interaction process. Simultaneously, by performing signature verification on the signature data based on the public key, and verifying the carbon metering data and the green code based on the evidence storage record, a trusted verification result is output, achieving joint verification of the authenticity and consistency of the carbon metering data. By linking the electricity metering code assignment, digital signature, evidence storage processing, and signature verification, continuous processing from the generation of carbon metering data to trusted verification is achieved, significantly improving the reliability of trusted interaction of carbon metering data. The technical solution of this invention realizes trusted interaction of carbon metering data, improving the verifiability and traceability of carbon metering data.

[0009] In some embodiments of the present invention, the electrical energy data includes combined active energy, forward active energy, and reverse active energy; The carbon emission data includes both positive and negative carbon emissions. The smart energy meter actively reports the electricity consumption data and the carbon metering data, and / or the data acquisition master station reads the electricity consumption data and the carbon metering data.

[0010] In some embodiments of the present invention, the step of performing electricity consumption coding based on the electricity carbon metering data to generate a green code includes: Based on a preset time interval, the electricity consumption corresponding to the carbon metering data is assigned a green code by the electricity metering data. And / or, Based on a preset energy threshold, the energy corresponding to the carbon metering data is assigned an energy code, generating a corresponding green code.

[0011] In some embodiments of the present invention, the green code corresponds to green code electrical energy; The process involves digitally signing the carbon metering data and the green code based on the public-private key pair built into the smart energy meter, generating signature data including: Extract the green code's corresponding green code energy, smart energy meter identifier (for carbon metering), customer number, power generation type, user comprehensive multiplier, and user geographical location. Generate the signature data based on the green code's energy, smart energy meter identifier (for carbon metering), customer number, power generation type, user comprehensive multiplier, and user geographical location.

[0012] In some embodiments of the present invention, after generating the green code, the method further includes: Record the total number of green health codes; Record the occurrence time, end time, and energy level of the green code; The data and events corresponding to the green code are protected in terms of generation, storage, and transmission.

[0013] In some embodiments of the present invention, the recording of the occurrence time, end time and green code energy corresponding to the green code also includes recording the smart energy meter identifier, customer number, power generation type, user comprehensive multiplier, user geographical location and the signature data. The number of records corresponding to the green health code is a preset number.

[0014] In some embodiments of the present invention, uploading the carbon metering data, the green code, the signature data, and the public key to the data collection main station includes: The carbon metering data, the green code, the signature data, the timestamp, and the public key are uploaded to the main data collection station.

[0015] In some embodiments of the present invention, the step of the main data acquisition station performing evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records includes: The main data collection station uploads the carbon metering data, the green code, and the signature data to the blockchain to generate the evidence storage record.

[0016] In some embodiments of the present invention, the step of performing signature verification on the signature data based on the public key, verifying the carbon metering data and the green code based on the evidence storage record, and outputting a trusted verification result includes: At least one of the transaction center and the payment platform performs signature verification on the signature data based on the public key, verifies the carbon metering data and the green code based on the evidence storage record, and outputs the trusted verification result.

[0017] Compared with existing technologies, the beneficial effects of this invention are as follows: This invention generates carbon emission measurement data by acquiring electricity data and receiving dynamic carbon emission factors, thereby achieving the correlation processing between electricity information and carbon emission information; it generates a green code by performing electricity-time coding based on the carbon emission measurement data and records the green code and its associated information, thereby achieving the corresponding management of carbon emission measurement data and green electricity attribute information; it performs digital signature on the carbon emission measurement data and green code based on the public-private key pair built into the carbon emission meter, generating signature data, thereby achieving data source identity binding; furthermore, by uploading the carbon emission measurement data, green code, signature data, and public key to the data acquisition master station, and having the master station perform evidence storage processing to generate evidence storage records, it achieves evidence storage and traceability during the interaction of carbon emission measurement data; significantly improving the verifiability and traceability of carbon emission measurement data during the circulation process.

[0018] Meanwhile, by generating green codes through timed and / or fixed-quota coding methods, flexible identification of different electricity consumption segments is achieved; by protecting the data and events corresponding to the green codes, continuous protection of coding-related information is achieved; and by performing signature verification on the signed data based on public keys and verifying the electricity carbon metering data and green codes based on the stored records, joint verification of the authenticity and consistency of related data is achieved, significantly improving the reliable interaction capability of electricity carbon metering data in multi-entity business scenarios.

[0019] A second aspect of the present invention provides a reliable interactive system for carbon metering data, comprising: The carbon metering data generation module is used to acquire electricity data based on the carbon metering smart energy meter, receive dynamic carbon factors sent by the main station, and generate carbon metering data based on the electricity data and the dynamic carbon factors. The electricity metering coding module is used to perform electricity metering coding based on the electricity carbon metering data and generate a green code; The signature upload module is used to perform digital signature on the carbon metering data and the green code based on the public-private key pair built into the carbon metering smart energy meter, generate signature data, and upload the carbon metering data, the green code, the signature data and the public key in the public-private key pair to the data acquisition main station. The evidence storage and verification module is used by the main collection station to perform evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records; to perform signature verification on the signature data based on the public key; to perform verification on the carbon metering data and the green code based on the evidence storage records; and to output a reliable verification result.

[0020] A third aspect of the present invention provides a reliable interactive device for carbon metering data, characterized in that the device includes a computer device, the computer device includes a processor and a memory, the processor stores computer instructions, and when the computer instructions are executed, the device implements the reliable interactive method for carbon metering data.

[0021] Additional advantages, objects, and features of the invention will be set forth in part in the description which follows, and will also become apparent in part to those skilled in the art upon studying the text, or may be learned by practice of the invention. The objects and other advantages of the invention will become apparent from the description and the accompanying drawings.

[0022] Those skilled in the art will understand that the objectives and advantages achievable with the present invention are not limited to those specifically described above, and that the above and other objectives achievable with the present invention will become clearer from the following detailed description. Attached Figure Description

[0023] The accompanying drawings, which form part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0024] In the attached diagram: Figure 1 This is a flowchart illustrating a reliable interaction method for carbon metering data provided in an embodiment of the present invention.

[0025] Figure 2 This is a schematic diagram of a reliable interactive system for carbon metering data provided in an embodiment of the present invention.

[0026] Figure 3 The diagram illustrates an application scenario provided in the embodiments of the present invention.

[0027] Figure 4 This is a flowchart illustrating the inter-module data interaction process for reliable interaction of carbon metering data provided in this embodiment of the invention.

[0028] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0029] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other.

[0030] The following detailed description is exemplary and intended to provide further detailed explanation of the invention. Unless otherwise specified, all technical terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used in this invention is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention.

[0031] Figure 1 This is a flowchart illustrating a reliable interaction method for carbon metering data provided in an embodiment of the present invention.

[0032] This invention provides a reliable interactive method for carbon metering data, applicable to, for example... Figure 3 The diagram illustrates an interactive scenario involving a smart energy meter for carbon metering, a data acquisition master station, a blockchain-based evidence storage platform, and a business verification entity. The smart energy meter for carbon metering is used to acquire electricity consumption data, generate carbon metering data, assign codes to electricity consumption, and perform digital signatures. The data acquisition master station is used to receive uploaded data and perform evidence storage processing. The business verification entity may include at least one of a transaction center and a payment platform, used to verify and validate the relevant data.

[0033] In this embodiment, the carbon-metered smart energy meter pre-installs a public-private key pair generated based on an asymmetric encryption algorithm (e.g., the national cryptographic algorithm SM2), enabling the smart energy meter to possess digital identity and digital signature capabilities. The public-private key pair can be generated and written before the smart energy meter is put into use.

[0034] Example 1, as Figure 1 and Figure 4 As shown, the present invention provides a reliable interaction method for carbon metering data, the method comprising the following steps: S1. Obtain electricity data based on the smart energy meter with carbon metering, receive dynamic carbon factor sent by the main station, generate carbon metering data based on the electricity data and the dynamic carbon factor, and perform electricity metering code assignment based on the carbon metering data to generate a green code. S2. Based on the public-private key pair built into the smart energy meter for carbon metering, perform digital signature on the carbon metering data and the green code to generate signature data; S3. Upload the carbon metering data, the green code, the signature data, and the public key in the public-private key pair to the data collection master station; the data collection master station performs evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records; S4. Verify the signature data based on the public key, verify the carbon metering data and the green code based on the evidence storage record, and output a reliable verification result.

[0035] By adopting the above scheme, the present invention provides a trusted interaction method for carbon emission metering data. This method generates carbon emission metering data by acquiring electricity consumption data and receiving dynamic carbon emission factors, thus establishing a correlation between electricity consumption information and carbon emission information. It generates a green code based on the carbon emission metering data, identifying the corresponding electricity consumption. Furthermore, it performs digital signatures on the carbon emission metering data and the green code based on the public-private key pair built into the carbon emission meter, generating signature data to bind the source identity of the carbon emission metering data and the green code. Further, by uploading the carbon emission metering data, the green code, the signature data, and the public key to the data acquisition master station, and having the master station perform evidence storage processing to generate an evidence storage record, it achieves evidence storage and traceability during the carbon emission metering data interaction process. This significantly improves the verifiability and traceability of the carbon emission metering data during the interaction process. Simultaneously, by performing signature verification on the signature data based on the public key, and verifying the carbon metering data and the green code based on the evidence storage record, a trusted verification result is output, achieving joint verification of the authenticity and consistency of the carbon metering data. By linking the electricity metering code assignment, digital signature, evidence storage processing, and signature verification, continuous processing from the generation of carbon metering data to trusted verification is achieved, significantly improving the reliability of trusted interaction of carbon metering data. The technical solution of this invention realizes trusted interaction of carbon metering data, improving the verifiability and traceability of carbon metering data.

[0036] In some embodiments of the present invention, the electrical energy data includes combined active energy, forward active energy, and reverse active energy; The carbon emission data includes both positive and negative carbon emissions. The smart energy meter actively reports the electricity consumption data and the carbon metering data, and / or the data acquisition master station reads the electricity consumption data and the carbon metering data.

[0037] In this embodiment, the electricity data includes combined active energy, forward active energy, and reverse active energy; the carbon emission data includes forward carbon emissions and reverse carbon emissions. The smart energy meter can upload the electricity data and carbon emission data through active reporting, or the data acquisition master station can read the electricity data and carbon emission data.

[0038] Specifically, after the master station sends dynamic carbon factors to the smart energy meter, the smart energy meter retrieves the collected electricity data and combines it with the received dynamic carbon factors to form corresponding carbon metering data. Since the electricity data includes both forward and reverse energy information, and SM2 signatures and digital identities are added during the smart energy meter's active reporting / master station reading process, the carbon metering data can also generate corresponding forward and reverse carbon emission amounts, thus adapting to the data metering requirements in bidirectional energy flow scenarios.

[0039] This embodiment generates carbon emission measurement data by acquiring electricity data and receiving dynamic carbon emission factors, thereby realizing the correlation between electricity information and carbon emission information.

[0040] In some embodiments of the present invention, the step of performing electricity consumption coding based on the electricity carbon metering data to generate a green code includes: Based on a preset time interval, the electricity consumption corresponding to the carbon metering data is assigned a green code by the electricity metering data. And / or, Based on a preset energy threshold, the energy corresponding to the carbon metering data is assigned an energy code, generating a corresponding green code.

[0041] In this embodiment, the electricity kilowatt-hour coding refers to the process of encoding and identifying the electricity amount corresponding to the electricity carbon metering data. The green code is a unique identifier formed after electricity kilowatt-hour coding, used to represent the associated information of the corresponding electricity segment.

[0042] Specifically, this involves assigning a unique and specific code (referred to as a green code) to renewable energy generation and grid-connected electricity based on a certain time period or a certain amount of electricity. (Note: The threshold for fixed-quota coding is generally 1000 kWh, and the time interval for timed coding is generally 1 hour, both of which can be set; when both the time interval for timed coding and the threshold for fixed-quota coding are set to "0", the electricity coding function is not enabled; when either the time interval for timed coding or the threshold for fixed-quota coding is set to "0", the corresponding electricity coding method is not enabled; when neither the time interval for timed coding nor the threshold for fixed-quota coding is set to "0", only the fixed-quota electricity coding function is enabled, and the timed electricity coding function is disabled.) The requirements for the kilowatt-hour coding function of smart energy meters with carbon metering are as follows: It supports two coding methods: fixed-quota coding and timed coding. It records the total number of green codes, the time of occurrence and end of the last 500 occurrences, and the corresponding green code energy, meter asset management code, customer number, generation type, user comprehensive multiplier, user geographical location, and digital signature. The digital signature is derived from the green code energy, meter asset management code, customer number, generation type, user comprehensive multiplier, and user geographical location information using the corresponding encryption algorithm.

[0043] The function of electricity meter coding is as follows: smart energy meters for electricity carbon metering should be able to protect the authenticity and integrity of the generation, storage and transmission of quota coding and timed coding data and events, and prevent the electricity meter coding data from being tampered with or forged.

[0044] Please refer to the following table for the definition of green code energy data objects and the definition of electricity code assignment events:

[0045] In this embodiment, the electricity consumption coding supports two methods: timed coding and quota coding. When using timed coding, the target electricity consumption segments can be divided according to a preset time interval, and a corresponding green code can be generated for each target electricity consumption segment. When using quota coding, the target electricity consumption segments can be divided according to a preset electricity consumption threshold, and a corresponding green code can be generated for the target electricity consumption segments that reach the preset electricity consumption threshold. Through these methods, the electricity consumption corresponding to the electricity consumption data can be segmented and identified according to different application scenarios.

[0046] This embodiment generates a green code by performing electricity-based coding on the electricity carbon metering data, thereby achieving a unique identifier for the electricity volume corresponding to the electricity carbon metering data.

[0047] This implementation generates a corresponding green code by performing electricity-based coding at preset time intervals, thus periodically identifying the electricity consumption corresponding to the carbon metering data within a continuous time period. It also generates a corresponding green code by performing electricity-based coding based on a preset electricity consumption threshold, thus identifying data segments that have reached a predetermined electricity consumption threshold. Furthermore, both the timed coding method and the fixed-quota coding method can be enabled independently or selected according to configuration conditions. Therefore, corresponding green codes can be generated for electricity consumption segments within a continuous time interval or for electricity consumption segments that have reached a predetermined electricity consumption threshold. By using both timed coding and / or fixed-quota coding methods, the electricity-based coding method can be flexibly configured, improving the adaptability of green code generation to different application scenarios.

[0048] In some embodiments of the present invention, the green code corresponds to green code energy; the step of performing a digital signature on the energy carbon metering data and the green code based on the public-private key pair built into the energy carbon meter to generate signature data includes: Extract the green code's corresponding green code energy, smart energy meter identifier (for carbon metering), customer number, power generation type, user comprehensive multiplier, and user geographical location. Generate the signature data based on the green code's energy, smart energy meter identifier (for carbon metering), customer number, power generation type, user comprehensive multiplier, and user geographical location.

[0049] In this embodiment, the smart energy meter for carbon metering has a pre-built public-private key pair to enable it to have identification and signature capabilities, generating signature data corresponding to the carbon metering data and the green code. The digital signature is performed by the smart energy meter itself.

[0050] In this embodiment, the signature data is associated with the carbon metering data and the green health code, thus creating a signature result with an identity binding relationship at the generation end of the uploaded data. This allows the source of the corresponding data to be traced based on the signature data during subsequent data transfer, verification, and validation processes.

[0051] This embodiment uses the public-private key pair built into the smart energy meter to digitally sign the carbon metering data and the green code, generating signature data to bind the source identity of the carbon metering data and the green code. The asymmetric encryption algorithm SM2 (China's national cryptographic standard) can be used to digitally sign the carbon metering data (carbon metering data = electricity consumption * dynamic carbon factor); however, this invention is not limited to this specific algorithm.

[0052] This implementation extracts the green code's corresponding green code energy, smart energy meter identifier, customer number, power generation type, user comprehensive multiplier, and user geographical location, and generates signature data based on this information to bind the green code to its associated metering information, user information, and attribute information. The signature data is used to protect the green code's related information, improving its ability to represent the source and correspondence of the green code. Furthermore, this implementation enhances the credibility of the source data by generating a signature result at the generation end that is bound to the digital identity of the smart energy meter, based on the green code and the green code.

[0053] Furthermore, the carbon metering data, the green code, the signature data, and the public key from the public-private key pair are uploaded to the main data collection station.

[0054] In this embodiment, the uploaded content may further include a timestamp. That is, the carbon metering data, the green code, the signature data, the timestamp, and the public key can be uploaded to the data collection master station. The timestamp is used to characterize the time information corresponding to the currently uploaded data, so as to distinguish the temporal relationship in the subsequent data interaction process.

[0055] The following processing can also be performed: Record the total number of green health codes; Record the occurrence time, end time, and energy level of the green code; The data and events corresponding to the green code are protected in terms of generation, storage, and transmission.

[0056] In this embodiment, the green code record information may further include the identifier of the smart energy meter for carbon metering, customer number, power generation type, user comprehensive multiplier, user geographical location, and signature data; the number of records corresponding to the green code is a preset number.

[0057] By recording and saving the information corresponding to the green code, a green code event traceability result can be formed for subsequent verification and tracing. By recording the total number of green codes, as well as the occurrence time, end time, and energy of each green code, a traceability of the energy allocation process can be achieved. By implementing generation, storage, and transmission protection for the data and events corresponding to the green codes, continuous protection of the code-related information during the formation, storage, and interaction processes can be achieved, improving the integrity and reliability of green code data and event information.

[0058] This embodiment achieves centralized aggregation of interactive data to the main station by uploading the carbon metering data, the green code, the signature data, and the public key in the public-private key pair to the main station.

[0059] This implementation further records the smart energy meter identifier, customer number, power generation type, user comprehensive multiplier, user geographical location, and signature data in the green code record information to achieve extended association of green code record content; by limiting the number of records to a preset number, it achieves continuous preservation of historical green code information, improving the traceability and orderly management of green code record information.

[0060] This implementation method supplements the time sequence identifier of the uploaded data by uploading the timestamp along with the carbon metering data, green code, signature data, and public key to the main collection station. By introducing time information into the uploaded content, it improves the ability to distinguish the time relationship of the carbon metering data interaction and provides a basis for verification.

[0061] In some embodiments of the present invention, the step of the main data acquisition station performing evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records includes: The main data collection station uploads the carbon metering data, the green code, and the signature data to the blockchain to generate the evidence storage record.

[0062] Specifically, after receiving the carbon metering data, green code, signature data, and public key, the main station submits the carbon metering data, green code, and signature data to the blockchain for evidence storage processing, creating an evidence storage record on the chain corresponding to the carbon metering data and green code. Through this method, a traceable record of the interactive data can be created on the main station side.

[0063] By performing evidence storage processing at the main data acquisition station, evidence storage records are generated, thus achieving evidence storage and traceability during the interaction of electricity carbon metering data.

[0064] This implementation method uploads the carbon metering data, green code, and signature data to the blockchain by the main data collection station to generate a storage record, thereby achieving on-chain storage of relevant interactive data. By specifically implementing the storage process on the blockchain, it achieves distributed traceability of carbon metering data and green code information, improving the credibility and traceability of the storage record.

[0065] In some embodiments of the present invention, the step of performing signature verification on the signature data based on the public key, verifying the carbon metering data and the green code based on the evidence storage record, and outputting a trusted verification result includes: At least one of the transaction center and the payment platform performs signature verification on the signature data based on the public key, verifies the carbon metering data and the green code based on the evidence storage record, and outputs the trusted verification result.

[0066] Specifically, in business verification scenarios, the transaction center and / or payment platform can retrieve the public key to verify the signature data and determine whether the current signature data matches the uploaded data. Simultaneously, they can retrieve the stored records to verify the carbon metering data and green health code to determine their consistency with the stored data. If both signature verification and validation pass, a trusted verification result is output; if either verification or validation fails, an untrusted verification result is output to prompt further processing.

[0067] By performing signature verification based on the public key and performing verification based on the stored evidence record, joint verification of the authenticity and consistency of the carbon metering data can be achieved.

[0068] This implementation achieves trusted verification for business users by having at least one of the transaction center and payment platform perform signature verification on the signature data based on a public key, and verify the carbon metering data and green code based on the evidence storage record. By extending the signature verification subject to the transaction center and payment platform, it improves the independent verification capability and application support capability of carbon metering data in multi-subject interaction scenarios.

[0069] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention generates electricity carbon metering data by acquiring electricity data and receiving dynamic electricity carbon factors; it generates green codes by performing electricity-based coding based on the electricity carbon metering data, thereby realizing the correlation processing of electricity information, carbon emission information and green code identification information; furthermore, by recording the total number of green codes, the time of occurrence, the time of end, the electricity energy of the green code and related information, it realizes the continuous tracking of the electricity coding results, thereby improving the corresponding management capability between electricity carbon metering data and green electricity attribute information.

[0070] This invention utilizes the public-private key pair built into the smart energy meter to digitally sign carbon metering data and the green code, generating signature data to achieve data source identity binding. By uploading the carbon metering data, green code, signature data, and public key to the data acquisition master station, which then performs evidence storage processing to generate an evidence storage record, this invention achieves evidence storage and traceability during the carbon metering data interaction process. Furthermore, by implementing generation, storage, and transmission protection for the data and events corresponding to the green code, continuous protection of the code-related information is achieved, thereby improving the integrity and traceability of the carbon metering data during the interaction process.

[0071] This invention achieves joint verification of the authenticity and consistency of relevant data by performing signature verification on the signed data based on public keys and verifying the electricity carbon metering data and green code based on the stored records, and outputting a trusted verification result. Furthermore, by having at least one party, either the trading center or the payment platform, participate in the signature verification and validation, it achieves trusted verification for multi-entity business scenarios. Moreover, by connecting the generation of electricity carbon metering data, the assignment of electricity-per-hour codes, digital signatures, stored records, and signature verification, it achieves continuous processing from data formation to trusted verification, thereby improving the trusted interaction capability of electricity carbon metering data in green electricity trading, carbon emission accounting, and related business applications.

[0072] Figure 2 This is a flowchart illustrating a trusted interactive system for carbon metering data provided in an embodiment of the present invention.

[0073] Example 2, as Figure 2 As shown, the present invention also provides a trusted interactive system for carbon metering data, comprising: a carbon metering data generation module S11, a unit electricity coding module S12, a signature upload module S13, and a certificate verification module S14.

[0074] The carbon metering data generation module is used to acquire electricity data based on the carbon metering smart energy meter, receive dynamic carbon factors sent by the main station, and generate carbon metering data based on the electricity data and the dynamic carbon factors. The electricity metering coding module is used to perform electricity metering coding based on the electricity carbon metering data and generate a green code; The signature upload module is used to perform digital signature on the carbon metering data and the green code based on the public-private key pair built into the carbon metering smart energy meter, generate signature data, and upload the carbon metering data, the green code, the signature data and the public key in the public-private key pair to the data acquisition main station. The evidence storage and verification module is used by the main collection station to perform evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records; to perform signature verification on the signature data based on the public key; to perform verification on the carbon metering data and the green code based on the evidence storage records; and to output a reliable verification result.

[0075] Example 3: The present invention also provides a trusted interactive device for carbon metering data. The device includes a computer device, which includes a processor and a memory. The processor stores computer instructions. When the computer instructions are executed, the device implements the trusted interactive method for carbon metering data.

[0076] Example 4, as Figure 5 As shown, the present invention also provides an electronic device 100 for implementing a reliable interaction method for carbon metering data.

[0077] The electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on at least one processor 102, and at least one communication bus 104.

[0078] The memory 101 can be used to store the computer program 103. The processor 102 implements the steps of the trusted interaction method for carbon metering data described in the first aspect of the present invention by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101.

[0079] The memory 101 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the electronic device 100 (such as audio data), etc. In addition, the memory 101 may include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.

[0080] At least one processor 102 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 102 may be a microprocessor or any conventional processor. Processor 102 is the control center of electronic device 100, connecting various parts of electronic device 100 via various interfaces and lines.

[0081] The memory 101 in the electronic device 100 stores multiple instructions to implement a reliable interaction method for carbon metering data, and the processor 102 can execute multiple instructions to achieve the following: The system acquires electricity data based on a smart energy meter with carbon metering, receives dynamic carbon factors from the main station, generates carbon metering data based on the electricity data and the dynamic carbon factors, and performs electricity consumption coding based on the carbon metering data to generate a green code. Based on the public-private key pair built into the smart energy meter for carbon metering, digital signatures are performed on the carbon metering data and the green code to generate signature data; The carbon metering data, the green code, the signature data, and the public key in the public-private key pair are uploaded to the main collection station; the main collection station performs evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records; The signature data is verified using the public key, and the carbon metering data and the green code are verified using the stored evidence record, resulting in a reliable verification result.

[0082] Example 5: If the modules / units integrated in the electronic device 100 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, and read-only memory (ROM).

[0083] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0084] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0085] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0086] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0087] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A reliable interactive method for carbon metering data, characterized in that, The method includes the following steps: The system acquires electricity data based on a smart energy meter with carbon metering, receives dynamic carbon factors from the main station, generates carbon metering data based on the electricity data and the dynamic carbon factors, and performs electricity consumption coding based on the carbon metering data to generate a green code. Based on the public-private key pair built into the smart energy meter for carbon metering, digital signatures are performed on the carbon metering data and the green code to generate signature data; The carbon metering data, the green code, the signature data, and the public key in the public-private key pair are uploaded to the main collection station; the main collection station performs evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records; The signature data is verified using the public key, and the carbon metering data and the green code are verified using the stored evidence record, resulting in a reliable verification result.

2. The reliable interactive method for carbon metering data according to claim 1, characterized in that, The energy data includes combined active energy, forward active energy, and reverse active energy; The carbon emission data includes both positive and negative carbon emissions. The smart energy meter actively reports the electricity consumption data and the carbon metering data, and / or the data acquisition master station reads the electricity consumption data and the carbon metering data.

3. The reliable interactive method for carbon metering data according to claim 1, characterized in that, The step of assigning a green code based on the carbon metering data includes: Based on a preset time interval, the electricity consumption corresponding to the carbon metering data is assigned a green code by the electricity metering data. And / or, Based on a preset energy threshold, the energy corresponding to the carbon metering data is assigned an energy code, generating a corresponding green code.

4. The reliable interaction method for carbon metering data according to claim 3, characterized in that, The green code corresponds to the green code electrical energy; The process involves digitally signing the carbon metering data and the green code based on the public-private key pair built into the smart energy meter, generating signature data including: Extract the green code's corresponding green code energy, smart energy meter identifier (for carbon metering), customer number, power generation type, user comprehensive multiplier, and user geographical location. Generate the signature data based on the green code's energy, smart energy meter identifier (for carbon metering), customer number, power generation type, user comprehensive multiplier, and user geographical location.

5. The reliable interaction method for carbon metering data according to claim 3, characterized in that, After generating the green health code, the process also includes: Record the total number of green health codes; Record the occurrence time, end time, and energy level of the green code; The data and events corresponding to the green code are protected in terms of generation, storage, and transmission.

6. The reliable interaction method for carbon metering data according to claim 5, characterized in that, The recording of the occurrence time, end time, and green code energy corresponding to the green code also includes recording the smart energy meter identifier, customer number, power generation type, user comprehensive multiplier, user geographical location, and the signature data; The number of records corresponding to the green health code is a preset number.

7. The reliable interactive method for carbon metering data according to claim 1, characterized in that, The process of uploading the carbon metering data, the green code, the signature data, and the public key to the data collection main station includes: The carbon metering data, the green code, the signature data, the timestamp, and the public key are uploaded to the main data collection station.

8. The reliable interactive method for carbon metering data according to claim 1, characterized in that, The process of storing the carbon metering data, the green code, and the signature data by the main data acquisition station to generate a storage record includes: The main data collection station uploads the carbon metering data, the green code, and the signature data to the blockchain to generate the evidence storage record.

9. The reliable interactive method for carbon metering data according to claim 1, characterized in that, The process of verifying the signature data based on the public key, verifying the carbon metering data and the green code based on the stored evidence record, and outputting a trusted verification result includes: At least one of the transaction center and the payment platform performs signature verification on the signature data based on the public key, verifies the carbon metering data and the green code based on the evidence storage record, and outputs the trusted verification result.

10. A reliable interactive system for carbon metering data, characterized in that, The system includes: The carbon metering data generation module is used to acquire electricity data based on the carbon metering smart energy meter, receive dynamic carbon factors sent by the main station, and generate carbon metering data based on the electricity data and the dynamic carbon factors. The electricity metering coding module is used to perform electricity metering coding based on the electricity carbon metering data and generate a green code; The signature upload module is used to perform digital signature on the carbon metering data and the green code based on the public-private key pair built into the carbon metering smart energy meter, generate signature data, and upload the carbon metering data, the green code, the signature data and the public key in the public-private key pair to the data acquisition main station. The evidence storage and verification module is used by the main collection station to perform evidence storage processing on the carbon metering data, the green code, and the signature data to generate evidence storage records; to perform signature verification on the signature data based on the public key; to perform verification on the carbon metering data and the green code based on the evidence storage records; and to output a reliable verification result.