Cross-chain transaction method and device for electricity market and carbon market

By realizing cross-chain transactions between the power market and the carbon market, using the total carbon quota cutoff benchmark method and the joint competition accounting right algorithm, the problem that distributed photovoltaic power generation users cannot obtain carbon emission reduction benefits is solved, and joint transactions between the power and the carbon market are realized, and users' returns are improved.

CN120109764APending Publication Date: 2025-06-06QINGHAI HUANGHE HYDROPOWER DEVELOPMENT CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311666615.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-06
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve effective cross-chain transactions between the power market and the carbon market, resulting in the inability of distributed photovoltaic power generation users to obtain carbon emission reduction benefits.

Method used

By obtaining the carbon emissions and electricity consumption of non-clean energy users, as well as the power generation and electricity consumption of clean energy users, the power generation of clean energy users is converted into carbon emission reduction based on the total carbon quota cutoff method, cross-chain reading and correlation analysis are carried out, the transaction object is determined using the joint competition accounting algorithm, and the joint carbon electricity transaction data is two-way anchored through smart contracts to realize cross-chain transactions between clean energy users and non-clean energy users.

Benefits of technology

Cross-chain data sharing and correlation analysis of electricity and carbon prices have been realized, and joint transactions of carbon and electricity are encoded through smart contracts, which has promoted joint transactions of electricity and carbon markets and improved carbon emission reduction benefits for distributed photovoltaic power generation users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120109764A_ABST
    Figure CN120109764A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power markets and the technical field of block chains, and discloses a power market and carbon market cross-chain transaction method and device, and the method comprises the steps: obtaining the carbon emission and power consumption of a non-clean energy user; generating capacity and electricity consumption of the clean energy users are obtained, and the generating capacity of the clean energy users is converted into carbon emission reduction based on a total carbon quota cut-off reference method; performing cross-chain reading and correlation analysis on the data of the power transaction chain and the carbon transaction chain; determining a transaction object by adopting a joint competitive bookkeeping right algorithm; and according to a correlation analysis result, carrying out bidirectional anchoring on the carbon-electricity joint transaction data, and carrying out cross-chain transaction between the clean energy user and the non-clean energy user. According to the invention, the joint transaction of the carbon market and the distributed photovoltaic power generation market can be realized, an underlying technology of cross-chain transaction is designed, the method can be used for cross-chain data sharing and correlation analysis of power and carbon price, and the carbon and power joint transaction is coded through an intelligent contract.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of power market technology and blockchain technology, and in particular to a cross-chain transaction method and device for power market and carbon market. Background Art

[0002] Distributed photovoltaic power generation has the advantages of high utilization rate and low level, but it also puts forward new requirements for the management and trading of the electricity market.

[0003] In recent years, my country's distributed photovoltaic power generation has made great progress. However, as distributed photovoltaic power generation gradually shifts from policy subsidies to market competition, its contradictions of low marketization, lagging public services, few transaction types, and low flexibility have become increasingly prominent. Paying attention to the market economy of distributed photovoltaic power generation, fully exploring its possible benefits and applying them to market-based transactions are important research topics to promote the vigorous development of the distributed photovoltaic power generation market.

[0004] In terms of exploring the benefits of the distributed photovoltaic power generation market, current research has found that distributed photovoltaic power generation users can make profits by calculating the carbon emission quota corresponding to the reduction in photovoltaic power generation and selling it on the carbon trading market, but there is a lack of practical trading systems and settlement methods in the combination of the power trading market and the carbon trading market. At present, blockchain technology has been used in distributed photovoltaic real-time power trading markets and large-capacity centralized photovoltaic carbon trading markets, but due to the high threshold of carbon trading fees, it is not worth the cost to independently establish and operate the blockchain of the distributed photovoltaic power generation carbon trading market, so there is no realistic condition for implementation, and distributed photovoltaic power generation users cannot obtain carbon emission reduction benefits. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems in the above-mentioned technologies to a certain extent, and proposes a cross-chain transaction method between the power market and the carbon market, comprising:

[0006] Obtain carbon emissions and electricity consumption of non-clean energy users;

[0007] Obtain the power generation and electricity consumption of clean energy users, and convert the power generation of clean energy users into carbon emission reduction based on the carbon quota total cut-off benchmark method;

