Carbon emission data checking method and system, computer equipment and storage medium
By using blockchain technology to hash and verify carbon emission data, the problems of data tampering and high labor costs have been solved, achieving efficient and accurate carbon emission data verification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2026-03-31
AI Technical Summary
Existing carbon emission data verification processes suffer from problems such as data tampering and high labor costs, resulting in inaccurate verification results and low efficiency.
Using blockchain technology, the carbon emission data is hashed at the storage end to generate a storage hash value, which is then uploaded to the blockchain. The verification end extracts data from the blockchain, performs hash calculations to generate a verification hash value, and the management end verifies the data based on both methods to ensure the integrity and authenticity of the data.
This improved the accuracy and efficiency of carbon emission data verification, reduced labor costs, avoided human interference, and ensured the security and reliability of the data.
Smart Images

Figure CN121766902A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing, and more specifically, to a method, system, computer equipment, and storage medium for carbon emission data verification. Background Technology
[0002] Carbon verification refers to the process of verifying the greenhouse gas emission reports submitted by carbon emission entities participating in carbon emission trading to ensure the validity of the emission data submitted. The data from carbon verification is not only a crucial basis for supervising corporate carbon emissions and subsequent carbon reduction, but also essential foundational data required for the country to achieve its dual-carbon goals.
[0003] In existing technologies, carbon emission data verification typically requires carbon emitting entities to collect relevant data and send it to data verification personnel for manual verification of its accuracy and reliability. However, research has revealed that due to the uncontrollable nature of individual behavior, the original data may be altered or omitted during the data transmission and manual verification processes, making accurate and effective verification impossible and resulting in inaccurate and unreliable verification results. Furthermore, since carbon emission data is usually massive, manual verification by personnel leads to a waste of manpower and reduces verification efficiency. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a carbon emission data verification method, system, computer equipment and storage medium to reduce the manpower cost required for carbon emission data verification, improve data verification efficiency, and improve the accuracy and reliability of carbon emission data verification results.
[0005] In a first aspect, embodiments of this application provide a carbon emission data verification method, applied to a carbon emission data verification system. The system includes a storage terminal, a verification terminal, and a management terminal, wherein the storage terminal and the verification terminal are capable of communication. The method includes:
[0006] The evidence storage terminal performs hash processing on the carbon emission data to obtain the evidence storage hash value, uploads the carbon emission data to the blockchain, and sends the evidence storage hash value to the management terminal;
[0007] The verification terminal extracts the carbon emission data from the blockchain, performs a hash calculation on the extracted carbon emission data to obtain a verification hash value, and sends the verification hash value to the management terminal.
[0008] The management terminal verifies the carbon emission data based on the evidence storage hash value and the verification hash value.
[0009] Optionally, the step of hashing the carbon emission data to obtain the evidence hash value includes:
[0010] The first hash value corresponding to each carbon emission data is obtained by performing a hash calculation on each carbon emission data.
[0011] A first hash chain is generated based on the first hash value corresponding to each carbon emission data;
[0012] The evidence storage hash value is obtained by performing a hash calculation on the first hash chain.
[0013] Optionally, before uploading the carbon emission data to the blockchain at the evidence storage terminal, the method further includes:
[0014] The carbon emission data is desensitized.
[0015] Optionally, the blockchain includes several consensus nodes and several synchronization nodes. After the carbon emission data is uploaded to the blockchain at the evidence storage terminal, the method further includes:
[0016] Each consensus node reaches a consensus on the carbon emission data and generates ledger data based on the consensus result;
[0017] Each synchronization node updates the ledger data.
[0018] Optionally, the step of performing a hash calculation on the extracted carbon emission data to obtain a verification hash value includes:
[0019] The extracted carbon emission data are hashed to obtain the second hash value corresponding to each carbon emission data.
[0020] A second hash chain is generated based on the second hash value corresponding to each carbon emission data;
[0021] The verification hash value is obtained by performing a hash calculation on the second hash chain.
[0022] Optionally, the step of verifying the carbon emission data based on the evidence hash value and the verification hash value includes:
[0023] Determine whether the evidence storage hash value is the same as the verification hash value;
[0024] If the evidence storage hash value is the same as the verification hash value, then the verification result of the carbon emission data is determined to be valid;
[0025] If the evidence storage hash value is different from the verification hash value, the verification result of the carbon emission data will be determined as invalid.
[0026] Optionally, the carbon emission data includes information on energy types, fuel consumption, energy purchases, energy inventory, product output, and carbon emission monitoring data.
[0027] Secondly, embodiments of this application provide a carbon emission data verification system, the system including a storage terminal, a verification terminal, and a management terminal, wherein the storage terminal and the verification terminal are capable of communication.
[0028] The evidence storage terminal is used to perform hash processing on carbon emission data to obtain evidence storage hash value, upload the carbon emission data to the blockchain, and send the evidence storage hash value to the management terminal;
[0029] The verification terminal is used to extract the carbon emission data from the blockchain, perform hash calculation on the extracted carbon emission data to obtain a verification hash value, and send the verification hash value to the management terminal.
[0030] The management terminal is used to verify the carbon emission data based on the evidence storage hash value and the verification hash value.
[0031] Optionally, the step of hashing the carbon emission data to obtain the evidence hash value includes:
[0032] The first hash value corresponding to each carbon emission data is obtained by performing a hash calculation on each carbon emission data.
[0033] A first hash chain is generated based on the first hash value corresponding to each carbon emission data;
[0034] The evidence storage hash value is obtained by performing a hash calculation on the first hash chain.
[0035] Optionally, before uploading the carbon emission data to the blockchain at the evidence storage terminal, the method further includes:
[0036] The carbon emission data is desensitized.
[0037] Optionally, the blockchain includes several consensus nodes and several synchronization nodes. After the carbon emission data is uploaded to the blockchain at the evidence storage terminal, the method further includes:
[0038] Each consensus node reaches a consensus on the carbon emission data and generates ledger data based on the consensus result;
[0039] Each synchronization node updates the ledger data.
[0040] Optionally, the step of performing a hash calculation on the extracted carbon emission data to obtain a verification hash value includes:
[0041] The extracted carbon emission data are hashed to obtain the second hash value corresponding to each carbon emission data.
[0042] A second hash chain is generated based on the second hash value corresponding to each carbon emission data;
[0043] The verification hash value is obtained by performing a hash calculation on the second hash chain.
[0044] Optionally, the step of verifying the carbon emission data based on the evidence hash value and the verification hash value includes:
[0045] Determine whether the evidence storage hash value is the same as the verification hash value;
[0046] If the evidence storage hash value is the same as the verification hash value, then the verification result of the carbon emission data is determined to be valid;
[0047] If the evidence storage hash value is different from the verification hash value, the verification result of the carbon emission data will be determined as invalid.
[0048] Optionally, the carbon emission data includes information on energy types, fuel consumption, energy purchases, energy inventory, product output, and carbon emission monitoring data.
[0049] Thirdly, embodiments of this application provide a computer device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the carbon emission data verification method described in any of the optional embodiments of the second aspect above are performed.
[0050] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the carbon emission data verification method described in any of the optional embodiments of the second aspect above.
[0051] The technical solution provided in this application includes, but is not limited to, the following beneficial effects:
[0052] This application employs a carbon emission data verification system. The system hashes carbon emission data at the evidence storage end to obtain a storage hash value, which is then uploaded to the blockchain. The storage hash value is sent to the management end. By synchronously storing data across all nodes of the blockchain, the system leverages the blockchain's structural characteristics to ensure data is not easily tampered with, achieving secure data storage and guaranteeing data integrity, authenticity, and validity. The verification end then retrieves carbon emission data from the blockchain, hashes the retrieved data to obtain a verification hash value, and sends this value to the management end. This same hashing process is applied to the carbon emission data retrieved from the blockchain to obtain hash values, providing objective and quantitative verification evidence for subsequent data verification and improving the reliability of the verification process. Finally, the management end verifies the carbon emission data based on the storage hash value and the verification hash value. This verification process can be performed without human intervention, avoiding interference and uncontrollable factors, improving the accuracy and effectiveness of data verification, and reducing labor costs. Meanwhile, using blockchain technology to securely store, download, and verify carbon emission data can further improve the effectiveness and accuracy of carbon emission verification results.
[0053] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0054] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0055] Figure 1 A flowchart of a carbon emission data verification method provided in Embodiment 1 of the present invention is shown;
[0056] Figure 2 The flowchart of a method for calculating evidence hash value provided in Embodiment 1 of the present invention is shown;
[0057] Figure 3 A flowchart of a ledger data update method provided in Embodiment 1 of the present invention is shown;
[0058] Figure 4 A flowchart of a verification hash value calculation method provided in Embodiment 1 of the present invention is shown;
[0059] Figure 5The flowchart of a specific carbon emission data verification method provided in Embodiment 1 of the present invention is shown;
[0060] Figure 6 This invention illustrates a carbon emission data verification system provided in Embodiment 2 of the present invention;
[0061] Figure 7 A schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention is shown. Detailed Implementation
[0062] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0063] Example 1
[0064] To facilitate understanding of this application, the following is combined with... Figure 1 The flowchart of the carbon emission data verification method provided in Embodiment 1 of the present invention illustrates the content of Embodiment 1 in detail.
[0065] See Figure 1 As shown, Figure 1 The flowchart illustrates a carbon emission data verification method according to Embodiment 1 of the present invention, which is applied to a carbon emission data verification system. The system includes a storage terminal, a verification terminal, and a management terminal. The storage terminal and the verification terminal are capable of communication. The method includes steps S101 to S103:
[0066] S101: The evidence storage terminal performs hash processing on the carbon emission data to obtain the evidence storage hash value, uploads the carbon emission data to the blockchain, and sends the evidence storage hash value to the management terminal.
[0067] Specifically, carbon emission data includes energy data and carbon monitoring data. When hashing carbon emission data, the following methods can be used: Method 1: Divide the carbon emission data into several blocks of equal or unequal length. Perform bitwise operations, shift operations, modulo operations, XOR operations, etc., on each message block to obtain a message digest. Then combine all message digests or perform further operations to obtain the final hash value. Method 2: Select an appropriate hash function based on the type of carbon emission data, such as MD5, SHA-1, SHA-256, etc.; preprocess the carbon emission data according to the requirements of the hash function, such as padding and grouping; and calculate the evidence hash value using the hash function after processing the carbon emission data.
[0068] Carbon emission data and its corresponding hash function are uploaded to various blockchain nodes for consensus and synchronization, and the evidence hash value is sent to the management terminal for storage. The management terminal can also encrypt the evidence hash value to prevent it from being cracked or tampered with.
[0069] S102: The verification terminal extracts the carbon emission data from the blockchain, performs hash calculation on the extracted carbon emission data to obtain a verification hash value, and sends the verification hash value to the management terminal.
[0070] Specifically, the verification end randomly selects a node in the blockchain, extracts carbon emission data and its corresponding hash function from that node, uses the hash function to perform hash calculation on the extracted carbon emission data to obtain the verification hash value, and sends the verification hash value to the managed end.
[0071] S103: The management terminal verifies the carbon emission data based on the evidence storage hash value and the verification hash value.
[0072] Specifically, the management end matches the evidence storage hash value and the verification hash value, and checks whether the carbon emission data has been tampered with based on the matching result. If the management end has encrypted the evidence storage hash value, the encrypted evidence storage hash value is decrypted before executing step S103.
[0073] In one feasible implementation plan, see Figure 2 As shown, Figure 2 The flowchart illustrates a method for calculating a notarization hash value according to Embodiment 1 of the present invention, wherein the step of hashing carbon emission data to obtain a notarization hash value includes steps S201 to S203:
[0074] S201: Perform hash calculations on each carbon emission data to obtain the first hash value corresponding to each carbon emission data.
[0075] S202: Generate the first hash chain based on the first hash value corresponding to each carbon emission data.
[0076] S203: Perform hash calculation on the first hash chain to obtain the evidence storage hash value.
[0077] Specifically, each carbon emission data point is hashed to obtain a first hash value. The first hash values are then chained together using a cryptographic hash function to form a first hash chain. Each data block in the first hash chain contains the hash value of the previous data block. Finally, the first hash chain is hashed to obtain the evidence storage hash value.
[0078] In one feasible implementation, before uploading the carbon emission data to the blockchain at the evidence storage terminal, the method further includes:
[0079] The carbon emission data is desensitized.
[0080] Specifically, a sensitive replacement database is pre-set at the evidence storage terminal. This database stores sensitive words and their replacement words. Before uploading carbon emission data to the blockchain at the evidence storage terminal, the carbon emission data is matched against the sensitive words in the sensitive replacement database. If the carbon emission data contains sensitive words, the corresponding replacement words are used to replace those sensitive words, thus achieving desensitization.
[0081] In one feasible implementation, the blockchain includes several consensus nodes and several synchronization nodes.
[0082] Specifically, the deployment of consensus nodes and synchronization nodes can be configured according to actual needs. In practical applications, based on existing business applications and expansion requirements, more than 10 blockchain nodes are deployed, using the PBFT consensus algorithm, of which 5 are consensus nodes and the rest are synchronization nodes.
[0083] Consensus Nodes: A China National Petroleum Corporation (CNPC) carbon asset chain will be created through a Blockchain as a Service (BaaS) platform. Five organizations (CNPC Quality, Health, Safety and Environmental Protection Department, CNPC Greenhouse Gas Verification and Accounting Center, CNPC Carbon Trading Service Center, Energy Company, and National Oil & Gas Pipeline Group Co., Ltd.) will each have five consensus nodes, possessing the full blockchain data. The consensus nodes will be deployed as follows: one for CNPC Quality, Health, Safety and Environmental Protection Department, one for CNPC Greenhouse Gas Verification and Accounting Center, one for the Group's Carbon Trading Service Center, one for the Energy Company, and one for National Oil & Gas Pipeline Group Co., Ltd., forming a disaster-tolerant blockchain network. Even if one blockchain node fails, the network will continue to operate normally. This blockchain network can be flexibly expanded according to business needs, with nodes dynamically added or removed, and different permissions assigned to nodes based on business requirements.
[0084] Synchronization Nodes: Five organizations are created, namely carbon trading market units, carbon emitting enterprises, the Ministry of Ecology and Environment, the National Carbon Emission Rights Registration and Settlement System, and the Shanghai Energy and Environment Exchange. Each of these five synchronization nodes possesses the full amount of blockchain data and only synchronizes data without reaching consensus.
[0085] See Figure 3 As shown, Figure 3 The flowchart of a ledger data update method provided in Embodiment 1 of the present invention is shown. After the carbon emission data is uploaded to the blockchain at the evidence storage terminal, the method further includes steps S301 to S302:
[0086] S301: Each consensus node reaches a consensus on the carbon emission data and generates ledger data based on the consensus result.
[0087] Specifically, consensus nodes sort all operations by executing the consensus protocol, then execute the operations in the order of consensus, calculate the new state, thereby reaching consensus, and record each operation and state to obtain ledger data.
[0088] S302: Each synchronization node updates the ledger data.
[0089] Specifically, synchronization nodes update the ledger by receiving and applying consensus messages from consensus nodes.
[0090] In one feasible implementation plan, see Figure 4 As shown, Figure 4 The flowchart of a verification hash value calculation method provided in Embodiment 1 of the present invention is shown, wherein the step of performing hash calculation on the extracted carbon emission data to obtain a verification hash value includes steps S401 to S403:
[0091] S401: Perform hash calculations on the extracted carbon emission data to obtain the second hash value corresponding to each carbon emission data.
[0092] S402: Generate a second hash chain based on the second hash value corresponding to each carbon emission data.
[0093] S403: Perform a hash calculation on the second hash chain to obtain the verification hash value.
[0094] Specifically, each carbon emission data point is hashed to obtain a second hash value. These second hash values are then chained together using a cryptographic hash function to form a second hash chain. Each data block in the second hash chain contains the hash value of the previous data block. Finally, the second hash chain is hashed to obtain a verification hash value.
[0095] In one feasible implementation plan, see Figure 5 As shown, Figure 5 The flowchart illustrates a specific carbon emission data verification method provided in Embodiment 1 of the present invention, wherein the verification of the carbon emission data based on the evidence hash value and the verification hash value includes steps S501 to S503:
[0096] S501: Determine whether the evidence storage hash value is the same as the verification hash value.
[0097] S502: If the evidence storage hash value is the same as the verification hash value, then the verification result of the carbon emission data is determined to be valid.
[0098] Specifically, if the evidence hash value is the same as the verification hash value, it means that the data has not been tampered with. The verification result of the carbon emission data will be determined as valid, and the verification result will be displayed in text or broadcast by voice.
[0099] S503: If the evidence storage hash value is different from the verification hash value, the verification result of the carbon emission data shall be determined as invalid.
[0100] Specifically, if the evidence hash value and the verification hash value are different, it means that the data has been tampered with. In this case, the verification result of the carbon emission data will be determined to be invalid, and the verification result will be displayed in text or broadcast by voice.
[0101] In one feasible implementation, the carbon emission data includes information on energy types, fuel consumption, energy purchases, energy inventory, product output, and carbon emission monitoring data.
[0102] Specifically, in practical applications, in accordance with the requirements of greenhouse gas emission accounting methods and reporting guidelines, the following data are verified, including but not limited to: the source and value of carbon dioxide fuel combustion emission data, the source and value of process emission data, the source and value of purchased electricity and heat emission data, and the source and value of special emission data. Before verification, it is confirmed that the energy consumption data, inventory data, and process emission data, after being calculated using emission factors, do not differ significantly from the collected carbon emission data, thus ensuring the authenticity of the data before it is uploaded to the blockchain. By uploading enterprise energy purchase, consumption, and inventory data to the blockchain in real time, and by uploading carbon emission monitoring data to the blockchain in real time, a logically consistent and credible data record is formed. In future carbon emission verification processes, the logically consistent original energy purchase, consumption, and inventory data, along with the carbon emission data, ensure the authenticity of the data before it is uploaded to the blockchain. Blockchain technology ensures the validity of the data after it is uploaded to the blockchain, thereby improving the credibility of carbon asset data in collaborative carbon asset management, enhancing the efficiency of collaborative carbon asset operations among upstream and downstream enterprises, and reducing carbon asset operating costs.
[0103] Example 2
[0104] See Figure 6 As shown, Figure 6 The present invention illustrates a carbon emission data verification system according to Embodiment 2, wherein the system includes a storage terminal 601, a verification terminal 602, and a management terminal 603, and the storage terminal and the verification terminal are capable of communication.
[0105] The evidence storage terminal is used to perform hash processing on carbon emission data to obtain evidence storage hash value, upload the carbon emission data to the blockchain, and send the evidence storage hash value to the management terminal;
[0106] The verification terminal is used to extract the carbon emission data from the blockchain, perform hash calculation on the extracted carbon emission data to obtain a verification hash value, and send the verification hash value to the management terminal.
[0107] The management terminal is used to verify the carbon emission data based on the evidence storage hash value and the verification hash value.
[0108] In one feasible implementation, the hashing of carbon emission data to obtain a notarization hash value includes:
[0109] The first hash value corresponding to each carbon emission data is obtained by performing a hash calculation on each carbon emission data.
[0110] A first hash chain is generated based on the first hash value corresponding to each carbon emission data;
[0111] The evidence storage hash value is obtained by performing a hash calculation on the first hash chain.
[0112] In one feasible implementation, before uploading the carbon emission data to the blockchain at the evidence storage terminal, the method further includes:
[0113] The carbon emission data is desensitized.
[0114] In one feasible implementation, the blockchain includes several consensus nodes and several synchronization nodes. After the carbon emission data is uploaded to the blockchain at the storage terminal, the method further includes:
[0115] Each consensus node reaches a consensus on the carbon emission data and generates ledger data based on the consensus result;
[0116] Each synchronization node updates the ledger data.
[0117] In one feasible implementation, the step of hashing the extracted carbon emission data to obtain a verification hash value includes:
[0118] The extracted carbon emission data are hashed to obtain the second hash value corresponding to each carbon emission data.
[0119] A second hash chain is generated based on the second hash value corresponding to each carbon emission data;
[0120] The verification hash value is obtained by performing a hash calculation on the second hash chain.
[0121] In one feasible implementation, the verification of the carbon emission data based on the evidence hash value and the verification hash value includes:
[0122] Determine whether the evidence storage hash value is the same as the verification hash value;
[0123] If the evidence storage hash value is the same as the verification hash value, then the verification result of the carbon emission data is determined to be valid;
[0124] If the evidence storage hash value is different from the verification hash value, the verification result of the carbon emission data will be determined as invalid.
[0125] In one feasible implementation, the carbon emission data includes information on energy types, fuel consumption, energy purchases, energy inventory, product output, and carbon emission monitoring data.
[0126] Example 3
[0127] Based on the same application concept, see [link / reference] Figure 7 As shown, Figure 7 A schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention is shown, wherein, as Figure 7 As shown, the computer device 700 provided in Embodiment 3 of this application includes:
[0128] The computer device 700 includes a processor 701, a memory 702, and a bus 703. The memory 702 stores machine-readable instructions that can be executed by the processor 701. When the computer device 700 is running, the processor 701 communicates with the memory 702 through the bus 703. When the machine-readable instructions are executed by the processor 701, the steps of the carbon emission data verification method shown in Embodiment 1 are performed.
[0129] Example 4
[0130] Based on the same application concept, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the steps of the carbon emission data verification method described in any of the above embodiments.
[0131] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0132] The computer program product for carbon emission data verification provided in this embodiment of the invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation details, please refer to the method embodiments, which will not be repeated here.
[0133] The carbon emission data verification system provided in this embodiment of the invention can be specific hardware on a device or software or firmware installed on the device. The system provided in this embodiment of the invention has the same implementation principle and technical effects as the aforementioned method embodiments. For the sake of brevity, any parts not mentioned in the system embodiments can be referred to the corresponding content in the aforementioned method embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can all be referred to the corresponding processes in the above method embodiments, and will not be repeated here.
[0134] In the embodiments provided by this invention, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some communication interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0135] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0136] In addition, the functional units in the embodiments provided by the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0137] If the aforementioned functions 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, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0138] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0139] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. All should be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for verifying carbon emission data, characterized in that, An application is made in a carbon emission data verification system, the system including a storage terminal, a verification terminal, and a management terminal, wherein the storage terminal and the verification terminal are capable of communication, and the method includes: The evidence storage terminal performs hash processing on the carbon emission data to obtain the evidence storage hash value, uploads the carbon emission data to the blockchain, and sends the evidence storage hash value to the management terminal; The verification terminal extracts the carbon emission data from the blockchain, performs a hash calculation on the extracted carbon emission data to obtain a verification hash value, and sends the verification hash value to the management terminal. The management terminal verifies the carbon emission data based on the evidence storage hash value and the verification hash value.
2. The method according to claim 1, characterized in that, The process of hashing carbon emission data to obtain a notarization hash value includes: The first hash value corresponding to each carbon emission data is obtained by performing a hash calculation on each carbon emission data. A first hash chain is generated based on the first hash value corresponding to each carbon emission data; The evidence storage hash value is obtained by performing a hash calculation on the first hash chain.
3. The method according to claim 1, characterized in that, Before uploading the carbon emission data to the blockchain at the evidence storage terminal, the method further includes: The carbon emission data is desensitized.
4. The method according to claim 1, characterized in that, The blockchain includes several consensus nodes and several synchronization nodes. After the carbon emission data is uploaded to the blockchain at the evidence storage terminal, the method further includes: Each consensus node reaches a consensus on the carbon emission data and generates ledger data based on the consensus result; Each synchronization node updates the ledger data.
5. The method according to claim 1, characterized in that, The step of performing hash calculations on the extracted carbon emission data to obtain a verification hash value includes: The extracted carbon emission data are hashed to obtain the second hash value corresponding to each carbon emission data. A second hash chain is generated based on the second hash value corresponding to each carbon emission data; The verification hash value is obtained by performing a hash calculation on the second hash chain.
6. The method according to claim 1, characterized in that, The verification of the carbon emission data based on the evidence storage hash value and the verification hash value includes: Determine whether the evidence storage hash value is the same as the verification hash value; If the evidence storage hash value is the same as the verification hash value, then the verification result of the carbon emission data is determined to be valid; If the evidence storage hash value is different from the verification hash value, the verification result of the carbon emission data will be determined as invalid.
7. The method according to claim 1, characterized in that, The carbon emission data includes information on energy types, fuel consumption, energy purchases, energy inventory, product output, and carbon emission monitoring data.
8. A carbon emission data verification system, characterized in that, The system includes an evidence storage terminal, a verification terminal, and a management terminal, and the evidence storage terminal and the verification terminal are capable of communicating with each other. The evidence storage terminal is used to perform hash processing on carbon emission data to obtain evidence storage hash value, upload the carbon emission data to the blockchain, and send the evidence storage hash value to the management terminal; The verification terminal is used to extract the carbon emission data from the blockchain, perform hash calculation on the extracted carbon emission data to obtain a verification hash value, and send the verification hash value to the management terminal. The management terminal is used to verify the carbon emission data based on the evidence storage hash value and the verification hash value.
9. A computer device, characterized in that, include: The computer device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of the carbon emission data verification method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the carbon emission data verification method as described in any one of claims 1 to 7.
Citation Information
Cited By
Carbon emission abnormity tracing method and device, medium and equipment
CN121998668A