Carbon trading privacy data information protection method based on blockchain technology

By evaluating the creditworthiness of verification nodes in the carbon trading system and filtering verification nodes, the problem of low credibility of verification nodes is solved, and the protection capability and system security of carbon trading data are improved.

CN119691820BActive Publication Date: 2025-05-16STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510193532.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-05-16
Estimated Expiration
2045-02-21

AI Technical Summary

Technical Problem

In the existing carbon trading system, the credibility of verification nodes is low, resulting in a reduced data protection capability and increasing the risk of data tampering or distortion.

Method used

By calculating the overall participation and adjudication capabilities of each enterprise, the credit of each verification node is evaluated, and the verification nodes are screened based on the credit level to form a verification set to protect the transaction data of carbon quota transactions.

Benefits of technology

Improve the security of carbon transaction privacy data, reduce the risk of data tampering or distortion, and enhance the overall security of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691820B_ABST
    Figure CN119691820B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of data protection, and proposes a method for protecting carbon trading privacy data information based on blockchain technology, including: obtaining overall participation according to the amount of purchased carbon quotas and the balance of carbon quotas; obtaining compliance according to the amount of purchased carbon quotas; obtaining the adjudication ability of the verification node according to the compliance and the verification results and consensus results of the transaction data of the carbon quota transaction by the verification node; obtaining the credit of the verification node according to the overall participation and adjudication ability; obtaining a verification set according to the credit of the verification node; and protecting the transaction data of the carbon quota transaction according to the verification set. The present invention screens the verification nodes by credit, improves the system's ability to protect carbon trading privacy data, reduces the risk of data tampering or distortion, and improves the overall security of the data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data protection technology, and in particular to a carbon trading privacy data information protection method based on blockchain technology. Background Art

[0002] Carbon trading refers to a system whereby companies buy and sell carbon emission quotas or carbon credits through market mechanisms. Its core purpose is to reduce greenhouse gas emissions through economic incentives and promote global climate change response. In the process of carbon trading, especially in complex transactions involving multiple parties, it is very important to protect privacy data. The consortium chain provides an efficient and transparent data management method for carbon trading. It is usually composed of a pre-selected party and has higher authority control and privacy protection functions. Once the data is written to the chain, it cannot be changed, which provides a guarantee that the data cannot be tampered with for carbon trading.

[0003] Generally, in the alliance chain of carbon trading, the participants include the trading platform and multiple authorized enterprises. Since each transaction requires the participation of the trading platform in verification, each enterprise and the trading platform are usually combined as a verification node. When each transaction is created, the transaction is submitted to all verification nodes in the alliance chain for verification. These nodes use the Byzantine fault-tolerant consensus algorithm to verify the transaction and obtain the consensus result. If the consensus result is valid transaction data, the chain operation is performed and the new block is added to the public ledger of the alliance chain to achieve information protection of carbon trading privacy data.

[0004] The existing technology combines each enterprise and the trading platform to form a verification node, and when using Byzantine fault tolerance technology for consensus verification, all verification nodes are assumed to be trustworthy. However, in the carbon trading scenario, not all enterprises that make up the verification nodes are trustworthy. If a certain enterprise repeatedly makes wrong decisions while being highly involved in the entire carbon trading process, although this verification node still participates in the consensus as a verification node, its credibility is relatively low. If not controlled, untrustworthy verification nodes continue to participate in consensus verification, which will greatly reduce the system's ability to protect data, thereby increasing the risk of data tampering or distortion and weakening the overall security of the system. Summary of the invention

[0005] The present invention provides a carbon trading privacy data information protection method based on blockchain technology to solve the problem of low credibility of existing verification nodes. The technical solution adopted is as follows:

[0006] The present invention proposes a carbon trading privacy data information protection method based on blockchain technology, which includes the following steps:

[0007] Obtain the transaction data of all carbon quota transactions, including the purchase amount of carbon quotas between enterprises including the trading platform and the carbon quota balance of enterprises; combine enterprises and trading platforms to form a verification node, obtain the verification results of each verification node on the transaction data of each carbon quota transaction; obtain the consensus results of the transaction data of each carbon quota transaction;