[0008] Conduct cross-chain reading and correlation analysis on the data of the power trading chain and the carbon trading chain;

[0009] Adopt the joint competitive accounting right algorithm to determine the transaction object;

[0010] Based on the results of correlation analysis, the carbon-electricity joint transaction data is bidirectionally anchored, and clean energy users and non-clean energy users conduct cross-chain transactions.

[0011] Preferably, the power generation of clean energy users is converted into carbon emission reduction based on the carbon quota total cut-off benchmark method, and the corresponding calculation formula includes:

[0012]

[0013] M carbon quota It represents the carbon emission reduction converted from the electricity generated by clean energy users; P t represents the monthly electricity generation of clean energy users; δ represents the emission reduction conversion coefficient.

[0014] Preferably, performing a correlation analysis on the data of the power trading chain and the carbon trading chain includes: performing a correlation analysis on the data of the power trading chain and the carbon trading chain based on a Copula function.

[0015] Preferably, a joint competitive accounting right algorithm is used to determine the transaction object, including:

[0016] Construct an accounting right competition algorithm based on Copula function and POW mechanism, all nodes in the power trading chain and the carbon trading chain are free to participate in data processing, and the target node competes for the accounting right based on the accounting right competition algorithm; wherein,

[0017] The calculation formula corresponding to the accounting right competition algorithm includes:

[0018] A C·H =(v,R i ,k i )≤d v +d base

[0019] In the formula, A C·H represents Hash and Copula functions, Hash represents the Hash coefficient; v represents the dimension of the correlation analysis variable; R i The root Hash of all data packed into the block by the nodes participating in the accounting right competition; k i Indicates the node where the random number needs to be found; d v Indicates the computational difficulty of correlation analysis; d base Indicates the system default base difficulty.

[0020] Preferably, the target node competes for the bookkeeping right based on the bookkeeping right competition algorithm, including:

[0021] The target node packages all transaction data and calculates the root hash of the transaction data;

[0022] The target node searches for a random number that satisfies the corresponding formula of the accounting right competition algorithm by enumeration, and records the random number into a block;

[0023] The target node broadcasts the block recording the random number to the entire network;

[0024] After receiving the block broadcast by the target node, other nodes verify the correctness of the data contained in the block according to the corresponding formula of the accounting right competition algorithm; if the verification passes, the block is recorded in the blockchain, and the target node obtains the transaction fee.

[0025] Preferably, the joint competitive accounting right algorithm is used to determine the transaction object, and further includes: performing correlation analysis and verification on the Copula function, and the corresponding calculation formula includes:

[0026]

[0027] Among them, the value of AIC is inversely proportional to the fitting effect of the statistical model; A represents the maximum likelihood function; T represents the sample size; and P represents the number of parameters of the fitting function.

[0028] Preferably, the carbon-electricity joint transaction data is bidirectionally anchored according to the correlation analysis results, and clean energy users and non-clean energy users conduct cross-chain transactions, including:

[0029] After both parties complete the auction transaction, they initiate a smart contract to lock in the carbon trading assets;

[0030] The carbon trading chain sends a certificate with SPV to the power trading chain to verify the carbon trading chain;

[0031] After confirming that the carbon trading assets in the carbon trading chain are locked, open assets in the power trading chain that are equal to the locked carbon trading amount;

[0032] The seller determines whether to accept the electricity fee withholding service; if the seller refuses the electricity fee withholding service, the power trading chain sends a rejection message with the SPV certificate, locks the seller's electricity fee assets in the power trading chain, and clears the electricity fee assets;

[0033] After the carbon trading chain receives the rejection message with the SPV certificate, it starts the smart contract and pays the locked carbon trading assets to the buyer.

[0034] Preferably, if the seller accepts the electricity fee deduction service, the transaction fees deducted by the seller in the electricity trading chain are offset by assets with a value equal to the locked carbon trading amount.

[0035] The present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program or instruction, and when the computer program or instruction is processed by the processor, it is at least used to implement the above method.

[0036] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is processed by a processor, it is at least used to implement the above method.

[0037] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention proposes an operating mechanism for the electricity and carbon trading market based on cross-chain transaction technology, which, with the support of blockchain technology, can realize the joint transaction of the carbon market and the distributed photovoltaic power generation market. In addition, the present invention designs the underlying technology of cross-chain transactions, which can be used for cross-chain data sharing and correlation analysis of electricity and carbon prices, and encodes the joint transaction of carbon and electricity through smart contracts.

