Carbon data management method and device based on block chain, equipment and storage medium
By using a blockchain-based carbon data management method, carbon data from the supply chain is acquired, graded green codes are determined, encrypted data is stored on the blockchain, and smart contracts are generated. This solves the problem of carbon data sharing among enterprises and enables safe and transparent sharing of green and low-carbon levels.
Patent Information
- Application Number
- CN202410861809.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-11-19
AI Technical Summary
In existing technologies, the sharing of carbon data and green and low-carbon levels among enterprises mainly relies on internal enterprise communication, lacking an effective cross-enterprise data sharing mechanism.
By adopting a blockchain-based carbon data management approach, carbon data from the supply chain is acquired, and a graded green code is determined based on the graded carbon emission threshold. The encrypted carbon data is stored on the blockchain node using blockchain accounts, and data sharing rules are set to generate smart contracts to achieve secure sharing of carbon data.
It enables cross-enterprise sharing of carbon data and green and low-carbon levels, ensuring data security and transparency, and supporting inter-enterprise assessment of green and low-carbon levels and data openness.
Smart Images

Figure CN118981691A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a blockchain-based carbon data management method, device, equipment and storage medium. Background Art
[0002] In an increasingly complex and dynamic market, a large amount of transaction data will be generated in each link of the supply chain, such as orders, invoices, payments, transportation, inventory, warehousing and other information, and carbon emissions will also be generated. Carbon emissions are an important parameter reflecting the green and low-carbon level of an enterprise.
[0003] In existing technologies, companies usually evaluate their own green and low-carbon levels based on carbon data in each link of the supply chain, but the evaluation results are usually limited to sharing through internal corporate communications.
[0004] Therefore, how to effectively realize the sharing of carbon data and green and low-carbon levels is a technical problem that needs to be urgently solved in the industry. Summary of the invention
[0005] In response to the technical problems existing in the prior art, the present invention provides a blockchain-based carbon data management method, device, equipment and storage medium, which effectively realizes the sharing of carbon data and green and low-carbon levels.
[0006] In a first aspect, the present invention provides a carbon data management method based on blockchain, which is applied to a data provider, and the method includes: obtaining first carbon data of at least one supply chain link; determining a graded green code of the data provider according to the first carbon data of each supply chain link and a preset graded carbon emission threshold; the graded green code is used to characterize the level of green and low-carbon level of the data provider in the target industry of the data provider; determining the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider; using the blockchain account of the data provider, sending a first publishing request for the encrypted target carbon data to a blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; setting a preset data sharing rule for the encrypted target carbon data, and using the blockchain account of the data provider, sending a second publishing request for the preset data sharing rule to the blockchain node; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0007] Optionally, the supply chain link includes at least one of raw material procurement, product production, product transportation and product delivery, and the first carbon data includes the logistics cost and carbon emissions of the supply chain link; the determining the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold comprises: determining the carbon emission measurement result of the data provider according to the first carbon data of each supply chain link; determining the graded green code of the data provider according to the carbon emission measurement result of the data provider and the preset graded carbon emission threshold; the graded green code comprises three levels, A, B and C, in order from high to low green and low-carbon levels, and each level is used to characterize the echelon of the green and low-carbon level of the data provider in the target industry of the data provider, and the higher the level of the graded green code of the data provider, the higher the echelon of the green and low-carbon level of the data provider in the green and low-carbon level of the target industry.
[0008] Optionally, determining the encrypted target carbon data based on the identity information of the data provider, the carbon emission measurement results of the data provider, the graded green code of the data provider, and the product information of the data provider includes: generating a green digital identification of the data provider based on the identity information of the data provider, the carbon emission measurement results of the data provider and the graded green code of the data provider; and encrypting the identity information of the data provider, the graded green code of the data provider and the product information of the data provider based on the green digital identification of the data provider to obtain the encrypted target carbon data.
[0009] In a second aspect, the present invention also provides a blockchain-based carbon data management method, which is applied to a blockchain node, and the method includes: in response to a first publishing request sent by a data provider using the blockchain account of the data provider, storing the encrypted target carbon data of the data provider on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; in response to a second publishing request from the data provider for a preset data sharing rule, obtaining the preset data sharing rule of the data provider for the encrypted target carbon data, and generating a data sharing smart contract for the encrypted target carbon data on the blockchain node according to the preset data sharing rule.
[0010] Optionally, the method also includes: responding to a data acquisition request from a data demander, using a data sharing smart contract to determine whether the data demander meets the preset data sharing rules; and when it is determined that the data demander meets the preset data sharing rules, opening the encrypted target carbon data of the data provider to the data demander.
[0011] In a third aspect, the present invention also provides a carbon data management device based on blockchain, which is applied to a data provider, and the device includes: an acquisition module for acquiring the first carbon data of at least one supply chain link; a determination module for determining the graded green code of the data provider according to the first carbon data of each supply chain link and a preset graded carbon emission threshold; the graded green code is used to characterize the green and low-carbon level of the data provider in the target industry of the data provider; an on-chain module for determining the encrypted target according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider. Carbon data; using the blockchain account of the data provider, sending a first publishing request for the encrypted target carbon data to the blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; setting a preset data sharing rule for the encrypted target carbon data, and using the blockchain account of the data provider, sending a second publishing request for the preset data sharing rule to the blockchain node; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0012] In a fourth aspect, the present invention also provides a blockchain-based carbon data management device, which is applied to a blockchain node, and the device includes: a data storage module, which is used to respond to a first publishing request sent by a data provider using the blockchain account of the data provider, and store the encrypted target carbon data of the data provider on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; a contract generation module, which is used to respond to a second publishing request of the data provider for the preset data sharing rules, obtain the preset data sharing rules of the data provider for the encrypted target carbon data, and generate a data sharing smart contract for the encrypted target carbon data on the blockchain node according to the preset data sharing rules.
[0013] In a fifth aspect, the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a blockchain-based carbon data management method as described above is implemented.
[0014] In a sixth aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the blockchain-based carbon data management methods described above.
[0015] In a seventh aspect, the present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the blockchain-based carbon data management methods described above.
[0016] The blockchain-based carbon data management method, device, equipment and storage medium provided by the present invention are applied to the data provider end, firstly obtaining the first carbon data of at least one supply chain link; then, according to the first carbon data of each supply chain link and the preset graded carbon emission threshold, determining the graded green code of the data provider end, wherein the graded green code is used to characterize the level of the green and low-carbon level of the data provider end in the target industry of the data provider end; determining the encrypted target carbon data according to the identity information of the data provider end, the carbon emission measurement result of the data provider end, the graded green code of the data provider end, and the product information of the data provider end; further, using the blockchain account of the data provider end, sending a first publishing request for the encrypted target carbon data to the blockchain node, wherein the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; setting a preset data sharing rule for the encrypted target carbon data, and using the blockchain account of the data provider end, sending a second publishing request for the preset data sharing rule to the blockchain node, wherein the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0017] In the present invention, the data provider determines the graded green code of the data provider based on the first carbon data of each supply chain link and the preset graded carbon emission threshold, and then realizes data sharing based on sending a publishing request to the blockchain node, thereby effectively realizing the sharing of carbon data and green and low-carbon levels. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 This is one of the flow charts of the blockchain-based carbon data management method provided by the present invention.
[0020] Figure 2 This is the second flow chart of the blockchain-based carbon data management method provided by the present invention.
[0021] Figure 3 This is one of the structural schematic diagrams of the blockchain-based carbon data management device provided by the present invention.
[0022] Figure 4 This is the second structural schematic diagram of the blockchain-based carbon data management device provided by the present invention.
[0023] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Combine the following Figure 1-Figure 5 The present invention describes the blockchain-based carbon data management method, device, equipment and storage medium.
[0026] Figure 1 This is one of the flow charts of the blockchain-based carbon data management method provided by the present invention, which is applied to the data provider, such as Figure 1 As shown, the method includes steps 101 to 105.
[0027] Step 101: Obtain first carbon data of at least one supply chain link.
[0028] Specifically, the executor of this embodiment is the data provider. This embodiment is used to realize the sharing of green and low-carbon data among enterprises based on blockchain nodes, effectively realizing the sharing of carbon data and green and low-carbon levels.
[0029] First, the data provider obtains the first carbon data of at least one supply chain link. It is understandable that the entire life cycle of the supply chain contains multiple supply chain links, and each link will produce greenhouse gas emissions. Greenhouse gases can reflect the carbon data of each link, such as carbon emissions, carbon footprint, etc. Exemplarily, the supply chain links are, for example, raw material procurement, product production, product transportation, and product delivery. For example, the first carbon data of the raw material procurement, product production, product transportation, and product delivery links are obtained, and the first carbon data is, for example, the carbon emissions of each link.
[0030] Step 102: Determine the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold; the graded green code is used to characterize the green and low-carbon level of the data provider in the target industry of the data provider.
[0031] Specifically, after obtaining the first carbon data of each supply chain link, the preset graded carbon emission threshold can be further combined to determine the graded green code of the data provider. The preset graded carbon emission threshold can be based on the carbon emissions in a historical preset time period and the graded green code corresponding to the carbon emissions. The graded green code is used to characterize the green and low-carbon level of the data provider in the target industry of the data provider.
[0032] For example, based on the position of each enterprise in the industry among all green factories and its position in the industry to which it belongs, the carbon emission thresholds of each level are determined, and the graded green code of the data provider is determined in combination with the actual first carbon data of the data provider. The graded green code is divided into three levels, A, B, and C, accounting for 5%, 35%, and 60% respectively, and the "graded green code" is updated once a year.
[0033] Step 103: Determine the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider.
[0034] Specifically, after determining the graded green code of the data provider, the carbon data can also be encrypted before being submitted to the blockchain. Specifically, for example, according to the identity information of the data provider, the carbon emission measurement results of the data provider, the graded green code of the data provider, and the product information of the data provider, an encryption algorithm is used to determine the encrypted target carbon data. Among them, the identity information of the data provider is, for example, the name of the enterprise and / or the unified social credit code of the enterprise, which is used to uniquely identify the data provider, so that the blockchain can identify the data provider and store the corresponding data in the subsequent chain process; the graded green code is used to characterize the level of the green and low-carbon level of the data provider in the industry in which it is located, for example, intuitively reflecting the position of the enterprise in all green factories and the position in the industry to which it belongs.
[0035] Step 104: Use the blockchain account of the data provider to send a first publishing request for the encrypted target carbon data to the blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located.
[0036] Specifically, after encrypting the target carbon data of the data provider, the encrypted target carbon data can be submitted to the target blockchain to realize data uploading. After the data is uploaded to the chain, data tamper-proofing, data sharing and generation of smart contracts can be realized based on blockchain technology.
[0037] For example, using the blockchain account of the data provider, the data provider sends a first publishing request for the encrypted target carbon data to the blockchain node, wherein the blockchain account of the data provider is a blockchain account pre-registered by the data provider on the target blockchain; the first publishing request sent by the data provider is used for the blockchain node to respond to the first publishing request, store the encrypted target carbon data on the target blockchain where the blockchain node is located, and realize the on-chain and storage of the carbon data.
[0038] Step 105: Set preset data sharing rules for the encrypted target carbon data, and use the blockchain account of the data provider to send a second publishing request for the preset data sharing rules to the blockchain node; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rules.
[0039] Specifically, after the first publishing request for the encrypted target carbon data is sent to the blockchain node and the data is uploaded to the chain, the data provider can further set preset data sharing rules based on the encrypted target carbon data.
[0040] For example, a preset data sharing rule is set for the encrypted target carbon data, and a second publishing request for the preset data sharing rule is sent to the blockchain node using the blockchain account of the data provider. The second publishing request is used for the blockchain node to generate a data sharing smart contract on the blockchain node according to the preset data sharing rule. The data sharing smart contract is used to instruct the blockchain to authorize the data demander to open the data based on the preset data sharing rule. That is, after receiving the second publishing request, the blockchain node generates a data sharing smart contract based on the second publishing request. It can be understood that data sharing can be automatically realized when the data demander meets the preset triggering conditions.
[0041] In the method provided in this embodiment, the method is applied to the data provider, and firstly obtains the first carbon data of at least one supply chain link; then, according to the first carbon data of each supply chain link and the preset graded carbon emission threshold, determines the graded green code of the data provider, wherein the graded green code is used to characterize the level of the green and low-carbon level of the data provider in the target industry of the data provider; according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider, determines the encrypted target carbon data; then, using the blockchain account of the data provider, sends a first publishing request for the encrypted target carbon data to the blockchain node, wherein the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; sets a preset data sharing rule for the encrypted target carbon data, and uses the blockchain account of the data provider to send a second publishing request for the preset data sharing rule to the blockchain node, wherein the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0042] In the present invention, the data provider determines the graded green code of the data provider based on the first carbon data of each supply chain link and the preset graded carbon emission threshold, and then realizes data sharing based on sending a publishing request to the blockchain node, thereby effectively realizing the sharing of carbon data and green and low-carbon levels.
[0043] Optionally, the supply chain link includes at least one of raw material procurement, product production, product transportation and product delivery, and the first carbon data includes the logistics cost and carbon emissions of the supply chain link; according to the first carbon data of each supply chain link and the preset graded carbon emission threshold, determining the graded green code of the data provider includes the following steps.
[0044] Based on the first carbon data of each supply chain link, the carbon emission measurement result of the data provider is determined; based on the carbon emission measurement result of the data provider and the preset graded carbon emission threshold, the graded green code of the data provider is determined; the graded green code includes three levels, A, B and C, in order from high to low green and low-carbon levels. Each level is used to characterize the echelon of the green and low-carbon level of the data provider in the target industry of the data provider. The higher the level of the graded green code of the data provider, the higher the echelon of the green and low-carbon level of the data provider in the green and low-carbon level of the target industry.
[0045] Specifically, it is understandable that the entire life cycle of the supply chain includes multiple links, each of which will generate greenhouse gas emissions, and greenhouse gases can reflect the carbon data of each link, such as carbon emissions, carbon footprint, etc. In some embodiments, the supply chain link includes at least one of raw material procurement, product production, product transportation, and product delivery. Based on the blockchain, the first carbon data of each supply chain link can be recorded and tracked, wherein the first carbon data includes the logistics cost and carbon emissions of the supply chain link.
[0046] Correspondingly, step 102 can be implemented in the following manner.
[0047] First, the carbon emission measurement result of the data provider is determined based on the first carbon data of each supply chain link. For example, according to the measurement requirements, the first carbon data of each supply chain link to be measured are summarized to obtain the carbon emission measurement result of the data provider. For example, the supply chain links to be measured include raw material procurement, product production and product transportation. The first carbon data of each supply chain link are summarized to obtain the carbon emission measurement result of the data provider.
[0048] Furthermore, the graded green code of the data provider is determined according to the carbon emission measurement results of the data provider and the preset graded carbon emission threshold. It is understandable that, in the case of multiple data providers, the preset graded carbon emission threshold can be set based on the historical data of the multiple data providers, and based on the carbon emission measurement results of the multiple data providers and the preset graded carbon emission threshold, the level of the carbon emission measurement results of each data provider can be determined, that is, the echelon of the green and low-carbon level of each data provider in the target industry of the data provider can be determined. Exemplarily, the graded green code includes three levels, A, B and C, in order from high to low green and low-carbon levels. Each level is used to characterize the echelon of the green and low-carbon level of the data provider in the target industry of the data provider. It can be understood that the higher the level of the graded green code of the data provider, the higher the echelon of the green and low-carbon level of the data provider in the green and low-carbon level of the target industry. For example, if the graded green code calculated by data provider 1 is level A, the graded green code calculated by data provider 2 is level B, and the graded green code calculated by data provider 3 is level C, then the green and low-carbon level of data provider 1 is better than that of data provider 2, and the green and low-carbon level of data provider 2 is better than that of data provider 3.
[0049] In the method provided in this embodiment, first, the carbon emission measurement result of the data provider is determined according to the first carbon data of each supply chain link, and then the graded green code of the data provider is determined according to the carbon emission measurement result of the data provider and the preset graded carbon emission threshold. Each level of the graded green code is used to characterize the echelon of the green and low-carbon level of the data provider in the target industry of the data provider. The data provider can intuitively reflect the green and low-carbon level of the data provider by showing the graded green code to the data demander.
[0050] Optionally, determining the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider includes the following steps.
[0051] Based on the identity information of the data provider, the carbon emission measurement results of the data provider and the graded green code of the data provider, a green digital identification of the data provider is generated; based on the green digital identification of the data provider, the identity information of the data provider, the graded green code of the data provider and the product information of the data provider are encrypted to obtain the encrypted target carbon data.
[0052] Specifically, in some embodiments, step 103 may be implemented in the following manner: First, a green digital identification of the data provider is generated based on the identity information of the data provider, the carbon emission measurement results of the data provider and the graded green code of the data provider, wherein the identity information of the data provider is, for example, the company name and / or the unified social credit code of the company. The unified social credit code is a set of 18-digit codes for organizational identity identification, which is used to uniquely identify the data provider, so that the blockchain can identify the data provider and store the corresponding data during the subsequent chain-up process; the carbon emission measurement results of the data provider are obtained by summarizing and measuring the first carbon data in each supply chain link of the data provider; the graded green code of the data provider is the graded green code of the data provider determined based on the first carbon data of each supply chain link and the preset graded carbon emission threshold, which is used to characterize the level of green and low-carbon level of the data provider in the industry in which it is located, such as intuitively reflecting the position of the company among all green factories and its position in the industry to which it belongs. Furthermore, based on the identity information of the data provider, the carbon emission measurement results of the data provider and the graded green code of the data provider, a green digital identification of the data provider is generated, that is, the above identity information, carbon emission measurement results and graded green codes are stored in the green digital identification of the data provider, the above comprehensive information is identified, and the green digital identification of the data provider contains the above information.
[0053] Based on the green digital identification of the data provider, the identity information of the data provider, the graded green code of the data provider, and the product information of the data provider are encrypted to obtain the encrypted target carbon data. Specifically, for example, the green digital identification of the data provider is signed using a digital encryption algorithm to obtain the encrypted target carbon data, thereby encrypting the carbon data of the data provider to prevent privacy exposure.
[0054] In the method provided in this embodiment, a green digital identification of the data provider is generated according to the identity information of the data provider, the carbon emission measurement results of the data provider and the graded green code of the data provider, and then based on the green digital identification of the data provider, the identity information of the data provider, the graded green code of the data provider and the product information of the data provider are encrypted to obtain the encrypted target carbon data, thereby realizing encryption processing of the carbon data of the data provider, preventing privacy exposure and improving data security.
[0055] Figure 2 This is the second flow chart of the carbon data management method based on blockchain provided by the present invention, which is applied to blockchain nodes, such as Figure 2 As shown, the method includes steps 201 and 202.
[0056] Step 201, in response to a first publishing request sent by the data provider using the blockchain account of the data provider, the encrypted target carbon data of the data provider is stored on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider.
[0057] Specifically, the executor of this embodiment is a blockchain node. This embodiment is used to realize the sharing of green and low-carbon data among enterprises, and effectively realizes the sharing of carbon data and green and low-carbon levels.
[0058] First, in response to the first publishing request from the data provider, the encrypted target carbon data is stored on the target blockchain where the blockchain node is located, that is, the data is uploaded to the chain. After the data is uploaded to the chain, blockchain technology can be used to prevent data tampering, share data, and generate smart contracts.
[0059] Among them, the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and the preset graded carbon emission threshold, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider. It can be understood that the entire life cycle of the supply chain contains multiple supply chain links, each of which will produce greenhouse gas emissions, and greenhouse gases can reflect the carbon data of each link, such as carbon emissions, carbon footprint, etc. Exemplarily, the supply chain links are, for example, raw material procurement, product production, product transportation, and product delivery. For example, the first carbon data of the raw material procurement, product production, product transportation, and product delivery links are obtained, and the first carbon data is, for example, the carbon emissions of each link; the preset graded carbon emission threshold can be based on the carbon emissions in the historical preset time period and the graded green code corresponding to the carbon emissions. The graded green code is used to characterize the level of the green and low-carbon level of the data provider in the target industry of the data provider.
[0060] Step 202: In response to the second publishing request of the data provider for the preset data sharing rules, obtain the preset data sharing rules of the data provider for the encrypted target carbon data, and generate a data sharing smart contract for the encrypted target carbon data on the blockchain node according to the preset data sharing rules.
[0061] Specifically, after the data is uploaded to the chain, the preset data sharing rules for the encrypted target carbon data can be further stored on the target blockchain in response to the second publication request, and a data sharing smart contract for the encrypted target carbon data on the blockchain node can be further generated based on the preset data sharing rules. The data sharing smart contract is used to instruct the blockchain to authorize data opening to the data demander based on the preset data sharing rules.
[0062] Furthermore, after receiving the second publishing request, the blockchain node generates a smart contract for data sharing based on the second publishing request. It can be understood that data sharing can be automatically achieved when the data demander meets the preset trigger conditions.
[0063] The method provided in this embodiment is applied to a blockchain node. First, in response to a first publishing request sent by a data provider using the blockchain account of the data provider, the encrypted target carbon data of the data provider is stored on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; then, in response to a second publishing request from the data provider for a preset data sharing rule, the preset data sharing rule of the data provider for the encrypted target carbon data is obtained, and a data sharing smart contract for the encrypted target carbon data on the blockchain node is generated according to the preset data sharing rule.
[0064] In the present invention, since the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and the preset graded carbon emission threshold, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider, the blockchain node responds to the first publishing request of the data provider, and stores the encrypted target carbon data of the data provider on the target blockchain where the blockchain node is located, that is, data sharing is realized based on the blockchain node, thereby effectively realizing the sharing of carbon data and green and low-carbon levels.
[0065] Optionally, the method further includes the following steps.
[0066] In response to the data acquisition request of the data demander, the data sharing smart contract is used to determine whether the data demander meets the preset data sharing rules; when it is determined that the data demander meets the preset data sharing rules, the encrypted target carbon data of the data provider is opened to the data demander.
[0067] Specifically, in some embodiments, the method further includes: in response to a data acquisition request from a data demander, determining whether to open the encrypted target carbon data to the data demander.
[0068] Exemplarily, first, in response to a data acquisition request from a data demander, the data sharing smart contract is first used to determine whether the data demander meets the preset data sharing rules; it can be understood that the preset data sharing rules can be set according to actual conditions, for example, judging whether the data demander meets the authorization instructions of the target carbon data according to the data sharing smart contract; or, judging whether the data demander is an authorized subject allowed to view the target carbon data according to the identity information of the data demander, and so on.
[0069] Furthermore, when it is determined that the data demander meets the preset data sharing rules, the encrypted target carbon data of the data provider is opened to the data demander.
[0070] In the method provided in this embodiment, in response to the data acquisition request of the data demander, the data sharing smart contract is used to determine whether the data demander meets the preset data sharing rules. If it is determined that the data demander meets the preset data sharing rules, the encrypted target carbon data of the data provider is opened to the data demander. The blockchain-based smart contract realizes automatic sharing of carbon data and ensures the security of the data.
[0071] The following is a description of the blockchain-based carbon data management method and device provided by the present invention. The blockchain-based carbon data management device described below and the blockchain-based carbon data management method described above can refer to each other.
[0072] Figure 3 This is one of the structural diagrams of the blockchain-based carbon data management device provided by the present invention, which is applied to the data provider, such as Figure 3 As shown, the blockchain-based carbon data management device 300 includes an acquisition module 310 , a determination module 320 and a chain module 330 .
[0073] The acquisition module 310 is used to acquire first carbon data of at least one supply chain link.
[0074] The determination module 320 is used to determine the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold; the graded green code is used to characterize the green and low-carbon level of the data provider in the target industry of the data provider.
[0075] The on-chain module 330 is used to determine the encrypted target carbon data based on the identity information of the data provider, the carbon emission measurement results of the data provider, the graded green code of the data provider, and the product information of the data provider; use the blockchain account of the data provider to send a first publishing request for the encrypted target carbon data to the blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; set a preset data sharing rule for the encrypted target carbon data, and use the blockchain account of the data provider to send a second publishing request for the preset data sharing rule to the blockchain node; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0076] The device provided in this embodiment is applied to the data provider end. First, the acquisition module 310 acquires the first carbon data of at least one supply chain link. Then, the determination module 320 determines the graded green code of the data provider end according to the first carbon data of each supply chain link and the preset graded carbon emission threshold, wherein the graded green code is used to characterize the level of the green and low-carbon level of the data provider end in the target industry of the data provider end. The encrypted target carbon data is determined according to the identity information of the data provider end, the carbon emission measurement result of the data provider end, the graded green code of the data provider end, and the product information of the data provider end. Then, the chain module 330 uses the blockchain account of the data provider end to send a first publishing request for the encrypted target carbon data to the blockchain node, wherein the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located. Set a preset data sharing rule for the encrypted target carbon data, and use the blockchain account of the data provider end to send a second publishing request for the preset data sharing rule to the blockchain node, wherein the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0077] In the present invention, the data provider determines the graded green code of the data provider based on the first carbon data of each supply chain link and the preset graded carbon emission threshold, and then realizes data sharing based on sending a publishing request to the blockchain node, thereby effectively realizing the sharing of carbon data and green and low-carbon levels.
[0078] Optionally, the supply chain links include at least one of raw material procurement, product production, product transportation and product delivery, and the determination module 320 is specifically used to: determine the carbon emission measurement result of the data provider according to the first carbon data of each supply chain link; determine the graded green code of the data provider according to the carbon emission measurement result of the data provider and a preset graded carbon emission threshold; the graded green code includes three levels A, B and C in order from high to low green and low-carbon levels, and each level is used to characterize the echelon of the green and low-carbon level of the data provider in the target industry of the data provider. The higher the level of the graded green code of the data provider, the higher the echelon of the green and low-carbon level of the data provider in the green and low-carbon level of the target industry.
[0079] Optionally, the determination module 320 is further used to: generate a green digital identification of the data provider based on the identity information of the data provider, the carbon emission measurement results of the data provider and the graded green code of the data provider; based on the green digital identification of the data provider, encrypt the identity information of the data provider, the graded green code of the data provider and the product information of the data provider to obtain the encrypted target carbon data.
[0080] Figure 4 This is the second structural diagram of the carbon data management device based on blockchain provided by the present invention, which is applied to blockchain nodes, such as Figure 4 As shown, the blockchain-based carbon data management device 400 includes an on-chain module 410 and a contract generation module 420 .
[0081] The data storage module 410 is used to store the encrypted target carbon data of the data provider on the target blockchain where the blockchain node is located in response to a first publishing request sent by the data provider using the blockchain account of the data provider; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; the contract generation module 420 is used to respond to a second publishing request of the data provider for the preset data sharing rules, obtain the preset data sharing rules of the data provider for the encrypted target carbon data, and generate a data sharing smart contract for the encrypted target carbon data on the blockchain node according to the preset data sharing rules.
[0082] The device provided in this embodiment is applied to a blockchain node. First, the data storage module 410 responds to a first publishing request sent by the data provider using the blockchain account of the data provider, and stores the encrypted target carbon data of the data provider on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; then, in response to a second publishing request from the data provider for the preset data sharing rules, the preset data sharing rules of the data provider for the encrypted target carbon data are obtained, and a data sharing smart contract for the encrypted target carbon data on the blockchain node is generated according to the preset data sharing rules.
[0083] In the present invention, since the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and the preset graded carbon emission threshold, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider, the blockchain node responds to the first publishing request of the data provider, and stores the encrypted target carbon data of the data provider on the target blockchain where the blockchain node is located, that is, data sharing is realized based on the blockchain node, thereby effectively realizing the sharing of carbon data and green and low-carbon levels.
[0084] Optionally, the device further includes: a data sharing module.
[0085] The data sharing module is used to: respond to the data acquisition request of the data demander, use the data sharing smart contract to determine whether the data demander meets the preset data sharing rules; if it is determined that the data demander meets the preset data sharing rules, open the encrypted target carbon data of the data provider to the data demander.
[0086] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the carbon data management method based on blockchain, which is applied to the data provider, and the method includes the following steps.
[0087] Obtain the first carbon data of at least one supply chain link; determine the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold; the graded green code is used to characterize the level of green and low-carbon level of the data provider in the target industry of the data provider; determine the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement results of the data provider, the graded green code of the data provider, and the product information of the data provider; use the blockchain account of the data provider to send a first publishing request for the encrypted target carbon data to the blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; set a preset data sharing rule for the encrypted target carbon data, and use the blockchain account of the data provider to send a second publishing request for the preset data sharing rule to the blockchain node; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0088] Alternatively, applied to a blockchain node, the method includes the following steps.
[0089] In response to a first publishing request sent by a data provider using the blockchain account of the data provider, the encrypted target carbon data of the data provider is stored on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; in response to a second publishing request for a preset data sharing rule by the data provider, the preset data sharing rule of the data provider for the encrypted target carbon data is obtained, and a data sharing smart contract for the encrypted target carbon data on the blockchain node is generated according to the preset data sharing rule.
[0090] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0091] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the blockchain-based carbon data management method provided by the above methods, which is applied to the data provider. The method includes the following steps.
[0092] Obtain the first carbon data of at least one supply chain link; determine the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold; the graded green code is used to characterize the level of green and low-carbon level of the data provider in the target industry of the data provider; determine the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement results of the data provider, the graded green code of the data provider, and the product information of the data provider; use the blockchain account of the data provider to send a first publishing request for the encrypted target carbon data to the blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; set a preset data sharing rule for the encrypted target carbon data, and use the blockchain account of the data provider to send a second publishing request for the preset data sharing rule to the blockchain node; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0093] Alternatively, applied to a blockchain node, the method includes the following steps.
[0094] In response to a first publishing request sent by a data provider using the blockchain account of the data provider, the encrypted target carbon data of the data provider is stored on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; in response to a second publishing request for a preset data sharing rule by the data provider, the preset data sharing rule of the data provider for the encrypted target carbon data is obtained, and a data sharing smart contract for the encrypted target carbon data on the blockchain node is generated according to the preset data sharing rule.
[0095] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the blockchain-based carbon data management method provided by the above methods is implemented and applied at the data provider end. The method includes the following steps.
[0096] Obtain the first carbon data of at least one supply chain link; determine the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold; the graded green code is used to characterize the level of green and low-carbon level of the data provider in the target industry of the data provider; determine the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement results of the data provider, the graded green code of the data provider, and the product information of the data provider; use the blockchain account of the data provider to send a first publishing request for the encrypted target carbon data to the blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; set a preset data sharing rule for the encrypted target carbon data, and use the blockchain account of the data provider to send a second publishing request for the preset data sharing rule to the blockchain node; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
[0097] Alternatively, applied to a blockchain node, the method includes the following steps.
[0098] In response to a first publishing request sent by a data provider using the blockchain account of the data provider, the encrypted target carbon data of the data provider is stored on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and is determined according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; in response to a second publishing request for a preset data sharing rule by the data provider, the preset data sharing rule of the data provider for the encrypted target carbon data is obtained, and a data sharing smart contract for the encrypted target carbon data on the blockchain node is generated according to the preset data sharing rule.
[0099] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A carbon data management method based on blockchain, applied to the data provider, characterized in that: include: Obtaining first carbon data of at least one supply chain link; Determine the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold; The graded green code is used to represent the green and low-carbon level of the data provider in the target industry of the data provider; Determine the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider; Using the blockchain account of the data provider, sending a first publishing request for the encrypted target carbon data to a blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; A preset data sharing rule is set for the encrypted target carbon data, and a second publishing request for the preset data sharing rule is sent to the blockchain node using the blockchain account of the data provider; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
2. The blockchain-based carbon data management method according to claim 1, characterized in that: The supply chain link includes at least one of raw material procurement, product production, product transportation and product delivery, and the first carbon data includes the logistics cost and carbon emissions of the supply chain link; the determination of the graded green code of the data provider according to the first carbon data of each supply chain link and the preset graded carbon emission threshold includes: Determining the carbon emission measurement result of the data provider according to the first carbon data of each supply chain link; The graded green code of the data provider is determined according to the carbon emission measurement results of the data provider and the preset graded carbon emission threshold; the graded green code includes three levels, A, B and C, in order from high to low green and low-carbon levels, and each level is used to characterize the echelon of the green and low-carbon level of the data provider in the target industry of the data provider. The higher the level of the graded green code of the data provider, the higher the echelon of the green and low-carbon level of the data provider in the green and low-carbon level of the target industry.
3. The blockchain-based carbon data management method according to claim 1, characterized in that: Determining the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider includes: Generate a green digital identification of the data provider according to the identity information of the data provider, the carbon emission measurement result of the data provider and the graded green code of the data provider; Based on the green digital identification of the data provider, the identity information of the data provider, the graded green code of the data provider and the product information of the data provider are encrypted to obtain the encrypted target carbon data.
4. A carbon data management method based on blockchain, applied to blockchain nodes, characterized in that: include: In response to a first publishing request sent by a data provider using the blockchain account of the data provider, the encrypted target carbon data of the data provider is stored on the target blockchain where the blockchain node is located; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; In response to a second publishing request from the data provider for a preset data sharing rule, the preset data sharing rule of the data provider for the encrypted target carbon data is obtained, and a data sharing smart contract for the encrypted target carbon data on the blockchain node is generated according to the preset data sharing rule.
5. The blockchain-based carbon data management method according to claim 4 is characterized in that: The method further includes: responding to a data acquisition request from a data demander, using a smart contract for data sharing, to determine whether the data demander satisfies the preset data sharing rules; When it is determined that the data demander satisfies the preset data sharing rule, the encrypted target carbon data of the data provider is opened to the data demander.
6. A carbon data management device based on blockchain, applied to a data provider, characterized in that: include: An acquisition module, used to acquire first carbon data of at least one supply chain link; A determination module, configured to determine the graded green code of the data provider according to the first carbon data of each of the supply chain links and a preset graded carbon emission threshold; The graded green code is used to represent the green and low-carbon level of the data provider in the target industry of the data provider; The uplink module is used to determine the encrypted target carbon data according to the identity information of the data provider, the carbon emission measurement result of the data provider, the graded green code of the data provider, and the product information of the data provider; Using the blockchain account of the data provider, sending a first publishing request for the encrypted target carbon data to a blockchain node; the first publishing request is used for the blockchain node to respond to the first publishing request and store the encrypted target carbon data on the target blockchain where the blockchain node is located; A preset data sharing rule is set for the encrypted target carbon data, and a second publishing request for the preset data sharing rule is sent to the blockchain node using the blockchain account of the data provider; the second publishing request is used for the blockchain node to generate a smart contract for data sharing on the blockchain node according to the preset data sharing rule.
7. A carbon data management device based on blockchain, applied to a blockchain node, characterized in that: include: A data storage module, for storing the encrypted target carbon data of the data provider on the target blockchain where the blockchain node is located in response to a first publishing request sent by the data provider using the blockchain account of the data provider; wherein the encrypted target carbon data is determined by the data provider based on the first carbon data of at least one supply chain link of the data provider and a preset graded carbon emission threshold to determine the graded green code of the data provider, and according to the graded green code of the data provider, the identity information of the data provider, and the product information of the data provider; A contract generation module is used to respond to the second publishing request of the data provider for the preset data sharing rules, obtain the preset data sharing rules of the data provider for the encrypted target carbon data, and generate a data sharing smart contract for the encrypted target carbon data on the blockchain node according to the preset data sharing rules.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the blockchain-based carbon data management method as described in any one of claims 1 to 3, or the blockchain-based carbon data management method as described in claim 4 or 5.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the blockchain-based carbon data management method as described in any one of claims 1 to 3, or the blockchain-based carbon data management method as described in claim 4 or 5.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it implements the blockchain-based carbon data management method as described in any one of claims 1 to 3, or the blockchain-based carbon data management method as described in claim 4 or 5.
Citation Information
Cited By
Block chain-based product carbon data full-process management method and system
CN120806351A
