Cloud energy storage system market transaction method and system based on blockchain

By using particle swarm optimization algorithm and reality mapping model to optimize transaction combinations and candidate pools in the market transaction of blockchain cloud energy storage system, the problem of low matching accuracy in existing trading methods is solved, more efficient and secure energy transactions are achieved, and the sustainable development of cloud energy storage systems is promoted.

CN119273472BActive Publication Date: 2025-03-14SHENZHEN COMTOP INFORMATION TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411482781.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-03-14
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

The existing blockchain-based cloud energy storage system market trading method is not very accurate when determining both parties to the energy transaction, which affects the sustainable development of cloud energy storage systems.

Method used

By determining energy demand and energy-selling party information, using particle swarm optimization algorithms and reality mapping models, optimizing transaction combinations and candidate pools, improving the flexibility and accuracy of transaction matching, and automatically executing transactions using blockchain smart contracts.

Benefits of technology

It improves the accuracy and flexibility of matching between the two parties in the energy transaction, reduces transaction costs, enhances the transparency and security of transactions, and promotes the sustainable development of cloud energy storage systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119273472B_ABST
    Figure CN119273472B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of blockchain technology, and in particular to a cloud energy storage system market transaction method and system based on blockchain, the method comprising the following steps: determining the energy demand of energy demanders and collecting energy information of energy sellers in the cloud energy storage system; determining the best energy transaction combination and the energy seller candidate pool using a transaction optimization strategy based on the energy demand and the energy seller information; sending a transaction invitation to the best energy seller in the best energy transaction combination, and then determining the final energy seller in combination with the energy seller candidate pool; after determining the final energy seller, automatically executing energy transactions using blockchain smart contracts, and recording transaction details on the blockchain. The present invention can improve the flexibility and accuracy of matching between energy transaction parties and promote the sustainable development of cloud energy storage systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a cloud energy storage system market transaction method and system based on blockchain. Background Art

[0002] With the transformation of the global energy structure and the development of smart grids, cloud energy storage systems, as an important part of distributed energy management, are gradually becoming a key means to solve the balance of energy supply and demand and improve energy utilization efficiency. Cloud energy storage systems integrate decentralized energy storage resources and energy producers to achieve flexible scheduling and optimal configuration of energy, which is of great significance for promoting the consumption of renewable energy and improving the stability and reliability of the power grid. At present, cloud energy storage systems have made significant progress in technology, but they still face many challenges in market transactions.

[0003] First, the problem of information asymmetry in the energy market remains prominent. It is difficult for energy demanders to fully and accurately obtain real-time energy information from energy sellers, which leads to uncertainty and risk in the transaction decision-making process.

[0004] Secondly, traditional energy trading models usually rely on centralized trading platforms or third-party intermediaries, which often face inefficiency and high costs when handling large-scale transactions, and there is a risk of data tampering and lack of trust. This centralized trading model not only increases transaction costs, but also limits the flexibility and innovation of the market. In addition, with the increasing complexity and diversification of the energy market, the traditional trading model is also unable to ensure transaction transparency, ensure transaction security, and promote transaction efficiency limits. Market participants have an urgent need for a more efficient, transparent and secure trading mechanism. Therefore, people began to apply blockchain technology to the market trading link of cloud energy storage systems.

[0005] Blockchain technology, with its characteristics of decentralization, transparency, immutability and smart contracts, provides a new solution for the market transaction of cloud energy storage systems. However, the current blockchain-based cloud energy storage system market transaction method is still based on a simple match of energy price limits and the geographical locations of energy trading parties when determining the energy trading parties. The accuracy of the matching of energy trading parties is not high, which is not conducive to the sustainable development of cloud energy storage systems. Summary of the invention

[0006] In view of the defects in the prior art, the present invention provides a cloud energy storage system market transaction method and system based on blockchain.

[0007] In order to achieve the above objectives, in the first aspect, the present invention provides a cloud energy storage system market transaction method based on blockchain, the method comprising the following steps: determining the energy demand of energy demanders and collecting energy information of energy sellers in the cloud energy storage system; determining the best energy transaction combination and the energy seller candidate pool based on the energy demand and the energy seller information using a transaction optimization strategy; sending a transaction invitation to the best energy seller in the best energy transaction combination, and then determining the final energy seller in combination with the energy seller candidate pool; after determining the final energy seller, automatically executing energy transactions using blockchain smart contracts, and recording transaction details on the blockchain. The present invention can improve the flexibility and accuracy of matching between the two parties in energy transactions and promote the sustainable development of cloud energy storage systems.