[0038] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0039] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0041] Figure 1 This is a schematic diagram of the cross-chain transaction method between the electricity market and the carbon market provided by the present invention;

[0042] Figure 2 A schematic diagram of an improved IEE33 node system provided in an embodiment;

[0043] Figure 3 A historical data chart of electricity price and carbon price given for the embodiment;

[0044] Figure 4 The sample frequency histogram in the Copula correlation test given in the embodiment;

[0045] Figure 5 The joint probability density function diagram in the Copula correlation test given in the embodiment;

[0046] Figure 6 This is a schematic diagram of the cross-chain transaction results given in the embodiment;

[0047] Figure 7 Another cross-chain transaction result diagram given in the embodiment;

[0048] Figure 8A schematic diagram of an electronic device provided by the present invention;

[0049] Fig. 9 A schematic diagram of a computer-readable storage medium provided in the present invention. DETAILED DESCRIPTION

[0050] The present invention is described below in conjunction with the accompanying drawings. The preferred embodiments described herein are only used to illustrate and explain the present invention and are not used to limit the present invention.

[0051] Figure 1 The cross-chain transaction method of the power market and the carbon market provided by the present invention includes:

[0052] Obtain carbon emissions and electricity consumption of non-clean energy users;

[0053] Obtain the power generation and electricity consumption of clean energy users, and convert the power generation of clean energy users into carbon emission reduction based on the carbon quota total cut-off benchmark method;

[0054] Conduct cross-chain reading and correlation analysis on the data of the power trading chain and the carbon trading chain;

[0055] Adopt the joint competitive accounting right algorithm to determine the transaction object;

[0056] Based on the results of correlation analysis, the carbon-electricity joint transaction data is bidirectionally anchored, and clean energy users and non-clean energy users conduct cross-chain transactions.

[0057] According to some embodiments of the present invention, the carbon emission reduction of clean energy users is calibrated using the carbon quota total cut-off benchmark method, that is, the carbon emissions of clean energy power generation are converted into the carbon emissions of thermal power generation under the same amount of electricity (for example, 1kWh of clean energy power generation is converted into the CO2 emissions of the thermal power plant standard coal consumption reduced by the same 1kWh of power generation). 2 The carbon emission reduction can be used as a quota to participate in carbon market transactions. Based on the carbon quota total cut-off benchmark method, the power generation of clean energy users is converted into carbon emission reduction. The corresponding calculation formula includes:

[0058]

[0059] M carbon quota It represents the carbon emission reduction converted from the electricity generated by clean energy users; P t represents the monthly electricity generation of clean energy users; δ represents the emission reduction conversion coefficient.

[0060] According to some embodiments of the present invention, cross-chain reading and correlation analysis of data of the power trading chain and the carbon trading chain are performed, and the process includes:

[0061] (1) Determine the cumulative distribution function of carbon price and electricity price:

[0062] X∈(x 1 ,x 2 ,…,x n ,x∈Y)

[0063] Y∈(y 1 ,y 2 ,…,y n ,y∈Y)

[0064] X and Y represent the electricity market clearing price and carbon trading price as random variables, respectively. 1 ,x 2 ,…,x n ) and (y 1 ,y 2 ,…,y n ) represents electricity price and carbon price; n is the sample size.

[0065] (2) Determine the joint probability density function of carbon price and electricity price:

[0066] H(x 1 ,x 2 ,…,x n ,y 1 ,y 2 ,…,y n )=C[F x1 (x 1 ),F x2 (x 2 ),…,F yn (y n )]

[0067] Among them, H(x 1 ,x 2 ,…,x n ,y 1 ,y 2 ,…,y n ) is the joint probability density function, F x1 (x 1 ) is the marginal distribution function, C is the Copula function of electricity price and carbon price. The Copula function describes the correlation between variables. It is actually a function that connects the joint distribution function with their respective marginal distribution functions. Therefore, some people call it the connection function. Transform the marginal distribution F(x) into the uniform distribution U, and then the expression of r is:

[0068]

[0069]

[0070] It should be noted that P (m) represents the probability of m.

[0071] 3. Solve for the joint probability density of electricity price and carbon price:

