Block chain-based low-carbon supply chain processing method, device and equipment
Through the blockchain-based low-carbon supply chain processing method, collaborative management nodes and ordinary nodes to obtain and optimize carbon emission information, the problem of inaccurate determination and optimization of carbon emissions in the existing technology is solved, and the accurate management and optimization of the carbon emission situation of each enterprise is achieved.
Patent Information
- Application Number
- CN202311651251.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2025-06-06
AI Technical Summary
The existing technology cannot accurately determine the carbon emissions of each enterprise in the product manufacturing process, resulting in the inability to timely and effectively optimize carbon emissions.
A low-carbon supply chain processing method based on blockchain is adopted to obtain and feedback the carbon emission information corresponding to product information through the coordinated work of management nodes and ordinary nodes, calculate and optimize the carbon emission list, and generate carbon emission optimization strategies.
The accurate determination and timely optimization of the carbon emissions situation of each enterprise in the product manufacturing process has been achieved, and the efficiency and effectiveness of carbon emission management have been improved.
Smart Images

Figure CN120107043A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of carbon emission management, and in particular to a low-carbon supply chain processing method, device and equipment based on blockchain. Background Art
[0002] With the development of the manufacturing industry, multiple companies need to participate in the manufacturing of products, thus forming a supply chain. In addition, in the manufacturing process, each company will produce carbon emissions, which will have adverse effects on the natural environment.
[0003] Furthermore, there is a need for a method that can accurately determine the carbon emissions of each enterprise involved in the manufacturing process of a product, so as to optimize the carbon emissions of each enterprise in a timely and effective manner. Summary of the invention
[0004] The present application provides a blockchain-based low-carbon supply chain processing method, device and equipment to solve the technical problem that the carbon emissions of each enterprise involved in the manufacturing process of the product cannot be accurately determined, and thus the carbon emissions of each enterprise cannot be optimized in a timely and effective manner.
[0005] In a first aspect, the present application provides a low-carbon supply chain processing method based on blockchain, wherein the blockchain includes a management node and at least one ordinary node, wherein the management node is a server of a core enterprise of the supply chain, and the ordinary node is a server of an ordinary enterprise of the supply chain. The method is applied to the management node, and the method includes:
[0006] In response to a query request sent by a device of a supply chain enterprise, obtain carbon emission information corresponding to the a-th product information indicated by the query request, and feed back the carbon emission information corresponding to the a-th product information to the device of the supply chain enterprise; wherein the query request includes the a-th product information and the a-th signature, the a-th product information is the product information of the supply chain enterprise, and the a-th signature is the signature of the supply chain enterprise; the query request is used to indicate a query for carbon emission information corresponding to the a-th product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer;
[0007] In response to a calculation request sent by the device of the supply chain enterprise, based on the carbon emission information corresponding to the a-th product information, determine the carbon emission inventory corresponding to the a-th product information indicated by the calculation request, and feed back the carbon emission inventory corresponding to the a-th product information to the device of the supply chain enterprise; wherein the calculation request includes the a-th product information and the a-th signature, and the calculation request is used to instruct the calculation of the carbon emission inventory corresponding to the a-th product information;
[0008] In response to the optimization request sent by the device of the supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, determine the carbon emission optimization inventory corresponding to the a-th product information indicated by the optimization request; wherein the optimization request includes the a-th product information and the a-th signature, and the optimization request is used to indicate the determination of the carbon emission optimization inventory corresponding to the a-th product information;
[0009] Based on the carbon emission optimization list corresponding to the a-th product information, a carbon emission optimization strategy corresponding to the a-th product information is generated, and the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information are fed back to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents a way to optimize products and carbon emissions.
[0010] Optionally, in response to a query request sent by a device of a supply chain enterprise, determining carbon emission information corresponding to the ath product information indicated by the query request includes:
[0011] In response to the query request sent by the device of the supply chain enterprise, the following steps are repeatedly performed until the first preset condition is met:
[0012] Based on the ath signature and the ath product information, acquiring, from the at least one common node, at least one ath production process data corresponding to the ath product information;
[0013] For each a-th production process data in the at least one a-th production process data, if it is determined that the a-th production process data contains associated supply information, then based on the a-th signature and the associated supply information, the a-th supply relationship data corresponding to the associated supply information is obtained from the at least one common node; wherein the associated supply information is a unique identifier of the supply relationship data; the a-th supply relationship data includes the a+1-th signature and the a+1-th product information; the a+1-th signature is the signature of the supplier enterprise corresponding to the a-th supply relationship data; the a+1-th product information is the product information of the supplier enterprise corresponding to the a-th supply relationship data;
[0014] Determine the value of a plus 1;
[0015] Among them, when the first preset condition is met, the production process information includes the ath production process data in each iterative process; the supply relationship information includes the ath supply relationship data in each iterative process.
[0016] Optionally, the ath production process data includes raw fuel and raw fuel consumption, and in response to a calculation request sent by the device of the supply chain enterprise, based on the carbon emission information corresponding to the ath product information, determining the carbon emission inventory corresponding to the ath product information indicated by the calculation request includes:
[0017] In response to the computing request sent by the device of the supply chain enterprise, the following steps are repeatedly performed until a second preset condition is met:
[0018] Based on the at least one a-th production process data, determining that the a-th production process data whose raw fuel is fossil fuel and has associated supply information is the direct emission process data corresponding to the a-th product information; or determining that the a-th production process data without associated supply information is the direct emission process data corresponding to the a-th product information;
[0019] Determining the direct carbon emissions corresponding to the a-th product information based on the direct emission process data corresponding to the a-th product information;
[0020] For each ath production process data in the at least one ath production process data, based on the associated supply information in the ath production process data, determine the ath supply relationship data corresponding to the associated supply information; wherein the ath supply relationship data includes the a+1th signature and the a+1th product information; and obtain the associated production information from the ath supply relationship data, and based on the associated production information and the a+1th product information, determine at least one a+1th production process data corresponding to both the associated production information and the a+1th product information; determine the value of a plus 1;
[0021] Among them, when the second preset condition is met, the carbon emission inventory includes the direct carbon emissions corresponding to each of the a-th product information in each iteration process.
[0022] Optionally, in response to the optimization request sent by the device of the supply chain enterprise, based on the carbon emission inventory corresponding to the ath product information, determining the carbon emission optimization inventory corresponding to the ath product information indicated by the optimization request includes:
[0023] In response to the optimization request sent by the equipment of the supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, the following steps are repeatedly performed until the third preset condition is met: for each raw fuel in the a-th production process data in the at least one a-th production process data, a new raw fuel of the same type as the raw fuel is determined; wherein the carbon emission of the new raw fuel is less than the carbon emission of the raw fuel; and when the new raw fuel is used, a new carbon emission inventory corresponding to the a-th product information is determined; and the value of a is determined to be plus 1;
[0024] Based on the new carbon emission inventories corresponding to each a-th product information in each iteration process, the optimized carbon emission inventory corresponding to the a-th product information is determined.
[0025] Optionally, the method further comprises:
[0026] In response to a first evidence storage request sent by the device of the supply chain enterprise, verifying the first evidence storage request; wherein the first evidence storage request includes an ath signature and an ath production process data; the ath signature is the signature of the supply chain enterprise; the ath production process data is the production process data of the supply chain enterprise; the first evidence storage request is used to indicate the storage of the ath production process data;
[0027] If the verification of the first evidence request is passed, the ath production process data indicated by the first evidence request is stored in the at least one ordinary node.
[0028] Optionally, in response to the first evidence storage request sent by the device of the supply chain enterprise, verifying the evidence storage request includes:
[0029] In response to a first evidence storage request sent by the device of the supply chain enterprise, the legitimacy of the ath signature in the first evidence storage request is verified; and the integrity of the ath production process data in the first evidence storage request is verified.
[0030] Optionally, the method further comprises:
[0031] In response to a second evidence storage request sent by the device of the supply chain enterprise, verify the second evidence storage request; wherein the second evidence storage request includes the ath signature, the a+1th signature and the ath supply relationship data; the ath signature is the signature of the supply chain enterprise; the a+1th signature is the signature of the supplier enterprise corresponding to the ath supply relationship data; the ath supply relationship data is the supply relationship data of the supply chain enterprise; the second evidence storage request is used to indicate the storage of the ath supply relationship data;
[0032] If the verification of the second evidence request is passed, the ath supply relationship data indicated by the second evidence request is stored in the at least one ordinary node.
[0033] Optionally, in response to the second evidence storage request sent by the device of the supply chain enterprise, verifying the second evidence storage request includes:
[0034] In response to a second evidence request sent by the device of the supply chain enterprise, the legitimacy of the ath signature and the a+1th signature in the second evidence request is verified; and the integrity of the ath supply relationship data in the second evidence request is verified.
[0035] Optionally, the method further comprises:
[0036] In response to a first creation request from a device of a supply chain core enterprise, a server of the supply chain core enterprise is created as a management node; wherein the first creation request includes server information of the supply chain core enterprise, and the first creation request is used to instruct to create the server of the supply chain core enterprise as a management node;
[0037] In response to a second creation request from a device of a core enterprise of a supply chain, a server of an ordinary enterprise of a supply chain is created as a management node; wherein the second creation request includes server information of the ordinary enterprise of the supply chain, and the second creation request is used to instruct that the server of the ordinary enterprise of the supply chain be created as an ordinary node.
[0038] In a second aspect, the present application provides a low-carbon supply chain processing device based on blockchain, wherein the blockchain includes a management node and at least one ordinary node, wherein the management node is a server of a core enterprise of the supply chain, and the ordinary node is a server of an ordinary enterprise of the supply chain. The device is applied to the management node, and the device includes:
[0039] An acquisition unit, configured to respond to a query request sent by a device of a supply chain enterprise, acquire carbon emission information corresponding to the a-th product information indicated by the query request, and feed back the carbon emission information corresponding to the a-th product information to the device of the supply chain enterprise; wherein the query request includes the a-th product information and the a-th signature, the a-th product information is the product information of the supply chain enterprise, and the a-th signature is the signature of the supply chain enterprise; the query request is used to indicate a query for carbon emission information corresponding to the a-th product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer;
[0040] A first determination unit is used to respond to a calculation request sent by the device of the supply chain enterprise, determine the carbon emission inventory corresponding to the a-th product information indicated by the calculation request based on the carbon emission information corresponding to the a-th product information, and feed back the carbon emission inventory corresponding to the a-th product information to the device of the supply chain enterprise; wherein the calculation request includes the a-th product information and the a-th signature, and the calculation request is used to indicate the calculation of the carbon emission inventory corresponding to the a-th product information;
[0041] A second determination unit is used to respond to the optimization request sent by the device of the supply chain enterprise, and determine the carbon emission optimization inventory corresponding to the a-th product information indicated by the optimization request based on the carbon emission inventory corresponding to the a-th product information; wherein the optimization request includes the a-th product information and the a-th signature, and the optimization request is used to indicate the determination of the carbon emission optimization inventory corresponding to the a-th product information;
[0042] A generation unit is used to generate a carbon emission optimization strategy corresponding to the a-th product information based on the carbon emission optimization list corresponding to the a-th product information, and feed back the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents a way to optimize products and carbon emissions.
[0043] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0044] The memory stores computer-executable instructions;
[0045] The processor executes the computer-executable instructions stored in the memory to implement the method provided in the first aspect above.
[0046] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method provided in the first aspect above.
[0047] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method provided in the first aspect when executed by a processor.
[0048] The low-carbon supply chain processing method, device and equipment based on blockchain provided by the present application, in response to the query request sent by the equipment of the supply chain enterprise, obtain and feedback the carbon emission information corresponding to the a-th product information indicated by the query request; in response to the calculation request sent by the equipment of the supply chain enterprise, based on the carbon emission information corresponding to the a-th product information, determine and feedback the carbon emission inventory corresponding to the a-th product information indicated by the calculation request; in response to the optimization request sent by the equipment of the supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, determine the carbon emission optimization inventory corresponding to the a-th product information indicated by the optimization request; according to the carbon emission optimization inventory corresponding to the a-th product information, generate the carbon emission optimization strategy corresponding to the a-th product information, and feedback the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization inventory corresponding to the a-th product information. In this way, the carbon emission situation of each enterprise in the manufacturing process of the product can be accurately determined, and the carbon emission situation of each enterprise can be optimized in a timely and effective manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0050] Figure 1 A flowchart of a low-carbon supply chain processing method based on blockchain provided in an embodiment of the present application;
[0051] Figure 2 A flowchart of another low-carbon supply chain processing method based on blockchain provided in an embodiment of the present application;
[0052] Figure 3 A schematic diagram of an industrial enterprise supply chain provided in an embodiment of the present application;
[0053] Figure 4 A schematic diagram of the structure of a low-carbon supply chain processing device based on blockchain provided in an embodiment of the present application;
[0054] Figure 5 A schematic structural diagram of an electronic device is provided for an embodiment of the present application.
[0055] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0057] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0058] With the development of the manufacturing industry, multiple companies need to participate in the manufacturing of products, thus forming a supply chain. In addition, in the manufacturing process, each company will produce carbon emissions, which will have adverse effects on the natural environment.
[0059] Carbon emission information accompanies the entire life cycle from raw materials to final products. Therefore, a method is needed to accurately determine the carbon emissions of each company involved in the manufacturing process of the product, so as to optimize the carbon emissions of each company in a timely and effective manner.
[0060] The blockchain-based low-carbon supply chain processing method, device and equipment provided in this application are intended to solve the above technical problems of the prior art.
[0061] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0062] Figure 1 A flowchart of a low-carbon supply chain processing method based on blockchain provided in an embodiment of the present application, wherein the blockchain includes a management node and at least one ordinary node, wherein the management node is a server of a core enterprise of the supply chain, and the ordinary node is a server of an ordinary enterprise of the supply chain, and the method is applied to the management node, such as Figure 1 As shown, the method in this embodiment includes:
[0063] S101. In response to a query request sent by a device of a supply chain enterprise, obtain carbon emission information corresponding to the a-th product information indicated by the query request, and feed back the carbon emission information corresponding to the a-th product information to the device of the supply chain enterprise; wherein the query request includes the a-th product information and the a-th signature, the a-th product information is the product information of the supply chain enterprise, and the a-th signature is the signature of the supply chain enterprise; the query request is used to indicate a query for carbon emission information corresponding to the a-th product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer.
[0064] Exemplarily, the execution subject of this implementation is a management node; wherein the management node is a server of a core enterprise of the supply chain.
[0065] Supply chain enterprises include core enterprises and at least one ordinary enterprise. The equipment of the supply chain enterprise sends a query request to the management node; wherein the query request includes the ath product information and the ath signature, the ath product information is the product information of the supply chain enterprise, and the ath signature is the signature of the supply chain enterprise; the query request is used to indicate the query of carbon emission information corresponding to the ath product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer. In an example, the equipment of supply chain enterprise B sends a query request to the management node; wherein the management node is the server of the core enterprise A of the supply chain; the query request includes the second product information and the second signature, the second product information is the product information of supply chain enterprise B, and the second signature is the signature of supply chain enterprise B; the query request is used to indicate the query of carbon emission information corresponding to the second product information, and the carbon emission information corresponding to the second product information includes production process information corresponding to the second product information and supply relationship information corresponding to the second product information. Alternatively, in another example, a device of supply chain enterprise A sends a query request to a management node; wherein the management node is a server of supply chain core enterprise A; the query request includes the first product information and the first signature, the first product information is the product information of supply chain enterprise A, and the first signature is the signature of supply chain enterprise A; the query request is used to indicate a query for carbon emission information corresponding to the first product information, and the carbon emission information corresponding to the first product information includes production process information corresponding to the first product information and supply relationship information corresponding to the first product information.
[0066] The management node receives a query request sent by a device of a supply chain enterprise, and in response to the query request, obtains carbon emission information corresponding to the a-th product information from at least one ordinary node; wherein the carbon emission information corresponding to the a-th product information includes production process information corresponding to the a-th product information and supply relationship information corresponding to the a-th product information; at least one ordinary node stores carbon emission information, and the carbon emission information includes production process information and supply relationship information.
[0067] The management node feeds back the carbon emission information corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission information corresponding to the a-th product information includes the production process information corresponding to the a-th product information and the supply relationship information corresponding to the a-th product information.
[0068] S102. In response to a calculation request sent by a device of a supply chain enterprise, based on the carbon emission information corresponding to the a-th product information, determine the carbon emission inventory corresponding to the a-th product information indicated by the calculation request, and feed back the carbon emission inventory corresponding to the a-th product information to the device of the supply chain enterprise; wherein the calculation request includes the a-th product information and the a-th signature, and the calculation request is used to indicate the calculation of the carbon emission inventory corresponding to the a-th product information.
[0069] Exemplarily, the device of the supply chain enterprise sends a calculation request to the management node; wherein the calculation request includes the ath product information and the ath signature, the ath product information is the product information of the supply chain enterprise, and the ath signature is the signature of the supply chain enterprise; the calculation request is used to indicate the calculation of the carbon emission inventory corresponding to the ath product information.
[0070] The management node responds to the calculation request sent by the equipment of the supply chain enterprise, and determines the carbon emission inventory corresponding to the a-th product information based on the carbon emission information corresponding to the a-th product information; wherein the carbon emission inventory corresponding to the a-th product information includes: the carbon emissions of each enterprise in the supply chain involved in the manufacturing process of the a-th product.
[0071] The management node feeds back the carbon emission inventory corresponding to the a-th product information to the equipment of the supply chain enterprise.
[0072] S103. In response to an optimization request sent by a device of a supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, determine the carbon emission optimization inventory corresponding to the a-th product information indicated in the optimization request; wherein the optimization request includes the a-th product information and the a-th signature, and the optimization request is used to indicate the determination of the carbon emission optimization inventory corresponding to the a-th product information.
[0073] Exemplarily, the device of the supply chain enterprise sends an optimization request to the management node; the optimization request includes the ath product information and the ath signature, the ath product information is the product information of the supply chain enterprise, and the ath signature is the signature of the supply chain enterprise; the optimization request is used to indicate the determination of the carbon emission optimization list corresponding to the ath product information; the carbon emission optimization list corresponding to the ath product information is used to generate the carbon emission optimization strategy corresponding to the ath product information.
[0074] The management node responds to the optimization request sent by the equipment of the supply chain enterprise and determines the carbon emission optimization inventory corresponding to the a-th product information based on the carbon emission inventory corresponding to the a-th product information.
[0075] S104. Generate a carbon emission optimization strategy corresponding to the a-th product information based on the carbon emission optimization list corresponding to the a-th product information, and feed back the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents the way to optimize products and carbon emissions.
[0076] Exemplarily, the management node generates a carbon emission optimization strategy corresponding to the a-th product information based on the carbon emission optimization list corresponding to the a-th product information, and feeds back the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents the way to optimize products and carbon emissions.
[0077] In this embodiment, the management node responds to the query request sent by the equipment of the supply chain enterprise, obtains and feeds back the carbon emission information corresponding to the ath product information indicated by the query request; responds to the calculation request sent by the equipment of the supply chain enterprise, based on the carbon emission information corresponding to the ath product information, determines and feeds back the carbon emission inventory corresponding to the ath product information indicated by the calculation request; responds to the optimization request sent by the equipment of the supply chain enterprise, based on the carbon emission inventory corresponding to the ath product information, determines the carbon emission optimization inventory corresponding to the ath product information indicated by the optimization request; generates the carbon emission optimization strategy corresponding to the ath product information according to the carbon emission optimization inventory corresponding to the ath product information, and feeds back the carbon emission optimization strategy corresponding to the ath product information and the carbon emission optimization inventory corresponding to the ath product information. Through the method of this embodiment, the carbon emission situation of each enterprise in the manufacturing process of the product can be accurately determined, so as to timely and effectively optimize the carbon emission situation of each enterprise.
[0078] Figure 2 A flowchart of another low-carbon supply chain processing method based on blockchain provided in an embodiment of the present application, wherein the blockchain includes a management node and at least one ordinary node, wherein the management node is a server of a core enterprise of the supply chain, and the ordinary node is a server of an ordinary enterprise of the supply chain, and the method is applied to the management node, such as Figure 2 As shown, the method in this embodiment includes:
[0079] S201. In response to a first creation request from a device of a core supply chain enterprise, create a server of the core supply chain enterprise as a management node; wherein the first creation request includes server information of the core supply chain enterprise, and the first creation request is used to instruct to create the server of the core supply chain enterprise as a management node.
[0080] Exemplarily, the execution subject of this implementation is a server of a core enterprise of a supply chain. The supply chain enterprise includes a core enterprise and at least one ordinary enterprise.
[0081] The device of the core enterprise of the supply chain sends a first creation request to the server of the core enterprise of the supply chain; wherein the first creation request includes the server information of the core enterprise of the supply chain, and the first creation request is used to instruct to create the server of the core enterprise of the supply chain as a management node. In one example, the server information includes the Internet Protocol Address (IP address), login password, and hardware permissions of the server.
[0082] The server of the core enterprise of the supply chain receives the first creation request sent by the device of the core enterprise of the supply chain, and in response to the first creation request, creates the server of the core enterprise of the supply chain as a management node.
[0083] For example, Figure 3 A schematic diagram of an industrial enterprise supply chain provided in an embodiment of the present application, such as Figure 3 As shown in the figure, the supply chain relationship of industrial enterprise A is described as follows:
[0084] For enterprise A, its main product is product p1. The raw materials for product p1 include fuel f1, electricity e1, component c1 and component c2. Among them, fuel f1 is supplied by petrochemical enterprise E; electricity e1 is supplied by thermal power enterprise G; component c1 is jointly supplied by enterprises B and C, with a supply ratio of 2:1; component c2 is supplied by enterprise D.
[0085] For enterprise B, its main product is product c1, and the raw materials for product c1 include fuel f2, electricity e1, and ore m1; among them, fuel f2 is supplied by petrochemical enterprise E; electricity e1 is supplied by thermal power enterprise G; and ore m1 is supplied by mining enterprise F.
[0086] For enterprise C, its main product is product c1, and the raw materials of product c1 include fuel f2, electricity e2, and ore m1; among them, fuel f2 is supplied by petrochemical enterprise E; electricity e2 is supplied by wind power enterprise H; and ore m1 is supplied by mining enterprise F.
[0087] For enterprise D, its main product is product c2, and the raw materials for product c2 include fuel f2, electricity e1, and ore m2; among them, fuel f2 is supplied by petrochemical enterprise E; electricity e1 is supplied by thermal power enterprise G; and ore m2 is supplied by mining enterprise F.
[0088] For Enterprise E, its main products are fuel f2 and fuel f1; Enterprise E is a petrochemical enterprise and a mining enterprise and does not consume raw fuels.
[0089] For Enterprise F: its main products are ore m1 and ore m2; Enterprise F is a mining enterprise and an exploratory enterprise and does not consume raw materials and fuels.
[0090] For enterprise G: its main product is electricity e1, and the raw fuel of electricity e1 is fuel f2; enterprise G is a thermal power enterprise; among them, fuel f2 is supplied by petrochemical enterprise E.
[0091] For Enterprise H: its main product is electricity e2; Enterprise H is a wind power enterprise and a green power enterprise that does not consume raw fuels.
[0092] Enterprise A is the end enterprise of the supply chain and the core enterprise of the supply chain. Enterprises B, C, D, E, F and H are ordinary enterprises in the supply chain.
[0093] The device of enterprise A sends a first creation request to the server of enterprise A, wherein the first creation request includes the server information of enterprise A, and the first creation request is used to instruct to create the server of enterprise A as a management node. In one example, the server information of enterprise A includes the Internet Protocol Address (IP address), login password, and hardware permissions of the server of enterprise A.
[0094] The server of enterprise A receives the first creation request sent by the device of enterprise A, and in response to the first creation request, creates the server of enterprise A as a management node.
[0095] S202. In response to a second creation request from a device of a core enterprise of the supply chain, a server of an ordinary enterprise of the supply chain is created as a management node; wherein the second creation request includes server information of the ordinary enterprise of the supply chain, and the second creation request is used to instruct the server of the ordinary enterprise of the supply chain to be created as an ordinary node.
[0096] Exemplarily, the device of the core enterprise of the supply chain sends a second creation request to the management node; wherein the second creation request includes the server information of the common enterprise of the supply chain, and the second creation request is used to instruct to create the server of the common enterprise of the supply chain as the management node.
[0097] The management node receives a second creation request sent by a device of a core enterprise of the supply chain, and in response to the second creation request, creates a server of a common enterprise of the supply chain as a management node.
[0098] For example, Figure 3 Taking the supply chain in as an example, the device of enterprise A sends a second creation request to the management node; wherein the management node is the server of enterprise A, the second creation request includes the server information of enterprise B, and the second creation request is used to instruct to create the server of enterprise B as a common node. In one example, the server information of enterprise B includes the Internet Protocol Address (IP address), login password, and hardware permissions of the server of enterprise B.
[0099] The management node receives the second creation request sent by the device of enterprise A, and in response to the second creation request, creates the server of enterprise B as a common node.
[0100] According to the above method, the server of enterprise C, the server of enterprise D, the server of enterprise E, the server of enterprise F and the server of enterprise H are all created as common nodes.
[0101] The blockchain includes management nodes and ordinary nodes. The management node is the server of enterprise A, and the ordinary nodes include the server of enterprise B, the server of enterprise C, the server of enterprise D, the server of enterprise E, the server of enterprise F and the server of enterprise H.
[0102] S203. In response to a first evidence storage request sent by a device of the supply chain enterprise, store the ath production process data indicated by the first evidence storage request in at least one common node.
[0103] Optionally, S203 includes the following steps:
[0104] The first step of S203 is to verify the first evidence request in response to the first evidence request sent by the device of the supply chain enterprise; wherein the first evidence request includes the ath signature and the ath production process data; the ath signature is the signature of the supply chain enterprise; the ath production process data is the production process data of the supply chain enterprise; the first evidence request is used to indicate the storage of the ath production process data.
[0105] The second step of S203 is to store the ath production process data indicated by the first evidence request in at least one common node if the verification of the first evidence request is passed.
[0106] Optionally, in response to the first evidence storage request sent by the device of the supply chain enterprise, verifying the evidence storage request includes:
[0107] In response to a first evidence storage request sent by a device of a supply chain enterprise, the legitimacy of the ath signature in the first evidence storage request is verified; and the integrity of the ath production process data in the first evidence storage request is verified.
[0108] Exemplarily, the device of the supply chain enterprise sends a first evidence request to the management node; wherein the first evidence request includes the ath signature and the ath production process data; the ath signature is the signature of the supply chain enterprise; the ath production process data is the production process data of the supply chain enterprise; the first evidence request is used to indicate the storage of the ath production process data.
[0109] The management node receives a first evidence request sent by a device of a supply chain enterprise, and in response to the first evidence request, verifies the legitimacy of the ath signature in the first evidence request; and verifies the integrity of the ath production process data in the first evidence request.
[0110] If the management node passes the verification of the legitimacy of the a-th signature and the integrity of the a-th production process data, the a-th production process data indicated by the first evidence storage request will be stored in at least one ordinary node.
[0111] For example, Figure 3 Take the supply chain in as an example, and select one product p1 as the basic flow. The device of enterprise A sends the first evidence request to the management node; the management node is the server of enterprise A, and the first evidence request includes the signature of enterprise A and the production process data of enterprise A; the first evidence request is used to indicate the production process data of enterprise A to be stored; the production process data of enterprise A is shown in Table 1:
[0112] Table 1
[0113]
[0114] Among them, the primary key ID is the unique identifier of the production process data; the production process ID is used to identify the production process of the product; the product information includes basic information such as product number and name; the producer is used to describe the product producer information; the output is used to describe the quantity of the product; the raw fuel is used to describe the raw fuel information consumed in the production of the product. If the raw fuel information is empty, it indicates that the product is an mining product or a green energy product; the consumption is used to describe the consumption of the raw fuel; the associated supply process is used to describe the associated supply information of the raw fuel. The associated supply information is the unique identifier of the supply relationship data. If the associated supply information is empty, it indicates that the product is a mining product or a green energy product; the signature is the signature of the product producer.
[0115] Among them, the units of output and consumption of product and parts are: pieces; the units of output and consumption of minerals and fuels are: kilograms (kg); the units of output and consumption of electricity are: kilowatt-hours (kWh).
[0116] The management node receives the first evidence storage request, and in response to the first evidence storage request, verifies the legitimacy of the signature of enterprise A; and verifies the integrity of the production process data of enterprise A.
[0117] If the management node successfully verifies the legitimacy of the signature of enterprise A and the integrity of the production process data of enterprise A, the production process data of enterprise A will be stored in at least one ordinary node.
[0118] Alternatively, the device of enterprise B sends a first evidence storage request to the management node; wherein the management node is the server of enterprise A, and the first evidence storage request includes the signature of enterprise B and the production process data of enterprise B; the first evidence storage request is used to indicate the production process data of enterprise B to be stored; the production process data of enterprise B is shown in Table 2:
[0119] Table 2
[0120]
[0121] The management node receives the first evidence storage request, and in response to the first evidence storage request, verifies the legitimacy of the signature of enterprise B; and verifies the integrity of the production process data of enterprise B.
[0122] If the management node passes the verification of the legitimacy of the signature of enterprise B and the integrity of the production process data of enterprise B, the production process data of enterprise B will be stored in at least one ordinary node.
[0123] According to the above method, the production process data of enterprise C, the production process data of enterprise D, the production process data of enterprise E, the production process data of enterprise F, the production process data of enterprise G, and the production process data of enterprise H are respectively stored in at least one common node.
[0124] The production process data of Enterprise C is shown in Table 3:
[0125] Table 3
[0126]
[0127] The production process data of Enterprise D is shown in Table 4:
[0128] Table 4
[0129]
[0130] The production process data of Enterprise E is shown in Table 5:
[0131] Table 5
[0132]
[0133] The production process data of Enterprise F is shown in Table 6:
[0134] Table 6
[0135]
[0136] The production process data of enterprise G is shown in Table 7:
[0137] Table 7
[0138]
[0139] The production process data of enterprise H is shown in Table 8:
[0140] Table 8
[0141]
[0142] S204. In response to a second evidence storage request sent by a device of the supply chain enterprise, store the ath supply relationship data indicated by the second evidence storage request in at least one common node.
[0143] Optionally, S204 includes the following steps:
[0144] The first step of S204 is to verify the second evidence request in response to the second evidence request sent by the device of the supply chain enterprise; wherein the second evidence request includes the ath signature, the a+1th signature and the ath supply relationship data; the ath signature is the signature of the supply chain enterprise; the a+1th signature is the signature of the supplier enterprise corresponding to the ath supply relationship data; the ath supply relationship data is the supply relationship data of the supply chain enterprise; the second evidence request is used to indicate the storage of the ath supply relationship data.
[0145] The second step of S204 is to store the ath supply relationship data indicated by the second evidence request in at least one common node if the verification of the second evidence request is passed.
[0146] Optionally, in response to the second evidence storage request sent by the device of the supply chain enterprise, verifying the second evidence storage request includes:
[0147] In response to a second evidence storage request sent by the device of the supply chain enterprise, the legitimacy of the ath signature and the a+1th signature in the second evidence storage request is verified; and the integrity of the ath supply relationship data in the second evidence storage request is verified.
[0148] Exemplarily, the device of the supply chain enterprise sends a second evidence request to the management node; wherein the second evidence request includes the ath signature, the a+1th signature and the ath supply relationship data; the ath signature is the signature of the supply chain enterprise; the a+1th signature is the signature of the supplier enterprise corresponding to the ath supply relationship data; the ath supply relationship data is the supply relationship data of the supply chain enterprise; the second evidence request is used to indicate the storage of the ath supply relationship data.
[0149] The management node receives the second evidence request sent by the device of the supply chain enterprise, verifies the legitimacy of the ath signature and the a+1th signature in the second evidence request, and verifies the integrity of the ath production process data in the second evidence request.
[0150] If the management node passes the verification of the legitimacy of the ath signature, the legitimacy of the a+1th signature, and the integrity of the ath supply relationship data, the ath production process data indicated by the second evidence request will be stored in at least one ordinary node.
[0151] For example, Figure 3 Take the supply chain in as an example, and select one product p1 as the basic flow. The device of enterprise A or the device of enterprise E sends a second evidence request to the management node; wherein the management node is the server of enterprise A, and the second evidence request includes the signature of enterprise A, the signature of enterprise E, and the supply relationship data between enterprise A and enterprise E; the second evidence request is used to indicate the supply relationship data between enterprise A and enterprise E to be stored. The supply relationship data between enterprise A and enterprise E is shown in Table 9:
[0152] Table 9
[0153] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S1 Fuel F1 Petrochemical Enterprises Company A 50 0000P5 signE+signA
[0154] Among them, the primary key SID is the unique identifier of the supply relationship data; product information includes basic information such as product number and name; the supplier is used to describe the manufacturer information of the product; the purchaser is used to describe the purchaser information of the product; the quantity is used to describe the quantity of product purchases; the associated production process is used to describe the production process of the product; the signature is the signature of the product supplier and the signature of the product purchaser.
[0155] The management node receives the second evidence storage request sent by the device of enterprise A or the device of enterprise E, verifies the legitimacy of the signature of enterprise A and the signature of enterprise E; and verifies the integrity of the supply relationship data between enterprise A and enterprise E.
[0156] If the management node successfully verifies the legitimacy of enterprise A's signature, the legitimacy of enterprise E's signature, and the integrity of the supply relationship data between enterprises A and E, the supply relationship data between enterprises A and E will be stored in at least one ordinary node.
[0157] Alternatively, the device of enterprise A or the device of enterprise G sends a second evidence storage request to the management node; wherein the management node is the server of enterprise A, and the second evidence storage request includes the signature of enterprise A, the signature of enterprise G, and the supply relationship data between enterprise A and enterprise G; the second evidence storage request is used to indicate the supply relationship data between enterprise A and enterprise G to be stored. The supply relationship data between enterprise A and enterprise G is shown in Table 10:
[0158] Table 10
[0159] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S2 Electricity e1 Thermal power company G Company A 60 0000P9 signG+signA
[0160] The management node receives the second evidence storage request sent by the device of enterprise A or the device of enterprise G, verifies the legitimacy of the signature of enterprise A and the signature of enterprise G; and verifies the integrity of the supply relationship data between enterprise A and enterprise G.
[0161] If the management node successfully verifies the legitimacy of enterprise A's signature, the legitimacy of enterprise G's signature, and the integrity of the supply relationship data between enterprises A and G, the supply relationship data between enterprises A and G will be stored in at least one ordinary node.
[0162] Alternatively, the device of enterprise B or the device of enterprise G sends a second evidence storage request to the management node; wherein the management node is the server of enterprise B, and the second evidence storage request includes the signature of enterprise B, the signature of enterprise G, and the supply relationship data between enterprise B and enterprise G; the second evidence storage request is used to indicate the supply relationship data between enterprise B and enterprise G to be stored. The supply relationship data between enterprise B and enterprise G is shown in Table 11:
[0163] Table 11
[0164] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S7 Electricity e1 Thermal power company G Company B 120 0000P9 signG+signB
[0165] The management node receives the second evidence storage request sent by the device of enterprise B or the device of enterprise G, verifies the legitimacy of the signature of enterprise B and the signature of enterprise G; and verifies the integrity of the supply relationship data between enterprise B and enterprise G.
[0166] If the management node successfully verifies the legitimacy of enterprise B's signature, the legitimacy of enterprise G's signature, and the integrity of the supply relationship data between enterprises B and G, the supply relationship data between enterprises B and G will be stored in at least one ordinary node.
[0167] According to the above method, the supply relationship data between enterprise A and enterprise B, the supply relationship data between enterprise A and enterprise C, the supply relationship data between enterprise A and enterprise D, the supply relationship data between enterprise B and enterprise E, the supply relationship data between enterprise B and enterprise F, the supply relationship data between enterprise C and enterprise E, the supply relationship data between enterprise C and enterprise G, the supply relationship data between enterprise C and enterprise F, the supply relationship data between enterprise D and enterprise E, the supply relationship data between enterprise D and enterprise G, the supply relationship data between enterprise D and enterprise F, and the supply relationship data between enterprise G and enterprise E are respectively stored in at least one ordinary node.
[0168] The supply relationship data between Enterprise A and Enterprise B is shown in Table 12:
[0169] Table 12
[0170] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S3 Parts c1 Company B Company A 20 0000P2 signB+signA The supply relationship data between Enterprise A and Enterprise C is shown in Table 13:
[0171] Table 13
[0172] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S4 Parts c1 Company C Company A 10 0000P3 signC+signA
[0173] The supply relationship data between Enterprise A and Enterprise D is shown in Table 14:
[0174] Table 14
[0175] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S5 Parts c2 Company D Company A 20 0000P4 signD+signA
[0176] The supply relationship data between Enterprise B and Enterprise E is shown in Table 15:
[0177] Table 15
[0178] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S6 Fuel f2 Petrochemical Enterprises Company B 100 0000P6 signE+signB
[0179] The supply relationship data between Enterprise B and Enterprise F is shown in Table 16:
[0180] Table 16
[0181] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S8 Ore M1 Mining Enterprise F Company B 40 0000P7 signF+signB
[0182] The supply relationship data between Enterprise C and Enterprise E is shown in Table 17:
[0183] Table 17
[0184] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S9 Fuel f2 Petrochemical Enterprises Company C 40 0000P6 signE+signC
[0185] The supply relationship data between Enterprise C and Enterprise G is shown in Table 18:
[0186] Table 18
[0187] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S10 Electricity e2 Wind power company G Company C 40 0000P10 signH+signC
[0188] The supply relationship data between Enterprise C and Enterprise F are shown in Table 19:
[0189] Table 19
[0190] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S11 Ore M1 Mining Enterprise F Company C 20 0000P7 signF+signC
[0191] The supply relationship data between Enterprise D and Enterprise E is shown in Table 20:
[0192] Table 20
[0193] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S12 Fuel f2 Petrochemical Enterprises Company D 60 0000P6 signE+signD
[0194] The supply relationship data between Enterprise D and Enterprise G is shown in Table 21:
[0195] Table 21
[0196] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S13 Electricity e1 Thermal power company G Company D 180 0000P9 signG+signD
[0197] The supply relationship data between Enterprise D and Enterprise F is shown in Table 22:
[0198] Table 22
[0199] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S14 Ore m2 Mining Enterprise F Company D 100 0000P8 signF+signD
[0200] The supply relationship data between Enterprise G and Enterprise E is shown in Table 23:
[0201] Table 23
[0202] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S15 Fuel f2 Petrochemical Enterprises Thermal power company G 120 0000P6 signE+signG
[0203] S205. In response to a query request sent by a device of a supply chain enterprise, obtain carbon emission information corresponding to the a-th product information indicated by the query request, and feed back the carbon emission information corresponding to the a-th product information to the device of the supply chain enterprise; wherein the query request includes the a-th product information and the a-th signature, the a-th product information is the product information of the supply chain enterprise, and the a-th signature is the signature of the supply chain enterprise; the query request is used to indicate a query for carbon emission information corresponding to the a-th product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer.
[0204] Optionally, S205 includes the following steps:
[0205] In response to the query request sent by the device of the supply chain enterprise, the following steps are repeatedly performed until the first preset condition is met:
[0206] The first step of S205 is to obtain, based on the ath signature and the ath product information, at least one ath production process data corresponding to the ath product information from at least one common node.
[0207] The second step of S205, for each a-th production process data in at least one a-th production process data, if it is determined that there is associated supply information in the a-th production process data, then based on the a-th signature and the associated supply information, obtain the a-th supply relationship data corresponding to the associated supply information from at least one common node; wherein the associated supply information is a unique identifier of the supply relationship data; the a-th supply relationship data includes the a+1-th signature and the a+1-th product information; the a+1-th signature is the signature of the supplier enterprise corresponding to the a-th supply relationship data; the a+1-th product information is the product information of the supplier enterprise corresponding to the a-th supply relationship data.
[0208] The third step of S205 is to determine the value of a and add 1.
[0209] Among them, when the first preset condition is met, the production process information includes the ath production process data in each iterative process; the supply relationship information includes the ath supply relationship data in each iterative process.
[0210] Exemplarily, the device of the supply chain enterprise sends a query request to the management node; wherein the query request includes the ath product information and the ath signature, the ath product information is the product information of the supply chain enterprise, and the ath signature is the signature of the supply chain enterprise; the query request is used to indicate a query for carbon emission information corresponding to the ath product information, the carbon emission information includes production process information and supply relationship information; a is a positive integer.
[0211] The management node receives a query request sent by a device of a supply chain enterprise, and in response to the query request, repeatedly executes the following steps until the first preset condition is met: based on the ath signature and the ath product information, obtain at least one ath production process data corresponding to the ath product information from at least one common node. For each ath production process data in at least one ath production process data, if it is determined that there is associated supply information in the ath production process data, then based on the ath signature and the associated supply information, obtain the ath supply relationship data corresponding to the associated supply information from at least one common node; wherein the associated supply information is a unique identifier of the supply relationship data; the ath supply relationship data includes the a+1th signature and the a+1th product information; the a+1th signature is the signature of the supplier enterprise corresponding to the ath supply relationship data; the a+1th product information is the product information of the supplier enterprise corresponding to the ath supply relationship data. Determine the value of a plus 1.
[0212] Among them, when the first preset condition is met, the carbon emission information corresponding to the ath product information includes the production process information corresponding to the ath product information and the supply relationship information corresponding to the ath product information; the production process information corresponding to the ath product information includes the ath production process data in each iterative process; the supply relationship information corresponding to the ath product information includes the ath supply relationship data in each iterative process.
[0213] The management node feeds back the carbon emission information corresponding to the a-th product information to the equipment of the supply chain enterprise.
[0214] For example, Figure 3 Take the supply chain in as an example, and select one product p1 as the basic flow. The device of enterprise A sends a query request to the management node; the query request includes product p1 information and enterprise A's signature, and product p1 information is the product information of enterprise A; the query request is used to indicate the query of carbon emission information corresponding to product p1 information, and carbon emission information includes production process information and supply relationship information.
[0215] The management node receives a query request sent by a device of enterprise A, and in response to the query request, repeatedly performs the following steps until a first preset condition is met:
[0216] Based on the product p1 information and the signature (signA) of enterprise A, the legitimacy of the signature (signA) of enterprise A is verified. If the legitimacy verification of the signature (signA) of enterprise A is passed, the production process data related to product p1 is obtained from at least one common node through the product p1 information, with the primary key ID being 0001-0005, a total of 5 pieces, as shown in Table 24.
[0217] Table 24
[0218]
[0219] For the production process data with the primary key ID of 0001, it is determined that there is associated supply information (0000S1) in the production process data. Based on the signature (signA) of enterprise A and the associated supply information (0000S1), the legitimacy of the signature (signA) of enterprise A is verified. If the legitimacy verification of the signature (signA) of enterprise A passes, the supply relationship data corresponding to the associated supply information (0000S1) is obtained from at least one ordinary node through the associated supply information (0000S1), as shown in Table 25. The supply relationship data includes the signature (signE) of the supplier enterprise E and the product information (fuel f1) of the supplier enterprise E.
[0220] Table 25
[0221] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S1 Fuel F1 Petrochemical Enterprises Company A 50 0000P5 signE+signA
[0222] Based on the product information (fuel f1) and the signature (signE) of enterprise E, the legitimacy of the signature (signE) of enterprise E is verified. If the legitimacy verification of the signature (signE) of enterprise E passes, then the product information (fuel f1) is obtained from at least one common node, and a total of 1 production process data related to fuel f1 with the primary key ID of 0015 is obtained, as shown in Table 26.
[0223] Table 26
[0224]
[0225] For the production process data with primary key ID 0015, it is determined that there is no associated supply information in the production process data, that is, it is determined that the associated supply process in the production process data is empty, and the iteration step for the production process data with primary key ID 0001 is terminated.
[0226] For the production process data with the primary key ID of 0002, it is determined that there is associated supply information (0000S1) in the production process data. Based on the signature (signA) of enterprise A and the associated supply information (0000S2), the legitimacy of the signature (signA) of enterprise A is verified. If the legitimacy verification of the signature (signA) of enterprise A passes, the supply relationship data corresponding to the associated supply information (0000S2) is obtained from at least one ordinary node through the associated supply information (0000S2), as shown in Table 27. The supply relationship data includes the signature (signG) of the supplier enterprise G and the product information (electricity e1) of the supplier enterprise G.
[0227] Table 27
[0228] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S2 Electricity e1 Thermal power company G Company A 60 0000P9 signG+signA
[0229] Based on the product information (electricity e1) and the signature (signG) of enterprise G, the legitimacy of the signature (signG) of enterprise G is verified. If the legitimacy verification of the signature (signG) of enterprise G passes, then the product information (electricity e1) is obtained from at least one common node, and a total of 1 production process data related to electricity e1 with the primary key ID of 0019 is obtained, as shown in Table 28.
[0230] Table 28
[0231]
[0232] For the production process data with the primary key ID of 0019, it is determined that there is associated supply information (0000S15) in the production process data. Based on the signature (signG) of enterprise G and the associated supply information (0000S15), the legitimacy of the signature (signG) of enterprise G is verified. If the legitimacy verification of the signature (signG) of enterprise G passes, the supply relationship data corresponding to the associated supply information (0000S15) is obtained from at least one ordinary node through the associated supply information (0000S15), as shown in Table 29. The supply relationship data includes the signature (signE) of the supplier enterprise E and the product information (fuel f2) of the supplier enterprise E.
[0233] Table 29
[0234] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S15 Fuel f2 Petrochemical Enterprises Thermal power company G 120 0000P6 signE+signG
[0235] Based on the product information (fuel f2) and the signature (signE) of enterprise E, the legitimacy of the signature (signE) of enterprise E is verified. If the legitimacy verification of the signature (signE) of enterprise E passes, the production process data related to fuel f2 is obtained from at least one common node through the product information (fuel f2), with the primary key ID being 0016, as shown in Table 30.
[0236] Table 30
[0237]
[0238] For the production process data with primary key ID 0016, it is determined that there is no associated supply information in the production process data, that is, it is determined that the associated supply process in the production process data is empty, and the iteration step for the production process data with primary key ID 0002 is terminated.
[0239] According to the above method, the iteration steps are completed in turn for the production process data with primary key ID 0003, the production process data with primary key ID 0004, and the production process data with primary key ID 0005. Finally, the carbon emission information corresponding to the product p1 information is obtained; wherein the carbon emission information corresponding to the product p1 information includes: the production process information corresponding to the product p1 information (Table 31), and the supply relationship information corresponding to the product p1 information (Table 32).
[0240] The management node feeds back the carbon emission information corresponding to the product p1 information to the equipment of enterprise A.
[0241] Table 31 Production process data
[0242]
[0243]
[0244] Table 32 Supply relationship data
[0245] Primary Key SID Product Information Supply Side Buyer quantity Related production process sign 0000S1 Fuel F1 Petrochemical Enterprises Company A 50 0000P5 signE+signA 0000S2 Electricity e1 Thermal power company G Company A 60 0000P9 signG+signA 0000S3 Parts c1 Company B Company A 20 0000P2 signB+signA 0000S4 Parts c1 Company C Company A 10 0000P3 signC+signA 0000S5 Parts c2 Company D Company A 20 0000P4 signD+signA 0000S6 Fuel f2 Petrochemical Enterprises Company B 100 0000P6 signE+signB 0000S7 Electricity e1 Thermal power company G Company B 120 0000P9 signG+signB 0000S8 Ore M1 Mining Enterprise F Company B 40 0000P7 signF+signB 0000S9 Fuel f2 Petrochemical Enterprises Company C 40 0000P6 signE+signC 0000S10 Electricity e2 Wind power company G Company C 40 0000P10 signH+signC 0000S11 Ore M1 Mining Enterprise F Company C 20 0000P7 signF+signC 0000S12 Fuel f2 Petrochemical Enterprises Company D 60 0000P6 signE+signD 0000S13 Electricity e1 Thermal power company G Company D 180 0000P9 signG+signD 0000S14 Ore m2 Mining Enterprise F Company D 100 0000P8 signF+signD 0000S15 Fuel f2 Petrochemical Enterprises Thermal power company G 120 0000P6 signE+signG
[0246] Among them, the units of output and consumption of product and parts are: pieces; the units of output and consumption of minerals and fuels are: kilograms (kg); the units of output and consumption of electricity are: kilowatt-hours (kWh).
[0247] Through the method of this step, the carbon emission information of each enterprise involved in the manufacturing process of the product can be accurately determined.
[0248] S206. In response to a calculation request sent by the equipment of the supply chain enterprise, based on the carbon emission information corresponding to the a-th product information, determine the carbon emission inventory corresponding to the a-th product information indicated by the calculation request, and feed back the carbon emission inventory corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the calculation request includes the a-th product information and the a-th signature, and the calculation request is used to indicate the calculation of the carbon emission inventory corresponding to the a-th product information.
[0249] Optionally, the ath production process data includes raw fuel and raw fuel consumption, and S206 includes the following steps:
[0250] In response to a computing request sent by a device of a supply chain enterprise, the following steps are repeatedly performed until a second preset condition is met:
[0251] The first step of S206 is to determine, based on at least one ath production process data, that the ath production process data whose raw fuel is fossil fuel and has associated supply information is the direct emission process data corresponding to the ath product information; or, to determine that the ath production process data without associated supply information is the direct emission process data corresponding to the ath product information.
[0252] The second step of S206 is to determine the direct carbon emission amount corresponding to the a-th product information based on the direct emission process data corresponding to the a-th product information.
[0253] The third step of S206 is to determine, for each ath production process data in at least one ath production process data, the ath supply relationship data corresponding to the associated supply information based on the associated supply information in the ath production process data; wherein the ath supply relationship data includes the a+1th signature and the a+1th product information; and obtain the associated production information from the ath supply relationship data, and determine, based on the associated production information and the a+1th product information, at least one a+1th production process data corresponding to both the associated production information and the a+1th product information; and determine the value of a plus 1.
[0254] Among them, when the second preset condition is met, the carbon emission inventory includes the direct carbon emissions corresponding to each a-th product information in each iteration process.
[0255] Exemplarily, a device of a supply chain enterprise sends a calculation request to a management node; wherein the calculation request includes the ath product information and the ath signature, and the calculation request is used to indicate the calculation of a carbon emission inventory corresponding to the ath product information.
[0256] The management node receives a calculation request sent by a device of a supply chain enterprise, and in response to the calculation request, repeatedly executes the following steps until the second preset condition is met: based on at least one ath production process data, determine that the ath production process data whose raw fuel is fossil fuel and has associated supply information is the direct emission process data corresponding to the ath product information; or determine that the ath production process data without associated supply information is the direct emission process data corresponding to the ath product information. Based on the direct emission process data corresponding to the ath product information, determine the direct carbon emissions corresponding to the ath product information. For each ath production process data in at least one ath production process data, based on the associated supply information in the ath production process data, determine the ath supply relationship data corresponding to the associated supply information; wherein the ath supply relationship data includes the a+1th signature and the a+1th product information; and obtain the associated production information from the ath supply relationship data, and based on the associated production information and the a+1th product information, determine at least one a+1th production process data corresponding to both the associated production information and the a+1th product information; determine the value of a plus 1.
[0257] Among them, when the second preset condition is met, the carbon emission inventory corresponding to the a-th product information includes the direct carbon emissions corresponding to each a-th product information in each iteration process.
[0258] The management node feeds back the carbon emission inventory corresponding to the a-th product information to the equipment of the supply chain enterprise.
[0259] For example, in this embodiment, the carbon emissions of the product are calculated based on the actual process path of the product. The calculation method is the direct carbon emissions of the process plus the indirect carbon emissions of each process, as shown in Formula 1:
[0260] E T,F,g =E F,g +∑a T,i E i,g (Formula 1)
[0261] Among them, E T,F,g is the cumulative carbon emission T of the basic flow g based on the functional unit F, in kgCO 2 ; EF,g is the direct carbon emissions of the basic flow g in the product production process based on the functional unit F; T,i E is the direct consumption of raw fuel per functional unit in unit process i of the product system; i,g is the direct carbon emission of basic flow g in unit process i, in kgCO 2 .
[0262] Among them, direct carbon emissions E F,g The calculation method is combustion carbon emissions plus process carbon emissions, as shown in Formula 2:
[0263] E F,g =E r,g +E p,g =∑RL j,g *RZ j *10 -3 *EF r,j +∑P j,g *EF p,j (Formula 2)
[0264] Among them, E r,g 、E p,g They are combustion carbon emissions and process carbon emissions, in kgCO 2 RL j,g is the fossil fuel consumption of the basic flow g, in kg, and different j values represent different raw materials; RZ j The lower calorific value of the fuel, in GJ / kg; EF r,j is the fuel emission factor, unit: kgCO 2 / TJ;P j,g is the consumption of raw materials in the basic flow g process, in kg; EF p,j is the emission factor of the reaction process, unit: kgCO 2 / kg.
[0265] In this embodiment, no production process has both combustion emissions and process emissions. The production process using fossil fuel as raw material only involves combustion carbon emissions, and the mining and production process of fuel and ore only involves process carbon emissions.
[0266] by Figure 3 Taking the supply chain in as an example, one product p1 is selected as the basic flow.
[0267] The device of enterprise A sends a calculation request to the management node; wherein the calculation request includes product p1 information and the signature of enterprise A, and the calculation request is used to instruct the calculation of the carbon emission inventory corresponding to the product p1 information.
[0268] The management node receives a computing request sent by a device of enterprise A, and in response to the computing request, repeatedly performs the following steps until a second preset condition is met:
[0269] Based on the carbon emission information corresponding to the product p1 information (Table 31, Table 32), a total of 5 production process data related to product p1 with primary key IDs 0001-0005 are determined.
[0270] Based on these 5 production process data related to product p1, it is determined that the raw fuel in the production process data with primary key ID 0001 is fossil fuel: fuel f1, and thus the production process data with primary key ID 0001 is determined to be the direct emission process data corresponding to the product p1 information.
[0271] From the production process data with primary key ID 0001, when producing one product p1, the required raw fuel (fuel f1) consumption is 50 kg. Based on the raw fuel consumption, according to formula 2, this production process only involves combustion carbon emissions and only involves one raw material. The basic flow g fossil fuel consumption RL j,g 50kg, fuel f1 low calorific value RZ j The emission factor of fuel f1 is 0.043GJ / kg. r,j is 72.6*10 3 kgCO 2 / TJ, therefore, the direct carbon emissions corresponding to the production of one product p1 are determined as:
[0272] E F,g =E r,g =∑RL j,g *RZ j *10 -3 *EF r,j =50*0.043*10 -3 *72.6*10 3 kgCO 2 =156.9kgCO 2
[0273] Therefore, the direct carbon emissions of producing one product p1 is 156.9 kgCO 2 .
[0274] For the production process data with primary key ID 0001, based on the associated supply information (0000S1) in the production process data, it is determined that when producing product p1, there are indirect carbon emissions in the production process with primary key ID 0001, there are carbon emissions in the process of producing fuel f1, and the consumption of raw fuel (fuel f1) is 50 kg, and the supply relationship data corresponding to the associated supply information (0000S1) is determined, wherein the supply relationship data corresponding to the associated supply information (0000S1) includes the signature (signE) of enterprise E, product information (fuel f1), and associated production information (0000P5); and based on the associated production information (0000P5) and the product information (fuel f1), it is determined that the production process data with primary key ID 0015 corresponds to both the associated production information (0000P5) and the product information (fuel f1).
[0275] Based on the production process data with the primary key ID of 0015, it is determined that there is no associated supply information in the production process data, thereby determining that the production process data with the primary key ID of 0015 is the direct emission process data corresponding to the fuel f1, and determining that the production process data with the primary key ID of 0015 is the indirect emission process data corresponding to the product p1.
[0276] There is no associated supply information in the production process data with primary key ID 0015. According to formula 2, the carbon emissions of producing 50kg of fuel f1 are calculated. This production process only involves process carbon emissions and only involves one type of raw material. The basic flow g process reaction raw material consumption P j,g The emission factor EF of this reaction process is 50kg. p,j 0.30kgCO 2 / kg, therefore, the direct carbon emissions corresponding to the production of 50kg of fuel f1, that is, the indirect carbon emissions corresponding to the production of 1 product p1, are determined as:
[0277] E F,g =E p,g =∑P j,g *EF p,j =50*0.30kgCO 2 =15kgCO 2
[0278] At this point, the iteration step for the production process data with the primary key ID 0001 is terminated.
[0279] Therefore, the carbon emissions of producing 50 kg of fuel f1 are 15 kgCO 2 , thus the indirect carbon emissions when producing one product p1 (the production process with primary key ID 0001) is 15kgCO 2 .
[0280] For the production process data with primary key ID 0002, based on the associated supply information (0000S2) in the production process data, it is determined that there are indirect carbon emissions in the production process with primary key ID 0002 when producing product p1, there are carbon emissions in the process of producing electricity e1, and the consumption of raw fuel (electricity e1) is 60kWh, and the supply relationship data corresponding to the associated supply information (0000S2) is determined, wherein the supply relationship data corresponding to the associated supply information (0000S2) includes the signature (signG) of enterprise G, product information (electricity e1), and associated production information (0000P9); and based on the associated production information (0000P9) and the product information (electricity e1), it is determined that the production process data with primary key ID 0019 corresponds to both the associated production information (0000P9) and the product information (electricity e1).
[0281] Based on the production process data with primary key ID 0019, it is determined that the raw fuel in the production process data with primary key ID 0019 is fossil fuel: fuel f2, and thus the production process data with primary key ID 0002 is determined to be the direct emission process data corresponding to fuel f2.
[0282] From the production process data with primary key ID 0019, when producing 60kWh of electricity e1, the required raw fuel (fuel f2) consumption is 20. Based on the raw fuel consumption, according to formula 2, this production process only involves combustion carbon emissions and only involves one raw material. The basic flow g fossil fuel consumption RL j,g 20kg, fuel f2 low calorific value RZ j The emission factor of fuel f1 is 0.042GJ / kg. r,j is 61.8*10 3 kgCO 2 / TJ, therefore, the direct carbon emissions corresponding to the production of 60kWh of electricity e1 are determined as:
[0283] E F,g =E r,g =∑RL j,g *RZ j *10 -3 *EF r,j =20*0.042*10 -3 *61.8*10 3 kgCO 2 =51.912kgCO 2
[0284] Therefore, the direct carbon emissions when producing 60 kWh of electricity e1 are 51.912 kgCO 2 .
[0285] For the production process data with primary key ID 0019, based on the associated supply information (0000S15) in the production process data, it is determined that there are indirect carbon emissions in the production process with primary key ID 0019 when producing electricity 1, there are carbon emissions in the process of producing fuel f2, and the consumption of raw fuel (fuel f2) is 20 kg, and the supply relationship data corresponding to the associated supply information (0000S15) is determined, wherein the supply relationship data corresponding to the associated supply information (0000S15) includes the signature (signE) of enterprise E, product information (fuel f2), and associated production information (0000P6); and based on the associated production information (0000P6) and the product information (fuel f2), it is determined that the production process data with primary key ID 0016 corresponds to both the associated production information (0000P6) and the product information (fuel f2).
[0286] Based on the production process data with the primary key ID of 0016, it is determined that there is no associated supply information in the production process data, thereby determining that the production process data with the primary key ID of 0016 is the direct emission process data corresponding to fuel f2, and determining that the production process data with the primary key ID of 0016 is the indirect emission process data corresponding to electricity e1.
[0287] There is no associated supply information in the production process data with primary key ID 0016. According to formula 2, the carbon emissions of producing 20kg of fuel f2 are calculated. This production process only involves process carbon emissions and only involves one type of raw material. The basic flow g process reaction raw material consumption P j,g The emission factor EF of this reaction process is 20kg. p,j 0.32kgCO 2 / kg, therefore, the direct carbon emissions corresponding to the production of 20kg of fuel f2, that is, the indirect carbon emissions corresponding to the production of 60kWh of electricity e1, are determined as:
[0288] E F,g =E p,g =∑P j,g *EF p,j =20*0.32kgCO 2 =6.4kgCO 2
[0289] The carbon emissions from producing 20kg of fuel f2 is 6.4kgCO 2 At this point, the iteration step for the production process data with primary key ID 0002 is terminated.
[0290] Therefore, the direct carbon emissions of producing 60 kWh of electricity e1 are 51.912 kgCO 2 , indirect carbon emissions are 6.4kgCO 2, the total carbon emissions of producing 60kWh of electricity e1 = direct carbon emissions + indirect carbon emissions = 58.31kgCO 2 , it is concluded that the indirect carbon emissions when producing one product p1 (the production process with primary key ID 0001) is 58.31kgCO 2 .
[0291] According to the above method, based on the production process data with primary key ID 0003, the production process data with primary key ID 0004, and the production process data with primary key ID 0005, it is determined that the indirect carbon emissions when producing one product p1 (the production process with primary key ID 0003) are 418.18 kgCO 2 , it is determined that the indirect carbon emissions when producing one product p1 (the production process with the primary key ID of 0004) is 121.62 kgCO 2 , it is determined that the indirect carbon emissions when producing one product p1 (the production process with primary key ID 0005) is 377.87 kgCO 2 ; Among them, the reaction process emission factor EF of ore m1 used in the calculation process p,j 0.25kgCO 2 / kg, reaction process emission factor EF for ore m2 p,j 0.28kgCO 2 / kg.
[0292] Finally, the carbon emissions from producing one product p1 are summarized in the carbon emission inventory, as shown in Table 33. The carbon emissions from producing one product p1 are 1147.08 kgCO 2 , of which direct carbon emissions are 156.09kgCO 2 , indirect carbon emissions are 990.99kgCO 2 .
[0293] The management node feeds back the carbon emission inventory corresponding to the product p1 information to the equipment of the supply chain enterprise.
[0294] Table 33 Carbon Emission Inventory
[0295]
[0296]
[0297] Through the method in this step, the carbon emissions of each enterprise involved in the manufacturing process of the product can be accurately determined.
[0298] S207. In response to an optimization request sent by a device of a supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, determine the carbon emission optimization inventory corresponding to the a-th product information indicated in the optimization request; wherein the optimization request includes the a-th product information and the a-th signature, and the optimization request is used to indicate the determination of the carbon emission optimization inventory corresponding to the a-th product information.
[0299] Optionally, S207 includes the following steps:
[0300] The first step of S207 is to respond to the optimization request sent by the equipment of the supply chain enterprise, and based on the carbon emission inventory corresponding to the a-th product information, repeat the following steps until the third preset condition is reached: for each raw fuel in at least one a-th production process data, determine a new raw fuel of the same type as the raw fuel; wherein the carbon emissions of the new raw fuel are less than the carbon emissions of the raw fuel; and determine a new carbon emission inventory corresponding to the a-th product information when using the new raw fuel; and determine the value of a plus 1.
[0301] The second step of S207 is to determine the optimized carbon emission inventory corresponding to the a-th product information based on the new carbon emission inventory corresponding to each a-th product information in each iteration process.
[0302] Exemplarily, the equipment of the supply chain enterprise sends an optimization request to the management node; wherein the optimization request includes the ath product information and the ath signature, and the optimization request is used to indicate the determination of the carbon emission optimization list corresponding to the ath product information.
[0303] The management node receives an optimization request sent by the equipment of the supply chain enterprise, and in response to the optimization request, based on the carbon emission inventory corresponding to the a-th product information, repeatedly executes the following steps until the third preset condition is met: for each raw fuel in at least one a-th production process data, determine a new raw fuel of the same type as the raw fuel; wherein the carbon emissions of the new raw fuel are less than the carbon emissions of the raw fuel; and determine a new carbon emission inventory corresponding to the a-th product information when using the new raw fuel; determine the value of a plus 1.
[0304] The management node determines the optimized carbon emission inventory corresponding to the a-th product information based on the new carbon emission inventory corresponding to each a-th product information in each iteration process.
[0305] For example, Figure 3 Taking the supply chain in as an example, the device of enterprise A sends an optimization request to the management node; wherein the optimization request includes product p1 information and the signature of enterprise A, and the optimization request is used to indicate the determination of the carbon emission optimization list corresponding to the product p1 information.
[0306] The management node receives the optimization request sent by the device of enterprise A, and in response to the optimization request, based on the carbon emission inventory corresponding to the product p1 information (Table 33), repeatedly performs the following steps until the third preset condition is met:
[0307] For the five production process data related to product p1 with primary key ID 0001-0005, for enterprise A, it is determined that electricity e2 is used to replace electricity e1. Using the method in step S206, it is calculated that the carbon emissions of each product p1 will be reduced by 58.31 kgCO 2 ; Determine that all parts c1 of enterprise C are used, and use the method of step S206 to calculate that the carbon emissions of each product p1 will be reduced by 174.94 kgCO 2 By using the above two optimization methods, the total carbon emissions of each product p1 will be reduced by 233.25kgCO 2 , the carbon emission rate will be reduced by 20.33%.
[0308] On the basis of optimizing the carbon emissions of enterprise A, for enterprise D, it is determined to use electricity e2 to replace electricity e1. Using the method in step S206, it is calculated that the carbon emissions of each component c2 will decrease by 8.75 kgCO 2 .
[0309] Therefore, after optimizing the carbon emissions of Enterprise A and Enterprise D using the above optimization method, the total carbon emissions of each product p1 of Enterprise A will be reduced by 408.19 kgCO 2 , the carbon emission rate will be reduced by 35.59%.
[0310] Finally, the carbon emission optimization data of enterprise A’s product p1 is summarized in the carbon emission optimization list, as shown in Table 33.
[0311] Table 34 Carbon emission optimization list
[0312]
[0313] Through the method in this step, the carbon emissions of each enterprise involved in the manufacturing process of the product can be optimized in a timely and effective manner.
[0314] S208. Generate a carbon emission optimization strategy corresponding to the a-th product information based on the carbon emission optimization list corresponding to the a-th product information, and feed back the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents the way to optimize products and carbon emissions.
[0315] Exemplarily, the management node generates a carbon emission optimization strategy corresponding to the a-th product information based on the carbon emission optimization list corresponding to the a-th product information, and feeds back the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents the way to optimize products and carbon emissions.
[0316] For example, Figure 3 Taking the supply chain in as an example, the management node generates the carbon emission optimization strategy corresponding to the product p1 information according to the carbon emission optimization list (Table 34) corresponding to the product p1 information: For enterprise A, using electricity e2 to replace electricity e1, the carbon emissions of each product p1 will be reduced by 58.31kgCO 2 ; If all parts c1 of company C are used, the carbon emissions of each product p1 will be reduced by 174.94kgCO 2 For company D, using electricity e2 instead of electricity e1 will reduce the carbon emissions of each component c2 by 8.75kgCO 2 , thus the carbon emissions of each product p1 will be reduced by 174.94kgCO 2 .
[0317] The management node feeds back the generated carbon emission optimization strategy corresponding to the product p1 information and the carbon emission optimization list (Table 34) corresponding to the product p1 information to the equipment of enterprise A.
[0318] Figure 4 A schematic diagram of the structure of a low-carbon supply chain processing device based on blockchain provided in an embodiment of the present application, wherein the blockchain includes a management node and at least one ordinary node, wherein the management node is a server of a core enterprise of the supply chain, and the ordinary node is a server of an ordinary enterprise of the supply chain, and the device is applied to the management node, such as Figure 4 , the device 40 comprises:
[0319] The acquisition unit 41 is used to respond to the query request sent by the equipment of the supply chain enterprise, obtain the carbon emission information corresponding to the a-th product information indicated by the query request, and feed back the carbon emission information corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the query request includes the a-th product information and the a-th signature, the a-th product information is the product information of the supply chain enterprise, and the a-th signature is the signature of the supply chain enterprise; the query request is used to indicate the query of the carbon emission information corresponding to the a-th product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer.
[0320] The first determination unit 42 is used to respond to a calculation request sent by the equipment of the supply chain enterprise, determine the carbon emission inventory corresponding to the a-th product information indicated by the calculation request based on the carbon emission information corresponding to the a-th product information, and feed back the carbon emission inventory corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the calculation request includes the a-th product information and the a-th signature, and the calculation request is used to indicate the calculation of the carbon emission inventory corresponding to the a-th product information.
[0321] The second determination unit 43 is used to respond to the optimization request sent by the equipment of the supply chain enterprise, and based on the carbon emission inventory corresponding to the a-th product information, determine the carbon emission optimization inventory corresponding to the a-th product information indicated by the optimization request; wherein the optimization request includes the a-th product information and the a-th signature, and the optimization request is used to indicate the determination of the carbon emission optimization inventory corresponding to the a-th product information.
[0322] The generation unit 44 is used to generate a carbon emission optimization strategy corresponding to the a-th product information based on the carbon emission optimization list corresponding to the a-th product information, and feed back the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents the way to optimize the products and carbon emissions.
[0323] Optionally, the acquiring unit 41 includes:
[0324] In response to the query request sent by the device of the supply chain enterprise, the following steps are repeatedly performed until the first preset condition is met:
[0325] The first acquisition module is used to acquire, based on the ath signature and the ath product information, at least one ath production process data corresponding to the ath product information from at least one common node.
[0326] The second acquisition module is used to obtain, for each a-th production process data in at least one a-th production process data, a-th supply relationship data corresponding to the associated supply information from at least one common node based on the a-th signature and the associated supply information if it is determined that the a-th production process data contains associated supply information; wherein the associated supply information is a unique identifier of the supply relationship data; the a-th supply relationship data includes the a+1-th signature and the a+1-th product information; the a+1-th signature is the signature of the supplier enterprise corresponding to the a-th supply relationship data; and the a+1-th product information is the product information of the supplier enterprise corresponding to the a-th supply relationship data.
[0327] The first determining module is used to determine the value of a plus 1.
[0328] Among them, when the first preset condition is met, the production process information includes the ath production process data in each iterative process; the supply relationship information includes the ath supply relationship data in each iterative process.
[0329] Optionally, the ath production process data includes raw fuel and raw fuel consumption, and the first determination unit 42 includes:
[0330] In response to a computing request sent by a device of a supply chain enterprise, the following steps are repeatedly performed until a second preset condition is met:
[0331] The second determination module is used to determine, based on at least one ath production process data, that the raw fuel is fossil fuel and that there is associated supply information as the direct emission process data corresponding to the ath product information; or to determine that the ath production process data that does not have associated supply information is the direct emission process data corresponding to the ath product information.
[0332] The third determination module is used to determine the direct carbon emissions corresponding to the a-th product information based on the direct emission process data corresponding to the a-th product information.
[0333] The fourth determination module is used to determine, for each ath production process data in at least one ath production process data, the ath supply relationship data corresponding to the associated supply information based on the associated supply information in the ath production process data; wherein the ath supply relationship data includes the a+1th signature and the a+1th product information; and obtain the associated production information from the ath supply relationship data, and determine at least one a+1th production process data corresponding to both the associated production information and the a+1th product information based on the associated production information and the a+1th product information; and determine the value of a plus 1.
[0334] Among them, when the second preset condition is met, the carbon emission inventory includes the direct carbon emissions corresponding to each a-th product information in each iteration process.
[0335] Optionally, the second determining unit 43 includes:
[0336] The fifth determination module is used to respond to the optimization request sent by the equipment of the supply chain enterprise, and based on the carbon emission inventory corresponding to the a-th product information, repeatedly execute the following steps until the third preset condition is reached: for each raw fuel in at least one a-th production process data, determine a new raw fuel of the same type as the raw fuel; wherein the carbon emissions of the new raw fuel are less than the carbon emissions of the raw fuel; and determine the new carbon emission inventory corresponding to the a-th product information when using the new raw fuel; used to determine the value of a plus 1.
[0337] The sixth determination module is used to determine the optimized carbon emission inventory corresponding to the a-th product information based on the new carbon emission inventory corresponding to each a-th product information in each iteration process.
[0338] Optionally, the device 40 further includes:
[0339] The first verification unit is used to respond to the first evidence request sent by the device of the supply chain enterprise and verify the first evidence request; wherein the first evidence request includes the ath signature and the ath production process data; the ath signature is the signature of the supply chain enterprise; the ath production process data is the production process data of the supply chain enterprise; the first evidence request is used to indicate the storage of the ath production process data.
[0340] The first storage unit is used to store the ath production process data indicated by the first evidence request in at least one ordinary node if the verification of the first evidence request is passed.
[0341] Optionally, the first verification unit includes:
[0342] The first verification module is used to respond to the first evidence request sent by the device of the supply chain enterprise, verify the legitimacy of the ath signature in the first evidence request; and verify the integrity of the ath production process data in the first evidence request.
[0343] Optionally, the device 40 further includes:
[0344] The second verification unit is used to verify the second evidence request in response to the second evidence request sent by the device of the supply chain enterprise; wherein the second evidence request includes the ath signature, the a+1th signature and the ath supply relationship data; the ath signature is the signature of the supply chain enterprise; the a+1th signature is the signature of the supplier enterprise corresponding to the ath supply relationship data; the ath supply relationship data is the supply relationship data of the supply chain enterprise; the second evidence request is used to indicate the storage of the ath supply relationship data.
[0345] The second storage unit is used to store the ath supply relationship data indicated by the second evidence request in at least one ordinary node if the verification of the second evidence request is passed.
[0346] Optionally, the second verification unit includes:
[0347] The second verification module is used to respond to the second evidence request sent by the device of the supply chain enterprise, verify the legitimacy of the ath signature and the a+1th signature in the second evidence request; and verify the integrity of the ath supply relationship data in the second evidence request.
[0348] Optionally, the device 40 further includes:
[0349] The first creation unit is used to respond to a first creation request of a device of the core supply chain enterprise and create a server of the core supply chain enterprise as a management node; wherein the first creation request includes server information of the core supply chain enterprise, and the first creation request is used to instruct to create the server of the core supply chain enterprise as a management node.
[0350] The second creation unit is used to respond to the second creation request of the device of the core enterprise of the supply chain and create the server of the ordinary enterprise of the supply chain as a management node; wherein the second creation request includes the server information of the ordinary enterprise of the supply chain, and the second creation request is used to instruct to create the server of the ordinary enterprise of the supply chain as a common node.
[0351] The device provided in this embodiment can refer to the method provided in the above embodiment. The technical process and effect are the same and will not be described in detail.
[0352] Figure 5 A schematic diagram of the structure of an electronic device is provided in an embodiment of the present application, such as Figure 5 As shown, the electronic device includes: a transmitter 51, a receiver 52, a memory 53 and a processor 54.
[0353] The memory 53 is used to store computer instructions.
[0354] The processor 54 is used to execute the computer instructions stored in the memory 53 to implement the technical solution of the method provided in any implementation manner in the aforementioned embodiment.
[0355] The transmitter 51 is used to receive instructions and data sent by other devices.
[0356] The receiver 52 is used to send instructions and data to external devices.
[0357] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method provided in the above embodiment.
[0358] The present application also provides a computer program product, including a computer program, which implements the method provided in the above embodiment when executed by a processor.
[0359] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0360] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0361] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0362] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0363] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0364] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several 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 various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0365] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0366] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0367] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A low-carbon supply chain processing method based on blockchain, It is characterized in that The blockchain includes a management node and at least one common node, the management node is a server of a core enterprise of the supply chain, the common node is a server of a common enterprise of the supply chain, the method is applied to the management node, and the method includes: In response to a query request sent by a device of a supply chain enterprise, obtain carbon emission information corresponding to the a-th product information indicated by the query request, and feed back the carbon emission information corresponding to the a-th product information to the device of the supply chain enterprise; wherein the query request includes the a-th product information and the a-th signature, the a-th product information is the product information of the supply chain enterprise, and the a-th signature is the signature of the supply chain enterprise; the query request is used to indicate a query for carbon emission information corresponding to the a-th product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer; In response to a calculation request sent by the device of the supply chain enterprise, based on the carbon emission information corresponding to the a-th product information, determine the carbon emission inventory corresponding to the a-th product information indicated by the calculation request, and feed back the carbon emission inventory corresponding to the a-th product information to the device of the supply chain enterprise; wherein the calculation request includes the a-th product information and the a-th signature, and the calculation request is used to instruct the calculation of the carbon emission inventory corresponding to the a-th product information; In response to the optimization request sent by the device of the supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, determine the carbon emission optimization inventory corresponding to the a-th product information indicated by the optimization request; wherein the optimization request includes the a-th product information and the a-th signature, and the optimization request is used to indicate the determination of the carbon emission optimization inventory corresponding to the a-th product information; Based on the carbon emission optimization list corresponding to the a-th product information, a carbon emission optimization strategy corresponding to the a-th product information is generated, and the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information are fed back to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents a way to optimize products and carbon emissions.
2. The method according to claim 1, It is characterized in that In response to a query request sent by a device of a supply chain enterprise, determining carbon emission information corresponding to the ath product information indicated by the query request includes: In response to the query request sent by the device of the supply chain enterprise, the following steps are repeatedly performed until the first preset condition is met: Based on the ath signature and the ath product information, acquiring, from the at least one common node, at least one ath production process data corresponding to the ath product information; For each a-th production process data in the at least one a-th production process data, if it is determined that the a-th production process data contains associated supply information, then based on the a-th signature and the associated supply information, the a-th supply relationship data corresponding to the associated supply information is obtained from the at least one common node; wherein the associated supply information is a unique identifier of the supply relationship data; the a-th supply relationship data includes the a+1-th signature and the a+1-th product information; the a+1-th signature is the signature of the supplier enterprise corresponding to the a-th supply relationship data; the a+1-th product information is the product information of the supplier enterprise corresponding to the a-th supply relationship data; Determine the value of a plus 1; Among them, when the first preset condition is met, the production process information includes the ath production process data in each iterative process; the supply relationship information includes the ath supply relationship data in each iterative process.
3. The method according to claim 2, It is characterized in that The ath production process data includes raw fuel and raw fuel consumption, and in response to a calculation request sent by a device of the supply chain enterprise, based on the carbon emission information corresponding to the ath product information, a carbon emission inventory corresponding to the ath product information indicated by the calculation request is determined, including: In response to the computing request sent by the device of the supply chain enterprise, the following steps are repeatedly performed until a second preset condition is met: Based on the at least one a-th production process data, determining that the a-th production process data whose raw fuel is fossil fuel and has associated supply information is the direct emission process data corresponding to the a-th product information; or determining that the a-th production process data without associated supply information is the direct emission process data corresponding to the a-th product information; Determining the direct carbon emissions corresponding to the a-th product information based on the direct emission process data corresponding to the a-th product information; For each ath production process data in the at least one ath production process data, based on the associated supply information in the ath production process data, determine the ath supply relationship data corresponding to the associated supply information; wherein the ath supply relationship data includes the a+1th signature and the a+1th product information; and obtain the associated production information from the ath supply relationship data, and based on the associated production information and the a+1th product information, determine at least one a+1th production process data corresponding to both the associated production information and the a+1th product information; determine the value of a plus 1; Among them, when the second preset condition is met, the carbon emission inventory includes the direct carbon emissions corresponding to each of the a-th product information in each iteration process.
4. The method according to claim 3, It is characterized in that In response to the optimization request sent by the device of the supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, determining the carbon emission optimization inventory corresponding to the a-th product information indicated by the optimization request, including: In response to the optimization request sent by the equipment of the supply chain enterprise, based on the carbon emission inventory corresponding to the a-th product information, the following steps are repeatedly performed until the third preset condition is met: for each raw fuel in the a-th production process data in the at least one a-th production process data, a new raw fuel of the same type as the raw fuel is determined; wherein the carbon emission of the new raw fuel is less than the carbon emission of the raw fuel; and when the new raw fuel is used, a new carbon emission inventory corresponding to the a-th product information is determined; and the value of a is determined to be plus 1; Based on the new carbon emission inventories corresponding to each a-th product information in each iteration process, the optimized carbon emission inventory corresponding to the a-th product information is determined.
5. The method according to claim 1, It is characterized in that The method further comprises: In response to a first evidence storage request sent by the device of the supply chain enterprise, verifying the first evidence storage request; wherein the first evidence storage request includes an ath signature and an ath production process data; the ath signature is the signature of the supply chain enterprise; the ath production process data is the production process data of the supply chain enterprise; the first evidence storage request is used to indicate the storage of the ath production process data; If the verification of the first evidence request is passed, the ath production process data indicated by the first evidence request is stored in the at least one ordinary node.
6. The method according to claim 5, It is characterized in that In response to a first evidence storage request sent by a device of the supply chain enterprise, verifying the evidence storage request includes: In response to a first evidence storage request sent by the device of the supply chain enterprise, the legitimacy of the ath signature in the first evidence storage request is verified; and the integrity of the ath production process data in the first evidence storage request is verified.
7. The method according to claim 1, It is characterized in that The method further comprises: In response to a second evidence storage request sent by the device of the supply chain enterprise, verify the second evidence storage request; wherein the second evidence storage request includes the ath signature, the a+1th signature and the ath supply relationship data; the ath signature is the signature of the supply chain enterprise; the a+1th signature is the signature of the supplier enterprise corresponding to the ath supply relationship data; the ath supply relationship data is the supply relationship data of the supply chain enterprise; the second evidence storage request is used to indicate the storage of the ath supply relationship data; If the verification of the second evidence request is passed, the ath supply relationship data indicated by the second evidence request is stored in the at least one ordinary node.
8. The method according to claim 7, It is characterized in that In response to a second evidence storage request sent by the device of the supply chain enterprise, verifying the second evidence storage request includes: In response to a second evidence request sent by the device of the supply chain enterprise, the legitimacy of the ath signature and the a+1th signature in the second evidence request is verified; and the integrity of the ath supply relationship data in the second evidence request is verified.
9. The method according to any one of claims 1 to 8, It is characterized in that The method further comprises: In response to a first creation request from a device of a supply chain core enterprise, a server of the supply chain core enterprise is created as a management node; wherein the first creation request includes server information of the supply chain core enterprise, and the first creation request is used to instruct to create the server of the supply chain core enterprise as a management node; In response to a second creation request from a device of a core enterprise of a supply chain, a server of an ordinary enterprise of a supply chain is created as a management node; wherein the second creation request includes server information of the ordinary enterprise of the supply chain, and the second creation request is used to instruct that the server of the ordinary enterprise of the supply chain be created as an ordinary node.
10. A low-carbon supply chain processing device based on blockchain, It is characterized in that The blockchain includes a management node and at least one common node, the management node is a server of a core enterprise of the supply chain, the common node is a server of a common enterprise of the supply chain, the device is applied to the management node, and the device includes: An acquisition unit, configured to respond to a query request sent by a device of a supply chain enterprise, acquire carbon emission information corresponding to the a-th product information indicated by the query request, and feed back the carbon emission information corresponding to the a-th product information to the device of the supply chain enterprise; wherein the query request includes the a-th product information and the a-th signature, the a-th product information is the product information of the supply chain enterprise, and the a-th signature is the signature of the supply chain enterprise; the query request is used to indicate a query for carbon emission information corresponding to the a-th product information, and the carbon emission information includes production process information and supply relationship information; a is a positive integer; A first determination unit is used to respond to a calculation request sent by the device of the supply chain enterprise, determine the carbon emission inventory corresponding to the a-th product information indicated by the calculation request based on the carbon emission information corresponding to the a-th product information, and feed back the carbon emission inventory corresponding to the a-th product information to the device of the supply chain enterprise; wherein the calculation request includes the a-th product information and the a-th signature, and the calculation request is used to indicate the calculation of the carbon emission inventory corresponding to the a-th product information; A second determination unit is used to respond to the optimization request sent by the device of the supply chain enterprise, and determine the carbon emission optimization inventory corresponding to the a-th product information indicated by the optimization request based on the carbon emission inventory corresponding to the a-th product information; wherein the optimization request includes the a-th product information and the a-th signature, and the optimization request is used to indicate the determination of the carbon emission optimization inventory corresponding to the a-th product information; A generation unit is used to generate a carbon emission optimization strategy corresponding to the a-th product information based on the carbon emission optimization list corresponding to the a-th product information, and feed back the carbon emission optimization strategy corresponding to the a-th product information and the carbon emission optimization list corresponding to the a-th product information to the equipment of the supply chain enterprise; wherein the carbon emission optimization strategy represents a way to optimize products and carbon emissions.
11. An electronic device, It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 9 when executed by a processor.