[0008] Optionally, the energy demand includes energy type and energy demand, and the energy seller energy information includes energy type, energy supply, energy unit price, energy purity, historical accident conditions, historical transaction conditions, geographical location and energy freight per unit distance.

[0009] Furthermore, the information obtained by the present invention is relatively comprehensive, which provides a basis for subsequent accurate matching of both parties in energy transactions.

[0010] Optionally, determining the energy demand of the energy demander and collecting the energy seller information in the cloud energy storage system includes the following steps:

[0011] Receive the energy demand submitted by the energy demander, and verify the identity information of the energy demander using the identity recognition mechanism built into the blockchain to confirm the validity of the energy demand;

[0012] Receive energy information submitted by the energy seller, and use the identity recognition mechanism to verify the identity information of the energy seller to confirm the validity of the energy information, and then determine the energy information of the energy seller.

[0013] Furthermore, using the blockchain's built-in identity recognition mechanism to verify the identity information of energy demanders and sellers can help prevent false transactions and fraud, improve transaction security, and ensure the authenticity and effectiveness of transactions.

[0014] Optionally, the determining the best energy transaction combination and energy seller candidate pool using a transaction optimization strategy according to the energy demand and the energy seller information comprises the following steps:

[0015] Preliminarily selecting energy sellers that can meet the energy demand as candidate energy sellers based on the energy seller information;

[0016] The energy multidimensional vector of the candidate energy seller is determined based on the energy information of the energy seller, and the energy multidimensional vector is used as a particle in the particle swarm optimization algorithm. The energy multidimensional vector is expressed as:

[0017]

[0018] in, is the energy multidimensional vector, C is the energy price limit value, E is the transaction efficiency limit value, Q is the energy quality limit value, and R is the energy sales reliability limit value;

[0019] Using a particle swarm optimization algorithm to obtain the optimal energy multidimensional vector of the alternative energy seller;

[0020] Based on the energy multi-dimensional vector and the optimal energy multi-dimensional vector, an optimal energy transaction combination and a candidate pool of energy sellers are determined using a reality mapping model.

[0021] Furthermore, the present invention uses a particle swarm optimization algorithm to obtain the optimal energy multidimensional vector, and then obtains an energy seller that can theoretically meet the energy needs of energy demanders and protect the rights and interests of energy demanders, providing a basis for improving the accuracy of matching between the two parties in energy transactions.

[0022] Optionally, the determining the optimal energy transaction combination and the energy seller candidate pool using a reality mapping model based on the energy multidimensional vector and the optimal energy multidimensional vector comprises the following steps:

[0023] Calculate the actual mapping value between each of the energy multi-dimensional vectors and the optimal energy multi-dimensional vector using the actual mapping model, and use the median of the actual mapping value as the mapping threshold;

[0024] The alternative energy seller corresponding to the minimum value of the actual mapping value is used as the best energy seller, and the best energy seller and the energy demander are used as the best energy transaction combination;

[0025] The best energy seller is eliminated from the candidate energy sellers, and among the remaining candidate energy sellers, all candidate energy sellers corresponding to actual mapping values ​​less than the mapping threshold are used as the energy seller candidate pool.

[0026] Furthermore, based on the determination of the optimal energy multidimensional vector, the present invention uses a reality mapping model to calculate the degree of similarity between the energy multidimensional vector of each alternative energy seller and the optimal energy multidimensional vector, that is, the reality mapping value, and determines the optimal energy transaction combination and the energy seller candidate pool based on the reality mapping value. This provides a basis for finding the final energy seller and is conducive to improving the accuracy of matching the two parties in the energy transaction.

[0027] Optionally, the optimization objective function of the particle swarm optimization algorithm satisfies the following relationship:

[0028]

[0029] Wherein, F represents the optimization objective function, C represents the energy price limit value, E represents the transaction efficiency limit value, Q represents the energy quality limit value, and R represents the energy sales reliability limit value. is the energy price limit weight, is the transaction efficiency limit value weight, is the energy quality limit value weight, is the weight of the energy sales reliability limit value.

[0030] Furthermore, the optimization objective function of the present invention comprehensively considers the energy price limit value, transaction efficiency limit value, energy quality limit value and energy sales reliability limit value, which is conducive to improving the accuracy of matching between the two parties in energy transactions.

