Demand-side source-load grid-connected transaction method, device and equipment and storage medium
By building a demand-side power transmission blockchain and deploying smart contracts, the problem of low transaction efficiency on the demand-side is solved, and efficient response and transaction organization of power supply and demand information is achieved, which is suitable for large-scale distributed flexible loads.
Patent Information
- Application Number
- CN202411136101.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-15
AI Technical Summary
The existing demand-side trading technology is particularly not suitable for large-scale distributed flexible load scenarios in the problem of low response efficiency and low transaction efficiency in power supply and demand information.
By building the Genesis block of the demand-side power transmission blockchain, a blockchain node account of the demand-side power exchange entity is generated, and a smart contract for source-load trading on the demand-side side is deployed to realize grid-connected transactions and calculate settlement prices.
It improves the information transmission and trading efficiency of various types of market entities on the demand side, improves the response efficiency of power supply and demand information, and is suitable for large-scale distributed flexible loads.
Smart Images

Figure CN118967319A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of grid-connected transaction technology, and in particular to a demand-side source-load grid-connected transaction method, device, equipment and storage medium. Background Art
[0002] Electricity is the most important secondary energy source in social production and life. At the same time, the distribution network provides a grid connection interface for various types of distributed energy and flexible loads, and is a carrier for the development and utilization of renewable energy and the implementation of energy conservation and emission reduction. Existing research can be divided into research on distribution network optimization and dispatching and research on distributed energy consumption strategies; the optimization of distribution network dispatching mainly solves the problem of supply and demand balance without considering the specific grid connection agreement of demand-side flexible loads; the consumption of distributed energy mainly solves the problem of new energy source-load interaction without considering the interaction with the distribution network. However, with the construction and use of large-scale distributed energy, microgrid systems alone cannot fully absorb distributed energy, and direct grid connection will inevitably affect the distribution of power in the distribution network. It is necessary to propose an effective power interaction mechanism to provide a basis for demand-side power trading, so that the grid connection of distributed energy is standardized and reliable.
[0003] Existing demand-side trading technologies mainly apply game theory and swarm intelligence algorithms to improve the benefits of demand-side aggregated flexible loads and distributed energy participating in demand response and ancillary service markets, but their main bodies are often limited to large-scale aggregators and are not suitable for large-scale distributed flexible loads. Existing blockchain trading technologies mainly consider using optimization models and artificial intelligence technologies to establish smart contracts for optimized clearing, but lack consideration of energy exchange protocols and metering technologies, and the amount of computation required for nodes is too large, which is not conducive to transaction clearing. Summary of the invention
[0004] The present invention provides a demand-side source-load grid-connected transaction method, device, equipment and storage medium, which are used to solve the technical problems of low information transmission and transaction efficiency of various types of market entities on the demand side and low response efficiency of power supply and demand information.
[0005] The present invention provides a demand-side source-load grid-connected transaction method, comprising:
[0006] Constructing the genesis block of the demand-side power transmission blockchain;
[0007] The genesis block is used to generate a blockchain node account of a demand-side power exchange subject; the demand-side power exchange subject includes a power generation subject, a power consumption subject and a power transmission subject;
[0008] Deploy the demand-side source-load transaction smart contract;
[0009] When a transaction request is received from the blockchain node account, the demand-side source-load transaction smart contract is used to conduct a grid-connected transaction to obtain a settlement price.
[0010] Optionally, when receiving a transaction request from the blockchain node account, the step of using the demand-side source-load transaction smart contract to conduct a grid-connected transaction to obtain a settlement price includes:
[0011] When receiving a transaction request from the blockchain node account, performing a permission check on the blockchain node account;
[0012] When the verification is passed, the existing market price is queried, and a quotation range is generated according to the existing market price;
[0013] Receive a quotation request initiated by a user through a blockchain node account, and determine a transaction party that meets the quotation range, wherein the transaction party includes a source-end user and a load-end user;
[0014] Calculating the transaction price and transaction volume between the transaction parties;
[0015] The transaction price and the transaction electricity volume are used to calculate the settlement price between the transaction parties.
[0016] Optionally, when receiving a transaction request from the blockchain node account, the step of performing a permission check on the blockchain node account includes:
[0017] When receiving a transaction request from the blockchain node account, obtaining a user balance and a credit value of the blockchain node account;
[0018] The user balance and the credit value are checked by preset transaction conditions.
[0019] Optionally, it also includes:
[0020] When there is no transaction party that meets the quotation range, return to the step of receiving a quotation request initiated by the user through the blockchain node account and determining a transaction party that meets the quotation range.
[0021] Optionally, it also includes:
[0022] Before the transaction is carried out, the prepayment amount is calculated according to the credit value, and the prepayment amount is deducted from the blockchain node account;
[0023] When the prepayment amount is deducted, the final transaction power is counted;
[0024] Calculate the difference in electricity quantity based on the final transaction electricity quantity;
[0025] The difference settlement amount is calculated based on the difference in electricity quantity.
[0026] Optionally, after the step of using the transaction price and the transaction electricity to calculate the settlement price between the transaction parties, the step further includes:
[0027] Obtaining the payment amount of the transaction party;
[0028] The credit value of the transaction party is updated according to the payment amount and the settlement price.
[0029] The present invention also provides a demand-side source-load grid-connected trading device, comprising:
[0030] Genesis block building module, used to build the genesis block of the demand-side power transmission blockchain;
[0031] A blockchain node account generation module, used to generate a blockchain node account of a demand-side power exchange subject using the genesis block; the demand-side power exchange subject includes a power generation subject, a power consumption subject, and a power transmission subject;
[0032] Demand-side source-load transaction smart contract deployment module, used to deploy demand-side source-load transaction smart contracts;
[0033] The settlement module is used to use the demand-side source-load transaction smart contract to conduct grid-connected transactions and obtain a settlement price when receiving a transaction request from the blockchain node account.
[0034] Optionally, the settlement module includes:
[0035] A permission verification submodule, configured to perform a permission verification on the blockchain node account when receiving a transaction request from the blockchain node account;
[0036] A quotation range generating submodule is used to query the existing market price when the verification is passed, and generate a quotation range according to the existing market price;
[0037] The transaction party determination submodule is used to receive a quotation request initiated by a user through a blockchain node account, and determine a transaction party that meets the quotation range, wherein the transaction party includes a source-end user and a load-end user;
[0038] The transaction price and transaction quantity calculation submodule is used to calculate the transaction price and transaction quantity between the transaction parties;
[0039] The settlement price calculation submodule is used to calculate the settlement price between the transaction parties using the transaction price and the transaction electricity volume.
[0040] The present invention also provides an electronic device, the device comprising a processor and a memory:
[0041] The memory is used to store program code and transmit the program code to the processor;
[0042] The processor is used to execute the demand-side source-load grid-connected transaction method as described in any one of the above items according to the instructions in the program code.
[0043] The present invention also provides a computer-readable storage medium, which is used to store program code, and the program code is used to execute the demand-side source-load grid-connected transaction method as described in any of the above items.
[0044] It can be seen from the above technical scheme that the present invention has the following advantages: the present invention constructs the genesis block of the demand-side power transmission blockchain; uses the genesis block to generate the blockchain node account of the demand-side power exchange subject; the demand-side power exchange subject includes the power generation subject, the power consumption subject and the power transmission subject; deploys the demand-side source-load transaction smart contract; when receiving the transaction request of the blockchain node account, uses the demand-side source-load transaction smart contract to conduct grid-connected transactions and obtain the settlement price. It realizes the efficient transmission of information and efficient organization of transactions of various types of market subjects on the demand side, and improves the response efficiency of power supply and demand information. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] 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.
[0046] Figure 1 A flow chart of the steps of a demand-side source-load grid-connected transaction method provided by an embodiment of the present invention;
[0047] Figure 2 A flowchart of the steps of a demand-side source-load grid-connected transaction method provided by another embodiment of the present invention;
[0048] Figure 3 A structural block diagram of a demand-side source-load grid-connected trading device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The embodiments of the present invention provide a demand-side source-load grid-connected transaction method, device, equipment and storage medium, which are used to solve the technical problems of low information transmission and transaction efficiency of various types of market entities on the demand side and low response efficiency of power supply and demand information.
[0050] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below 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.
[0051] See also Figure 1 , Figure 1 A flow chart of the steps of a demand-side source-load grid-connected trading method provided in an embodiment of the present invention.
[0052] A demand-side source-load grid-connected transaction method provided by the present invention may specifically include the following steps:
[0053] Step 101, constructing the genesis block of the demand-side power transmission blockchain;
[0054] In the embodiment of the present invention, the genesis block is defined and embedded in the blockchain software to define the starting point of the blockchain, which is the initial state of the electric energy transaction ledger. In the demand-side transaction process, the main parameters of the genesis block are set as shown in Table 1:
[0055] Table 1 Genesis block parameters
[0056]
[0057] Step 102, using the genesis block to generate a blockchain node account of a demand-side power exchange subject; the demand-side power exchange subject includes a power generation subject, a power consumption subject, and a power transmission subject;
[0058] In order to meet the consensus algorithm transaction conditions, the genesis block is configured as a json file and a blockchain node is generated. In the present invention, it is embodied as the accounts of the power generation entity, the power consumption entity (flexible load) and the power transmission entity (distribution network). At the same time, for some flexible loads, they may have both source and load attributes, so it is necessary to set up source and load dual accounts. Set the initial currency value for each account to meet the smart contract transaction requirements.
[0059] Step 103, deploying the demand-side source-load transaction smart contract;
[0060] In the embodiment of the present invention, smart contracts can be set up according to the transaction organization requirements, and the transaction process can be organized according to the node process. The demand-side source-load transaction smart contract is written to meet the unified management requirements of large-scale distributed subject transactions, and the market transaction links (license verification, price inquiry, market quotation, document cancellation) and settlement links (prepayment, electricity metering, difference adjustment, final settlement, credit update) are set up. After the deployment is completed, the transaction can be carried out.
[0061] Step 104, when a transaction request is received from a blockchain node account, a demand-side source-load transaction smart contract is used to conduct a grid-connected transaction to obtain a settlement price.
[0062] In an embodiment of the present invention, when a user of any blockchain node account initiates a transaction request, a grid-connected transaction can be carried out through the demand-side source-load transaction smart contract to obtain the settlement price of both parties to the transaction.
[0063] The present invention constructs the genesis block of the demand-side power transmission blockchain; uses the genesis block to generate the blockchain node account of the demand-side power exchange subject; the demand-side power exchange subject includes the power generation subject, the power consumption subject and the power transmission subject; deploys the demand-side source-load transaction smart contract; when receiving the transaction request of the blockchain node account, uses the demand-side source-load transaction smart contract to conduct grid-connected transactions and obtain the settlement price. It realizes the efficient transmission of information and efficient organization of transactions of various types of market subjects on the demand side, and improves the response efficiency of power supply and demand information.
[0064] See also Figure 2 , Figure 2 A flowchart of a demand-side source-load grid-connected transaction method provided in another embodiment of the present invention. Specifically, the following steps may be included:
[0065] Step 201, constructing a genesis block of a demand-side power transmission blockchain;
[0066] Step 202, using the genesis block to generate a blockchain node account of a demand-side power exchange subject; the demand-side power exchange subject includes a power generation subject, a power consumption subject, and a power transmission subject;
[0067] Step 203, deploying the demand-side source-load transaction smart contract;
[0068] Steps 201-203 are the same as steps 101-103. For details, please refer to the description of steps 101-103, which will not be repeated here.
[0069] Step 204: When receiving a transaction request from a blockchain node account, performing a permission check on the blockchain node account;
[0070] In one example, step 204 may include the following sub-steps:
[0071] S41, when receiving a transaction request from a blockchain node account, obtaining a user balance and a credit value of the blockchain node account;
[0072] S42, verifying the user's balance and credit value according to preset transaction conditions.
[0073] In a specific implementation, the permission check may be to check whether the user's balance and credit value meet the transaction conditions. If they meet, the process proceeds to step 205. If not, the user may be reminded to "check whether the account authority meets the transaction conditions."
[0074] Among them, the verification formula of user balance is:
[0075]
[0076] in, , Represents the source user Hehe end users exist Initial account balance for the period; , Represents the source user Hehe end users The historical transaction average.
[0077] The credit value verification formula is:
[0078]
[0079] in, , Represents the source user Hehe end users exist The credit value of the time period.
[0080] In the embodiment of the present invention, the blockchain node account can be a source-end user or a payload-end user, and the embodiment of the present invention does not specifically limit this.
[0081] Step 205, when the verification is passed, query the existing market price and generate a quotation range according to the existing market price;
[0082] In the embodiment of the present invention, when the permission verification is passed, the market transaction recommended price can be provided to the source end user i and the load end user j according to the time-divided catalog electricity price, and a quotation range can be generated.
[0083] Specifically, the recommended electricity prices at the source and load ends are as follows:
[0084]
[0085] in, is the electricity price of the power grid in time period t, , Recommend market electricity prices for the source and load ends respectively, It is the transmission and distribution price charged by the power grid.
[0086] The quotation range is as follows:
[0087]
[0088] in, , Source end users Hehe end users exist Quotes for the time period.
[0089] Step 206, receiving a quotation request initiated by a user through a blockchain node account, and determining a transaction party that meets the quotation range, the transaction party including a source-end user and a load-end user;
[0090] After determining the quotation range, users can quote their own prices. Power generation users quote selling prices, and electricity users quote buying prices.
[0091] When the quotation of the quoting user is within the quotation range, the transaction is matched.
[0092] Step 207, calculating the transaction price and transaction volume between the transaction parties;
[0093] In the embodiment of the present invention, the transaction price and transaction volume between the transaction parties can be calculated by the following formula:
[0094]
[0095] in, For source users Hehe end users exist The transaction price of the time period; For source users Hehe end users exist The transaction volume of the period, , Source User Hehe end users exist The amount of electric energy that can be produced and consumed during a period of time.
[0096] Furthermore, in the embodiment of the present invention, it also includes:
[0097] When there is no trading party that meets the quotation range, return to the step of receiving the quotation request initiated by the user through the blockchain node account and determining the trading party that meets the quotation range.
[0098] Step 208, using the transaction price and transaction electricity volume to calculate the settlement price between the transaction parties.
[0099] In this embodiment of the present invention, the transaction parties can calculate the settlement price using the following formula:
[0100]
[0101] in, , Source end users Hehe end users exist Receivables and payables for session transactions; , Source end users Hehe end users exist Penalty for session trading.
[0102] In an embodiment of the present invention, it also includes:
[0103] S11, before the transaction is carried out, the prepayment amount is calculated according to the credit value, and the prepayment amount is deducted from the blockchain node account;
[0104] S12, when the prepayment amount is deducted, the final transaction power is counted;
[0105] S13, calculating the difference in electricity according to the final transaction electricity;
[0106] S14, calculating the difference settlement amount according to the difference in electricity consumption.
[0107] In the embodiment of the present invention, in order to ensure the reliable conduct of the transaction, a prepayment is required. When the transaction is completed, the prepayment is returned. When the contract fails to be completed, it is deducted as liquidated damages. The amount of the prepayment is calculated according to the following formula:
[0108]
[0109] in, , Source end users Hehe end users exist Margin for session trading, , Source end users Hehe end users exist The estimated value of the transaction volume during the period, which is estimated based on historical conditions.
[0110] After the prepayment is deducted from the account, the final transaction power is counted and the difference power is calculated according to the metering statistics of the blockchain control module. The difference power of the direct transaction on the demand side that does not match the supply and demand is adjusted in the form of supplementary consumption, and the adjusted part is settled according to the following formula:
[0111]
[0112] in, To pay the difference in electricity charges to the source end, To pay the difference in electricity charges to the load side, The total power consumed by the load end is The total electrical energy generated by the source.
[0113] In the embodiment of the present invention, after the step of using the transaction price and the transaction volume to calculate the settlement price between the transaction parties, the following step is also included:
[0114] S21, obtaining the payment amount of the transaction party;
[0115] S22, updating the credit value of the transaction party according to the payment amount and the settlement price.
[0116] In the embodiment of the present invention, after the transaction is completed, the user can check his account assets and update the account credit and assets.
[0117] In the specific implementation, the credit value update can be achieved through the following formula:
[0118]
[0119] in, It is the total time period collection of all transaction records; , Source end users Hehe end users exist The amount paid after the session transaction is completed.
[0120] The present invention constructs the genesis block of the demand-side power transmission blockchain; uses the genesis block to generate the blockchain node account of the demand-side power exchange subject; the demand-side power exchange subject includes the power generation subject, the power consumption subject and the power transmission subject; deploys the demand-side source-load transaction smart contract; when receiving the transaction request of the blockchain node account, uses the demand-side source-load transaction smart contract to conduct grid-connected transactions and obtain the settlement price. It realizes the efficient transmission of information and efficient organization of transactions of various types of market subjects on the demand side, and improves the response efficiency of power supply and demand information.
[0121] See also Figure 3 , Figure 3 A structural block diagram of a demand-side source-load grid-connected trading device provided in an embodiment of the present invention.
[0122] An embodiment of the present invention provides a demand-side source-load grid-connected transaction device, comprising:
[0123] Genesis block construction module 301, used to construct the genesis block of the demand-side power transmission blockchain;
[0124] The blockchain node account generation module 302 is used to generate the blockchain node account of the demand-side power exchange subject using the genesis block; the demand-side power exchange subject includes the power generation subject, the power consumption subject and the power transmission subject;
[0125] The demand-side source-load transaction smart contract deployment module 303 is used to deploy the demand-side source-load transaction smart contract;
[0126] The settlement module 304 is used to use the demand-side source-load transaction smart contract to conduct grid-connected transactions and obtain a settlement price when receiving a transaction request from a blockchain node account.
[0127] In this embodiment of the present invention, the settlement module 304 includes:
[0128] A license verification submodule is used to perform a license verification on a blockchain node account when receiving a transaction request from the blockchain node account;
[0129] The quotation range generation submodule is used to query the current market price when the verification is passed, and generate a quotation range based on the current market price;
[0130] The transaction party determination submodule is used to receive the quotation request initiated by the user through the blockchain node account and determine the transaction parties that meet the quotation range. The transaction parties include the source end user and the load end user;
[0131] The transaction price and transaction volume calculation submodule is used to calculate the transaction price and transaction volume between trading parties;
[0132] The settlement price calculation submodule is used to calculate the settlement price between trading parties using the transaction price and transaction electricity.
[0133] In an embodiment of the present invention, the license checking submodule includes:
[0134] A user balance and credit value acquisition unit, used to acquire the user balance and credit value of the blockchain node account when receiving a transaction request from the blockchain node account;
[0135] The verification unit is used to verify the user's balance and credit value based on preset transaction conditions.
[0136] In the embodiment of the present invention, the settlement module 304 further includes:
[0137] The return submodule is used to return to the step of receiving the quotation request initiated by the user through the blockchain node account and determining the transaction party that meets the quotation range when there is no transaction party that meets the quotation range.
[0138] In the embodiment of the present invention, the license checking submodule further includes:
[0139] A prepayment amount calculation unit, used to calculate the prepayment amount according to the credit value before the transaction is carried out, and deduct the prepayment amount from the blockchain node account;
[0140] The final transaction power statistics unit is used to count the final transaction power when the prepayment amount is deducted;
[0141] A difference electricity calculation unit, used to calculate the difference electricity according to the final transaction electricity;
[0142] The difference settlement amount calculation unit is used to calculate the difference settlement amount according to the difference electricity quantity.
[0143] In an embodiment of the present invention, it also includes:
[0144] The payment amount acquisition module is used to obtain the payment amount of the transaction party;
[0145] The credit value update module is used to update the credit value of the transaction party based on the payment amount and settlement price.
[0146] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:
[0147] The memory is used to store the program code and transmit the program code to the processor;
[0148] The processor is used to execute the demand-side source-load grid-connected transaction method of an embodiment of the present invention according to the instructions in the program code.
[0149] An embodiment of the present invention further provides a computer-readable storage medium, which is used to store program code, and the program code is used to execute the demand-side source-load grid-connected transaction method of the embodiment of the present invention.
[0150] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0151] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0152] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0153] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0156] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0157] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0158] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A demand-side source-load grid-connected trading method, characterized in that: include: Constructing the genesis block of the demand-side power transmission blockchain; The genesis block is used to generate a blockchain node account of a demand-side electric energy exchange subject; The demand-side electric energy exchange entities include power generation entities, power consumption entities and power transmission entities; Deploy the demand-side source-load transaction smart contract; When a transaction request is received from the blockchain node account, the demand-side source-load transaction smart contract is used to conduct a grid-connected transaction to obtain a settlement price.
2. The method according to claim 1, characterized in that The step of using the demand-side source-load transaction smart contract to conduct a grid-connected transaction and obtain a settlement price when receiving a transaction request from the blockchain node account comprises: When receiving a transaction request from the blockchain node account, performing a permission check on the blockchain node account; When the verification is passed, the existing market price is queried, and a quotation range is generated according to the existing market price; Receive a quotation request initiated by a user through a blockchain node account, and determine a transaction party that meets the quotation range, wherein the transaction party includes a source-end user and a load-end user; Calculating the transaction price and transaction volume between the transaction parties; The transaction price and the transaction electricity volume are used to calculate the settlement price between the transaction parties.
3. The method according to claim 2, characterized in that The step of performing permission verification on the blockchain node account when receiving a transaction request from the blockchain node account comprises: When receiving a transaction request from the blockchain node account, obtaining a user balance and a credit value of the blockchain node account; The user balance and the credit value are checked by preset transaction conditions.
4. The method according to claim 2, characterized in that: Also includes: When there is no transaction party that meets the quotation range, return to the step of receiving a quotation request initiated by the user through the blockchain node account and determining a transaction party that meets the quotation range.
5. The method according to claim 3, characterized in that: Also includes: Before the transaction is carried out, the prepayment amount is calculated according to the credit value, and the prepayment amount is deducted from the blockchain node account; When the prepayment amount is deducted, the final transaction power is counted; Calculate the difference in electricity quantity based on the final transaction electricity quantity; The difference settlement amount is calculated based on the difference in electricity quantity.
6. The method according to claim 3, characterized in that After the step of using the transaction price and the transaction electricity to calculate the settlement price between the transaction parties, the method further includes: Obtaining the payment amount of the transaction party; The credit value of the transaction party is updated according to the payment amount and the settlement price.
7. A demand-side source-load grid-connected trading device, characterized in that: include: Genesis block building module, used to build the genesis block of the demand-side power transmission blockchain; A blockchain node account generation module, used to generate a blockchain node account of a demand-side power exchange subject using the genesis block; the demand-side power exchange subject includes a power generation subject, a power consumption subject, and a power transmission subject; Demand-side source-load transaction smart contract deployment module, used to deploy demand-side source-load transaction smart contracts; The settlement module is used to use the demand-side source-load transaction smart contract to conduct grid-connected transactions and obtain a settlement price when receiving a transaction request from the blockchain node account.
8. The device according to claim 7, characterized in that The settlement module comprises: A permission verification submodule, configured to perform a permission verification on the blockchain node account when receiving a transaction request from the blockchain node account; A quotation range generating submodule is used to query the existing market price when the verification is passed, and generate a quotation range according to the existing market price; The transaction party determination submodule is used to receive a quotation request initiated by a user through a blockchain node account, and determine a transaction party that meets the quotation range, wherein the transaction party includes a source-end user and a load-end user; The transaction price and transaction quantity calculation submodule is used to calculate the transaction price and transaction quantity between the transaction parties; The settlement price calculation submodule is used to calculate the settlement price between the transaction parties using the transaction price and the transaction electricity volume.
9. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the demand-side source-load grid-connected transaction method described in any one of claims 1-6 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program code, and the program code is used to execute the demand-side source-load grid-connected transaction method described in any one of claims 1-6.