[0008] The overall participation of each enterprise is obtained based on the amount of carbon quotas purchased by each enterprise between other enterprises in each carbon quota transaction and the carbon quota balance of each enterprise;

[0009] According to the amount of carbon quota purchased by the enterprise from the trading platform in each carbon quota transaction and its overall purchase of carbon quota, the compliance of each enterprise in each carbon quota transaction is obtained; according to the compliance of the enterprise in each verification node in each carbon quota transaction and the consistency relationship between the verification result and the consensus result, the adjudication ability of each verification node in each carbon quota transaction is obtained;

[0010] The credit rating of each verification node is obtained based on the overall participation of enterprises in each verification node and the said adjudication ability;

[0011] A verification set is obtained according to the credit of the verification node; and the transaction data of the carbon quota transaction is protected according to the verification set.

[0012] Furthermore, the overall participation of each enterprise is obtained according to the amount of carbon quota purchased by each enterprise from other enterprises in each carbon quota transaction and the carbon quota balance of each enterprise, including the specific method of:

[0013] Obtain the carbon quota utilization rate of each enterprise based on the transaction data of all carbon quota transactions;

[0014]

[0015] In the formula, For the The company in The single participation rate of carbon quota trading; For the Carbon quota utilization rate of each enterprise; The number of enterprises in the carbon quota trading process; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by each enterprise; For the The carbon quota trading Outside the enterprise Enterprises to The amount of carbon quota purchased by each enterprise; For the Outside the enterprise Carbon quota utilization rate of each enterprise; is the absolute value function; is the weight normalization function;

[0016] The overall participation of each enterprise is obtained based on its single participation in each carbon quota transaction and the amount of carbon quotas purchased from other enterprises.

[0017] Furthermore, the carbon quota utilization rate of each enterprise is obtained according to the transaction data of all carbon quota transactions, including the specific method of:

[0018] Any enterprise is recorded as the target enterprise, and each enterprise including the trading platform except the target enterprise is recorded as the reference enterprise;

[0019] In any carbon quota transaction, the difference between the amount of carbon quota purchased by the target enterprise from any reference enterprise and the amount of carbon quota purchased by the reference enterprise from the target enterprise shall be recorded as the actual purchase quota of the target enterprise from the reference enterprise in this carbon quota transaction;

[0020] The sum of the actual purchase quotas of the target enterprise from all reference enterprises in all carbon quota transactions is recorded as the overall purchase quota of the target enterprise;

[0021] Calculate the difference between the target enterprise's overall purchase quota and the carbon quota balance, and record the ratio of the difference to the target enterprise's overall purchase quota as the target enterprise's carbon quota utilization rate.

[0022] Furthermore, the overall participation of each enterprise is obtained according to the single participation of each enterprise in each carbon quota transaction and the amount of carbon quota purchased from other enterprises. The specific method of obtaining the participation is as follows:

[0023]

[0024] In the formula, For the The overall engagement of the enterprise; The number of transactions in the carbon quota trading process; The number of enterprises in the carbon quota trading process; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by an enterprise, For the The first carbon quota transaction The amount of carbon quota purchased by each enterprise from the trading platform; For the The carbon quota trading Outside the enterprise Enterprises to The amount of carbon quota purchased by an enterprise, For the When the carbon quota is traded, the trading platform The amount of carbon quota purchased by each enterprise; For the The company in The single participation rate of carbon quota trading; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by an enterprise, For the The first carbon quota transaction The amount of carbon quota purchased by each enterprise from the trading platform; For the The carbon quota trading Outside the enterprise Enterprises to The amount of carbon quota purchased by an enterprise, For the When the carbon quota is traded, the trading platform The amount of carbon quota purchased by each enterprise; is the absolute value function.

[0025] Furthermore, the compliance of each enterprise in each carbon quota transaction is obtained according to the amount of carbon quota purchased by the enterprise from the trading platform and its overall amount of carbon quota purchased. The specific acquisition method is:

[0026]