[0031] Optionally, the reality mapping model satisfies the following relationship:

[0032]

[0033] in, is the reality mapping value, is the optimal energy price limit value in the optimal energy multidimensional vector, is the optimal transaction efficiency limit value in the optimal energy multidimensional vector, is the optimal energy quality limit value in the optimal energy multidimensional vector, is the optimal energy sales reliability limit value in the optimal energy multidimensional vector, is the energy price limit value in the i-th energy multidimensional vector, is the transaction efficiency limit value in the i-th energy multidimensional vector, is the energy quality limit value in the i-th energy multidimensional vector, is the energy sales reliability limit value in the i-th energy multidimensional vector, is the energy price limit value weight, is the transaction efficiency limit value weight, is the energy quality limit value weight, is the weight of the energy sales reliability limit value.

[0034] Furthermore, the reality mapping model of the present invention is concise and easy to implement, which is conducive to improving the matching efficiency between the two parties of the transaction, thereby improving the efficiency of energy transactions.

[0035] Optionally, the sending of a transaction invitation to the best energy seller in the best energy transaction combination, and then determining a final energy seller in combination with the energy seller candidate pool comprises the following steps:

[0036] Sending a transaction invitation to the best energy seller in the best energy transaction combination;

[0037] If the best energy seller accepts the transaction invitation within the specified time window, the best energy seller will be used as the final energy seller;

[0038] If the best energy seller does not accept the transaction invitation within the specified time window, the energy seller candidate with the smallest actual mapping value is continuously selected from the energy seller candidate pool and a transaction invitation is sent to it until one of the energy seller candidate accepts the transaction invitation within the specified time window, and the energy seller candidate that accepts the transaction invitation is used as the final energy seller.

[0039] Furthermore, determining the final energy seller based on the best energy seller and the energy seller candidate pool can improve the flexibility and accuracy of transaction matching, thereby improving the success rate of energy transactions.

[0040] Optionally, after determining the final energy seller, automatically executing the energy transaction using a blockchain smart contract and recording the transaction details on the blockchain includes the following steps:

[0041] After the final energy seller is determined, the energy transaction is automatically executed using blockchain smart contracts;

[0042] A new block is generated using the transaction details, and the new block is stored on the chain based on the consensus mechanism of the blockchain network.

[0043] Furthermore, transactions are automatically executed through blockchain smart contracts, reducing manual operations and improving transaction efficiency limits; the consensus mechanism based on the blockchain network records transaction details on the blockchain, ensuring the immutability and security of the data, which is conducive to the tracking and tracing of transaction information.

[0044] In the second aspect, the present invention also provides a cloud energy storage system market transaction system based on blockchain, the cloud energy storage system market transaction system based on blockchain includes: a data input device, a data query device, a processor and a storage device, the storage device includes a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by the processor, enable the processor to implement the cloud energy storage system market transaction method based on blockchain provided by the present invention. This system can stably run the cloud energy storage system market transaction method based on blockchain provided by the present invention, improve the efficiency of cloud energy storage system market transactions, and at the same time improve the practicality of the method provided by the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 A flowchart of a cloud energy storage system market transaction method based on blockchain according to an embodiment of the present invention;

[0047] Figure 2 A schematic diagram of a process of obtaining an optimal energy multi-dimensional vector using a particle swarm optimization algorithm according to an embodiment of the present invention;

[0048] Figure 3 This is a schematic diagram of the framework of a blockchain-based cloud energy storage system market trading system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The specific embodiments of the present invention will be described in detail below. It should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, a large number of specific details are set forth in order to provide a thorough understanding of the present invention. However, it is obvious to those of ordinary skill in the art that these specific details do not need to be adopted to implement the present invention. In other examples, in order to avoid confusing the present invention, known circuits, software or methods are not specifically described.

[0050] Throughout the specification, references to "one embodiment," "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment of the present invention. Therefore, the phrases "in one embodiment," "in an embodiment," "an example," or "an example" appearing in various places throughout the specification do not necessarily all refer to the same embodiment or example. In addition, particular features, structures, or characteristics may be combined in one or more embodiments or examples in any suitable combination and / or subcombination. In addition, it should be understood by those of ordinary skill in the art that the figures provided herein are for illustrative purposes and that the figures are not necessarily drawn to scale.

