Carbon emission data processing method, system, electronic device and readable storage medium
Through the data notarization contract and smart accounting contract in the blockchain network, the problems of data discrepancy and tampering in carbon emission data management are solved, and efficient and accurate carbon emission data accounting and management are achieved.
Patent Information
- Application Number
- CN202111026853.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-02
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2041-09-02
AI Technical Summary
In carbon emission management, due to the differences in carbon emission data collected by each manager, the data is difficult to meet accounting requirements, the overall carbon emission data cannot be effectively calculated, and there is a risk of data error and tampering.
Using data notarization contracts and smart accounting contracts in the blockchain network, public and private key pairs are generated through asymmetric encryption algorithms to ensure node identity authentication and data format uniformity. Smart accounting contracts are used to generate carbon emission reports to achieve data immutability and traceability.
It improves the processing efficiency and accuracy of carbon emission data, ensures data uniformity, reduces calculation errors and verification costs, and realizes effective carbon emission data accounting and management.
Smart Images

Figure CN113744053B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a carbon emission data processing method, system, electronic device and readable storage medium. Background Art
[0002] In the current greenhouse gas management, each managed entity often manages carbon emissions by manually reporting carbon emission data, where the managed entity may be an enterprise or a building manager.
[0003] In the current carbon emission management process, when multiple managed entities report carbon emission data, due to certain differences in the collection process of carbon emission data among the managed entities, some carbon emission data will be difficult to meet the accounting requirements, and thus, the overall carbon emission data will not be effectively calculated. Summary of the Invention
[0004] In view of this, embodiments of the present application provide a carbon emission data processing method, system, electronic device, and readable storage medium to achieve the purpose of effectively calculating carbon emission data.
[0005] In a first aspect, a method for processing carbon emission data is provided, the method comprising:
[0006] The first node sends an issuance request based on the blockchain network, where the issuance request includes at least carbon emission data;
[0007] In response to the issuance request, the authentication node verifies the carbon emission data based on a data evidence contract pre-set in the blockchain network;
[0008] In response to the verification of the carbon emission data being passed, the carbon emission data is processed based on the smart accounting contract in the blockchain network and the data type of the carbon emission data to generate a carbon emission report corresponding to the first node.
[0009] Optionally, the first node creates an identity based on the following steps:
[0010] The first node sends an identity creation request based on the blockchain network, where the identity creation request includes at least identity information of the first node;
[0011] Generate a public-private key pair corresponding to the identity creation request based on a preset encryption algorithm, the public-private key pair including a public key and a private key;
[0012] The identity information of the first node and the public key are bound and written into the identity contract.
[0013] Optionally, the method further includes:
[0014] The first node sends a project filing request through the blockchain network, where the project filing request includes project data of the corresponding project;
[0015] In response to the project filing request, the authentication node verifies the project data;
[0016] In response to the project data being verified, the authentication node generates a project file and sends the project file through the blockchain network;
[0017] In response to the project filing request, the second node verifies the received project file;
[0018] In response to the project documents being verified and passed, the project is filed.
[0019] Optionally, the method further includes:
[0020] The authentication node generates a data evidence contract according to preset accounting requirements, wherein the data evidence contract at least includes a data format that the first node needs to report;
[0021] The authentication node writes the data evidence contract into the blockchain network.
[0022] Optionally, the method further includes:
[0023] Create smart accounting contracts based on the data type of each carbon emission data and the corresponding accounting method;
[0024] The authentication node deploys the verified smart accounting contract to the blockchain network.
[0025] Optionally, before the first node sends the issuance request based on the blockchain network, the method further includes:
[0026] The first node receives carbon emission data reported by each collection device corresponding to the first node;
[0027] The first node generates an issuance request based on the data type and data format in the data notarization contract.
[0028] Optionally, the method further includes:
[0029] The authentication node verifies the carbon emission report, generates a verified carbon emission report and uploads it to the blockchain network;
[0030] The second node issues corresponding carbon resources to the first node based on the verified carbon emission report.
[0031] Optionally, the method further includes:
[0032] The first node sends a carbon resource transaction request based on the blockchain network, where the carbon resource transaction request includes at least the amount of carbon resources;
[0033] In response to the carbon resource transaction request, the corresponding target transaction node and the first node execute the carbon transaction contract in the blockchain to generate a carbon resource transaction order, wherein the carbon resource transaction order includes the amount of carbon resources, the signature of the first node, and the signature of the target transaction node;
[0034] In response to the carbon resource transaction order being verified, the transaction corresponding to the carbon resource transaction request is written into the blockchain network.
[0035] In a second aspect, a carbon emission data processing system is provided, the system comprising:
[0036] At least one first node is configured to send an issuance request based on a blockchain network, wherein the issuance request includes at least carbon emission data;
[0037] At least one authentication node is configured to verify the carbon emission data based on a data evidence contract pre-set in the blockchain network in response to the issuance request;
[0038] Among them, the first node and the authentication node are nodes in the blockchain network, and a smart accounting contract is deployed in the blockchain network. In response to the verification of the carbon emission data, the carbon emission data is processed based on the smart accounting contract in the blockchain network and the data type of the carbon emission data to generate a carbon emission report corresponding to the first node.
[0039] Optionally, the first node sends an identity creation request based on the blockchain network, where the identity creation request includes at least the identity information of the first node;
[0040] Generate a public-private key pair corresponding to the identity creation request based on a preset encryption algorithm, the public-private key pair including a public key and a private key;
[0041] The identity information of the first node and the public key are bound and written into the identity contract.
[0042] Optionally, the first node sends a project filing request through a blockchain network, where the project filing request includes project data of the corresponding project;
[0043] In response to the project filing request, the authentication node verifies the project data;
[0044] In response to the project data being verified, the authentication node generates a project file and sends the project file through the blockchain network;
[0045] In response to the project filing request, the second node verifies the received project file;
[0046] In response to the project documents being verified and passed, the project is filed.
[0047] Optionally, the authentication node generates a data evidence contract according to preset accounting requirements, and the data evidence contract at least includes a format of data that the first node needs to report;
[0048] The authentication node writes the data evidence contract into the blockchain network.
[0049] Optionally, the authentication node creates a smart accounting contract based on the data type of each carbon emission data and the corresponding accounting method;
[0050] The authentication node deploys the verified smart accounting contract to the blockchain network.
[0051] Optionally, the first node receives carbon emission data reported by each collection device corresponding to the first node;
[0052] The first node generates an issuance request based on the data type and data format in the data notarization contract.
[0053] Optionally, the system further includes a second node, wherein the authentication node verifies the carbon emission report, generates a verified carbon emission report, and uploads it to the blockchain network;
[0054] The second node issues corresponding carbon resources to the first node based on the verified carbon emission report.
[0055] Optionally, the first node sends a carbon resource transaction request based on the blockchain network, where the carbon resource transaction request includes at least the amount of carbon resources;
[0056] In response to the carbon resource transaction request, the corresponding target transaction node and the first node execute the carbon transaction contract in the blockchain to generate a carbon resource transaction form, wherein the carbon resource transaction form includes the carbon resource quantity, the label name of the first node, and the signature of the target transaction node;
[0057] In response to the carbon resource transaction order being verified, the transaction corresponding to the carbon resource transaction request is written into the blockchain network.
[0058] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method described in the first aspect.
[0059] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer program instructions, which implement the method described in the first aspect when executed by a processor.
[0060] Through the embodiments of the present application, a first node can report carbon emission data based on a blockchain network and a pre-set data notarization contract in the blockchain network. After the carbon emission data is verified, the smart accounting contract in the blockchain network can process the carbon emission data based on its data type and generate a carbon emission report corresponding to the first node. In this process, because the data notarization contract and smart accounting contract are pre-set in the blockchain network, the carbon emission data reported by each first node can be highly uniform, improving data processing efficiency. Furthermore, this embodiment uses a system based on a blockchain network to achieve data immutability and traceability. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The above and other objects, features and advantages of the embodiments of the present application will become more apparent through the following description of the embodiments of the present application with reference to the accompanying drawings, in which:
[0062] Figure 1 A schematic diagram of a carbon emission data processing system according to an embodiment of the present application;
[0063] Figure 2 This is a flow chart of the carbon emission data processing method according to an embodiment of the present application;
[0064] Figure 3 A flowchart of creating an identity for the first node in an embodiment of the present application;
[0065] Figure 4 This is a schematic diagram of another carbon emission data processing system according to an embodiment of the present application;
[0066] Figure 5 This is a flow chart of another carbon emission data processing method according to an embodiment of the present application;
[0067] Figure 6 This is a flow chart of carbon resource trading in an embodiment of the present application;
[0068] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] The present application is described below based on the following embodiments, but the present application is not limited to these embodiments. In the detailed description of the present application below, certain specific details are described in detail. Those skilled in the art can fully understand the present application without the description of these details. To avoid obscuring the essence of the present application, well-known methods, processes, procedures, components, and circuits are not described in detail.
[0070] Furthermore, persons of ordinary skill in the art will appreciate that the figures provided herein are for illustration purposes only and are not necessarily drawn to scale.
[0071] Unless the context clearly requires otherwise, words like “include”, “comprising” and the like in the specification should be interpreted as including rather than exclusive or exhaustive; that is, as “including but not limited to”.
[0072] In the description of this application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance. In addition, in the description of this application, unless otherwise specified, "plurality" means two or more.
[0073] Currently, in order to effectively manage the overall carbon emissions in a region (such as a city, a community, or an office area, etc.), carbon emission managers often collect carbon emission data in the region to calculate the total carbon emissions corresponding to the region.
[0074] However, in the current carbon emissions management process, due to the inevitable differences in the way each managed entity (e.g., each enterprise in an office area) collects carbon emissions data, such as differences in the way each entity collects carbon emissions data, the standards for collecting carbon emissions data, and the formats for reporting carbon emissions data, some carbon emissions data may not meet accounting requirements, leading to the inability to effectively calculate overall carbon emissions data. Furthermore, current carbon emissions data may contain errors or be tampered with during the data collection and accounting process, resulting in errors in carbon emissions data calculation.
[0075] In order to solve the above problems, the present invention provides a carbon emission data processing system. Figure 1 As shown, Figure 1This is a schematic diagram of a carbon emission data processing system according to an embodiment of the present application, wherein the carbon emission data processing system 1 is constructed based on a blockchain network. The carbon emission data processing system 1 may include multiple nodes 11. Nodes 11 may be first nodes or authentication nodes. In other words, the carbon emission data processing system 1 may include at least one first node and at least one authentication node. Each first node and each authentication node may be connected to a blockchain network and communicate via the blockchain.
[0076] The first node is the managed entity in the carbon emission data processing system, i.e., the node that needs to report carbon emission data, such as an enterprise that needs to conduct carbon emission research. The certification node is a third-party node that verifies the accuracy of the data, or a relevant management department that manages carbon resources.
[0077] In a network based on blockchain technology, a general-purpose data processing device loaded with a predetermined program can enter the network and become a blockchain node. When entering the blockchain network, this embodiment can optionally use the asymmetric encryption algorithm SM2 to generate a corresponding public-private key pair. The node stores its own private key and sends the public key to the blockchain for public disclosure. It should be understood that other asymmetric encryption algorithms, such as ECC (elliptic curve cryptography), RSA, ECDSA, etc., can be applied to this embodiment, and this embodiment is not limited to this. Optionally, the public key can be used to obtain the network address corresponding to the node through a series of hash operations, and this derivation process is theoretically irreversible. In addition, the public key and the network address corresponding to the blockchain node can be made public and therefore can both serve as the identifier of the blockchain node.
[0078] Specifically, at least one first node in the carbon emission data processing system 1 may be configured to send an issuance request based on the blockchain network, wherein the issuance request is used to issue carbon resources for the corresponding project within the period.
[0079] Among them, the issuance request includes at least carbon emission data, which is data used to measure carbon emission levels. Carbon emission data may include electricity, water, heating and other related data, such as HVAC, domestic hot water, lighting and elevators, renewable energy, building carbon sinks, etc.
[0080] At least one authentication node in the carbon emission data processing system 1 can be configured to respond to a signature request and verify the carbon emission data based on a pre-configured data storage contract in the blockchain network. Optionally, in this embodiment, the carbon emission data used to calculate carbon emissions can be packaged with a hash value of other information for storage. This other information can include basic information such as the name and address of the first node, as well as project information.
[0081] Optionally, to ensure data processing efficiency, a unified data format is typically adopted. Therefore, this embodiment determines the accounting method based on the data type of each carbon emission data, determines the required data format and content based on the corresponding accounting method, and then determines the data storage contract based on the data format, etc. That is, in this embodiment, the data storage contract can store the carbon emission data based on the data type of the carbon emission data reported by the first node, so that the carbon emission data reported by each first node has a high degree of uniformity in the data format, thereby improving data processing efficiency.
[0082] Furthermore, a smart accounting contract is deployed in the blockchain network. In this embodiment of the present application, an applicable accounting method can be determined based on the type of carbon emission data to be calculated (e.g., electricity or gas data), and then a smart accounting contract can be created based on the applicable accounting method. The smart accounting contract is then deployed to the blockchain network after being verified by the authentication node.
[0083] After the smart accounting contract is deployed, it can automatically generate a corresponding carbon emissions report based on a pre-set algorithm, carbon emissions data, and the data type of the carbon emissions data. Specifically, in response to the carbon emissions data being verified, the smart accounting contract can process the carbon emissions data using a corresponding accounting method based on the data type and generate a carbon emissions report for the first node.
[0084] That is, the smart accounting contract in the carbon emission data processing system 1 can perform calculations based on the carbon emission data reported by the first node and generate a carbon emission report corresponding to the first node. The carbon emission report may include the carbon emissions, carbon emission threshold, carbon emission reduction, etc. of the first node within a predetermined period (e.g., the most recent month).
[0085] In an alternative implementation, when a node enters the blockchain network, it binds its identity information and corresponding public key to an identity contract, allowing for identity registration and verification through the identity contract. This allows for more accurate verification of each node's identity information, avoiding data errors and / or identity impersonation, and thus improving data security.
[0086] In one optional implementation, the blockchain network is initialized and an identity contract, a data storage contract, and a smart accounting contract are constructed. The identity contract verifies the identity information of each node, the data storage contract stores data, and the smart accounting contract calculates the amount of carbon resources and generates a carbon emission report for the first node, such as the company's carbon emission reduction for the current cycle. It should be understood that the identity contract, data storage contract, and smart accounting contract can be updated in real time based on actual application scenarios to more accurately authenticate node identities, ensure data accuracy and immutability, reduce the cost of data falsification during the authentication process, and adapt to current carbon resource calculation methods.
[0087] Through the embodiment of the present application, the first node can report carbon emission data based on the blockchain network and the data evidence contract pre-deployed in the blockchain network. After the carbon emission data is verified, the smart accounting contract in the blockchain network can process the carbon emission data according to the data type of the carbon emission data and generate a carbon emission report corresponding to the first node. In this process, since the data evidence contract and the smart accounting contract are pre-set in the blockchain network, the constraints of the data evidence contract and the smart accounting contract can make the carbon emission data reported by each first node have a high degree of uniformity, reduce calculation errors, improve data processing efficiency, and thus achieve the purpose of effectively calculating carbon emission data.
[0088] In addition, the embodiment of the present application builds a multi-party collaboration platform through the blockchain network. Therefore, the embodiment of the present application can also make the identities and data of each party have good credibility and traceability.
[0089] The following will describe in detail a carbon emission data processing method provided by the embodiment of the present application in combination with specific implementation methods. Figure 2 The specific steps are as follows:
[0090] In step 21, the first node sends an issuance request based on the blockchain network. The issuance request issues the carbon resources of the corresponding project in the period by reporting carbon emission data.
[0091] In actual applications, each node in the blockchain network needs to create an identity in the blockchain network. Take the first node creating an identity as an example. Figure 3 As shown, Figure 3 The flowchart for creating an identity for the first node in an embodiment of the present application specifically includes the following steps:
[0092] In step 31, the first node sends an identity creation request based on the blockchain network.
[0093] The identity creation request at least includes the identity information of the first node.
[0094] In step 32, a public-private key pair corresponding to the identity creation request is generated based on a preset encryption algorithm.
[0095] The public-private key pair includes a public key and a private key. The pre-set encryption algorithm may be an asymmetric encryption algorithm such as SM2, ECC (elliptic curve cryptography), RSA, or ECDSA, and this embodiment is not limited thereto. Alternatively, the public key can be used to derive the network address corresponding to the node through a series of hash operations, and this derivation process is theoretically irreversible. Furthermore, the public key and the network address corresponding to the blockchain node can be made public and therefore can both serve as identifiers for the blockchain node.
[0096] In step 33, the identity information and public key of the first node are bound and written into the identity contract.
[0097] When a node (first node, authentication node, etc.) enters the blockchain network, it binds its identity information and corresponding public key to an identity smart contract, which allows for identity registration and verification. This allows for more accurate verification of each node's identity, avoiding data errors and / or identity impersonation, and thus improving data security.
[0098] In a preferred embodiment, the first node in the embodiment of the present application can also send a project filing request based on the blockchain network, so that the first node starts the project corresponding to the project filing request.
[0099] Specifically, the process can be performed as follows: the first node sends a project filing request via the blockchain network. In response to the project filing request, the authentication node verifies the project data. If the project data is successfully verified, the authentication node generates a project file and sends it via the blockchain network. In response to the project filing request, the second node verifies the received project file. If the project file is successfully verified, the project is filed. The project filing request includes the project data for the corresponding project. The second node is the competent authority node, responsible for project filing and carbon resource issuance.
[0100] The carbon resource issuance process includes two stages: project registration and issuance. During the project registration stage, the first node can submit a project registration request via the blockchain network. This project registration request includes the project data for the project. Optionally, the project data includes the carbon emission type, the carbon emissions within a predetermined timeframe for that carbon emission type, and relevant supporting documents. In one alternative, the first node can directly calculate the hash value of the project data, or scan the project data according to a predetermined template format to create an image file, calculate the hash value of the image file, and then send the project information and the corresponding hash value to a data storage contract for storage. Optionally, the project information can include information such as the project identifier, project summary, or project data. Furthermore, the first node can organize the project information and the corresponding hash value into a JSON file format, sign it with the first node's private key, and send it to the data storage contract. The data storage contract uses the first node's public key to invoke the corresponding identity contract to verify the first node's identity information. Upon successful verification, the project information and the corresponding hash value are stored on the blockchain. This further ensures data accuracy and security.
[0101] In combination with the above-mentioned implementation manner, the first node in the embodiment of the present application can first start the corresponding carbon emission management project based on the project filing request. After the project corresponding to the project filing request is started, the first node can send an issuance request based on the blockchain network, so that the data notarization contract and the smart accounting contract in the blockchain network can generate a carbon emission report corresponding to the first node based on the carbon emission data in the issuance request.
[0102] The data evidence contract can be a contract generated by the authentication node based on pre-set accounting requirements and written into the blockchain network. Specifically, the process of generating the data evidence contract can be performed as follows: the authentication node generates the data evidence contract based on the pre-set accounting requirements, and then the authentication node writes the data evidence contract into the blockchain network. Specifically, this embodiment optionally determines the accounting method based on the data type of each carbon emission data, determines the required data format and content based on the corresponding accounting method, and then generates the data evidence contract based on the data format, etc., thereby improving data processing efficiency.
[0103] The data storage contract includes at least the data type and format that the first node needs to report. By writing the data storage contract into the blockchain network, the stored data can be made more uniform, improving data processing efficiency.
[0104] In this embodiment, each authentication node can verify the carbon emission data reported by the first node based on a pre-deployed data attestation contract. Optionally, the authentication node verifies the authenticity of the carbon emission data in the issuance request and, if verified, signs the data to authenticate the carbon emission data and achieve attestation of the carbon emission data. For example, the authentication node verifies whether the carbon emission data was collected by a certified collection device and, if so, determines that the data is authentic.
[0105] In addition, the carbon emission data reported by the first node may be the data reported by the collection device corresponding to the first node. Specifically, before the issuance request occurs, the first node may also execute: the first node receives the carbon emission data reported by each collection device corresponding to the first node, and then the first node generates an issuance request based on the data type and data format in the data notarization contract.
[0106] like Figure 4 As shown, Figure 4 This is a schematic diagram of another carbon emission data processing system according to an embodiment of the present application, wherein the carbon emission data processing system 41 includes a first node 411 , other nodes 412 (first nodes or authentication nodes) and other nodes 413 (first nodes or authentication nodes).
[0107] Depend on Figure 4 As can be seen, the first node 411 and the external collection device 42 can be connected via non-blockchain communication, such as a local area network connection. The number of collection devices 42 can be one or more. That is, the first node 411 can receive carbon emission data collected by a single collection device 42 or by multiple collection devices 42. Optionally, the collection device is a device that has been certified and registered by the authentication node. In other optional implementations, the collection device can also access the blockchain network, which is not limited in this embodiment.
[0108] The collection device 42 can send the collected carbon emission data (such as data related to HVAC, domestic hot water, lighting and elevators, renewable energy, building carbon sequestration, etc.) to the first node 411. Then, the first node 411 can upload the carbon emission data reported by the collection device 42 to the blockchain network for evidence storage. Optionally, the first node 411 can upload the carbon emission data reported by the collection device 42 to the blockchain for evidence storage according to the data format corresponding to the data evidence contract in the blockchain network based on the data type of the carbon emission data.
[0109] Through the embodiment of the present application, the first node can receive carbon emission data automatically collected by the collection equipment, saving verification costs and improving collection efficiency.
[0110] In step 22, in response to the issuance request, the authentication node verifies the carbon emission data based on the pre-configured data storage contract in the blockchain network. Optionally, the authentication node verifies the authenticity of the carbon emission data in the issuance request and, if verified, signs the data to authenticate the data and achieve data storage. For example, the authentication node verifies whether the carbon emission data was collected by certified and registered collection equipment. If so, the node deems the data authentic.
[0111] In step 23, in response to the verification of the carbon emission data being passed, the carbon emission data is processed based on the smart accounting contract in the blockchain network and the data type of the carbon emission data to generate a carbon emission report corresponding to the first node.
[0112] In a preferred embodiment, between two carbon emission reports corresponding to the first node, the first node may report data multiple times.
[0113] For example, the issuance request sent by the first node may also include a field for requesting report generation. If the issuance request includes a field for requesting report generation, then after the first node sends the issuance request, the blockchain network can generate a carbon emissions report corresponding to the first node based on the issuance request. If the issuance request does not include a field for requesting report generation, then after the first node sends the issuance request, the blockchain network may only store the corresponding carbon emissions data without generating a carbon emissions report. This allows the first node to report data multiple times between each generation of carbon emissions reports corresponding to the first node, thereby improving the adaptability of the carbon emissions data processing system.
[0114] Through the embodiment of the present application, the first node can report carbon emission data based on the blockchain network and the data evidence contract pre-set in the blockchain network. After the carbon emission data is verified, the smart accounting contract in the blockchain network can process the carbon emission data according to the data type of the carbon emission data to generate a carbon emission report corresponding to the first node. In this process, since the data evidence contract and the smart accounting contract are pre-set in the blockchain network, the carbon emission data reported by each first node can have a high degree of uniformity, thereby improving data processing efficiency. At the same time, the authentication node pre-certifies and files the collection equipment, which greatly simplifies the verification process of carbon emission data, further reduces costs, and improves data processing efficiency. In addition, this embodiment adopts a system based on the blockchain network to achieve data immutability and traceability.
[0115] After the blockchain network generates a carbon emissions report, the authentication node verifies it, generates a verified carbon emissions report, and uploads it to the blockchain network. The second node (also known as the competent authority node) issues the corresponding carbon resources to the first node based on the verified carbon emissions report. The carbon resources can be used to represent the carbon emissions reductions of the corresponding project in the current cycle, and the carbon resources can be positive or negative.
[0116] In summary, if Figure 5 As shown, Figure 5 This is a flow chart of the carbon emission data processing method according to an embodiment of the present application, which specifically includes the following steps:
[0117] In step 51, the first node sends an issuance request based on the blockchain network.
[0118] The issuance request includes at least carbon emission data. The issuance request is used to request the issuance of carbon resources for the corresponding project in the current cycle.
[0119] In step 52, the authentication node verifies the carbon emission data based on the data evidence contract pre-set in the blockchain network.
[0120] In step 53, in response to the carbon emission data being verified, the smart accounting contract pre-deployed in the blockchain network is executed to generate a carbon emission report.
[0121] That is to say, when the carbon emission data is verified by the authentication node, the carbon emission data will be automatically sent to the smart accounting contract by the blockchain network. Then, the smart accounting contract will process the carbon emission data based on the type of carbon emission data and the corresponding accounting algorithm to generate a corresponding carbon emission report.
[0122] In step 54, the authentication node obtains the carbon emission report based on the blockchain network.
[0123] In step 55, the authentication node verifies the obtained carbon emission report and generates a verified carbon emission report.
[0124] Step 56: Upload the verified carbon emission report to the blockchain network for evidence storage.
[0125] After the blockchain network automatically generates a carbon emission report, the carbon emission report can be stored in the blockchain network. In one embodiment, the authentication node can obtain the carbon emission report from the blockchain network, verify it, and upload the verified carbon emission report to the blockchain network.
[0126] In step 57, the second node (ie, the node of the competent department) obtains the carbon emission report verified by the certification node.
[0127] In step 58, the second node determines the carbon resource based on the verified carbon emission report. Optionally, the second node can generate summary reports for multiple first nodes based on multiple carbon emission reports. This summary report can be used for overall carbon emission management activities. Of course, the second node can also perform other operations based on the successfully reviewed carbon emission report, but this embodiment of the application will not be detailed here.
[0128] Step 59: The second node issues the carbon resources of the corresponding project in the period to the first node.
[0129] Through the embodiments of the present application, a first node can report carbon emission data based on a blockchain network and a pre-set data notarization contract in the blockchain network. After the carbon emission data is verified, the smart accounting contract in the blockchain network can process the carbon emission data based on its data type and generate a carbon emission report corresponding to the first node. In this process, because the data notarization contract and smart accounting contract are pre-set in the blockchain network, the carbon emission data reported by each first node can be highly uniform, improving data processing efficiency. Furthermore, this embodiment uses a system based on a blockchain network to achieve data immutability and traceability.
[0130] Furthermore, when the carbon emission data reported by each first node is highly unified, the carbon emission manager can effectively manage the overall carbon resources based on the carbon emission reports of each first node to achieve carbon neutrality among the nodes in the blockchain network.
[0131] When the first node receives its corresponding carbon resources, the first node can publish a transaction about the carbon resources based on the blockchain network. Specifically, the process can be executed as follows: the first node sends a carbon resource transaction request based on the blockchain network, and then in response to the carbon resource transaction request, the corresponding target transaction node and the first node execute the carbon transaction contract in the blockchain, generate a carbon resource transaction order, and then in response to the carbon resource transaction order being verified, write the transaction corresponding to the carbon resource transaction request into the blockchain network.
[0132] The carbon resource transaction request at least includes the carbon resource quantity, and the carbon resource transaction form includes the carbon resource quantity, the signature of the first node, and the signature of the target transaction node.
[0133] In one optional implementation, the carbon resource trading request also includes an identifier of a target trading node or a carbon resource trading platform. That is, the first node and the target trading node can directly conduct a carbon resource trading transaction, or the first node can send the carbon resource trading request to the carbon resource trading platform to search for the target trading node. This embodiment is not limited to this.
[0134] After the first node and the corresponding target transaction node execute the carbon trading contract in the blockchain and generate a carbon resource transaction order, other nodes in the blockchain network need to verify the transaction order. If the verification is successful, the verification node will sign the carbon resource transaction order.
[0135] If the carbon resource trading order is verified and the transaction corresponding to the carbon resource trading request is written into the blockchain network, it means that the transaction is executed, and the amount of carbon resources corresponding to the carbon resource trading request will be transferred from the first node to the target trading node.
[0136] For example, Figure 6 As shown, Figure 6 This is a flowchart of the carbon resource transaction in the embodiment of this application, which specifically includes the following steps:
[0137] In step 61, a first node sends a carbon resource transaction request to a target transaction node based on the blockchain network. The carbon resource transaction request may include the quantity of carbon resources requested by the first node and the first node's identifier. Optionally, the carbon resource transaction request may also include the identifier of the target transaction node.
[0138] In step 62, in response to the carbon resource transaction request, the target transaction node and the first node execute the carbon transaction contract and generate a carbon resource transaction form, wherein the carbon resource transaction form includes the carbon resource quantity, the signature of the first node, and the signature of the target transaction node.
[0139] In step 63, the target transaction node or the first node uploads the carbon resource transaction form to the blockchain network ( Figure 5 (The target transaction node uploads the carbon resource transaction order as an example).
[0140] After the blockchain network generates a carbon resource transaction order, nodes other than the first node and the target transaction node (i.e., the verifier's node) need to verify the carbon resource transaction order. If the verification passes, the verification node signs the carbon resource transaction order.
[0141] In step 64 , in response to the carbon resource transaction order being verified, the transaction corresponding to the carbon resource transaction request is written into the block.
[0142] When the transaction corresponding to the carbon resource trading request is written into the blockchain network, it indicates that the transaction corresponding to the carbon resource trading request is successfully executed, that is, the carbon resource transfer between the first node and the target transaction node is completed.
[0143] Through the embodiments of the present application, nodes with more carbon resources can transfer carbon resources to nodes with insufficient carbon resources. In this way, carbon neutrality of each node in the blockchain network can be effectively achieved, and the overall carbon emissions can be effectively controlled.
[0144] Figure 7Schematic diagram of an electronic device according to an embodiment of the present application. Figure 7 As shown, Figure 7 The electronic device shown is a general address query device, which includes a general computer hardware structure, which includes at least a processor 71 and a memory 72. The processor 71 and the memory 72 are connected via a bus 73. The memory 72 is suitable for storing instructions or programs executable by the processor 71. The processor 71 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 71 executes the instructions stored in the memory 72, thereby executing the method flow of the embodiment of the present application as described above to realize data processing and control of other devices. The bus 73 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 74 and the display device and the input / output (I / O) device 75. The input / output (I / O) device 75 can be a mouse, keyboard, modem, network interface, touch input device, somatosensory input device, printer and other devices known in the art. Typically, the input / output device 75 is connected to the system via an input / output (I / O) controller 76.
[0145] It will be understood by those skilled in the art that the embodiments of the present application may be provided as methods, devices (equipment), or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0146] The present application is described with reference to flowcharts of methods, apparatuses (devices), and computer program products according to embodiments of the present application. It should be understood that each process in the flowcharts can be implemented by computer program instructions.
[0147] These computer program instructions may be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.
[0148] These computer program instructions can also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.
[0149] Another embodiment of the present application relates to a non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used to enable a computer to execute part or all of the above method embodiments.
[0150] That is, those skilled in the art will understand that all or part of the steps in the above-mentioned embodiments can be implemented by specifying relevant hardware through a program, which is stored in a storage medium and includes a number of instructions for causing a device (which may be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., various media that can store program code.
[0151] The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application. Persons skilled in the art will readily appreciate that various modifications and variations are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application are intended to be within the scope of protection of the present application.
Claims
1. A carbon emission data processing method, characterized in that: The method comprises: The first node sends an issuance request based on the blockchain network, where the issuance request includes at least carbon emission data; In response to the issuance request, the authentication node verifies the carbon emission data based on a data evidence contract pre-set in the blockchain network, wherein the verification includes checking whether the collection device corresponding to the carbon emission data has been authenticated; In response to the verification of the carbon emission data being passed, processing the carbon emission data based on the smart accounting contract in the blockchain network and the data type of the carbon emission data to generate a carbon emission report corresponding to the first node; The authentication node verifies the carbon emission report, generates a verified carbon emission report and uploads it to the blockchain network; The second node issues corresponding carbon resources to the first node based on the verified carbon emission report; The data notarization contract and the smart accounting contract are contracts pre-deployed on the blockchain network; The method further comprises: The issuance request includes the carbon emission data, or includes the carbon emission data and a field for requesting report generation; In response to the issuance request only including the carbon emission data, storing the carbon emission data in the blockchain network; In response to the issuance request containing only the carbon emission data and a field for requesting report generation, generating a carbon emission report corresponding to the first node based on the carbon emission data and the carbon emission data stored in the blockchain network; The method further comprises: The first node sends an identity creation request based on the blockchain network; Generate a public-private key pair corresponding to the identity creation request based on a pre-set encryption algorithm; Bind the identity information and public key of the first node and write them into the identity contract; The method further comprises: The authentication node generates a data evidence contract according to preset accounting requirements, wherein the data evidence contract at least includes a data format that the first node needs to report; The authentication node writes the data evidence contract into the blockchain network; The authentication node creates a smart accounting contract based on the data type of each carbon emission data and the corresponding accounting method; The authentication node deploys the verified smart accounting contract to the blockchain network.
2. The method according to claim 1, characterized in that The method further comprises: The first node sends a project filing request through the blockchain network, where the project filing request includes project data of the corresponding project; In response to the project filing request, the authentication node verifies the project data; In response to the project data being verified, the authentication node generates a project file and sends the project file through the blockchain network; In response to the project filing request, the second node verifies the received project file; In response to the project documents being verified and passed, the project is filed.
3. The method according to claim 1, characterized in that Before the first node sends the issuance request based on the blockchain network, the method further includes: The first node receives carbon emission data reported by each collection device corresponding to the first node; The first node generates an issuance request based on the data type and data format in the data notarization contract.
4. The method according to claim 1, wherein The method further comprises: The first node sends a carbon resource transaction request based on the blockchain network, where the carbon resource transaction request includes at least the amount of carbon resources; In response to the carbon resource transaction request, the corresponding target transaction node and the first node execute the carbon transaction contract in the blockchain to generate a carbon resource transaction order, wherein the carbon resource transaction order includes the carbon resource quantity, the signature of the first node, and the signature of the target transaction node; In response to the carbon resource transaction order being verified, the transaction corresponding to the carbon resource transaction request is written into the blockchain network.
5. A carbon emission data processing system, characterized in that: The system comprises: At least one first node is configured to send an issuance request based on a blockchain network, wherein the issuance request includes at least carbon emission data; At least one authentication node is configured to, in response to the issuance request, verify the carbon emission data based on a data notarization contract pre-set in the blockchain network, wherein the verification includes verifying whether the carbon emission data is collected and obtained by an authenticated collection device, and verifying the carbon emission report, generating a verified carbon emission report and uploading it to the blockchain network; A second node is configured to issue corresponding carbon resources to the first node based on the verified carbon emission report; The first node, the authentication node, and the second node are nodes in the blockchain network, and an identity contract, a data notarization contract, and a smart accounting contract are deployed in the blockchain network. The data notarization contract and the smart accounting contract are contracts pre-deployed in the blockchain network. In response to the verification of the carbon emission data being passed, the carbon emission data is processed based on the smart accounting contract in the blockchain network and the data type of the carbon emission data to generate a carbon emission report corresponding to the first node. The issuance request includes the carbon emission data, or includes the carbon emission data and a field for requesting report generation. In response to the issuance request only including the carbon emission data, the carbon emission data is stored in the blockchain network. In response to the issuance request only including the carbon emission data and the field for requesting report generation, a carbon emission report corresponding to the first node is generated based on the carbon emission data and the carbon emission data stored in the blockchain network. The first node is further configured to send an identity creation request based on the blockchain network. The blockchain network generates a public-private key pair corresponding to the identity creation request based on a preset encryption algorithm, and binds the identity information and public key of the first node and writes them into the identity contract. The authentication node is also configured to generate a data evidence contract based on pre-set accounting requirements, where the data evidence contract includes at least the data format that the first node needs to report, write the data evidence contract into the blockchain network, and create a smart accounting contract based on the data type of each carbon emission data and the corresponding accounting method, and deploy the verified smart accounting contract to the blockchain network.
6. An electronic device comprising a memory and a processor, characterized in that: The memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Carbon resource processing method based on climate chain, related device and storage medium
CN112633780A
Method and apparatus for processing carbon emission reduction data, and computer readable storage medium
WO2021008405A1