[0072] Under the premise that the random variable obeys the normal distribution, the Pearson linear correlation coefficient ρ(x,y) can measure the correlation between carbon price and electricity price, which is defined as follows:

[0073]

[0074] Among them, C (x,y) represents the covariance of x and y. In some embodiments, it is more reasonable to use the Spearman rank correlation coefficient ρspearman with better performance to reflect the dependence of random variables. For random variables with cumulative distribution function F, P is a non-parametric rank statistical parameter, which is equivalent to the Pearson linear correlation coefficient of the respective ranks of the random variables after sorting. For random variables with normal joint distribution, there is a definite relationship between ρspearman and ρ.

[0075] The calculation method is as follows:

[0076]

[0077] Calculate the spearman rank correlation coefficient between electricity price and carbon price The maximum likelihood estimation method is used to obtain the unknown parameters of the Copula function, thereby obtaining the joint probability density of electricity price and carbon price.

[0078] According to some embodiments of the present invention, a joint competitive accounting right algorithm is used to determine the transaction object, and the steps include: designing a consensus mechanism that integrates Copula function analysis and POW in the joint trading model of the power trading market and carbon market for distributed photovoltaic power generation users. The POW mechanism mainly solves the consistency problem of each node in the blockchain network by means of competitive accounting. Its working principle is: each node in the blockchain can freely participate in data processing to ensure that each node in the network can reach consistency. POW stipulates that when a transaction is generated, each node that wants to record accounts needs to rely on its own computing power to compete with others for the right to record accounts. Whoever finds the Nonce value first and obtains permission can obtain the right to record accounts and ultimately obtain the right to record accounts. Among them, the competition algorithm for the accounting rights of each node is as follows:

[0079] A C·H =(v,R i ,k i )≤d v +d base

[0080] In the formula, A C·Hrepresents Hash and Copula functions, Hash represents the Hash coefficient; v represents the dimension of the correlation analysis variable; R i The root Hash of all data packed into the block by the nodes participating in the accounting right competition; k i Indicates the node where the random number needs to be found; d v Indicates the computational difficulty of correlation analysis; d base Indicates the default base difficulty of the system. Hash locking technology enables cross-chain interaction between different blockchains by setting triggers for mutual operation between different chains.

[0081] The rules and steps for nodes to obtain complete accounting are as follows:

[0082] (1) Node a first packages all data and calculates the root Hash R of the transaction data a ;

[0083] (2) Node a searches for a random number that meets the requirements in an enumeration manner. a =k a 0 makes the above equation true, then k a Record it in a block and broadcast the block to the entire network;

[0084] (3) After receiving the block broadcast by node a, other nodes verify the correctness of the data contained in the block according to the legitimacy of the above formula. If the verification is successful, the block is added to the blockchain, and node a obtains the transaction fees of all transactions in the block and obtains a certain amount of income; otherwise, the block will be abandoned.

[0085] According to some embodiments of the present invention, in order for all nodes in the system to reach a consensus on the result of the accounting right, the POW verification mechanism remains unchanged, and the Copula function needs to be verified by correlation analysis. The corresponding calculation formula includes:

[0086]

[0087] Among them, the value of AIC is inversely proportional to the statistical model fitting effect; A represents the maximum likelihood function; T represents the sample size; and P represents the number of parameters of the fitting function. AIC contains information about the model and parameter estimation. The smaller its value, the better the fitting effect. If the AIC of the new block calculated by the node is the smallest and the POW is completed the fastest, all nodes will confirm the block. Priority is given to completing network analysis and POW nodes in the network. They will obtain the right to record accounts, package transaction information into blocks, and broadcast transactions.

[0088] According to some embodiments of the present invention, the carbon-electricity joint trading data is bidirectionally anchored according to the correlation analysis results, and the clean energy users and non-clean energy users conduct cross-chain transactions, including: according to the broadcast transaction competition accounting results, select Company A and Company B to complete the auction, start the smart contract to lock the carbon trading funds paid by A to B, and at the same time, the carbon trading chain sends a certificate with SPV to the power trading chain to verify the carbon trading chain. At this time, the funds on the account will be locked, and digital assets of equal value will be opened on the power trading chain. On the power trading chain, assets of equal value to the carbon trading amount are obtained. B will choose whether to accept the withholding electricity bill service. If accepted, B's transaction deduction in the power market will be paid with this part of the fee first. If rejected, the power trading chain will send a rejection message with an SPV certificate, and at the same time lock B's electricity bill assets on the power trading chain, and reset the asset to zero. After the carbon trading chain reaches a rejection certificate, the transaction amount is unlocked, the contract is started, and A pays the funds to B.