[0051] It should be noted in advance that, in an optional embodiment, except for independent explanations, the same symbols or letters appearing in all formulas have the same meanings and values.

[0052] In an alternative embodiment, see Figure 1 The present invention provides a cloud energy storage system market transaction method based on blockchain, the method comprising the following steps:

[0053] S1. Determine the energy demand of energy demanders and collect energy information of energy sellers in the cloud energy storage system.

[0054] Wherein, step S1 specifically includes the following steps:

[0055] S11. Receive the energy demand submitted by the energy demander, and use the identity recognition mechanism built into the blockchain to verify the identity information of the energy demander to confirm the validity of the energy demand.

[0056] S12: receiving energy information submitted by the energy seller, and using the identity recognition mechanism to verify the identity information of the energy seller to confirm the validity of the energy information, and further determining the energy information of the energy seller.

[0057] Specifically, in this embodiment, the energy demand of the energy demander includes the energy type and energy demand, and the energy seller's energy information includes the energy type, energy supply, energy unit price, energy purity, historical accident status, historical transaction status, geographic location, and energy transportation fee per unit distance. The energy demander and the energy seller are not absolute, that is, the identities of the energy demander and the energy seller can be interchanged, but it is certain that the energy demander needs to purchase energy from the energy seller.

[0058] Furthermore, a blockchain platform for cloud energy storage system market transactions is developed based on the alliance chain. The blockchain platform can at least provide transactions for electricity, heat and cold energy. Both energy demanders and energy sellers need to register with real names on the blockchain platform and log in using identity authentication. Since energy demanders and energy sellers are not absolute, after successful registration, energy demanders and energy sellers need to publish their own real-time energy information on the blockchain platform, including energy type, energy supply, energy unit price, energy purity, historical accident conditions, historical transaction conditions, geographical location and energy freight per unit distance. Historical accident conditions include the number of accidents and the total number of accidents in the energy production process. Historical transaction conditions include the number of times the transaction contract is fulfilled, the number of times the transaction contract is violated and the duration of each energy transaction. Subsequently, energy demanders and energy sellers can also change the corresponding energy information according to their own real-time situation to ensure the accuracy of energy information, so as to improve the accuracy of transaction matching. For the detailed technical implementation of the blockchain platform for cloud energy storage system market transactions based on the alliance chain and the identity recognition mechanism built into the blockchain, reference can be made to existing relevant literature or technical materials, which will not be elaborated here.

[0059] Furthermore, the information obtained in this step is relatively comprehensive, which provides a basis for the subsequent accurate matching of the two parties in energy transactions.

[0060] S2. According to the energy demand and the energy seller information, a transaction optimization strategy is used to determine the best energy transaction combination and energy seller candidate pool.

[0061] Among them, step S2 is written into the smart contract of the blockchain and automatically executed after step S1. In other optional embodiments, step S2 can also be executed by off-chain calculation and on-chain verification to improve the execution efficiency of the smart contract, that is, after executing step S1, the energy information of the energy seller is sent to the traditional cloud computing platform through the smart contract to execute step S2, and the execution result is fed back to the smart contract for recording and verification, but this will obviously reduce the security of energy transactions. Step S2 specifically includes the following steps:

[0062] S21. Preliminarily select energy sellers that can meet the energy demand as candidate energy sellers based on the energy seller information.

[0063] Specifically, in this embodiment, based on the energy type and energy demand required by the energy demander, an energy seller whose energy supply of the energy type is greater than the energy demand of the energy demander is selected as an alternative energy seller.

[0064] S22, determining the energy multidimensional vector of the candidate energy seller based on the energy information of the energy seller, and using the energy multidimensional vector as a particle in a particle swarm optimization algorithm, wherein the energy multidimensional vector is expressed as:

[0065]

[0066] in, is the energy multidimensional vector, C is the energy price limit value, E is the transaction efficiency limit value, Q is the energy quality limit value, and R is the energy sales reliability limit value.

[0067] Specifically, in this embodiment, the energy multidimensional vector of the alternative energy seller reflects the historical energy sales of the energy seller from four dimensions: energy price, transaction efficiency, energy quality and energy sales reliability, which provides a basis for improving the accuracy of matching between the two parties in energy transactions.

[0068] More specifically, the energy price limit value, transaction efficiency limit value, energy quality limit value and energy sales reliability limit value of the alternative energy sellers satisfy the following relationships in sequence:

[0069]

[0070]

[0071]

[0072]

[0073] in, is the energy unit price, M is the energy demand, is the energy freight per unit distance, L is the distance between the two parties in the energy transaction, sigmoid is the restriction function, is the duration of the i-th energy transaction, P is the purity of energy, is the number of accidents that occurred during energy production, is the total number of accidents that occurred to the alternative energy seller, To fulfill the number of transaction contracts, The number of times the transaction contract is violated, is a small positive number, .

[0074] S23. Use a particle swarm optimization algorithm to obtain the optimal energy multi-dimensional vector of the alternative energy seller.

[0075] Specifically, in this embodiment, see Figure 2First, the particle swarm is randomly initialized within the value range of energy price limit, transaction efficiency limit, energy quality limit and energy sales reliability limit, and the individual optimal position and global optimal position of the particle are initialized. Then, the optimization objective function is calculated, and then the individual optimal position, global optimal position and speed and position of the particle in the current iteration step are updated. After reaching the maximum number of iterations, the optimal energy multidimensional vector is output.

[0076] More specifically, the optimization objective function of the particle swarm optimization algorithm satisfies the following relationship:

[0077]

[0078] Among them, F represents the optimization objective function, C is the energy price limit value, E is the transaction efficiency limit value, Q is the energy quality limit value, and R is the energy sales reliability limit value. is the energy price limit weight, is the transaction efficiency limit value weight, is the energy quality limit value weight, is the weight of the energy sales reliability limit value.

[0079] Furthermore, when the particle swarm is randomly initialized, the size of the particle swarm is equal to the number of alternative energy sellers, and the maximum number of iterations is 40. The weights of the energy price limit value, the transaction efficiency limit value, the energy quality limit value, and the energy sales reliability limit value are all 0.25, indicating that the energy price limit value, the transaction efficiency limit value, the energy quality limit value, and the energy sales reliability limit value will affect the energy demander's choice of energy seller to the same extent. The energy seller corresponding to the optimal energy multidimensional vector obtained in this way can not only meet the energy demander's energy demand, but also maximize the protection of the energy demander's rights and interests, providing a basis for improving the accuracy of matching between the two parties in energy transactions.

[0080] S24. Based on the energy multidimensional vector and the optimal energy multidimensional vector, use a reality mapping model to determine the optimal energy transaction combination and the energy seller candidate pool.

[0081] Wherein, step S24 specifically includes the following steps:

[0082] S241. Use a reality mapping model to calculate the reality mapping values ​​between each of the energy multidimensional vectors and the optimal energy multidimensional vector, and use the median of the reality mapping values ​​as a mapping threshold.

[0083] Specifically, in this embodiment, the reality mapping model satisfies the following relationship:

[0084]

[0085] in, is the actual mapping value, which can reflect the similarity between the energy multidimensional vector and the optimal energy multidimensional vector. is the optimal energy price limit value in the optimal energy multidimensional vector, is the optimal transaction efficiency limit value in the optimal energy multidimensional vector, is the optimal energy quality limit value in the optimal energy multidimensional vector, is the optimal energy sales reliability limit value in the optimal energy multidimensional vector, is the energy price limit value in the i-th energy multidimensional vector, is the transaction efficiency limit value in the i-th energy multidimensional vector, is the energy quality limit value in the i-th energy multidimensional vector, is the energy sales reliability limit value in the i-th energy multidimensional vector, is the energy price limit weight, is the transaction efficiency limit value weight, is the energy quality limit value weight, is the weight of the energy sales reliability limit value.

[0086] Furthermore, although the optimal energy multidimensional vector is obtained, at a specific time point, the energy multidimensional vector of each alternative energy seller is unique and definite, and any energy multidimensional vector may not be equal to the optimal energy multidimensional vector, that is, there is no alternative energy seller corresponding to the optimal energy multidimensional vector in reality, so it is necessary to use the reality mapping model to find some energy multidimensional vectors that are relatively close to the optimal energy multidimensional vector and the corresponding alternative energy sellers to determine the final energy seller. The final energy seller obtained is actually existing, and it can not only meet the energy needs of energy demanders, but also maximize the protection of the rights and interests of energy demanders during the transaction process. In addition, the reality mapping model of this embodiment is concise and easy to implement, which is conducive to improving the efficiency of matching between the two parties to the transaction, thereby improving the efficiency of energy transactions.