[0027] In the formula, For the The company in Compliance of sub-carbon quota trading; For the The first carbon quota transaction The amount of carbon quota purchased by each enterprise from the trading platform; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by each enterprise; It is the number of enterprises in the process of carbon quota trading.

[0028] Furthermore, the decision-making ability of each verification node in each carbon quota transaction is obtained according to the compliance of the enterprise in each verification node in each carbon quota transaction and the consistency relationship between the verification result and the consensus result, including the specific method of:

[0029] According to the consistency between the verification results of each verification node on the transaction data of carbon quota transactions and the consensus results, the ruling index of each verification node in each carbon quota transaction is obtained;

[0030] The product of the adjudication index of any verification node in any carbon quota transaction and the compliance of the enterprises in the verification node in the carbon quota transaction is recorded as the adjudication ability of the verification node in the carbon quota transaction.

[0031] Furthermore, the determination index of each verification node in each carbon quota transaction is obtained according to the consistency relationship between the verification result of each verification node on the transaction data of the carbon quota transaction and the consensus result, including the specific method of:

[0032] During any carbon quota transaction, if the verification result of any verification node on the transaction data of this carbon quota transaction is consistent with the consensus result of the transaction data of this carbon quota transaction, the judgment index of the verification node in this carbon quota transaction shall be recorded as 1; if the verification result of any verification node on the transaction data of this carbon quota transaction is inconsistent with the consensus result of the transaction data of this carbon quota transaction, the judgment index of the verification node in this carbon quota transaction shall be recorded as 0.

[0033] Furthermore, the credit of each verification node is obtained according to the overall participation of enterprises in each verification node and the arbitration ability, including the specific method of:

[0034] For any verification node, the sum of the adjudication capabilities of the verification node in all carbon quota transactions is recorded as the adjudication reliability of the verification node;

[0035] The product of the verification node's decision reliability and the overall participation of the enterprises within the verification node is recorded as the verification node's credit.

[0036] Furthermore, the verification set is obtained according to the credibility of the verification node, including the specific method of:

[0037] The verification nodes are clustered according to the DBSCAN algorithm. The distance measurement of the clustering adopts the inverse normalization result of the sum of the credits of any two verification nodes. Several outliers are obtained through cluster analysis.

[0038] The outliers are regarded as noise verification nodes, and the set consisting of all verification nodes except the noise verification nodes is recorded as the verification set.

[0039] Furthermore, the transaction data of carbon quota transactions is protected according to the verification set, including the following specific methods:

[0040] All verification nodes in the verification set use the Byzantine fault-tolerant algorithm to verify the transaction data of the new carbon quota transaction, obtain the consensus result of the transaction data of the carbon quota transaction, and put the consensus result as valid transaction data on the blockchain.

[0041] The beneficial effects of the present invention are as follows: in order to improve the security of carbon trading privacy data, it is necessary to screen the verification nodes according to the credit of the verification nodes. The credit of each verification node is mainly determined by the participation and arbitration ability of the enterprise. The present invention obtains the overall participation of each enterprise through the purchase of carbon quotas and the carbon quota balance between enterprises, and judges the impact of the enterprise's carbon emissions and trading behavior on the market; the enterprise's arbitration ability is reflected in the degree of fit between the verification result and the consensus result of the verification node where the enterprise is located in each carbon quota transaction. The higher the degree of fit, the stronger the arbitration ability of the verification node. The present invention obtains the compliance of the enterprise in each carbon quota transaction through the purchase of carbon quotas between the enterprise and the trading platform, and obtains the arbitration ability of the verification node in each carbon quota transaction according to the compliance and the consistency relationship between the verification result and the consensus result of the verification node where the enterprise is located in each carbon quota transaction; the higher the overall participation of the enterprise, the higher the activity and deeper market influence of the enterprise in the market, and the more trusted the arbitration ability of the enterprise should be. The present invention obtains the credit of each verification node through the overall participation of the enterprise in each verification node and the arbitration ability of each verification node in each carbon quota transaction. At this point, the present invention screens verification nodes by credit to obtain a verification set, and protects the transaction data of carbon quota transactions based on the verification set, thereby improving the data protection capability, reducing the risk of data tampering or distortion, and improving the overall security of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention 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 of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0043] Figure 1 A flowchart of a carbon trading privacy data information protection method based on blockchain technology provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] See also Figure 1 , which shows a flow chart of a carbon trading privacy data information protection method based on blockchain technology provided by an embodiment of the present invention, the method comprising the following steps:

[0046] Step S001, obtain the transaction data of all carbon quota transactions; combine the enterprise and the trading platform to form a verification node, obtain the verification result of each verification node on the transaction data of each carbon quota transaction; obtain the consensus result of the transaction data of each carbon quota transaction.

[0047] It should be noted that the purpose of this embodiment is to screen the verification nodes and exclude untrustworthy verification nodes, thereby improving the system's ability to protect data, reducing the risk of data tampering or distortion, and improving the overall security of the system. Therefore, it is necessary to obtain the transaction data of the verification nodes first.

[0048] It should be further explained that since the participants of carbon trading include trading platforms and enterprises, and each transaction requires the participation of the trading platform in verification, in the alliance chain of carbon trading, each enterprise and the trading platform are initially combined as a verification node. This embodiment uses carbon quota trading data as carbon trading data.

[0049] Specifically, the transaction data of all carbon quota transactions are obtained; wherein each transaction data is the amount of carbon quota purchased by any enterprise, including the trading platform, from any other enterprise, and the transaction data of all carbon quota transactions also includes the carbon quota balance of the enterprise after all carbon quota transactions.

[0050] It should be noted that each carbon quota transaction requires the participation of the trading platform for verification, and each enterprise and the trading platform are usually combined as a verification node. For any carbon quota transaction, the carbon quota transaction is submitted to all verification nodes in the alliance chain for verification. Each verification node will have a corresponding verification result for the transaction data of the carbon quota transaction, and then the verification results of all verification nodes for the transaction data of the carbon quota transaction will be combined to obtain the consensus result of the transaction data of the carbon quota transaction.

[0051] Any enterprise and the trading platform are combined to form a verification node, and the verification results of each verification node on the transaction data of each carbon quota transaction are obtained; the consensus results of the transaction data of each carbon quota transaction are obtained; wherein the verification result acquisition and the consensus result acquisition are both existing methods in Byzantine fault tolerance technology, and will not be repeated in this embodiment.

[0052] Step S002: Obtain the overall participation of each enterprise based on the amount of carbon quota purchased by each enterprise from other enterprises in each carbon quota transaction and the carbon quota balance of each enterprise.

[0053] It should be noted that in order to improve the overall security of the system, when screening verification nodes, the credit of the enterprise is mainly considered, and the credit of the enterprise is mainly determined by the enterprise's participation and arbitration ability. The higher the utilization rate of a company's carbon quota in the carbon quota trading process, the greater the demand and contribution of the company to carbon trading, and the higher the overall participation of the company in carbon trading.

[0054] Specifically, any enterprise is recorded as a target enterprise, and each enterprise including the trading platform except the target enterprise is recorded as a reference enterprise;

[0055] In any carbon quota transaction, the difference between the amount of carbon quota purchased by the target enterprise from any reference enterprise and the amount of carbon quota purchased by the reference enterprise from the target enterprise shall be recorded as the actual purchase quota of the target enterprise from the reference enterprise in this carbon quota transaction;

[0056] The sum of the actual purchase quotas of the target enterprise from all reference enterprises in all carbon quota transactions is recorded as the overall purchase quota of the target enterprise;

[0057] Calculate the difference between the target enterprise's overall purchase quota and the carbon quota balance, and record the ratio of the difference to the target enterprise's overall purchase quota as the target enterprise's carbon quota utilization rate.

[0058] As an example, the carbon quota utilization rate is expressed as:

[0059]