[0089] In order to verify the effectiveness of the cross-chain transaction mechanism proposed in this invention, this embodiment is tested on the Ethereum platform, where the main chain (power trading chain) runs in the Ropsten test environment and the side chain (carbon trading chain) runs in the loom API. Due to the limited Ethereum resources in the current Ropsten test environment, the selected Ethereum conversion rate is 1Eth = 5716.06 yuan. This embodiment uses an improved IEEE33 node system to simulate the transaction process. Figure 2 Schematic diagram of the improved IEE33 node system.

[0090] Under the condition that the original load and line parameters remain unchanged, thermal power users (power consumption and carbon emission quota) are added to nodes 5, 11, 12, and 22, and distributed photovoltaic power consumers (power consumption and carbon emission quota) are added to nodes 6, 14, 18, 20, 24, and 32. The electricity and carbon prices use the historical transaction data of Fujian Province in a certain year, such as Figure 3 shown.

[0091] for Figure 3 In the electricity and carbon price curves in the embodiment, after a node obtains the information, it will broadcast it to all nodes in the network, and the Copula correlation test result with the lowest AIC value is obtained as follows: Figure 4 and Figure 5 Shown by: Figure 4 and Figure 5 It can be seen that the carbon price is highly correlated with the historical data samples of electricity prices within the corresponding period. Specifically, the distribution of carbon price and electricity price is U-shaped, with upward and downward correlation, and their joint density function is also approximately symmetrical.

[0092] Taking the carbon quota liquidation process as an example, the cross-chain transaction process is simulated. The market member information before the cross-chain transaction is shown in Table 1, where the negative sign indicates that the node's carbon emissions exceed the standard, and the positive sign indicates the emission reduction carbon quota that the node can participate in the sale. Each node publishes an estimated carbon quota value, and other nodes in the network will check it in the entire network to obtain a consensus check value.

[0093] Table 1

[0094]

[0095]

[0096] Table 2 shows the calculated settlement results of carbon trading.

[0097] Table 2

[0098]

[0099] In Table 2, taking the buyer data of nodes 5 and 12 as an example, compared with the quotations in traditional carbon trading, their carbon quotations will be more reasonable after copula correlation analysis is performed on the blockchain platform, that is, the price difference between the seller's quotations is smaller. For trading entities with different attributes, cross-chain transactions are required. In this transaction, node 11 also sent a cross-chain transaction application, which started the smart contract for electricity fee generation. In Table 2, considering that cross-chain transactions with smaller single transaction amounts are more secure, and saving more funds locally can ensure the liquidity of its own funds, node 11 did not issue a transaction request with node 12. The results of the cross-chain transaction are as follows: Figure 6 and Figure 7 As shown. Figure 6 and Figure 7 It can be seen that the transaction amount on Ethereum is not an integer. In each transaction, the buyer and seller have unique hash addresses, so each transaction requires an additional handling fee. It can also be seen from the figure that the transaction itself has its own hash address, and the transaction amount and block height (representing its serial number) will be displayed in the table.

[0100] like Figure 8 As shown, the present invention provides an electronic device 1000, which includes a memory 1002 and a processor 1001. The memory 1002 stores a computer program or instruction. When the computer program or instruction is processed by the processor 1001, it is at least used to implement the above method. Fig. 9 As shown, the present invention further provides a computer-readable storage medium 1100, in which a computer program or instruction is stored. When the computer program or instruction is processed by a processor, it is at least used to implement the above method.

[0101] It is to be understood that those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A cross-chain transaction method between the electricity market and the carbon market, It is characterized in that include: Obtain carbon emissions and electricity consumption of non-clean energy users; Obtain the power generation and electricity consumption of clean energy users, and convert the power generation of clean energy users into carbon emission reduction based on the carbon quota total cut-off benchmark method; Conduct cross-chain reading and correlation analysis on the data of the power trading chain and the carbon trading chain; Adopt the joint competitive accounting right algorithm to determine the transaction object; Based on the results of correlation analysis, the carbon-electricity joint transaction data is bidirectionally anchored, and clean energy users and non-clean energy users conduct cross-chain transactions.