[0087] S242: The alternative energy seller corresponding to the minimum value of the actual mapping value is used as the best energy seller, and the best energy seller and the energy demander are used as the best energy transaction combination.

[0088] Specifically, there may be multiple best sellers.

[0089] S243: Eliminate the best energy seller from the candidate energy sellers, and among the remaining candidate energy sellers, use all candidate energy sellers corresponding to actual mapping values ​​that are less than the mapping threshold as the energy seller candidate pool.

[0090] Specifically, in this embodiment, after determining the optimal energy multidimensional vector, the reality mapping model is used to calculate the similarity between the energy multidimensional vectors of each candidate energy seller and the optimal energy multidimensional vector, that is, the reality mapping value, and the optimal energy transaction combination is determined based on the reality mapping value, which provides a basis for finding the final energy seller and is conducive to improving the accuracy of matching the two parties in the energy transaction. In addition, after determining the optimal energy transaction combination, this embodiment further determines the candidate pool of energy sellers, thereby ensuring the accuracy of matching the two parties in the energy transaction while improving the flexibility of matching the two parties in the energy transaction.

[0091] S3. Sending a transaction invitation to the best energy seller in the best energy transaction combination, and then determining the final energy seller based on the energy seller candidate pool.

[0092] Among them, step S3 is written into the smart contract of the blockchain and automatically executed after step S2. In the field of energy trading, in addition to the contents described in steps S2 and S3, other functions of the smart contract can refer to the existing technology. Step S3 specifically includes the following steps:

[0093] S31. Sending a transaction invitation to the best energy seller in the best energy transaction combination.

[0094] Specifically, in this embodiment, after the best energy seller and the candidate pool of energy sellers are determined, a transaction invitation is automatically sent to the node where the best energy seller is located through the smart contract and the best energy seller's response to the transaction invitation is monitored. The content of the transaction invitation includes the energy demand of the energy demander, a transaction invitation statement such as "XXX hopes to conduct energy transactions with you, do you agree?" and two options of "Reject" and "Agree". Therefore, the best energy seller's response to the transaction invitation includes two responses of "Reject" and "Agree".

[0095] Furthermore, if there are multiple best energy sellers, a transaction invitation is randomly sent to one of the best energy sellers.

[0096] S32: If the best energy seller accepts the transaction invitation within the specified time window, the best energy seller is used as the final energy seller.

[0097] Specifically, in this embodiment, the specified time window, i.e., the set response time limit, can be set to 30 minutes. If the best energy seller accepts the transaction invitation within the set response time limit, it indicates that the best energy seller is willing to sell energy to the energy demander, and the best energy seller is the final energy seller.

[0098] Furthermore, since the energy multidimensional vector of the best energy seller is most similar to the best energy multidimensional vector, it means that he can not only meet the energy needs of energy demanders, but also maximize the protection of the rights and interests of energy demanders, and the best energy seller can also successfully sell the energy. Therefore, both parties to the energy transaction gain benefits within their own transaction intentions, which improves the accuracy of matching between the two parties to the energy transaction.

[0099] S33. If the best energy seller does not accept the transaction invitation within the specified time window, continuously select energy seller candidates with the smallest actual mapping value from the energy seller candidate pool and send transaction invitations to them, until one of the energy seller candidates accepts the transaction invitation within the specified time window, and the energy seller candidate that accepts the transaction invitation is used as the final energy seller.

[0100] Specifically, in this embodiment, if all the best energy sellers do not accept the transaction invitation within the specified time window, it is necessary to select energy seller candidates from the energy seller candidate pool as the final energy seller to conduct energy transactions with the energy demander.

[0101] More specifically, the energy seller candidate with the smallest actual mapping value is selected from the energy seller candidate pool and a transaction invitation is sent to it. If it does not accept the transaction invitation within the specified time window, the energy seller candidate with the smallest actual mapping value is continuously selected from the remaining energy seller candidate pool and a transaction invitation is sent to it, until one of the energy seller candidate pools accepts the transaction invitation within the specified time window. The energy seller candidate that accepts the transaction invitation is the final energy seller. In the case that the best energy seller does not accept the transaction invitation within the specified time window, this embodiment selects the final energy seller from the energy seller candidate pool, thereby ensuring the accuracy of the matching of the energy transaction parties while improving the flexibility of the matching of the energy transaction parties, ensuring that energy demanders can purchase the required energy in a timely manner.