[0060] In the formula, For the Carbon quota utilization rate of each enterprise; The number of transactions in the carbon quota trading process; The number of enterprises in the carbon quota trading process; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by an enterprise, For the The first carbon quota transaction The amount of carbon quota purchased by each enterprise from the trading platform; For the The carbon quota trading Outside the enterprise Enterprises to The amount of carbon quota purchased by an enterprise, For the When the carbon quota is traded, the trading platform The amount of carbon quota purchased by each enterprise; For the The carbon quota balance of each enterprise.

[0061] It should be noted that the higher the utilization rate of a company's carbon quota in the carbon quota trading process, the higher the company's overall participation in carbon trading. However, the participation of companies in different carbon quota transactions is not fixed, so it is necessary to conduct a separate analysis based on the transaction data of each carbon quota transaction.

[0062] It should be further explained that, for any enterprise, the participation of other enterprises in different carbon quota transactions will have different contributions to the participation of the enterprise. In any carbon quota transaction, the enterprise will trade with other enterprises. The higher the amount of carbon quotas traded with the enterprise in this carbon quota transaction, the higher the participation contribution of other enterprises.

[0063] Specifically, The company in The calculation method of single participation in carbon quota trading is:

[0064]

[0065] In the formula, For the The company in The single participation rate of carbon quota trading; For the Carbon quota utilization rate of each enterprise; The number of enterprises in the carbon quota trading process; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by each enterprise; For the The carbon quota trading Outside the enterprise Enterprises to The amount of carbon quota purchased by each enterprise; For the Outside the enterprise Carbon quota utilization rate of each enterprise; is the absolute value function; is the weight normalization function, and the normalization object is The first carbon quota transaction firms and all other firms .

[0066] It should be noted that after obtaining the single participation of each enterprise in each carbon quota transaction, it is necessary to obtain the overall participation of each enterprise. The overall participation of an enterprise is closely related to the carbon quota amount of each carbon quota transaction. For any enterprise, the larger the carbon quota amount of the enterprise in a carbon quota transaction, the more this carbon quota transaction can reflect the participation of the enterprise in the carbon quota transaction, the more significant the impact of the enterprise's carbon emissions and trading behavior on the market, and the greater the weight of this carbon quota transaction in calculating the overall participation of the enterprise.

[0067] Specifically, The overall participation of an enterprise is calculated as:

[0068]

[0069] In the formula, For the The overall engagement of the enterprise; The number of transactions in the carbon quota trading process; The number of enterprises in the carbon quota trading process; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by an enterprise, For the The first carbon quota transaction The amount of carbon quota purchased by each enterprise from the trading platform; For the The carbon quota trading Outside the enterprise Enterprises to The amount of carbon quota purchased by an enterprise, For the When the carbon quota is traded, the trading platform The amount of carbon quota purchased by each enterprise; For the The company in The single participation rate of carbon quota trading; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by an enterprise, For the The first carbon quota transaction The amount of carbon quota purchased by each enterprise from the trading platform; For the The carbon quota trading Outside the enterprise Enterprises to The amount of carbon quota purchased by an enterprise, For the When the carbon quota is traded, the trading platform The amount of carbon quota purchased by each enterprise; is the absolute value function.

[0070] Step S003: Obtain the compliance of each enterprise in each carbon quota transaction based on the amount of carbon quota purchased by the enterprise from the trading platform and its overall carbon quota purchase in each carbon quota transaction; obtain the adjudication ability of each verification node in each carbon quota transaction based on the compliance of the enterprise in each verification node in each carbon quota transaction and the consistency relationship between the verification result and the consensus result.

[0071] It should be noted that each verification node is composed of an enterprise and a trading platform. Since this embodiment needs to exclude untrusted verification nodes, the credit of each verification node needs to be considered. Since the trading platform is the executor of the transaction, the trading platform is trustworthy, so the credit of each verification node is the credit of each enterprise. Because the carbon quota transaction between the enterprise and the trading platform is relatively direct, the trading platform can ensure the compliance of the carbon quota transaction. If the enterprise buys carbon quotas from the trading platform, it means that the enterprise participates in the carbon market recognized by the trading platform, rather than obtaining carbon quotas through non-compliant methods. In contrast, if the enterprise purchases carbon quotas from other enterprises or non-compliant channels, it may face compliance issues. Therefore, the greater the proportion of carbon quotas purchased by the enterprise from the trading platform in each carbon quota transaction, the more its carbon quota trading behavior depends on the legal carbon quota sources certified by the trading platform, indicating that its behavior in carbon quota trading is more compliant.