2. The cross-chain transaction method between the electricity market and the carbon market as claimed in claim 1, It is characterized in that Based on the carbon quota total cut-off benchmark method, the power generation of clean energy users is converted into carbon emission reduction. The corresponding calculation formula includes: M carbon quota It represents the carbon emission reduction converted from the electricity generated by clean energy users; P t represents the monthly electricity generation of clean energy users; δ represents the emission reduction conversion coefficient.

3. The cross-chain transaction method between the electricity market and the carbon market as claimed in claim 1, It is characterized in that The data of the power trading chain and the carbon trading chain are subjected to correlation analysis, including: the data of the power trading chain and the carbon trading chain are subjected to correlation analysis based on the Copula function.

4. The cross-chain transaction method between the electricity market and the carbon market as claimed in claim 3, It is characterized in that The joint competitive accounting right algorithm is used to determine the transaction object, including: Construct an accounting right competition algorithm based on Copula function and POW mechanism, all nodes in the power trading chain and the carbon trading chain are free to participate in data processing, and the target node competes for the accounting right based on the accounting right competition algorithm; wherein, The calculation formula corresponding to the accounting right competition algorithm includes: A C·H =(v,R i ,k i )≤d v +d base In the formula, A C.H represents Hash and Copula functions, Hash represents the Hash coefficient; v represents the dimension of the correlation analysis variable; R i The root Hash of all data packed into the block by the nodes participating in the accounting right competition; k i Indicates the node where the random number needs to be found; d v Indicates the computational difficulty of correlation analysis; d base Indicates the system default base difficulty.

5. The cross-chain transaction method between the electricity market and the carbon market as claimed in claim 4, It is characterized in that The target node competes for the accounting right based on the accounting right competition algorithm, including: The target node packages all transaction data and calculates the root hash of the transaction data; The target node searches for a random number that satisfies the corresponding formula of the accounting right competition algorithm by enumeration, and records the random number into a block; The target node broadcasts the block recording the random number to the entire network; After receiving the block broadcast by the target node, other nodes verify the correctness of the data contained in the block according to the corresponding formula of the accounting right competition algorithm; if the verification passes, the block is recorded in the blockchain, and the target node obtains the transaction fee.

6. The cross-chain transaction method between the electricity market and the carbon market as claimed in claim 4, It is characterized in that The joint competitive accounting right algorithm is used to determine the transaction object, and also includes: performing correlation analysis and verification on the Copula function, and the corresponding calculation formula includes: Among them, the value of AIC is inversely proportional to the fitting effect of the statistical model; A represents the maximum likelihood function; T represents the sample size; and P represents the number of parameters of the fitting function.

7. The cross-chain transaction method between the electricity market and the carbon market as claimed in claim 4, It is characterized in that Based on the correlation analysis results, the carbon-electricity joint transaction data is bidirectionally anchored, and clean energy users and non-clean energy users conduct cross-chain transactions, including: After both parties complete the auction transaction, they initiate a smart contract to lock in the carbon trading assets; The carbon trading chain sends a certificate with SPV to the power trading chain to verify the carbon trading chain; After confirming that the carbon trading assets in the carbon trading chain are locked, open assets in the power trading chain that are equal to the locked carbon trading amount; The seller determines whether to accept the electricity fee withholding service; if the seller refuses the electricity fee withholding service, the power trading chain sends a rejection message with the SPV certificate, locks the seller's electricity fee assets in the power trading chain, and clears the electricity fee assets; After the carbon trading chain receives the rejection message with the SPV certificate, it starts the smart contract and pays the locked carbon trading assets to the buyer.

8. The cross-chain transaction method between the electricity market and the carbon market as claimed in claim 7, It is characterized in that If the seller accepts the electricity fee deduction service, the seller's transaction fees in the electricity trading chain will be offset by assets of equal value to the locked carbon trading amount.

9. An electronic device, It is characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program or instruction, and when the computer program or instruction is processed by the processor, it is used to implement at least the method described in any one of claims 1 to 8.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is processed by the processor, it is used to implement at least the method according to any one of claims 1 to 8.