[0102] S4. After determining the final energy seller, the energy transaction is automatically executed using the blockchain smart contract, and the transaction details are recorded on the blockchain.

[0103] Wherein, step S4 specifically includes the following steps:

[0104] S41. After determining the final energy seller, the energy transaction is automatically executed using the blockchain smart contract.

[0105] S42: Generate a new block using the transaction details, and store the new block on the blockchain based on the consensus mechanism of the blockchain network.

[0106] Specifically, in this embodiment, the transaction details are the transaction information between the energy demander and the final energy seller, including the blockchain addresses of both parties to the transaction, transaction ID, transaction amount, transaction timestamp and signature information, etc.

[0107] More specifically, this embodiment uses the DPoS consensus mechanism to generate new blocks using transaction details, and stores the new blocks on the chain.

[0108] It should be noted that, in some cases, the actions described in the specification can be performed in a different order and still achieve the desired results. In this embodiment, the order of steps given is only to make the embodiment appear clearer and easier to explain, rather than to limit it.

[0109] In an alternative embodiment, see Figure 3 The present invention also provides a cloud energy storage system market transaction system based on blockchain, the system comprising: a data input device A1, a data query device A2, a processor A3 and a storage A4, the storage A4 comprising a computer-readable storage medium, the computer-readable storage medium storing a computer program, the computer program comprising program instructions, and when the program instructions are executed by the processor A3, the processor implements the cloud energy storage system market transaction method based on blockchain provided by the present invention, that is, the contents described in steps S1 to S4.

[0110] Specifically, in this embodiment, when the computer program executed by processor A3 implements the contents described in steps S1 to S4, the energy demander can use the data input device A1 to input the energy demand, and the energy seller can use the data input device A1 to input the energy information of the energy seller, and both the energy demander and the energy seller can use the data query device A2 to query the market transaction information of the cloud energy storage system in the blockchain.

[0111] This system can stably operate the blockchain-based cloud energy storage system market transaction method provided by the present invention, improve the efficiency of cloud energy storage system market transactions, and at the same time improve the practicality of the method provided by the present invention.

[0112] In summary, the method provided by the present invention uses blockchain technology as the underlying technology. On the basis of verifying the confidence of both parties to the energy transaction, the energy multidimensional vector of the alternative energy seller is used as the particle in the particle swarm optimization algorithm, and the particle swarm optimization algorithm is used to obtain the optimal energy multidimensional vector of the alternative energy seller. Then, the reality mapping model is used to determine the best energy seller and the energy seller candidate pool. Finally, the final energy seller is determined according to the attitude of the best energy seller and the energy seller candidate in the energy seller candidate pool to the transaction invitation, which improves the flexibility and accuracy of the matching of the two parties to the energy transaction, thereby improving the success rate of energy transactions and promoting the sustainable development of cloud energy storage systems. In addition, the system provided by the present invention is a system compatible with the method of the present invention. It can stably run the cloud energy storage system market transaction method based on blockchain provided by the present invention, improve the efficiency of cloud energy storage system market transactions, and at the same time improve the practicality of the method provided by the present invention.