[0072] Specifically, The company in The calculation method for compliance of carbon quota trading is:

[0073]

[0074] In the formula, For the The company in Compliance of sub-carbon quota trading; For the The amount of carbon quotas purchased by the enterprise from the trading platform during the carbon quota transaction; For the The first carbon quota transaction Enterprises except Outside the enterprise The amount of carbon quota purchased by each enterprise; It is the number of enterprises in the process of carbon quota trading.

[0075] It should be noted that each verification node participates in consensus verification. Generally speaking, the higher the degree of fit between the verification results of the verification node and the consensus results in each carbon quota transaction, the stronger the judgment ability of the verification node. In order to ensure that the judgment ability is more effective under a compliant framework, the judgment ability of carbon quota transactions with higher compliance is mainly judged.

[0076] Specifically, during any carbon quota transaction, if the verification result of the verification node on the transaction data of the carbon quota transaction is consistent with the consensus result of the transaction data of the carbon quota transaction, the ruling index of the verification node in the carbon quota transaction is recorded as 1; if the verification result of the verification node on the transaction data of the carbon quota transaction is inconsistent with the consensus result of the transaction data of the carbon quota transaction, the ruling index of the verification node in the carbon quota transaction is recorded as 0;

[0077] The product of the adjudication index of the verification node in this carbon quota transaction and the compliance of the enterprises in the verification node in this carbon quota transaction is recorded as the adjudication ability of the verification node in this carbon quota transaction.

[0078] Step S004: Obtain the credit of each verification node based on the overall participation of enterprises in each verification node and the arbitration capability.

[0079] It should be noted that the higher the overall participation of enterprises, the higher the activity and deeper market influence of enterprises in the market, and the more trust the enterprise's arbitration ability should get. Moreover, the higher the arbitration ability of the verification node where the enterprise is located in carbon quota trading, the higher the credit of the verification node where the enterprise is located.

[0080] Specifically, for any verification node, the sum of the adjudication capabilities of the verification node in all carbon quota transactions is recorded as the adjudication reliability of the verification node;

[0081] The product of the verification node's decision reliability and the overall participation of the enterprises within the verification node is recorded as the verification node's credit.

[0082] Step S005: Obtain a verification set according to the credit of the verification node; and protect the transaction data of the carbon quota transaction according to the verification set.

[0083] It should be noted that in the blockchain system, in order to ensure the effectiveness of consensus verification, verification nodes with higher credibility should be given priority to participate in the consensus, while verification nodes with lower credibility should be excluded. Therefore, verification nodes are screened according to their credibility.

[0084] Specifically, the verification nodes are clustered according to the DBSCAN algorithm, and the distance measurement of the clustering adopts the inverse proportional normalization result of the sum of the credits of any two verification nodes to obtain several clusters and outliers, that is, several outliers are obtained through cluster analysis; the outliers are used as noise verification nodes; wherein, the DBSCAN algorithm is a well-known technology, and the specific method is not introduced here.

[0085] It should be noted that the noise verification node is the verification node represented by the noise point obtained by the DBSCAN algorithm. The noise verification node is less trustworthy than other verification nodes, so the noise verification node needs to be excluded.

[0086] Specifically, the set consisting of all verification nodes except the noise verification nodes is recorded as the verification set; all verification nodes in the verification set use the Byzantine fault-tolerant algorithm to verify the transaction data of the new carbon quota transaction, and obtain the consensus result of the transaction data of the carbon quota transaction, and the consensus result is valid transaction data. The blockchain is put on the chain, the transaction data of the carbon quota transaction is divided and encrypted and stored in different blocks to protect the transaction data of the carbon quota transaction; wherein, the Byzantine fault-tolerant algorithm is a well-known technology, and the specific method is not introduced here.

