Carbon emission data processing method and device
Through the collaboration between blockchain system and certification agencies, the problem of data acquisition by enterprises when calculating carbon footprint data is solved, the safety and accuracy of carbon emission data is achieved, and the accuracy and credibility of carbon footprint data is improved.
Patent Information
- Application Number
- CN202210712568.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-06-22
AI Technical Summary
When accounting for carbon footprint data, it is difficult for enterprises to obtain accurate carbon emission data from upstream and downstream of the supply chain due to lack of product databases and supplier confidentiality, resulting in inaccurate accounting of carbon footprint data.
Through the multi-party collaboration between blockchain systems and certification agencies, carbon emission data is received and verified, generating trusted proofs, and storing and transmitting it, ensuring that only institutions with usage rights can obtain and use the data.
The safety and accuracy of carbon emission data are achieved, the accuracy and credibility of carbon footprint data are ensured, and the efficiency and accuracy of data acquisition between upstream and downstream institutions are improved.
Smart Images

Figure CN115250176B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for processing carbon emission data. Background Art
[0002] At present, green and low-carbon transformation is attracting more and more attention from social enterprises. Enterprises need to have their own carbon emission data in order to take effective measures to reduce carbon emissions. According to the International Greenhouse Gas Accounting System, when enterprises calculate their own operational carbon emissions or product carbon footprints, they will involve indirect emissions from upstream and downstream of the enterprise value chain, such as the carbon footprint of suppliers' raw materials and other products. Due to the lack of product databases and the suppliers' reluctance to disclose core data such as the formula of their product raw materials, it is difficult for enterprises to obtain effective data when calculating carbon emissions from upstream and downstream of the supply chain, which ultimately leads to inaccurate accounting. Summary of the invention
[0003] On the one hand, one or more embodiments of the present specification provide a carbon emission data processing method, comprising: receiving a request for obtaining carbon emission data for a target product sent by a first institution, the carbon emission data being generated by a second institution and stored in a blockchain system, the second institution including an upstream institution and / or a downstream institution related to the carbon emission of the first institution. When it is determined that the first institution has the right to use the carbon emission data, the carbon emission data and a trusted certificate corresponding to the carbon emission data are obtained from the blockchain system, the trusted certificate being generated after the certification body verifies the carbon emission data. The carbon emission data and the trusted certificate are sent to the first institution. The carbon emission data and the trusted certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0004] On the other hand, one or more embodiments of the present specification provide a method for processing carbon emission data, including: sending a certification request for carbon emission data of a target product to a blockchain system, the carbon emission data being generated by a second institution and stored in the blockchain system, the certification request carrying second identity information of the second institution, the second identity information being used by the blockchain system to obtain the associated stored carbon emission data, and sending the carbon emission data to the certification agency. Obtain the carbon emission data sent by the blockchain system, and verify the carbon emission data. If the verification is successful, generate a trusted certificate corresponding to the carbon emission data. Store the trusted certificate and the carbon emission data in association with each other in the blockchain system.
[0005] On the other hand, one or more embodiments of the present specification provide a carbon emission data processing device, including: a first receiving module, receiving a request for obtaining carbon emission data for a target product sent by a first institution. The carbon emission data is generated by a second institution and stored in a blockchain system, and the second institution includes an upstream institution and / or a downstream institution related to the carbon emission of the first institution. The first acquisition module, when determining that the first institution has the right to use the carbon emission data, obtains the carbon emission data and the trusted certificate corresponding to the carbon emission data from the blockchain system, and the trusted certificate is generated after the certification body verifies the carbon emission data. The first sending module sends the carbon emission data and the trusted certificate to the first institution, and the carbon emission data and the trusted certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0006] On the other hand, one or more embodiments of the present specification provide a carbon emission data processing device, including: a second sending module, sending an authentication request for carbon emission data of a target product to a blockchain system, wherein the carbon emission data is generated by a second institution and stored in the blockchain system, and the authentication request carries second identity information of the second institution, and the second identity information is used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the authentication institution. A second acquisition module, acquiring the carbon emission data sent by the blockchain system and verifying the carbon emission data. A generation module, generating a trusted certificate corresponding to the carbon emission data if the verification is passed. A storage module, storing the trusted certificate and the carbon emission data in association with each other in the blockchain system.
[0007] On the other hand, one or more embodiments of the present specification provide a carbon emission data processing device, including a processor and a memory electrically connected to the processor, the memory storing a computer program, and the processor being used to call and execute the computer program from the memory to implement: receiving a request for obtaining carbon emission data for a target product sent by a first institution, the carbon emission data being generated by a second institution and stored in a blockchain system, the second institution including an upstream institution and / or a downstream institution related to the carbon emission of the first institution. When it is determined that the first institution has the right to use the carbon emission data, the carbon emission data and the credible certificate corresponding to the carbon emission data are obtained from the blockchain system, the credible certificate being generated after the certification body verifies the carbon emission data. The carbon emission data and the credible certificate are sent to the first institution. The carbon emission data and the credible certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0008] On the other hand, one or more embodiments of the present specification provide a carbon emission data processing device, including a processor and a memory electrically connected to the processor, the memory storing a computer program, and the processor being used to call and execute the computer program from the memory to implement: sending a certification request for carbon emission data of a target product to a blockchain system, the carbon emission data being generated by a second institution and stored in the blockchain system, the certification request carrying a second identity information of the second institution, the second identity information being used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the certification institution. Obtain the carbon emission data sent by the blockchain system and verify the carbon emission data. If the verification is successful, generate a trusted certificate corresponding to the carbon emission data. Store the trusted certificate and the carbon emission data in association with each other in the blockchain system.
[0009] On the other hand, an embodiment of the present specification provides a storage medium for storing a computer program, which can be executed by a processor to implement the following process: receiving a request for obtaining carbon emission data for a target product sent by a first institution, the carbon emission data is generated by a second institution and stored in a blockchain system, and the second institution includes an upstream institution and / or a downstream institution related to the carbon emissions of the first institution. When it is determined that the first institution has the right to use the carbon emission data, the carbon emission data and the trusted certificate corresponding to the carbon emission data are obtained from the blockchain system, and the trusted certificate is generated after the certification body verifies the carbon emission data. The carbon emission data and the trusted certificate are sent to the first institution. The carbon emission data and the trusted certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0010] On the other hand, an embodiment of this specification provides a storage medium for storing a computer program, which can be executed by a processor to implement the following process: sending an authentication request for carbon emission data of a target product to a blockchain system, the carbon emission data is generated by a second institution and stored in the blockchain system, the authentication request carries the second identity information of the second institution, the second identity information is used by the blockchain system to obtain the associated stored carbon emission data, and send the carbon emission data to the authentication institution. Obtain the carbon emission data sent by the blockchain system and verify the carbon emission data. If the verification is successful, generate a trusted certificate corresponding to the carbon emission data. The trusted certificate and the carbon emission data are associated and stored in the blockchain system. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0012] Figure 1 is a schematic scenario diagram of a carbon emission data processing system according to an embodiment of this specification;
[0013] Figure 2 is a schematic relationship diagram between upstream and downstream mechanisms according to an embodiment of this specification;
[0014] Figure 3 is a schematic flow chart of a carbon emission data processing method according to an embodiment of this specification;
[0015] Figure 4 is a schematic flow chart of a carbon emission data processing method according to another embodiment of this specification;
[0016] Figure 5 is a schematic scenario diagram of a carbon emission data processing system according to another embodiment of this specification;
[0017] Figure 6 is a schematic swim lane diagram of a carbon emission data processing method according to an embodiment of this specification;
[0018] Figure 7 is a schematic block diagram of a carbon emission data processing device according to an embodiment of this specification;
[0019] Figure 8 is a schematic block diagram of a carbon emission data processing device according to another embodiment of the present specification;
[0020] Fig. 9 It is a schematic block diagram of a carbon emission data processing device according to an embodiment of the present specification. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of one or more embodiments of this specification.
[0022] One or more embodiments of the present specification provide a carbon emission data processing method and device to solve the problem of inaccurate calculation of existing carbon footprint data. Figure 1 is a schematic scene diagram of a carbon emission data processing system according to an embodiment of this specification, such as Figure 1 As shown, the carbon emission data processing system includes a blockchain system, a certification body and a third-party agency. Among them, the third-party agency usually includes multiple, and each third-party agency can generate its own carbon emission data and store its own carbon emission data in the blockchain system. For each third-party agency, when calculating carbon footprint data, indirect emissions from the upstream and downstream of the agency's value chain will be involved, such as the carbon footprint of raw materials and other products of product suppliers. Therefore, when a third-party agency needs to calculate carbon footprint data, it not only needs the carbon emission data generated by itself, but also needs to obtain the carbon emission data generated by upstream agencies and / or downstream agencies. When a third-party agency stores carbon emission data in the blockchain system, the certification body can verify the carbon emission data to verify whether the carbon emission data uploaded by the third-party agency is true and credible. If the verification is passed, a credible certificate corresponding to the verified carbon emission data is generated, and then the credible certificate and the corresponding carbon emission data are associated and stored in the blockchain system. When the blockchain system receives a request for obtaining carbon emission data sent by a third-party agency, the carbon emission data and its associated credible certificate can be sent to the third-party agency together. In addition, to ensure the security of carbon emission data, the blockchain system can verify the authority of the third-party agency that sends the acquisition request, and send the carbon emission data to the third-party agency after the authority verification is passed. It can be seen that the carbon emission data processing system provided in this specification realizes a set of secure distributed carbon footprint data management mechanisms through the multi-party collaboration of the blockchain system, certification agencies and third-party agencies, so that third-party agencies can store sensitive data (i.e., carbon emission data) in the blockchain system. Only agencies with the right to use carbon emission data can obtain the carbon emission data uploaded by the third-party agency from the blockchain system, thereby ensuring the security of carbon emission data. In addition, it is more efficient and accurate for upstream and downstream agencies to obtain carbon emission data from each other, thereby making the calculation of carbon footprint data more accurate.
[0023] Figure 2 is a schematic diagram of the relationship between upstream and downstream mechanisms according to an embodiment of this specification. Figure 2 It can be seen that there are upstream and downstream relationships between multiple institutions, among which the downstream institutions of institution A include institution A1, institution A2 and institution A3, the downstream institutions of institution A1 include institution A11, institution A12 and institution A1n, the downstream institutions of institution A2 include institution B1n, and so on. Similarly, institution A is the upstream institution of institution A1, institution A2 and institution A3, institution A1 is the upstream institution of institution A11, institution A12 and institution A1n, institution A2 is the upstream institution of institution B1n, and so on. In practical applications, there are usually upstream and downstream relationships between institutions that produce the same or related products. For example, institution A that produces product raw materials, institution B that produces product parts, and institution C that assembles product parts, etc., have upstream and downstream relationships between these institutions, among which institution A is the upstream institution of institution B and institution C, institution B is the upstream institution of institution C, institution B and institution C are the downstream institutions of institution A, and institution C is the downstream institution of institution B.
[0024] It should be noted that in the carbon emission data processing system provided in one or more embodiments of this specification, the certification agency can be a blockchain node in the blockchain system or an independent platform outside the blockchain system. Figure 1 This is only a schematic illustration of a scenario where the certification authority is independently set outside the blockchain system. This specification does not limit whether the certification authority and the blockchain system are independent.
[0025] The carbon emission data processing method provided by one or more embodiments of this specification is described in detail below. Prior to this, the terms involved in the method are first explained.
[0026] Carbon emissions: A general term or abbreviation for greenhouse gas emissions (carbon dioxide, methane, nitrous oxide, hydrofluorocarbons, perfluorocarbons and sulfur hexafluoride, etc.), referring to the process of emitting greenhouse gases into the outside world during human production and operation activities.
[0027] Carbon footprint: refers to the collection of greenhouse gas emissions caused by corporate organizations, activities, products or individuals through transportation, food production and consumption, and various production processes.
[0028] Product carbon footprint: refers to the greenhouse gas emissions of a product throughout its life cycle, that is, greenhouse gas emissions in all stages from raw materials to production (or provision of services), distribution, use and disposal / reuse.
[0029] Figure 3 is a schematic flow chart of a carbon emission data processing method according to an embodiment of this specification, such as Figure 3As shown, this method can be applied to Figure 1 The blockchain system shown includes the following steps S302-S306:
[0030] S302, receiving a request for obtaining carbon emission data for a target product sent by a first institution, where the carbon emission data is generated by a second institution and stored in a blockchain system, and the second institution includes an upstream institution and / or a downstream institution related to the carbon emission of the first institution.
[0031] The first mechanism and the second mechanism may be as follows: Figure 1 The acquisition request may carry at least one of the product identification information of the target product and the identity information of the second institution. The identity information of the second institution may include at least one piece of information that can uniquely identify the second institution, such as the institution's business license, legal person information, and manager information.
[0032] The carbon emission data may include at least one of carbon emission amount, carbon emission detailed data, carbon footprint relationship with upstream institutions and / or downstream institutions, etc. The carbon emission detailed data may include carbon emission time, carbon emission cause, carbon emission amount corresponding to different carbon emission time, carbon emission amount corresponding to different carbon emission causes, etc.
[0033] S304, when it is determined that the first institution has the right to use the carbon emission data, the carbon emission data and the credible certificate corresponding to the carbon emission data are obtained from the blockchain system; the credible certificate is generated after the certification body verifies and approves the carbon emission data.
[0034] Optionally, the blockchain system stores the product identification information of the target product and the corresponding carbon emission data in an associated manner, and the acquisition request carries the product identification information of the target product. The blockchain system can search for and obtain the carbon emission data stored in association with the product identification information based on the product identification information.
[0035] Optionally, the blockchain system stores the identity information of the second institution and the corresponding carbon emission data in association, and the acquisition request carries the identity information of the second institution. The blockchain system can search and obtain the carbon emission data stored in association with the identity information of the second institution based on the identity information of the second institution. Since the carbon emission data of the target product is generated by the second institution, the carbon emission data stored in association with the identity information of the second institution is the carbon emission data of the target product.
[0036] S306, sending the carbon emission data and the credible certificate to the first institution; the carbon emission data and the credible certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0037] In this embodiment, when the blockchain system receives the acquisition request, it needs to verify whether the first institution has the right to use the carbon emission data, and only when it is determined that the first institution has the right to use the data, will it further obtain the carbon emission data and the corresponding trusted proof. In another embodiment, when the blockchain system receives the acquisition request, it may not verify whether the first institution has the right to use the carbon emission data, that is, directly obtain the carbon emission data and its corresponding trusted proof based on the acquisition request, and send the carbon emission data and the trusted proof to the first institution. The difference is that by verifying whether the first institution has the right to use the carbon emission data, the security of the carbon emission data can be ensured, and the situation where an institution without the right to use obtains the carbon emission data and causes the leakage of the carbon emission data of the second institution can be avoided.
[0038] In this embodiment, the blockchain system obtains the carbon emission data and its corresponding credible proof based on the acquisition request, and sends the carbon emission data and its corresponding credible proof to the first institution. In another embodiment, the blockchain system only obtains the carbon emission data based on the acquisition request, and sends the carbon emission data to the first institution. The difference is that by sending the credible proof and the carbon emission data to the first institution together, the credibility and accuracy of the carbon emission data can be ensured.
[0039] In one embodiment, after the first institution calculates the carbon footprint data of the target product, it obtains the carbon footprint data corresponding to the first institution and related to the target product. The first institution can upload the calculated carbon footprint data to the blockchain system, so that the blockchain system associates and stores the carbon footprint data of the first institution (also referred to as the carbon emission data of the first institution) with the identity information of the first institution and / or the product identification information of the target product. In this way, if the upstream institution and / or downstream institution of the first institution needs to calculate its own carbon footprint data based on the carbon emission data (or carbon footprint data) of the first institution, it can obtain the carbon emission data of the first institution from the blockchain for calculation if it has the right to use the carbon emission data (or carbon footprint data) of the first institution.
[0040] The technical solution of one or more embodiments of this specification is adopted. When receiving a request for obtaining carbon emission data for a target product sent by a first institution, by verifying the first institution's right to use the carbon emission data, and when determining that the first institution has the right to use the carbon emission data, the carbon emission data and the credible proof corresponding to the carbon emission data are obtained from the blockchain system, and the carbon emission data and the credible proof are sent to the first institution. Among them, the carbon emission data is generated by the second institution and stored in the blockchain system, and the carbon emission data and the credible proof are used by the first institution to calculate the carbon footprint data of the target product. It can be seen that the technical solution realizes a set of secure distributed carbon emission data management mechanism through the multi-party collaboration of the blockchain system, the certification body and the second institution, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system, and only the first institution with the right to use the carbon emission data can obtain the carbon emission data uploaded by the second institution from the blockchain system, thereby ensuring the security of the carbon emission data. In addition, the second institution includes upstream institutions and / or downstream institutions related to the carbon emissions of the first institution. When the first institution obtains the carbon emission data of the upstream institutions and / or downstream institutions related to its carbon emissions, it can quickly and conveniently obtain the carbon emission data of the upstream institutions and / or downstream institutions if it has the right to use the carbon emission data of the upstream institutions and / or downstream institutions, thereby making it more efficient and accurate for the upstream and downstream institutions to obtain carbon emission data from each other, thereby making the calculation of carbon footprint data more accurate.
[0041] In one embodiment, the acquisition request may carry the identity information of the first institution (i.e., the first identity information). When the acquisition request is received, it can be verified whether the first institution has the right to use the carbon emission data of the target product (hereinafter referred to as carbon emission data) based on the identity information of the first institution. If it is determined that the first institution has the right to use the carbon emission data, the carbon emission data is further acquired. The identity information of the first institution may include at least one piece of information that can uniquely identify the first institution, such as the institution's business license, legal person information, and manager information.
[0042] In one embodiment, when the second institution stores carbon emission data in the blockchain system, it may also store authorization information corresponding to the carbon emission data. Specifically, the blockchain system receives the carbon emission data and authorization information sent by the second institution, and then stores the carbon emission data, authorization information, and the identity information of the second institution (i.e., the second identity information) in association. Among them, the authorization information may include the identity information of the authorized institution (i.e., the third identity information), and the authorized institution is an institution that has the right to use the carbon emission data, such as an upstream institution and / or a downstream institution related to the carbon emissions of the second institution. The identity information of the authorized institution may include at least one piece of information that can uniquely identify the authorized institution, such as the institution's business license, legal person information, and manager information.
[0043] If the carbon emission data is associated with corresponding authorization information, then based on the identity information of the first institution, verify whether the first institution has the right to use the carbon emission data, which can be performed as follows: First, obtain the authorization information corresponding to the carbon emission data. Secondly, match the identity information of the first institution with the identity information of the authorized institution. If the match is successful, it is determined that the first institution has the right to use; if the match fails, it is determined that the first institution does not have the right to use. Optionally, when the identity information of the authorized institution includes the identity information of the first institution, it is determined that the match is successful; when the identity information of the authorized institution does not include the identity information of the first institution, it is determined that the match fails.
[0044] In this embodiment, when sending carbon emission data and trusted proof to the first institution, the third identity information that matches the identity information of the first institution can be first determined from the third identity information corresponding to the authorized institution; then the carbon emission data associated with the matching third identity information can be obtained, and the obtained carbon emission data can be sent to the first institution.
[0045] In this embodiment, by pre-storing the authorization information corresponding to the carbon emission data, when the first institution requests to obtain the carbon emission data, it can verify the first institution's right to use the carbon emission data based on the authorization information corresponding to the carbon emission data. Therefore, the carbon emission data is obtained and sent to the first institution only when the first institution has the right to use the carbon emission data, thereby ensuring the security of the carbon emission data and providing security for the second institution to manage carbon emission data using the blockchain system.
[0046] In one embodiment, the authorization information corresponding to the carbon emission data includes authorization content information that has the right to use the specified data, wherein the specified data is part of or all of the carbon emission data. Based on this, when the carbon emission data is sent to the first institution, the specified data in the carbon emission data can be sent to the first institution according to the authorization content information.
[0047] In addition, the authorization information may also include operation permission information of the types of operations that can be performed on the specified data. For example, the authorization information stored in association with carbon emission data includes: Institution A has the authority to perform viewing operations on carbon emission data, so institution A can only obtain and view carbon emission data. For another example, the authorization information includes: Institution B has the authority to perform viewing operations and update operations on carbon emission data, so institution B can obtain carbon emission data from the blockchain system, and update the obtained carbon emission data based on the latest carbon emission data of the product corresponding to the carbon emission data.
[0048] In this embodiment, the second institution can provide corresponding authorization information when uploading carbon emission data. The authorization information can specify the authorized institution corresponding to the carbon emission data, the authorized institution's operating authority over the carbon emission data, the designated data that can be disclosed by the carbon emission data, etc., so that the second institution can use the carbon emission data management mechanism to flexibly manage its own carbon emission data, which not only provides a convenient channel for obtaining carbon emission data for upstream institutions and / or downstream institutions related to carbon emissions, but also can flexibly and targetedly manage the authorization information of carbon emission data.
[0049] In one embodiment, after the second institution sends the carbon emission data to the blockchain system, the blockchain system may verify the credibility of the carbon emission data. Optionally, the credibility of the carbon emission data is verified by a certification body inside the blockchain system or a certification body connected to the blockchain system. After receiving the carbon emission data from the second institution, the blockchain system may send the carbon emission data (or the carbon emission data and the identity information of the second institution) to the certification body, and the certification body verifies the credibility of the carbon emission data. Alternatively, the certification body actively sends a certification request for carbon emission data to the blockchain, and the certification request carries the identity information of the second institution. After the blockchain system receives the certification request for carbon emission data sent by the certification body, based on the identity information carried in the certification request, the carbon emission data associated with the identity information is sent to the certification body, so that the certification body verifies the carbon emission data, and generates a credible certificate corresponding to the carbon emission data after the verification is passed, and sends the credible certificate to the blockchain system. The blockchain system receives the credible certificate sent by the certification body, and associates the credible certificate with the corresponding carbon emission data for storage.
[0050] In this embodiment, the credibility of carbon emission data is verified, and the carbon emission data will be stored in the blockchain system only after the credibility verification is passed, so that the carbon emission data management mechanism coordinated by the blockchain system and the certification agency has credibility. Any institution that uses the blockchain system to manage the carbon emission data of its products must ensure the credibility of the carbon emission data. Therefore, when its upstream and downstream institutions calculate carbon footprint data based on the carbon emission data of the same or related products, the accuracy of the carbon footprint data can be ensured.
[0051] In one embodiment, before uploading the carbon emission data, the second institution may encrypt the carbon emission data, and then send the encrypted carbon emission data to the blockchain system for storage to ensure that the carbon emission data is not disclosed to the public. The second institution and its upstream and downstream institutions related to carbon emissions may pre-agree on the decryption method of the carbon emission data, so that after obtaining the carbon emission data of the second institution, the upstream and downstream institutions can decrypt the carbon emission data based on the agreed decryption method, and then obtain the decrypted carbon emission data.
[0052] In this embodiment, the encrypted carbon emission data is stored in the blockchain system, so that an organization that has not agreed on a decryption method in advance cannot obtain the carbon emission data of the second organization, thereby ensuring the privacy and security of the carbon emission data of the second organization.
[0053] In one embodiment, the second institution may encrypt the carbon emission data using an asymmetric encryption algorithm. For example, a pair of secret key pairs is generated using the RSA asymmetric encryption algorithm, including a public key disclosed to the public and a private key not disclosed to the public. Optionally, the second institution may use the public key in the secret key pair to encrypt the carbon emission data, and then the first institution requesting the carbon emission data needs to use the corresponding private key to decrypt the carbon emission data before obtaining the carbon emission data of the second institution.
[0054] Taking into account the non-disclosure of the private key, the second institution may pre-agree on the encryption and decryption methods with the authorized institution corresponding to the carbon emission data. The authorized institution may use an asymmetric encryption algorithm to pre-generate its own key pair and disclose the public key in the key pair to the public. The second institution may use the public key corresponding to the authorized institution to encrypt the carbon emission data. After the authorized institution requests to obtain the carbon emission data of the second institution, it may use the private key corresponding to the authorized institution to decrypt the carbon emission data, thereby obtaining the carbon emission data of the second institution. Since the private key corresponding to the authorized institution is not disclosed to the public, that is, only the authorized institution knows the private key, therefore, this embodiment uses an asymmetric encryption algorithm to encrypt and decrypt the carbon emission data, which can not only improve the collaborative efficiency between the second institution and the authorized institution, but also ensure the privacy and security of the carbon emission data of the second institution.
[0055] If there are multiple authorized institutions corresponding to the carbon emission data, each authorized institution can generate a key pair in advance using an asymmetric encryption algorithm, so that each authorized institution has its own key pair. Based on this, the second institution can use the public key corresponding to each authorized institution to encrypt the carbon emission data, obtain multiple encrypted carbon emission data, and store the multiple encrypted carbon emission data in the blockchain system in association with the identity information of the corresponding authorized institution. When the authorized institution obtains the carbon emission data, it can provide the blockchain system with unique identity information (such as at least one item of the institution's business license, legal person information, and manager information), so that the blockchain system can obtain the carbon emission data stored in association with the identity information based on the identity information.
[0056] In this embodiment, when sending the carbon emission data and the trusted proof to the first institution, the third identity information that matches the identity information of the first institution can be determined from the third identity information corresponding to the authorized institution, and then the carbon emission data associated with the matching third identity information is obtained, and the obtained carbon emission data is sent to the first institution. The first institution uses its own private key to decrypt the carbon emission data.
[0057] For example, the authorized institutions corresponding to the carbon emission data include institution A and institution B. The key pair corresponding to institution A includes public key A1 and private key A2, and the key pair corresponding to institution B includes public key B1 and private key B2. The second institution first encrypts the carbon emission data using public key A1 and public key B1 respectively, wherein after encrypting the carbon emission data using public key A1, the encrypted carbon emission data X1 is obtained; after encrypting the carbon emission data using public key B1, the encrypted carbon emission data X2 is obtained. Then, the second institution sends the carbon emission data, the identity information of the authorized institutions (including the identity information of institutions A and B), carbon emission data X1, carbon emission data X2 and encrypted information to the blockchain system, wherein the encrypted information includes: carbon emission data X1 is generated by encryption using the public key of institution A, and carbon emission data X2 is generated by encryption using the public key of institution B. The blockchain system associates and stores the carbon emission data X1 with the identity information of institution A, and associates and stores the carbon emission data X2 with the identity information of institution B. Assume that institution A sends a request to obtain carbon emission data to the blockchain system, and the request carries the identity information of institution A. After receiving the request, the blockchain system obtains the carbon emission data X1 stored in association with the identity information of institution A according to the identity information of institution A carried in the request, and then sends the carbon emission data X1 to institution A. After receiving the carbon emission data X1, institution A can use its own private key A2 to decrypt the carbon emission data X1. If the blockchain system mistakenly sends the carbon emission data X2 to institution A, since the carbon emission data X2 is encrypted using the public key B1 of institution B, it must be correctly decrypted using the private key B2 of institution B. Therefore, even if institution A obtains the carbon emission data X2, it cannot decrypt the carbon emission data X2 to obtain the decrypted carbon emission data. Similarly, other unauthorized institutions that obtain carbon emission data X1 or carbon emission data X2 cannot obtain the real carbon emission data by decryption. It can be seen that this embodiment uses an asymmetric encryption algorithm to encrypt and decrypt carbon emission data, which can ensure the privacy and security of the carbon emission data of the second institution.
[0058] In one embodiment, the certification body can use an asymmetric encryption algorithm to pre-generate its own key pair and make the public key in the key pair public. The second agency uses the public key corresponding to the certification body to encrypt the carbon emission data, and then stores the encrypted carbon emission data in the blockchain system. When the certification body obtains the carbon emission data for credibility verification, what is obtained is the carbon emission data encrypted using the public key corresponding to the certification body. Therefore, the certification body can use its own private key to decrypt the carbon emission data, and then verify the credibility of the decrypted carbon emission data.
[0059] To ensure that each transmission link of carbon emission data is safe and not leaked, the certification body can encrypt the carbon emission data after verifying its credibility, and send the encrypted carbon emission data and the corresponding credible proof to the blockchain system. In order to enable the authorized institution to use its own private key to decrypt the carbon emission data when requesting to obtain the carbon emission data, the certification body can use the corresponding public key of the authorized institution to encrypt the carbon emission data.
[0060] Optionally, the encryption method of carbon emission data can be agreed upon by means of a smart contract. The authorization information of the carbon emission data and the encryption method of the carbon emission data can be pre-written in the smart contract, and the authorization information includes the identity information of the authorized agency corresponding to the carbon emission data. Based on this, when the certification body requests a credibility verification of the carbon emission data, a call request for the smart contract from the certification body can be received, and the smart contract can be called based on the call request, and then the encryption information can be obtained based on the smart contract, and the encrypted information can be fed back to the certification body. Among them, the encrypted information is used to enable the certification body to determine the authorization information of the carbon emission data, and encrypt the carbon emission data according to the encryption method of the carbon emission data written in the smart contract. The encryption method allows the certification body to know how to encrypt the carbon emission data. For example, the encryption method is: encrypt the carbon emission data using the public key corresponding to the authorized agency.
[0061] After the certification body verifies the credibility of the carbon emission data, it determines the identity information of the authorized agency based on the authorization information corresponding to the carbon emission data, and then determines the public key corresponding to the authorized information. Among them, the certification body pre-stores the public keys corresponding to each authorized agency. The certification body encrypts the carbon emission data using the public key corresponding to the authorized agency, and sends the encrypted carbon emission data to the blockchain system, and the blockchain system associates and stores the encrypted carbon emission data with the corresponding authorization information. If there are multiple authorized agencies, the certification body encrypts the carbon emission data using the public key corresponding to each authorized agency, and sends the encrypted carbon emission data to the blockchain system. The blockchain system associates and stores each encrypted carbon emission data with the third identity information of the corresponding authorized agency, wherein the corresponding authorized agency refers to the authorized agency corresponding to the public key used to encrypt the carbon emission data.
[0062] In this embodiment, the certification body and each authorized institution have their own corresponding key pairs. When the second institution uploads carbon emission data to the blockchain system, the public key corresponding to the certification body is used to encrypt the carbon emission data, so that when the certification body verifies the credibility of the carbon emission data, it can use its own private key to decrypt the carbon emission data. When the certification body uploads carbon emission data to the blockchain system, the public key corresponding to the authorized institution is used to encrypt the carbon emission data, so that when the authorized institution obtains the carbon emission data for carbon footprint data accounting, it can use its own private key to decrypt the carbon emission data. Therefore, the technical solution of this embodiment can ensure that each transmission link of the carbon emission data is safe and not leaked, thereby not only realizing a distributed carbon emission data management mechanism with efficient synergy among multiple parties, but also ensuring the security and privacy of the carbon emission data of the second institution.
[0063] In one embodiment, the authorization information corresponding to the carbon emission data includes: identity information and an authorization certificate corresponding to an authorized institution having the right to use the carbon emission data, wherein the authorization certificate is used to identify that the authorized institution has the right to use the carbon emission data.
[0064] The second institution uploads the carbon emission data, the authorization information including the identity information corresponding to the authorized institution, and the identity information of the second institution (i.e., the second identity information) to the blockchain system so that the blockchain system can associate and store them. After receiving the carbon emission data, the authorization information, and the identity information of the second institution, the blockchain system can determine the identity information of the authorized institution according to the authorization information, and then issue an authorization certificate to each authorized institution according to the identity information of the authorized institution, and store the authorization certificate as the authorization information in association with the carbon emission data.
[0065] When verifying whether the first institution has the right to use the carbon emission data, it is possible to determine whether the blockchain system stores the authorization certificate corresponding to the first institution based on the identity information of the first institution. If so, it is determined that the first institution has the right to use; if not, it is determined that the first institution does not have the right to use. The authorization certificate corresponding to the first institution is the authorization certificate stored in association with the identity information of the first institution.
[0066] Considering the security of carbon emission data, when the second institution uploads carbon emission data, it can first encrypt the carbon emission data using the public key corresponding to the second institution, and then upload the encrypted carbon emission data to the blockchain system for storage. After determining that the authorization certificate corresponding to the first institution is stored in the blockchain system, the private key corresponding to the second institution can be obtained, and the carbon emission data can be decrypted using the private key corresponding to the second institution. Then the public key corresponding to the first institution is obtained, and the carbon emission data is re-encrypted using the public key corresponding to the first institution, and then the encrypted carbon emission data and the credible certificate are sent to the first institution. Since the carbon emission data is encrypted using the public key corresponding to the first institution, after the first institution receives the carbon emission data, it can use its own private key to decrypt it, thereby obtaining the carbon emission data of the second institution. Among them, the second institution can store its own key pair in the blockchain system in advance, so that the blockchain combines the key pair of the second institution and the public key pair of the first institution to achieve the secure transmission of the carbon emission data of the second institution.
[0067] In this embodiment, the carbon emission data stored in the blockchain system is encrypted with the public key of the second institution, and the blockchain system pre-issues an authorization certificate for each authorized institution corresponding to the carbon emission data. When the first institution requests to obtain the carbon emission data of the second institution, the blockchain system verifies the first institution's right to use the carbon emission data based on whether the authorization certificate corresponding to the first institution is stored. When verifying that the first institution has the right to use, the carbon emission data is re-encrypted in combination with the key pair of the second institution and the public key of the first institution, and the encrypted carbon emission data is sent to the first institution. Therefore, the blockchain system only needs to store a copy of the carbon emission data encrypted with the public key of the second institution, without the need to back up the carbon emission data for each authorized institution, thereby not only ensuring the storage security and transmission security of the carbon emission data, but also saving the storage space of the blockchain system.
[0068] In one embodiment, the blockchain system stores carbon emission data and its corresponding authorization information in an associated manner. The authorization information may include the identity information of an institution with the authority to verify the carbon emission data. The certification body sends a request for authentication of the carbon emission data to the carbon emission data, and the authentication request may carry the fourth identity information of the certification body. After receiving the authentication request, the blockchain system may match the fourth identity information of the certification body with the identity information of the institution with the authority to verify the carbon emission data. If the match is successful, the carbon emission data is sent to the certification body.
[0069] In this embodiment, by verifying the certification authority of the certification body on the carbon emission data, the credible proof corresponding to the carbon emission data is made authoritative, thereby ensuring the accuracy and credibility of the carbon footprint data accounting.
[0070] Figure 4is a schematic flow chart of a carbon emission data processing method according to another embodiment of this specification, such as Figure 4 As shown, this method can be applied to Figure 1 The certification body shown includes the following steps S402-S408:
[0071] S402, sending a certification request for the carbon emission data of the target product to the blockchain system, wherein the carbon emission data is generated by a second institution and stored in the blockchain system, and the certification request carries the second identity information of the second institution, and the second identity information is used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the certification institution.
[0072] Optionally, the certification agency may not send a certification request. For example, after the blockchain system receives the carbon emission data sent by the second agency, it sends the carbon emission data and the second identity information of the second agency to the certification agency, so that the certification agency can verify the credibility of the carbon emission data.
[0073] In this embodiment, the authentication request is used to request a credibility verification of the carbon emission data. The carbon emission data may include at least one of the carbon emission amount, carbon emission detailed data, and the carbon footprint relationship between the upstream organization and / or the downstream organization. The carbon emission detailed data may include the carbon emission time, the carbon emission cause, the carbon emission amount corresponding to different carbon emission times, the carbon emission amount corresponding to different carbon emission causes, and the like.
[0074] S404, obtaining the carbon emission data sent by the blockchain system and verifying the carbon emission data.
[0075] The credibility verification of carbon emission data may verify at least one of the following: whether the carbon emission falls within the normal emission range, whether the cause of carbon emission is regular, etc. The verification content of the credibility verification of carbon emission data may be agreed upon in advance, for example, the verification content may be pre-set and stored in the certification body.
[0076] S406: If the verification is successful, a credible certificate corresponding to the carbon emission data is generated.
[0077] This embodiment does not limit the form of the credible proof, which can be in any form such as characters, pictures, signatures, texts, etc., used to identify the credibility of carbon emission data. In addition to identifying the credibility of carbon emission data, the credible proof can also include descriptive information of the carbon emission data, such as a description of the evaluation of the carbon emission data and the verification process.
[0078] S408, the trusted proof and the carbon emission data are associated and stored in the blockchain system.
[0079] Among them, the certification body can send the carbon emission data and the credible proof to the blockchain system, so that the blockchain system associates and stores the credible proof and the carbon emission data. Optionally, the certification body can send the carbon emission data, the credible proof, and the second identity information of the second institution to the blockchain system, so that the blockchain system associates and stores the credible proof, the carbon emission data, and the second identity information of the second institution.
[0080] The technical solution of one or more embodiments of this specification is adopted to obtain carbon emission data from the blockchain system and verify the carbon emission data. After the verification, a trusted proof corresponding to the carbon emission data is generated, and then the trusted proof and the carbon emission data are associated and stored in the blockchain system. Thus, through the multi-party collaboration of the blockchain system, the certification body and the second institution, a set of secure distributed carbon emission data management mechanisms is realized, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system to ensure the security of the carbon emission data. And because the carbon emission data is stored after verification by the certification body, other institutions, such as upstream institutions and / or downstream institutions related to the carbon emissions of the second institution, obtain credible carbon emission data from the blockchain system, thereby making the carbon footprint data calculated using the carbon emission data more accurate and credible.
[0081] In one embodiment, the carbon emission data is obtained by encrypting the public key corresponding to the certification body. When the certification body verifies the carbon emission data, it can first decrypt the obtained carbon emission data using the private key corresponding to the certification body, and then verify the decrypted carbon emission data.
[0082] The certification body can use an asymmetric encryption algorithm to pre-generate its own key pair and make the public key in the key pair public, so that the second institution can know the public key corresponding to the certification body. When the second institution uploads the carbon emission data of its own products to the blockchain system, it can first use the public key corresponding to the certification body to encrypt the carbon emission data, and then store the encrypted carbon emission data in the blockchain system. In this way, the certification body obtains the encrypted carbon emission data from the blockchain system and can use its own private key to decrypt the carbon emission data.
[0083] To ensure that each transmission link of carbon emission data is safe and not leaked, the certification body can encrypt the carbon emission data after verifying its credibility, and send the encrypted carbon emission data and the corresponding credible proof to the blockchain system. In order to enable the authorized institution corresponding to the carbon emission data to use its own private key to decrypt the carbon emission data when requesting to obtain the carbon emission data, the certification body can encrypt the carbon emission data using the public key corresponding to the authorized institution.
[0084] If there are multiple authorized institutions, the certification body can use the public keys corresponding to each authorized institution to encrypt the carbon emission data, obtain multiple encrypted carbon emission data, and then store the trusted proof, multiple encrypted carbon emission data, and the identity information corresponding to multiple authorized institutions (i.e., the third identity information) in the blockchain system. Among them, the certification body pre-stores the public keys corresponding to each authorized institution. When the authorized institution obtains carbon emission data from the blockchain system, it can provide the blockchain system with unique identity information (such as at least one of the institution's business license, legal person information, and manager information), so that the blockchain system can obtain the carbon emission data stored in association with the identity information based on the identity information.
[0085] In this embodiment, the certification body and each authorized institution have their own corresponding key pairs. When the second institution uploads carbon emission data to the blockchain system, the public key corresponding to the certification body is used to encrypt the carbon emission data, so that when the certification body verifies the credibility of the carbon emission data, it can use its own private key to decrypt the carbon emission data. When the certification body uploads carbon emission data to the blockchain system, the public key corresponding to the authorized institution is used to encrypt the carbon emission data, so that when the authorized institution obtains the carbon emission data for carbon footprint data accounting, it can use its own private key to decrypt the carbon emission data. Therefore, the technical solution of this embodiment can ensure that each transmission link of the carbon emission data is safe and not leaked, thereby not only realizing a distributed carbon emission data management mechanism with efficient synergy among multiple parties, but also ensuring the security and privacy of the carbon emission data of the second institution.
[0086] For example, the authorized institutions corresponding to the carbon emission data include institution A and institution B. The key pair corresponding to institution A includes public key A1 and private key A2, and the key pair corresponding to institution B includes public key B1 and private key B2. The certification agency first encrypts the carbon emission data using public key A1 and public key B1 respectively, wherein after encrypting the carbon emission data using public key A1, the encrypted carbon emission data X1 is obtained; after encrypting the carbon emission data using public key B1, the encrypted carbon emission data X2 is obtained. Then, the certification agency sends the carbon emission data, the identity information of the authorized institutions (including the identity information of institutions A and B), carbon emission data X1, carbon emission data X2 and encrypted information to the blockchain system, wherein the encrypted information includes: carbon emission data X1 is generated by encryption using the public key of institution A, and carbon emission data X2 is generated by encryption using the public key of institution B.
[0087] In one embodiment, after the certification body generates a trusted certificate corresponding to the carbon emission data, it can use the public key corresponding to the second agency to encrypt the carbon emission data, and then store the trusted certificate and the carbon emission data encrypted using the public key corresponding to the second agency in the blockchain system.
[0088] In one embodiment, the blockchain system stores carbon emission data and its corresponding authorization information in association, and the authorization information includes the identity information of the authorized institution (i.e., the third identity information). The authorized institution is an institution that has the right to use the carbon emission data, such as the upstream institution and / or downstream institution related to the carbon emission of the second institution. The identity information of the authorized institution may include at least one piece of information that can uniquely identify the authorized institution, such as the institution's business license, legal person information, and manager information. After the certification authority sends a certification request for the carbon emission data of the target product to the blockchain system, the blockchain system may send the carbon emission data and its corresponding authorization information to the certification authority. After the certification authority obtains the carbon emission data and its corresponding authorization information sent by the blockchain system, it determines the identity information of the authorized institution based on the authorization information, and determines the corresponding public key of the authorized institution based on the identity information of the authorized institution. Then, when the trusted proof and the carbon emission data are stored in association with the blockchain system, the public key corresponding to the authorized institution may be used to encrypt the carbon emission data, and then the trusted proof and the encrypted carbon emission data are stored in association with the blockchain system.
[0089] In one embodiment, the encryption method of carbon emission data can be agreed upon by means of a smart contract. The authorization information of carbon emission data and the encryption method of carbon emission data can be pre-written in the smart contract, and the authorization information includes the identity information of the authorized institution corresponding to the carbon emission data. Based on this, after the certification body sends a certification request for carbon emission data to the blockchain system, a call request for the smart contract can be sent to the blockchain system, and the call request is used to request the blockchain system to call the smart contract, and obtain encryption information based on the smart contract, and then the encrypted information is fed back to the certification body. Among them, the encryption information is used to enable the certification body to determine the authorization information of the carbon emission data, and encrypt the carbon emission data according to the encryption method of the carbon emission data written in the smart contract. The encryption method allows the certification body to know how to encrypt the carbon emission data. For example, the encryption method is: encrypt the carbon emission data using the public key corresponding to the authorized institution. After the certification body obtains the encrypted information sent by the blockchain, it determines the authorization information and encryption method corresponding to the carbon emission data according to the encrypted information, and encrypts the carbon emission data according to the encryption method.
[0090] Alternatively, the encryption method is: encrypting the carbon emission data using the public key corresponding to the second institution. After the certification body obtains the encrypted information sent by the blockchain, it determines the encryption method corresponding to the carbon emission data based on the encrypted information, and encrypts the carbon emission data using the public key corresponding to the second institution according to the encryption method.
[0091] Figure 5 is a schematic scene diagram of a carbon emission data processing method according to this embodiment, Figure 6is a schematic swim lane diagram of a carbon emission data processing method according to an embodiment of this specification. Figure 5 As shown, the certification body, Enterprise A, Enterprise B and Enterprise C are all connected to the blockchain system. Enterprise A, Enterprise B and Enterprise C are institutions with upstream and downstream relationships, among which Enterprise A, Enterprise B and Enterprise C respectively produce / assemble raw materials or parts related to the target product, Enterprise C is the raw material supplier of Enterprise B, and Enterprise B is the parts supplier of Enterprise A. Therefore, Enterprise C is the upstream enterprise of Enterprise B, and Enterprise B is the upstream enterprise of Enterprise A. If Enterprise A wants to calculate its own carbon footprint data, it needs to obtain the carbon emission data of upstream Enterprise B. Since Enterprise B has upstream Enterprise C, the carbon emission data of Enterprise B should be the sum of the carbon emission data of Enterprise B and Enterprise C, which can also be called the carbon footprint data of Enterprise B, that is, Enterprise A needs to obtain the carbon footprint data of upstream Enterprise B. As Figure 6 As shown, the carbon emission data processing method includes the following steps S6.1-S6.13:
[0092] Before executing the following steps, the certification authority, enterprise A, enterprise B and enterprise C all generate their corresponding key pairs in advance. The public key in the key pair is open to the public, while the private key is not open to the public.
[0093] S6.1, Enterprise C uses the public key corresponding to the certification body to encrypt its own carbon emission data, and uploads the first carbon emission related data to the blockchain system.
[0094] The first carbon emission related data includes the carbon emission data of enterprise C encrypted using the public key corresponding to the certification body, the identity information of enterprise C, and the authorization information corresponding to the carbon emission data of enterprise C. The authorization information may include the identity information of the authorized enterprise, and the authorized enterprise is the enterprise that has the right to use the carbon emission data. For example, in this embodiment, the authorized enterprise corresponding to the carbon emission data of enterprise C includes enterprise B.
[0095] Optionally, if enterprise C produces multiple products at the same time, the first carbon emission-related data may also include product identification information, so that the blockchain system stores the carbon emission data and product identification information in association with each other.
[0096] S6.2, the certification body obtains the first carbon emission related data of enterprise C from the blockchain system, and decrypts the carbon emission data using the private key corresponding to the certification body.
[0097] In this step, the blockchain system sends the carbon emission-related data of Enterprise C to the certification agency.
[0098] Optionally, enterprise C can authorize the certification body. Specifically, the authorization information includes the identity information of the institution with the credibility verification authority. The blockchain system verifies the authority of the certification body based on the identity information of the institution with the credibility verification authority. After the authority verification is passed, the carbon emission related data of enterprise C will be sent to the certification body.
[0099] S6.3, the certification body verifies the credibility of the decrypted carbon emission data. If the verification is successful, a credible certificate corresponding to the carbon emission data is generated.
[0100] Among them, the credibility verification of carbon emission data can verify at least one of the following: whether the carbon emission amount is within the normal emission amount range, whether the cause of carbon emission is regular, etc. The verification content of the credibility verification of carbon emission data can be agreed in advance, for example, the verification content is pre-set and stored in the certification agency.
[0101] S6.4, the certification body uses the public key corresponding to enterprise B to encrypt the carbon emission data, and uploads the second carbon emission related data and the trusted proof to the blockchain system.
[0102] Among them, the second carbon emission related data includes the carbon emission data encrypted using the public key corresponding to enterprise B and the identity information of enterprise C.
[0103] S6.5, Enterprise B sends a request to the blockchain system to obtain the carbon emission data of Enterprise C.
[0104] The acquisition request carries the identity information of enterprise B and / or the product identification information of the target product. The identity information of enterprise B is used by the blockchain system to verify the authority of enterprise B and / or to obtain the carbon emission data stored in association with the identity information of enterprise B. The product identification information of the target product is used by the blockchain system to obtain the carbon emission data stored in association with the product identification information of the target product.
[0105] S6.6, the blockchain system verifies whether enterprise B has the right to use enterprise C’s carbon emission data based on the authorization information corresponding to the carbon emission data.
[0106] The blockchain system matches the identity information of enterprise B with the identity information of the authorized enterprise in the authorization information. If the match is successful, it is determined that enterprise B has the right to use; if the match fails, it is determined that enterprise B does not have the right to use. Optionally, if the identity information of the authorized enterprise includes the identity information of enterprise B, the match is determined to be successful; if the identity information of the authorized enterprise does not include the identity information of enterprise B, the match is determined to be unsuccessful.
[0107] S6.7, when it is determined that enterprise B has the right to use the carbon emission data of enterprise C, obtain the carbon emission data and credible proof of enterprise C and send them to enterprise B.
[0108] S6.8, Enterprise B uses its own private key to decrypt the carbon emission data of Enterprise C, and calculates the carbon footprint data of Enterprise B based on the decrypted carbon emission data.
[0109] Among them, the carbon footprint data of enterprise B can also be called the carbon emission data of enterprise B.
[0110] S6.9, Enterprise B uses the public key corresponding to Enterprise A to encrypt its own carbon footprint data, and uploads the third carbon emission related data and trusted proof to the blockchain system.
[0111] The third carbon emission related data includes the carbon footprint data of enterprise B encrypted using the public key corresponding to enterprise A, the identity information of enterprise B, and the authorization information corresponding to the carbon footprint data of enterprise B. The authorization information may include the identity information of the authorized enterprise, and the authorized enterprise is the enterprise that has the right to use the carbon emission data. For example, in this embodiment, the authorized enterprises corresponding to the carbon footprint data of enterprise B include enterprise A.
[0112] Alternatively, Enterprise B can also follow a similar operation process to Enterprise C, that is, first encrypt the carbon footprint data of Enterprise B using the public key corresponding to the certification body and upload it to the blockchain system; then the certification body obtains the carbon footprint data of Enterprise B, decrypts the carbon footprint data of Enterprise B using the private key corresponding to the certification body, and verifies the credibility of the carbon footprint data of Enterprise B. After the verification is passed, the certification body uses the public key corresponding to Enterprise A to encrypt the carbon footprint data of Enterprise B, and uploads the encrypted carbon footprint data of Enterprise B and the corresponding credible certificate to the blockchain system.
[0113] S6.10, Enterprise A sends a request to the blockchain system to obtain the carbon footprint data of Enterprise B.
[0114] The acquisition request carries the identity information of enterprise A and / or the product identification information of the target product. The identity information of enterprise A is used by the blockchain system to verify the authority of enterprise A and / or is used by the blockchain system to obtain the carbon emission data stored in association with the identity information of enterprise A. The product identification information of the target product is used by the blockchain system to obtain the carbon emission data stored in association with the product identification information of the target product.
[0115] S6.11, the blockchain system verifies whether enterprise A has the right to use enterprise B’s carbon footprint data based on the authorization information corresponding to enterprise B’s carbon footprint data.
[0116] S6.12, when it is determined that enterprise A has the right to use the carbon footprint data of enterprise B, obtain the carbon footprint data and credible proof of enterprise B and send them to enterprise A.
[0117] S6.13, Enterprise A uses its own private key to decrypt the carbon footprint data of Enterprise B, and calculates the carbon footprint data of Enterprise A based on the decrypted carbon footprint data.
[0118] In this embodiment, the identity information of each enterprise may include at least one piece of information that can uniquely identify the enterprise, such as the enterprise's business license, legal person information, and manager information.
[0119] It can be seen that the technical solution provided in this embodiment realizes a set of secure distributed carbon emission data management mechanism through the multi-party collaboration between the blockchain system, the certification body and multiple enterprises, so that enterprises can store sensitive data (i.e., carbon emission data or carbon footprint data) in the blockchain system, and only enterprises with the right to use carbon emission data can obtain the carbon emission data uploaded by other enterprises from the blockchain system, thereby ensuring the security of carbon emission data. In addition, when an enterprise obtains the carbon emission data (or carbon footprint data) of upstream enterprises and / or downstream enterprises related to its carbon emissions, it can quickly and conveniently obtain the carbon emission data (or carbon footprint data) of upstream enterprises and / or downstream enterprises if it has the right to use the carbon emission data (or carbon footprint data) of upstream enterprises and / or downstream enterprises, thereby making it more efficient and accurate for upstream and downstream enterprises to obtain carbon emission data (or carbon footprint data) from each other, thereby making the accounting of carbon footprint data more accurate. In addition, the certification body and each enterprise have their own corresponding key pairs. When the enterprise uploads carbon emission data to the blockchain system, the public key corresponding to the certification body is used to encrypt the carbon emission data, so that when the certification body verifies the credibility of the carbon emission data, it can use its own private key to decrypt the carbon emission data. When the certification body uploads carbon emission data to the blockchain system, the public key corresponding to the authorized enterprise is used to encrypt the carbon emission data, so that when the authorized enterprise obtains the carbon emission data for carbon footprint data accounting, it can use its own private key to decrypt the carbon emission data. Therefore, the technical solution of this embodiment can ensure that each transmission link of the carbon emission data is safe and not leaked, thereby not only realizing a distributed carbon emission data management mechanism with efficient synergy among multiple parties, but also ensuring the security and privacy of the carbon emission data of enterprises.
[0120] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.
[0121] The above is a carbon emission data processing method provided in one or more embodiments of this specification. Based on the same idea, one or more embodiments of this specification also provide a carbon emission data processing device.
[0122] Figure 7 is a schematic block diagram of a carbon emission data processing device according to an embodiment of this specification, such as Figure 7 As shown, the device comprises:
[0123] A first receiving module 71 receives a request for obtaining carbon emission data for a target product sent by a first institution; the carbon emission data is generated by a second institution and stored in the blockchain system, and the second institution includes an upstream institution and / or a downstream institution related to the carbon emission of the first institution;
[0124] The first acquisition module 72, when determining that the first institution has the right to use the carbon emission data, acquires the carbon emission data and a credible certificate corresponding to the carbon emission data from the blockchain system; the credible certificate is generated after the certification body verifies the carbon emission data;
[0125] The first sending module 73 sends the carbon emission data and the trusted certificate to the first institution; the carbon emission data and the trusted certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0126] In one embodiment, the apparatus further comprises:
[0127] a second receiving module, which receives the carbon emission data and authorization information sent by the second institution before receiving the acquisition request for the carbon emission data of the target product sent by the first institution;
[0128] The second storage module associates and stores the carbon emission data, the authorization information and the second identity information of the second institution.
[0129] In one embodiment, the acquisition request carries the first identity information of the first institution;
[0130] The device also includes:
[0131] The verification module verifies, after receiving a request for obtaining carbon emission data of a target product sent by a first institution, whether the first institution has the right to use the carbon emission data according to the first identity information.
[0132] In one embodiment, the authorization information includes third identity information of an authorized institution having the right to use; and the verification module includes:
[0133] A first acquisition unit, acquiring the authorization information corresponding to the carbon emission data;
[0134] A first matching unit matches the first identity identification information with the third identity identification information;
[0135] The first determination unit determines that the first institution has the use authority if the match is successful; and determines that the first institution does not have the use authority if the match fails.
[0136] In one embodiment, the apparatus further comprises:
[0137] a third receiving module, which receives a certification request for the carbon emission data from the certification agency before receiving the acquisition request for the second carbon emission data of the target product from the first agency; the certification request carries the second identity information;
[0138] A second sending module is configured to send the carbon emission data associated with the second identity information to the certification body; the certification body is configured to verify the carbon emission data and generate the credible certificate corresponding to the carbon emission data after the verification is passed;
[0139] The third storage module receives the trusted certificate sent by the certification body, and stores the trusted certificate in association with the carbon emission data.
[0140] In one embodiment, the authorized institution includes multiple authorized institutions, and each authorized institution corresponds to its own key pair;
[0141] The second sending module includes:
[0142] A first sending unit is configured to send the carbon emission data associated with the second identity information and the authorization information corresponding to the carbon emission data to the certification body;
[0143] The device also includes:
[0144] A fourth receiving module, after sending the carbon emission data associated with the second identity information to the certification body, receives a plurality of carbon emission data sent by the certification body; the plurality of carbon emission data are obtained by respectively encrypting the plurality of carbon emission data using the public key corresponding to each of the authorized bodies;
[0145] The fourth storage module associates and stores each of the encrypted carbon emission data with the corresponding third identity identification information of the authorized institution.
[0146] In one embodiment, the first sending module 73 includes:
[0147] A second determining unit, determining, from the plurality of third identity identification information, third identity identification information that matches the first identity identification information;
[0148] A second acquisition unit, acquiring the carbon emission data associated with the third identity information matching the first identity information;
[0149] The second sending unit sends the acquired carbon emission data to the first institution; the carbon emission data is used by the first institution to decrypt it using its own private key.
[0150] In one embodiment, the second sending module includes:
[0151] A first receiving unit receives a call request from the certification body to a smart contract; the authorization information and the encryption method for the carbon emission data are pre-written in the smart contract;
[0152] An acquisition and feedback unit calls the smart contract based on the call request, obtains encrypted information based on the smart contract, and feeds back the encrypted information to the certification body; the encrypted information is used by the certification body to determine the authorization information and encrypt the carbon emission data according to the encryption method.
[0153] In one embodiment, the authorization information includes an authorization certificate corresponding to the authorized institution having the right to use the carbon emission data; the authorization certificate is used to identify that the authorized institution has the right to use the carbon emission data;
[0154] The second storage module includes:
[0155] a third encryption unit, encrypting the carbon emission data using a public key corresponding to the second institution;
[0156] The third storage unit associates and stores the encrypted carbon emission data, the authorization information and the second identity information.
[0157] In one embodiment, the verification module includes:
[0158] A judging unit, judging, according to the first identity information, whether the authorization certificate corresponding to the first institution is stored in the blockchain system;
[0159] The third determining unit determines, if yes, that the first institution has the use authority; if no, that the first institution does not have the use authority.
[0160] In one embodiment, the first sending module 73 includes:
[0161] A first decryption unit, obtaining a private key corresponding to the second institution, and decrypting the carbon emission data using the private key corresponding to the second institution;
[0162] a fourth encryption unit, which obtains a public key corresponding to the first institution, and encrypts the decrypted carbon emission data using the public key corresponding to the first institution;
[0163] The sixth sending unit sends the encrypted carbon emission data and the trusted certificate to the first institution; the encrypted carbon emission data is used for the first institution to decrypt using its own private key.
[0164] In one embodiment, the authorization information further includes identity information of an institution having the authority to verify the carbon emission data; the authentication request carries fourth identity information of the authentication institution;
[0165] The second sending module includes:
[0166] A second matching unit matches the fourth identity information with the identity information of the institution having the verification authority;
[0167] The third sending unit sends the carbon emission data to the certification agency if the match is successful.
[0168] In one embodiment, the carbon emission data includes at least one of carbon emission amount, carbon emission detailed data, and carbon footprint relationship with upstream institutions and / or downstream institutions; the authorization information also includes: authorization content information having the use right for the designated data; the designated data is part of or all of the carbon emission data;
[0169] The first sending module 73 includes:
[0170] The fourth sending unit sends the designated data in the carbon emission data and the trusted certificate to the first institution according to the authorization content information.
[0171] The device using one or more embodiments of the present specification, when receiving a request for obtaining carbon emission data for a target product sent by a first institution, verifies the first institution's right to use the carbon emission data, and when it is determined that the first institution has the right to use the carbon emission data, obtains the carbon emission data and the credible proof corresponding to the carbon emission data from the blockchain system, and sends the carbon emission data and the credible proof to the first institution. Among them, the carbon emission data is generated by the second institution and stored in the blockchain system, and the carbon emission data and the credible proof are used by the first institution to calculate the carbon footprint data of the target product. It can be seen that the device realizes a set of secure distributed carbon emission data management mechanism through the multi-party collaboration of the blockchain system, the certification body and the second institution, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system, and only the first institution with the right to use the carbon emission data can obtain the carbon emission data uploaded by the second institution from the blockchain system, thereby ensuring the security of the carbon emission data. In addition, the second institution includes upstream institutions and / or downstream institutions related to the carbon emissions of the first institution. When the first institution obtains the carbon emission data of the upstream institutions and / or downstream institutions related to its carbon emissions, it can quickly and conveniently obtain the carbon emission data of the upstream institutions and / or downstream institutions if it has the right to use the carbon emission data of the upstream institutions and / or downstream institutions, thereby making it more efficient and accurate for the upstream and downstream institutions to obtain carbon emission data from each other, thereby making the calculation of carbon footprint data more accurate.
[0172] Those skilled in the art should understand that the above-mentioned carbon emission data processing device can be used to implement the carbon emission data processing method described above, and the detailed description thereof should be similar to the description of the method part above, and will not be further described here to avoid tediousness.
[0173] Figure 8 is a schematic block diagram of a carbon emission data processing device according to another embodiment of this specification, such as Figure 8 As shown, the device comprises:
[0174] The second sending module 81 sends a certification request for the carbon emission data of the target product to the blockchain system; the carbon emission data is generated by a second institution and stored in the blockchain system, and the certification request carries the second identity information of the second institution; the second identity information is used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the certification institution;
[0175] A verification module 82, which obtains the carbon emission data sent by the blockchain system and verifies the carbon emission data;
[0176] The generating module 83 generates a credible certificate corresponding to the carbon emission data if the verification is passed;
[0177] The first storage module 84 associates and stores the trusted certificate and the carbon emission data in the blockchain system.
[0178] In one embodiment, the carbon emission data is obtained by encrypting the public key corresponding to the certification body;
[0179] The verification module 82 includes:
[0180] A second decryption unit, using a private key corresponding to the certification body, to decrypt the acquired carbon emission data;
[0181] The verification unit verifies the decrypted carbon emission data.
[0182] In one embodiment, the apparatus further comprises:
[0183] A second acquisition module, after sending an authentication request for the carbon emission data of the target product to the blockchain system, obtains authorization information corresponding to the carbon emission data sent by the blockchain system; the authorization information includes third identity identification information of an authorized institution that has the right to use the carbon emission data;
[0184] The first storage module 84 includes:
[0185] A first encryption unit, encrypting the carbon emission data using a public key corresponding to the authorized institution;
[0186] The first storage unit associates and stores the trusted certificate and the encrypted carbon emission data in the blockchain system.
[0187] In one embodiment, the authorized institutions include a plurality of;
[0188] The first storage module 84 includes:
[0189] A second encryption unit, using the public key corresponding to each of the authorized institutions to encrypt the carbon emission data, to obtain a plurality of encrypted carbon emission data;
[0190] The second storage unit stores the trusted proof, the multiple encrypted carbon emission data, and the third identity identification information corresponding to the multiple authorized institutions in the blockchain system.
[0191] In one embodiment, the second acquisition module includes:
[0192] A fifth sending unit sends a call request for a smart contract to the blockchain system; the authorization information and the encryption method for the carbon emission data are pre-written in the smart contract; the call request is used to request the blockchain system to call the smart contract, obtain encryption information based on the smart contract, and feed the encryption information back to the certification authority;
[0193] The second encryption unit obtains the encrypted information sent by the blockchain system, and determines the authorization information and the encryption method according to the encrypted information; the encryption method includes: encrypting using the public key corresponding to the authorized institution; encrypting the carbon emission data according to the encryption method.
[0194] In one embodiment, the apparatus further comprises:
[0195] an encryption module, after generating the trusted certificate corresponding to the carbon emission data, encrypting the carbon emission data using the public key corresponding to the second institution;
[0196] The first storage module 84 includes:
[0197] The fourth storage unit associates and stores the trusted certificate and the encrypted carbon emission data in the blockchain system.
[0198] The device using one or more embodiments of the present specification verifies the carbon emission data by obtaining the carbon emission data from the blockchain system. After the verification, a trusted proof corresponding to the carbon emission data is generated, and then the trusted proof and the carbon emission data are associated and stored in the blockchain system. Thus, through the multi-party collaboration of the blockchain system, the certification body and the second institution, a set of secure distributed carbon emission data management mechanisms is realized, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system to ensure the security of the carbon emission data. And because the carbon emission data is stored after verification by the certification body, other institutions, such as upstream institutions and / or downstream institutions related to the carbon emissions of the second institution, obtain credible carbon emission data from the blockchain system, thereby making the carbon footprint data calculated using the carbon emission data more accurate and credible.
[0199] Those skilled in the art should understand that the above-mentioned carbon emission data processing device can be used to implement the carbon emission data processing method described above, and the detailed description thereof should be similar to the description of the method part above, and will not be further described here to avoid tediousness.
[0200] Based on the same idea, one or more embodiments of this specification also provide a carbon emission data processing device, such as Fig. 9As shown. The carbon emission data processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 901 and memory 902, and the memory 902 may store one or more storage applications or data. Among them, the memory 902 can be short-term storage or persistent storage. The application stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the carbon emission data processing device. Furthermore, the processor 901 can be configured to communicate with the memory 902 to execute a series of computer executable instructions in the memory 902 on the carbon emission data processing device. The carbon emission data processing device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, and one or more keyboards 906.
[0201] Specifically in this embodiment, the carbon emission data processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the carbon emission data processing device, and the one or more programs are configured to be executed by one or more processors, including the following computer executable instructions:
[0202] Receiving a request for obtaining carbon emission data for a target product sent by a first institution; the carbon emission data is generated by a second institution and stored in a blockchain system, wherein the second institution includes an upstream institution and / or a downstream institution related to the carbon emission of the first institution;
[0203] When it is determined that the first institution has the right to use the carbon emission data, the carbon emission data and a credible certificate corresponding to the carbon emission data are obtained from the blockchain system; the credible certificate is generated after the certification body verifies the carbon emission data;
[0204] The carbon emission data and the credible certificate are sent to the first institution; the carbon emission data and the credible certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0205] The technical solution of one or more embodiments of this specification is adopted. When receiving a request for obtaining carbon emission data for a target product sent by a first institution, by verifying the first institution's right to use the carbon emission data, and when determining that the first institution has the right to use the carbon emission data, the carbon emission data and the credible proof corresponding to the carbon emission data are obtained from the blockchain system, and the carbon emission data and the credible proof are sent to the first institution. Among them, the carbon emission data is generated by the second institution and stored in the blockchain system, and the carbon emission data and the credible proof are used by the first institution to calculate the carbon footprint data of the target product. It can be seen that the technical solution realizes a set of secure distributed carbon emission data management mechanism through the multi-party collaboration of the blockchain system, the certification body and the second institution, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system, and only the first institution with the right to use the carbon emission data can obtain the carbon emission data uploaded by the second institution from the blockchain system, thereby ensuring the security of the carbon emission data. In addition, the second institution includes upstream institutions and / or downstream institutions related to the carbon emissions of the first institution. When the first institution obtains the carbon emission data of the upstream institutions and / or downstream institutions related to its carbon emissions, it can quickly and conveniently obtain the carbon emission data of the upstream institutions and / or downstream institutions if it has the right to use the carbon emission data of the upstream institutions and / or downstream institutions, thereby making it more efficient and accurate for the upstream and downstream institutions to obtain carbon emission data from each other, thereby making the calculation of carbon footprint data more accurate.
[0206] Specifically in another embodiment, the carbon emission data processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the carbon emission data processing device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:
[0207] Sending a certification request for the carbon emission data of the target product to the blockchain system; the carbon emission data is generated by a second institution and stored in the blockchain system, and the certification request carries the second identity information of the second institution; the second identity information is used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the certification institution;
[0208] Obtaining the carbon emission data sent by the blockchain system, and verifying the carbon emission data;
[0209] If the verification is successful, a credible certificate corresponding to the carbon emission data is generated;
[0210] The trusted proof and the carbon emission data are associated and stored in the blockchain system.
[0211] The technical solution of one or more embodiments of this specification is adopted to obtain carbon emission data from the blockchain system and verify the carbon emission data. After the verification, a trusted proof corresponding to the carbon emission data is generated, and then the trusted proof and the carbon emission data are associated and stored in the blockchain system. Thus, through the multi-party collaboration of the blockchain system, the certification body and the second institution, a set of secure distributed carbon emission data management mechanisms is realized, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system to ensure the security of the carbon emission data. And because the carbon emission data is stored after verification by the certification body, other institutions, such as upstream institutions and / or downstream institutions related to the carbon emissions of the second institution, obtain credible carbon emission data from the blockchain system, thereby making the carbon footprint data calculated using the carbon emission data more accurate and credible.
[0212] One or more embodiments of this specification further propose a storage medium, which stores one or more computer programs, which include instructions. When the instructions are executed by an electronic device including multiple application programs, the electronic device can execute each process of the above-mentioned carbon emission data processing method embodiment, and is specifically used to execute:
[0213] Receiving a request for obtaining carbon emission data for a target product sent by a first institution; the carbon emission data is generated by a second institution and stored in a blockchain system, wherein the second institution includes an upstream institution and / or a downstream institution related to the carbon emission of the first institution;
[0214] When it is determined that the first institution has the right to use the carbon emission data, the carbon emission data and a credible certificate corresponding to the carbon emission data are obtained from the blockchain system; the credible certificate is generated after the certification body verifies the carbon emission data;
[0215] The carbon emission data and the credible certificate are sent to the first institution; the carbon emission data and the credible certificate are used by the first institution to calculate the carbon footprint data of the target product.
[0216] The technical solution of one or more embodiments of this specification is adopted. When receiving a request for obtaining carbon emission data for a target product sent by a first institution, by verifying the first institution's right to use the carbon emission data, and when determining that the first institution has the right to use the carbon emission data, the carbon emission data and the credible proof corresponding to the carbon emission data are obtained from the blockchain system, and the carbon emission data and the credible proof are sent to the first institution. Among them, the carbon emission data is generated by the second institution and stored in the blockchain system, and the carbon emission data and the credible proof are used by the first institution to calculate the carbon footprint data of the target product. It can be seen that the technical solution realizes a set of secure distributed carbon emission data management mechanism through the multi-party collaboration of the blockchain system, the certification body and the second institution, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system, and only the first institution with the right to use the carbon emission data can obtain the carbon emission data uploaded by the second institution from the blockchain system, thereby ensuring the security of the carbon emission data. In addition, the second institution includes upstream institutions and / or downstream institutions related to the carbon emissions of the first institution. When the first institution obtains the carbon emission data of the upstream institutions and / or downstream institutions related to its carbon emissions, it can quickly and conveniently obtain the carbon emission data of the upstream institutions and / or downstream institutions if it has the right to use the carbon emission data of the upstream institutions and / or downstream institutions, thereby making it more efficient and accurate for the upstream and downstream institutions to obtain carbon emission data from each other, thereby making the calculation of carbon footprint data more accurate.
[0217] One or more embodiments of this specification further propose a storage medium, which stores one or more computer programs, which include instructions. When the instructions are executed by an electronic device including multiple application programs, the electronic device can execute each process of the above-mentioned carbon emission data processing method embodiment, and is specifically used to execute:
[0218] Sending a certification request for the carbon emission data of the target product to the blockchain system; the carbon emission data is generated by a second institution and stored in the blockchain system, and the certification request carries the second identity information of the second institution; the second identity information is used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the certification institution;
[0219] Obtaining the carbon emission data sent by the blockchain system, and verifying the carbon emission data;
[0220] If the verification is successful, a credible certificate corresponding to the carbon emission data is generated;
[0221] The trusted proof and the carbon emission data are associated and stored in the blockchain system.
[0222] The technical solution of one or more embodiments of this specification is adopted to obtain carbon emission data from the blockchain system and verify the carbon emission data. After the verification, a trusted proof corresponding to the carbon emission data is generated, and then the trusted proof and the carbon emission data are associated and stored in the blockchain system. Thus, through the multi-party collaboration of the blockchain system, the certification body and the second institution, a set of secure distributed carbon emission data management mechanisms is realized, so that the second institution can store sensitive data (i.e., carbon emission data) in the blockchain system to ensure the security of the carbon emission data. And because the carbon emission data is stored after verification by the certification body, other institutions, such as upstream institutions and / or downstream institutions related to the carbon emissions of the second institution, obtain credible carbon emission data from the blockchain system, thereby making the carbon footprint data calculated using the carbon emission data more accurate and credible.
[0223] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0224] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0225] Those skilled in the art will appreciate that one or more embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0226] One or more embodiments of the present specification are described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0227] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0228] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0229] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0230] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0231] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0232] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0233] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0234] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0235] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of one or more embodiments of this specification.
Claims
1. A method for processing carbon emission data, include: Receiving a request for obtaining carbon emission data for a target product sent by a first institution; the carbon emission data is generated by a second institution and stored in a blockchain system, the second institution including an upstream institution and / or a downstream institution related to the carbon emission of the first institution; the carbon emission data is obtained by encrypting the second institution using a public key in a key pair corresponding to an authorized institution; the private key in the key pair is used to decrypt the carbon emission data; When it is determined that the first institution has the right to use the carbon emission data, the carbon emission data and a credible certificate corresponding to the carbon emission data are obtained from the blockchain system; the credible certificate is generated after the certification body verifies the carbon emission data; The carbon emission data and the credible certificate are sent to the first institution; the carbon emission data and the credible certificate are used by the first institution to calculate the carbon footprint data of the target product.
2. According to the method of claim 1, before receiving the carbon emission data acquisition request for the target product sent by the first institution, include: receiving the carbon emission data and authorization information sent by the second institution; The carbon emission data, the authorization information and the second identity information of the second institution are associated and stored.
3. According to the method of claim 2, the acquisition request carries the first identity information of the first institution; After receiving the carbon emission data acquisition request for the target product from the first institution, include: Whether the first institution has the right to use the carbon emission data is verified according to the first identity identification information.
4. The method according to claim 3, wherein the authorization information includes third identity information of the authorized institution having the right to use the carbon emission data; and the verification of whether the first institution has the right to use the carbon emission data is based on the first identity information. include: Obtaining the authorization information corresponding to the carbon emission data; Matching the first identity information with the third identity information; If the match is successful, it is determined that the first institution has the usage authority; if the match fails, it is determined that the first institution does not have the usage authority.
5. The method according to claim 4, before receiving the acquisition request for the second carbon emission data of the target product sent by the first institution, include: Receiving a certification request from the certification body for the carbon emission data; The authentication request carries the second identity identification information; sending the carbon emission data associated with the second identity information to the certification body; The certification body is used to verify the carbon emission data and generate the credible certificate corresponding to the carbon emission data after the verification; The trusted certificate sent by the certification body is received, and the trusted certificate and the carbon emission data are associated and stored.
6. The method according to claim 5, wherein the authorized institution comprises a plurality of authorized institutions, and each of the authorized institutions corresponds to its own key pair; The sending the carbon emission data associated with the second identity information to the certification agency includes: Sending the carbon emission data associated with the second identity information and the authorization information corresponding to the carbon emission data to the certification body; After sending the carbon emission data associated with the second identity information to the certification body, the method further includes: Receiving the plurality of carbon emission data sent by the certification body; the plurality of carbon emission data are obtained by respectively encrypting the plurality of carbon emission data using the public key corresponding to each of the authorized bodies; Each of the encrypted carbon emission data is respectively associated with the corresponding third identity identification information of the authorized institution and stored.
7. The method according to claim 6, wherein the carbon emission data and the trusted certificate are sent to the first institution. include: Determining, from the plurality of third identity identification information, third identity identification information that matches the first identity identification information; Acquire the carbon emission data associated with the third identity information matching the first identity information; The acquired carbon emission data is sent to the first institution; the carbon emission data is used by the first institution to decrypt it using its own private key.
8. The method according to claim 6, wherein the carbon emission data associated with the second identity information is sent to the certification agency, include: Receiving a request from the certification authority to call a smart contract; The authorization information and the encryption method of the carbon emission data are pre-written in the smart contract; Invoke the smart contract based on the invocation request, obtain encrypted information based on the smart contract, and feed the encrypted information back to the certification authority; The encryption information is used by the certification body to determine the authorization information and to encrypt the carbon emission data according to the encryption method.
9. The method according to claim 3, wherein the authorization information includes an authorization certificate corresponding to the authorized institution having the right to use the authorization ; The authorization certificate is used to identify that the authorized institution has the authority to use the carbon emission data; The storing the carbon emission data, the authorization information and the second identity information of the second institution in association with each other includes: encrypting the carbon emission data using a public key corresponding to the second institution; The encrypted carbon emission data, the authorization information and the second identity information are associated and stored.
10. The method according to claim 9, wherein the first identity information is used to verify whether the first institution has the right to use the carbon emission data. include: Determining, according to the first identity information, whether the authorization certificate corresponding to the first institution is stored in the blockchain system; If so, it is determined that the first institution has the usage authority; if not, it is determined that the first institution does not have the usage authority.
11. The method according to claim 10, wherein the carbon emission data and the credible certificate are sent to the first institution. include: Obtaining a private key corresponding to the second institution, and decrypting the carbon emission data using the private key corresponding to the second institution; Obtaining a public key corresponding to the first institution, and encrypting the decrypted carbon emission data using the public key corresponding to the first institution; The encrypted carbon emission data and the trusted certificate are sent to the first institution; the encrypted carbon emission data is used for the first institution to decrypt using its own private key.
12. The method according to claim 5, wherein the authorization information further includes identity information of an institution having the authority to verify the carbon emission data; the authentication request carries fourth identity information of the authentication institution; The sending the carbon emission data associated with the second identity information to the certification agency includes: Matching the fourth identity information with the identity information of the institution having the verification authority; If the match is successful, the carbon emission data is sent to the certification agency.
13. The method according to claim 2, wherein the carbon emission data includes at least one of carbon emission amount, carbon emission detailed data, and carbon footprint relationship with upstream institutions and / or downstream institutions. ; The authorization information also includes: authorization content information of the use right of the designated data; the designated data is part of or all of the carbon emission data; The sending the carbon emission data and the credible certificate to the first institution includes: According to the authorization content information, the designated data in the carbon emission data and the trusted certificate are sent to the first institution.
14. A method for processing carbon emission data, include: Send a certification request for the carbon emission data of the target product to the blockchain system; The carbon emission data is generated by a second institution and stored in the blockchain system, and the authentication request carries the second identity information of the second institution; The second identity information is used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the certification body; Obtaining the carbon emission data sent by the blockchain system, and verifying the carbon emission data; If the verification is successful, a credible certificate corresponding to the carbon emission data is generated; Encrypting the carbon emission data using a public key in a key pair corresponding to the authorized institution to obtain the encrypted carbon emission data; The trusted proof and the encrypted carbon emission data are associated and stored in the blockchain system; The private key in the key pair is used to decrypt the carbon emission data.
15. The method according to claim 14, wherein the carbon emission data is obtained by encrypting the public key corresponding to the certification body; The verification of the carbon emission data includes: Decrypting the acquired carbon emission data using the private key corresponding to the certification body; The decrypted carbon emission data is verified.
16. The method according to claim 14, after sending a certification request for the carbon emission data of the target product to the blockchain system, include: Obtaining authorization information corresponding to the carbon emission data sent by the blockchain system; The authorization information includes third identity information of an authorized institution having the right to use the carbon emission data; The storing the trusted proof and the carbon emission data in association with each other in the blockchain system includes: Encrypting the carbon emission data using a public key corresponding to the authorized institution; The trusted proof and the encrypted carbon emission data are associated and stored in the blockchain system.
17. The method according to claim 16, wherein the authorized institution comprises a plurality of; The trusted proof and the carbon emission data are stored in association with each other in the blockchain system, include: Using the public key corresponding to each of the authorized institutions respectively, the carbon emission data is encrypted to obtain a plurality of encrypted carbon emission data; The trusted proof, the multiple encrypted carbon emission data, and the third identity identification information corresponding to the multiple authorized institutions are stored in the blockchain system accordingly.
18. The method according to claim 16, wherein the obtaining the authorization information corresponding to the carbon emission data sent by the blockchain system, include: Sending a call request for a smart contract to the blockchain system; The authorization information and the encryption method of the carbon emission data are pre-written in the smart contract; The call request is used to request the blockchain system to call the smart contract, obtain encrypted information based on the smart contract, and feed the encrypted information back to the certification authority; The step of encrypting the carbon emission data by using the public key corresponding to the authorized institution includes: Obtain the encrypted information sent by the blockchain system, and determine the authorization information and the encryption method according to the encrypted information; the encryption method includes: encrypting using the public key corresponding to the authorized institution; The carbon emission data is encrypted according to the encryption method.
19. The method according to claim 14, after generating the credible proof corresponding to the carbon emission data, further comprising: include: encrypting the carbon emission data using a public key corresponding to the second institution; The storing the trusted proof and the carbon emission data in association with each other in the blockchain system includes: The trusted proof and the encrypted carbon emission data are associated and stored in the blockchain system.
20. A carbon emission data processing device, include: A first receiving module receives a request for obtaining carbon emission data for a target product sent by a first institution; the carbon emission data is generated by a second institution and stored in a blockchain system, the second institution includes an upstream institution and / or a downstream institution related to the carbon emission of the first institution; the carbon emission data is obtained by encrypting the second institution using a public key in a key pair corresponding to an authorized institution; the private key in the key pair is used to decrypt the carbon emission data; A first acquisition module, when determining that the first institution has the right to use the carbon emission data, acquires the carbon emission data and a credible certificate corresponding to the carbon emission data from the blockchain system; the credible certificate is generated after the certification body verifies the carbon emission data; The first sending module sends the carbon emission data and the trusted certificate to the first institution; the carbon emission data and the trusted certificate are used by the first institution to calculate the carbon footprint data of the target product.
21. A carbon emission data processing device, include: The second sending module sends a certification request for the carbon emission data of the target product to the blockchain system; The carbon emission data is generated by a second institution and stored in the blockchain system, and the authentication request carries the second identity information of the second institution; The second identity information is used by the blockchain system to obtain the associated stored carbon emission data and send the carbon emission data to the certification body; A verification module, which obtains the carbon emission data sent by the blockchain system and verifies the carbon emission data; A generation module generates a credible certificate corresponding to the carbon emission data if the verification is passed; A first storage module encrypts the carbon emission data using a public key in a key pair corresponding to an authorized institution to obtain the encrypted carbon emission data; The trusted proof and the encrypted carbon emission data are associated and stored in the blockchain system; The private key in the key pair is used to decrypt the carbon emission data.
22. A carbon emission data processing device, comprising a processor and a memory electrically connected to the processor, the memory storing a computer program, the processor being used to call and execute the computer program from the memory to implement the carbon emission data processing method as described in claims 1-13, or to call and execute the computer program from the memory to implement the carbon emission data processing method as described in claims 14-19.
23. A storage medium for storing a computer program, wherein the computer program can be executed by a processor to implement the carbon emission data processing method as described in claims 1-13, or executed by a processor to implement the carbon emission data processing method as described in claims 14-19.
Citation Information
Patent Citations
Carbon emission data processing method and system
CN113487469A
Carbon emission activity checking method and device
CN113888034A
Carbon asset management method and device, equipment and readable storage medium
CN113888167A
Carbon emission reduction accounting method and device
CN114417258A
Systems, Methods, and Devices for Generating and Trading Environmental Credits
US20220122172A1