[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A cloud energy storage system market transaction method based on blockchain, characterized in that: The steps include: Determine the energy demand of energy demanders and collect energy information of energy sellers in the cloud energy storage system; Determine the best energy transaction combination and energy seller candidate pool using a transaction optimization strategy according to the energy demand and the energy information of the energy seller; Sending a transaction invitation to the best energy seller in the best energy transaction combination, and then determining the final energy seller based on the energy seller candidate pool; After the final energy seller is determined, the energy transaction is automatically executed using the blockchain smart contract, and the transaction details are recorded on the blockchain; The energy demand includes energy type and energy demand, and the energy seller energy information includes energy type, energy supply, energy unit price, energy purity, historical accident status, historical transaction status, geographical location, and energy transportation fee per unit distance; Determining the energy demand of the energy demander and collecting the energy information of the energy seller in the cloud energy storage system includes the following steps: Receive the energy demand submitted by the energy demander, and verify the identity information of the energy demander using the identity recognition mechanism built into the blockchain to confirm the validity of the energy demand; Receiving energy information submitted by the energy seller, and using the identity recognition mechanism to verify the identity information of the energy seller to confirm the validity of the energy information, and then determining the energy information of the energy seller; The step of using a transaction optimization strategy to determine the best energy transaction combination and the energy seller candidate pool according to the energy demand and the energy seller energy information comprises the following steps: Preliminarily selecting energy sellers that can meet the energy demand as candidate energy sellers based on the energy information of the energy sellers; The energy multidimensional vector of the candidate energy seller is determined based on the energy information of the energy seller, and the energy multidimensional vector is used as a particle in the particle swarm optimization algorithm. The energy multidimensional vector is expressed as: in, is the energy multidimensional vector, C is the energy price limit value, E is the transaction efficiency limit value, Q is the energy quality limit value, and R is the energy sales reliability limit value; Using a particle swarm optimization algorithm to obtain the optimal energy multidimensional vector of the alternative energy seller; Based on the energy multidimensional vector and the optimal energy multidimensional vector, using a reality mapping model to determine an optimal energy transaction combination and a candidate pool of energy sellers; The method of using a reality mapping model to determine the best energy transaction combination and the energy seller candidate pool based on the energy multidimensional vector and the best energy multidimensional vector comprises the following steps: Calculate the actual mapping value between each of the energy multi-dimensional vectors and the optimal energy multi-dimensional vector using the actual mapping model, and use the median of the actual mapping value as the mapping threshold; The alternative energy seller corresponding to the minimum value of the actual mapping value is used as the best energy seller, and the best energy seller and the energy demander are used as the best energy transaction combination; Eliminate the best energy seller from the candidate energy sellers, and among the remaining candidate energy sellers, use all candidate energy sellers corresponding to actual mapping values ​​less than the mapping threshold as the energy seller candidate pool; The optimization objective function of the particle swarm optimization algorithm satisfies the following relationship: Wherein, F represents the optimization objective function, C represents the energy price limit value, E represents the transaction efficiency limit value, Q represents the energy quality limit value, and R represents the energy sales reliability limit value. is the energy price limit weight, is the transaction efficiency limit value weight, is the energy quality limit value weight, is the weight of the energy sales reliability limit value; The reality mapping model satisfies the following relationship: in, is the reality mapping value, is the optimal energy price limit value in the optimal energy multidimensional vector, is the optimal transaction efficiency limit value in the optimal energy multidimensional vector, is the optimal energy quality limit value in the optimal energy multidimensional vector, is the optimal energy sales reliability limit value in the optimal energy multidimensional vector, is the energy price limit value in the i-th energy multidimensional vector, is the transaction efficiency limit value in the i-th energy multidimensional vector, is the energy quality limit value in the i-th energy multidimensional vector, is the energy sales reliability limit value in the i-th energy multidimensional vector, is the energy price limit value weight, is the transaction efficiency limit value weight, is the energy quality limit value weight, is the energy sales reliability limit value weight; After the final energy seller is determined, the energy transaction is automatically executed using a blockchain smart contract, and the transaction details are recorded on the blockchain, including the following steps: After the final energy seller is determined, the energy transaction is automatically executed using blockchain smart contracts; A new block is generated using the transaction details, and the new block is stored on the chain based on the consensus mechanism of the blockchain network.

2. The cloud energy storage system market transaction method based on blockchain according to claim 1 is characterized in that: The sending of a transaction invitation to the best energy seller in the best energy transaction combination, and then determining the final energy seller in combination with the energy seller candidate pool comprises the following steps: Sending a transaction invitation to the best energy seller in the best energy transaction combination; If the best energy seller accepts the transaction invitation within the specified time window, the best energy seller will be used as the final energy seller; If the best energy seller does not accept the transaction invitation within the specified time window, the energy seller candidate with the smallest actual mapping value is continuously selected from the energy seller candidate pool and a transaction invitation is sent to it until one of the energy seller candidate accepts the transaction invitation within the specified time window, and the energy seller candidate that accepts the transaction invitation is used as the final energy seller.

3. The cloud energy storage system market trading system based on blockchain is characterized by: The blockchain-based cloud energy storage system market trading system includes: a data input device, a data query device, a processor and a storage device, wherein the storage device includes a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and wherein the computer program includes program instructions, and when the program instructions are executed by the processor, the processor implements the blockchain-based cloud energy storage system market trading method as described in any one of claims 1-2.

Citation Information

Patent Citations

  • Cloud energy storage system market transaction method and system based on block chain

    CN113706306A