[0087] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A carbon trading privacy data information protection method based on blockchain technology, characterized in that: The method comprises the following steps: Obtain the transaction data of all carbon quota transactions, including the purchase amount of carbon quotas between enterprises including the trading platform and the carbon quota balance of enterprises; combine enterprises and trading platforms to form a verification node, obtain the verification results of each verification node on the transaction data of each carbon quota transaction; obtain the consensus results of the transaction data of each carbon quota transaction; The overall participation of each enterprise is obtained based on the amount of carbon quotas purchased by each enterprise between other enterprises in each carbon quota transaction and the carbon quota balance of each enterprise; According to the amount of carbon quota purchased by the enterprise from the trading platform in each carbon quota transaction and its overall purchase of carbon quota, the compliance of each enterprise in each carbon quota transaction is obtained; according to the compliance of the enterprise in each verification node in each carbon quota transaction and the consistency relationship between the verification result and the consensus result, the adjudication ability of each verification node in each carbon quota transaction is obtained; The credit rating of each verification node is obtained based on the overall participation of enterprises in each verification node and the said adjudication ability; A verification set is obtained according to the credit of the verification node; and the transaction data of the carbon quota transaction is protected according to the verification set; The overall participation of each enterprise is obtained based on the amount of carbon quota purchased by each enterprise between other enterprises in each carbon quota transaction and the carbon quota balance of each enterprise, including the specific method of: Obtain the carbon quota utilization rate of each enterprise based on the transaction data of all carbon quota transactions; In the formula, C Q,i is the single participation of the Qth enterprise in the i-th carbon quota transaction; L Q is the carbon quota utilization rate of the Qth enterprise; M is the number of enterprises in the carbon quota trading process; F i,Q-j F is the amount of carbon quota purchased by the Qth enterprise from the jth enterprise other than the Qth enterprise during the i-th carbon quota transaction; i,j-Q is the amount of carbon quota purchased by the jth enterprise from the Qth enterprise except the Qth enterprise during the i-th carbon quota transaction; L Q,j is the carbon quota utilization rate of the jth enterprise except the Qth enterprise; || is the absolute value function; softmax() is the weight normalization function; The overall participation of each enterprise is obtained based on its single participation in each carbon quota transaction and the amount of carbon quotas purchased from other enterprises. The specific method for obtaining the carbon quota utilization rate of each enterprise based on the transaction data of all carbon quota transactions is as follows: Any enterprise is recorded as the target enterprise, and each enterprise including the trading platform except the target enterprise is recorded as the reference enterprise; In any carbon quota transaction, the difference between the amount of carbon quota purchased by the target enterprise from any reference enterprise and the amount of carbon quota purchased by the reference enterprise from the target enterprise shall be recorded as the actual purchase quota of the target enterprise from the reference enterprise in this carbon quota transaction; The sum of the actual purchase quotas of the target enterprise from all reference enterprises in all carbon quota transactions is recorded as the overall purchase quota of the target enterprise; Calculate the difference between the target enterprise's overall purchase quota and the carbon quota balance, and record the ratio of the difference to the target enterprise's overall purchase quota as the target enterprise's carbon quota utilization rate; According to each enterprise's single participation in each carbon quota transaction and the amount of carbon quota purchased from other enterprises, Get the overall participation of each enterprise. The specific method is as follows: In the formula, C ′ Q is the overall participation of the Qth enterprise; N is the number of transactions in the carbon quota trading process; M is the number of enterprises in the carbon quota trading process; F i,Q-j is the amount of carbon quota purchased by the Qth enterprise from the jth enterprise other than the Qth enterprise during the i-th carbon quota transaction, F i,Q-0 F is the amount of carbon quota purchased by the Qth enterprise from the trading platform during the i-th carbon quota transaction; i,j-Q is the amount of carbon quota purchased by the jth enterprise from the Qth enterprise except the Qth enterprise during the i-th carbon quota transaction, F i,0-Q C is the amount of carbon quota purchased by the trading platform from the Qth enterprise during the i-th carbon quota transaction; Q,i is the single participation of the Qth enterprise in the i-th carbon quota transaction; F l,Q-j is the amount of carbon quota purchased by the Qth enterprise from the jth enterprise other than the Qth enterprise during the lth carbon quota transaction, F l,Q-0 F is the amount of carbon quota purchased by the Qth enterprise from the trading platform during the lth carbon quota transaction; l,j-Q is the amount of carbon quota purchased by the jth enterprise from the Qth enterprise except the Qth enterprise during the lth carbon quota transaction, F l,0-Q is the amount of carbon quota purchased by the trading platform from the Qth enterprise during the lth carbon quota transaction; || is the absolute value function; According to the amount of carbon quota purchased by the enterprise from the trading platform in each carbon quota transaction and its overall purchase of carbon quota, the compliance of each enterprise in each carbon quota transaction is obtained. The specific acquisition method is: In the formula, H Q,i is the compliance of the Qth enterprise in the i-th carbon quota transaction; F i,Q-0 F is the amount of carbon quota purchased by the Qth enterprise from the trading platform during the i-th carbon quota transaction; i,Q-j is the amount of carbon quota purchased by the Qth enterprise from the jth enterprise other than the Qth enterprise during the i-th carbon quota transaction; M is the number of enterprises in the carbon quota transaction process.

2. The carbon trading privacy data information protection method based on blockchain technology according to claim 1 is characterized in that: The specific method of obtaining the adjudication ability of each verification node in each carbon quota transaction according to the compliance of the enterprise in each verification node in each carbon quota transaction and the consistency relationship between the verification result and the consensus result is as follows: According to the consistency between the verification results of each verification node on the transaction data of carbon quota transactions and the consensus results, the ruling index of each verification node in each carbon quota transaction is obtained; The product of the adjudication index of any verification node in any carbon quota transaction and the compliance of the enterprises in the verification node in the carbon quota transaction is recorded as the adjudication ability of the verification node in the carbon quota transaction.

3. The carbon trading privacy data information protection method based on blockchain technology according to claim 2 is characterized in that: The specific method of obtaining the adjudication index of each verification node in each carbon quota transaction according to the consistency relationship between the verification result of each verification node on the transaction data of the carbon quota transaction and the consensus result includes: During any carbon quota transaction, if the verification result of any verification node on the transaction data of this carbon quota transaction is consistent with the consensus result of the transaction data of this carbon quota transaction, the judgment index of the verification node in this carbon quota transaction shall be recorded as 1; if the verification result of any verification node on the transaction data of this carbon quota transaction is inconsistent with the consensus result of the transaction data of this carbon quota transaction, the judgment index of the verification node in this carbon quota transaction shall be recorded as 0.

4. The carbon trading privacy data information protection method based on blockchain technology according to claim 1 is characterized in that: The credit of each verification node is obtained according to the overall participation of enterprises in each verification node and the arbitration ability, including the specific method of: For any verification node, the sum of the adjudication capabilities of the verification node in all carbon quota transactions is recorded as the adjudication reliability of the verification node; The product of the verification node's decision reliability and the overall participation of the enterprises within the verification node is recorded as the verification node's credit.

5. The carbon trading privacy data information protection method based on blockchain technology according to claim 1 is characterized in that: The specific method of obtaining the verification set according to the credibility of the verification node is as follows: The verification nodes are clustered according to the DBSCAN algorithm. The distance measurement of the clustering adopts the inverse normalization result of the sum of the credits of any two verification nodes. Several outliers are obtained through cluster analysis. The outliers are regarded as noise verification nodes, and the set consisting of all verification nodes except the noise verification nodes is recorded as the verification set.

6. The carbon trading privacy data information protection method based on blockchain technology according to claim 1 is characterized in that: The specific method of protecting the transaction data of carbon quota trading according to the verification set is as follows: All verification nodes in the verification set use the Byzantine fault-tolerant algorithm to verify the transaction data of the new carbon quota transaction, obtain the consensus result of the transaction data of the carbon quota transaction, and put the consensus result as valid transaction data on the blockchain.

Citation Information

Patent Citations

  • Carbon transaction intelligent management and control method and system based on block chain

    CN119444410A