CN111401993A - Green power dispatching system and method based on block chain - Google Patents
Green power dispatching system and method based on block chain Download PDFInfo
- Publication number
- CN111401993A CN111401993A CN202010154321.2A CN202010154321A CN111401993A CN 111401993 A CN111401993 A CN 111401993A CN 202010154321 A CN202010154321 A CN 202010154321A CN 111401993 A CN111401993 A CN 111401993A
- Authority
- CN
- China
- Prior art keywords
- seller
- user
- price
- transaction
- electricity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000005611 electricity Effects 0.000 claims abstract description 112
- 238000010248 power generation Methods 0.000 description 15
- 230000008901 benefit Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 238000005304 joining Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0611—Request for offers or quotes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a green power dispatching system and a green power dispatching method based on a block chain, which are applied to a target block chain, wherein a seller user and a buyer user are respectively registered as nodes on a block chain platform, the expected electricity price of the buyer user is matched with the electricity price of the seller user, and the seller user with matched electricity price is selected from a seller queue; the buyer user and the seller user sign an intelligent contract; the power dispatching module dispatches the seller users power to the buyer users according to the intelligent contract. The power dispatching method greatly improves the trust integrity of point-to-point transaction information and greatly improves the transparency and safety of transactions.
Description
Technical Field
The invention relates to the field of power dispatching, in particular to a green power dispatching system and method based on a block chain.
Background
The green electric power refers to the electric power of clean and non-fossil energy sources such as solar energy, wind power, hydroelectric power, nuclear power and the like. These power generation methods usually have the characteristics of autonomous production, self-consumption, autonomous storage and tradable transaction of consumers. From a global perspective, the traditional green electricity trade is to sell electricity to the national grid. The principle of our country's solar energy generation is ' self-generation, surplus electricity on-line and power grid regulation '. The electricity produced by the clean energy is used by itself, and the surplus electricity is transmitted to the power grid. Therefore, the traditional green energy transaction is the transaction of C2G, i.e. the transaction mode from the user to the national power grid, and direct point-to-point green electricity transaction between users cannot be achieved. This is policy driven, on the one hand, the lack of tradable platforms and technologies, which discourages trading and consumption of clean energy.
However, with the technical progress of green energy power generation, the electricity consumption cost L COE of power generation is continuously reduced, the reaction of electricity consumption price is often lagged, and in the scene of distributed power generation, families, hospitals, schools, factory roofs and the cost of green energy power generation depend on various factors, namely system cost, sunlight, wind power and other natural factors, so that in essence, the power generation cost of green power fluctuates relatively, so that a flexible price mechanism capable of correspondingly matching the power generation cost price and a corresponding real-time trading system capable of correspondingly matching the power generation cost price are required to be provided for matching and trading between a power generation side and a power utilization side, and further, a plurality of policies for matching the electricity consumption of the small green power generation and a real-time trading system capable of correspondingly matching the power generation cost price are provided for directly matching the electricity consumption side and trading between the power utilization side, and a plurality of loads of electricity consumption of the power generation side and the power utilization side are provided for directly matching the electricity consumption of the power generation, and the influence of the electricity consumption of the power generation and the power consumption of the power generation.
Disclosure of Invention
In order to overcome the defects of the prior art, the green power dispatching system and method based on the block chain are invented, and the transparency and the safety of point-to-point power transaction are greatly improved.
The technical scheme provided by the invention is as follows: a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and the specific steps are as follows: s1: constructing a seller queue based on the electricity price of the seller user; s2: matching the expected electricity price of the buyer user with the electricity price of the seller user, and selecting the seller user with the matched electricity price from the seller queue; s3: and the buyer user and the seller user matched with the electricity price sign an intelligent contract, the intelligent contract is sent to the power dispatching module and all or part of nodes on the block chain platform, and the power dispatching module dispatches the power of the seller user to the buyer user according to the intelligent contract.
The S1: the seller queue is constructed based on the electricity price of the seller user, and specifically comprises the following steps: constructing a seller queue based on the electricity prices of seller usersWherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,。
when a new seller user inserts into the seller queue based on the price of electricity, the seller queue is updated toWherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1Price of electricity, P, on behalf of the nth seller usernRepresents the electricity rate of the (n + 1) th seller user,(ii) a When a seller user exits the seller queue, the seller queue is updated to,Pn-2Representing the electricity rate of the (n-1) th seller user.
The S2: the matching of the expected electricity price of the buyer user and the electricity price of the seller user is specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement ofWhich isIn (1),,for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
The S3: the step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user determined in the step S2 as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
The transaction orders are sequenced and packaged to all nodes on the blockchain transaction platform after being identified by all nodes or part of nodes of the blockchain transaction platform, so that a transaction record used for tracing, auditing and non-tampering is formed, and the contents of the transaction record at least comprise: the transaction body, the transaction price, the transaction time and the transaction electric quantity. The consensus process is to verify the validity, correctness, and completeness of the trade order.
The system comprises: the system comprises a block chain platform, a deployment module, a matching module, a signing module and an electric power scheduling module; a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and a seller queue is constructed by a deployment module based on the electricity price of the seller users; the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user, and selects the seller user with matched electricity price from the seller queue; the signing module is used for signing an intelligent contract by a buyer user and a seller user matched with the electricity price and sending the intelligent contract to the power scheduling module and all or part of nodes on the block chain platform; and the power dispatching module is used for dispatching the power of the seller users to the buyer users according to the intelligent contract.
The deployment module constructs a seller queue based on the electricity price of the seller user, specifically comprising the following steps: constructing a seller queue based on the electricity prices of seller usersWherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,. The matching module matches the expected electricity price of the buyer user with the electricity price of the seller user specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement ofWherein, in the step (A),,for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
The step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
The power dispatching system and the method have the advantages that the validity, the integrity and the like of the transaction are verified through a consensus mechanism, so that the information and the trust integrity of point-to-point transaction are greatly improved, each transaction node can theoretically acquire each transaction record and an account book synchronized to the whole network, malicious nodes are prevented, the transparency and the safety of the transaction are greatly improved, and the fraudulent behaviors of an electricity buying party and an electricity selling party are avoided.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention in the prior art, the drawings used in the description of the embodiments or prior art are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a green power scheduling method based on a block chain according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a green power scheduling system based on a block chain according to an embodiment of the present disclosure;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a green power dispatching system and a green power dispatching method based on a block chain, which are applied to the transaction process of power energy, utilize the characteristics that an intelligent contract in the block chain can not be tampered and traced, reduce the fraudulent behavior of a buyer and a seller, and erect a good credit bridge.
The block chain-based green power scheduling method has a flow as shown in fig. 1, and includes the following steps:
the first step is as follows: constructing a seller queue based on the electricity price of the seller user;
assuming that there are n users selling electricity, the price of electricity for each user is P, and P>0. The seller price may be defined as P [ N ], where N =0. So that a price index queue containing n users can be constructed= P0, P1.. Pn-1 }. Wherein P0<P1<P2..<Pn-1. The problems of queue joining, queue exiting and queue splitting are discussed in three cases below.
Case 1: n +1 user joining queue
Assuming that the current electricity selling queue is an ordered array, the members to be added into the ordered array currently can choose to adopt various sorting algorithms on time overhead and complexity to insert the user with the current price index Pn into the original electricity selling queueThereby forming a price index queue containing n +1 users={P0,P1,...Pn-1,Pn}。
Case 2: m users exit the queue
If a user wants to quit or no transactable electric quantity exists, the corresponding position in the queue can be deleted, the length of the queue is marked again, or the original position is marked directly and set to be 0, and the length of the queue is not changed. In order to later match a certain buyer price. The user exits the transaction and the price index queue becomes= P0, P1.. Pn-2 or={P0,P1,...,.. The latter has the advantage that any exiting user, the transaction price queue length is unchanged and the order is unchanged. The former has the advantages of quitting, shortening the length of the queue, and having higher matching efficiency than the latter, but the order of the queue is rearranged.
Case 3: queue splitting
When the length of a single queue is linearly increased, the calculation of inserting the queue and matching the electricity price of the buyer increases the calculation overhead, for example, the time complexity of inserting the sequence is O () The larger n, the more the computational time complexity increases in square exponential order. For matching the electricity prices of the buyers in real time, time efficiency is not optimized, so that the queue is considered to be split. The splitting is to split the electricity price into a plurality of queues according to a certain price interval, and the specific number of the split queues is determined according to the density and the variance of the electricity price distribution. In particular practice, electricity prices typically have an average price per region, with market prices fluctuating around the average price. Thus, the electricity rate queue can be split by region if the average electricity rate of a certain region is defined asThe sample variance of a region is calculated by sampling a large amount of electricity price data of the regionWhen the electricity price of a certain areaAt that time, the electricity prices can be added to the regional electricity price queueAnd sorted from high to low or from high to low. Therefore, the whole seller price queue is composed of a plurality of regional price subqueues, the length of the queue is obviously shortened compared with a single queue, and meanwhile, the queue is designed according to the model, and the method has an optimization effect on a subsequent matching search calculation method.
The second step is that: matching the expected electricity price of the buyer user with the electricity price of the seller user, and selecting the seller user with the matched electricity price from the seller queue;
at the time of transaction, a desired price is first given by the buyer. Then matching is carried out from the price queue of the seller, the matching process is that the price interval of the area is matched firstly, if so, the price interval is matchedWithin the price interval of this zone, i.e.Then the price queue of the target matching is found first, and the computation complexity of the matching process isWhere n represents the number of regional electricity rate queues. The next step is toIs found to be equal to or close toThe value and position of (c). First, a matching error is defined>0, this isIt will affect the speed and accuracy of matching and depend on various factors and policies set by the user and platform in the business model, such as the price of the matched seller is higher than that of the matched sellerThe electricity purchasing user may not be willing to accept, and the user may accept the electricity purchasing user within a certain range if the electricity purchasing user is higher than the electricity purchasing user by a proper amount. If the matched electricity price is lower thanThe benefit of the seller may be impaired, and the seller is unwilling, so that it is desirable that the electricity prices of the buyer and the seller are completely equal and accurately matched. In fact, to achieve the above result, one situation is possible, but it is necessary to do a full traversal of the transaction pool (transaction pool consisting of transaction queues), and one situation is that even if one traversal is done, no perfectly matching value is found. So whether to find the optimal or sub-optimal solution. Sub-optimal means sacrificing accuracy, improving matching degree and matching time, and is a comprehensive consideration balancing matchability, computation time and complexity. The process of matching is to find the target queueSo that
How to find a solution according to the above formulaDue to the fact thatIs in an in-order queue that is,therefore, a binary search method plus a step-length-changing method is needed, namely, each time the value is taken from the middle position of the queue, the size comparison is carried out, then whether the search direction is towards the large or the small is judged next time, and then the two steps are circulatedError, so that when the target value approachesIn time, the step length can be reducedSo that the user can easily and conveniently select the required position,for example, the binary search is converted into the logarithmic step search, so that the search efficiency can be further improved, and the computing resources can be saved. If the seller's price satisfying the formula (1) is found, it is recordedThe corresponding position N and the electricity price p. N corresponds to the electricity selling user and p corresponds to the seller price closest to the buyer's ideal price, so the final unit price of electricity for a deal is the price p of electricity corresponding to the customer N. The total price of the end user transaction is the amount of electricity purchased。
The third step: the buyer user and the seller user matched with the electricity price sign an intelligent contract, the intelligent contract is sent to the power dispatching module and all or part of nodes on the block chain platform, and the power dispatching module dispatches the power of the seller user to the buyer user according to the intelligent contract;
after the electricity price matching is successful, the following step is to complete the transaction. The subsequent transaction process includes order generation, payment and power delivery. The intelligent contract is mainly to complete the clearing and settlement of funds and electric power, namely, the link of 'accounting' is completed.
First, the intelligent contract is to determine a transaction pair, i.e., buyer and buyer, the buyer and buyer's fund account and power account. And based on the transaction price determined in the second step, automatic clearing and settlement based on the electricity price and the electric quantity are realized, and finally, an electric power delivery request is initiated to the power grid by an intelligent contract, and the electric power delivery is finally completed by the electric power system. Therefore, in the green power trading, whenever the intelligent contract receives a trading pair which has already reached the trading interest, a trading contract is initiated on the chain in real time, and the flow and the content of the trading contract are as follows:
TX_SC
{
buyer id:
seller id:
the buyer account:
the buyer account:
the payment method comprises the following steps:
automatically clearing based on the transaction electricity price and the electric quantity;
initiating a power delivery request to a power grid
}
Aiming at the order in the transaction, an intelligent contract is designed to complete the transaction process, the intelligent contract needs to match with a payment mode, call a third-party interface to complete payment and clearing of electric quantity, and finally a transaction order is formed. The transaction order is subjected to the consensus of all nodes or part of nodes (fragmentation consensus) of the p2p network, the consensus process is to verify the validity, correctness and integrity of the transaction record, and once the consensus passes, the transaction record is packaged into a block by the sequencing node and is linked to the previous block to form a traceable, auditable and non-falsifiable transaction record. At this time, the smart contract may initiate a request for power delivery to the power grid to complete the entire closed-loop transaction. If the consensus fails and the transaction is rejected by the network, the transaction content is checked by the system and the transaction request can be initiated again after waiting. The transaction record Tx _ hedger includes the following contents:
{
transaction body
Transaction price
Transaction time
Transaction amount of electricity
}
The intelligent contract has the characteristics of non-revocable property and denial prevention, so that the credibility of the transaction can be greatly improved. The transaction record uplink is helpful for credibly checking the transaction history, and the price model of the system and the price model of the customer have basic credible data support function for counting and analyzing the electricity purchasing behavior of the customer.
Based on the above green power scheduling method based on the blockchain, in the embodiment of the present invention, there is also provided a green power scheduling system based on the blockchain, which is applied to the blockchain, where the blockchain includes a seller user node and a buyer user node, where the seller user node and the buyer user node have stored thereon an intelligent contract, where the intelligent contract is used to issue the demands of the seller user node and the buyer user node and to complete the power transaction between the seller user node and the buyer user node, and the green power scheduling system based on the blockchain has a structure as shown in fig. 2, and includes: the system comprises a block chain platform, a deployment module, a matching module, a signing module and an electric power scheduling module; the deployment module constructs a seller queue based on the electricity price of the seller user; the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user, and selects the seller user with matched electricity price from the seller queue; the signing module is used for signing an intelligent contract by a buyer user and a seller user matched with the electricity price and sending the intelligent contract to the power scheduling module and all or part of nodes on the block chain platform; and the power dispatching module is used for dispatching the power of the seller users to the buyer users according to the intelligent contract.
The present invention is not limited to the disclosed embodiments and the accompanying drawings, and is intended to cover various changes and modifications that fall within the spirit and scope of the invention.
Claims (10)
1. A green power scheduling method based on a block chain is characterized in that: a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and the specific steps are as follows:
s1: constructing a seller queue based on the electricity price of the seller user;
s2: matching the expected electricity price of the buyer user with the electricity price of the seller user, and selecting the seller user with the matched electricity price from the seller queue;
s3: and the buyer user and the seller user matched with the electricity price sign an intelligent contract, and the intelligent contract is sent to a power dispatching module and nodes on a block chain platform, and the power dispatching module dispatches the power of the seller user to the buyer user according to the intelligent contract.
2. The block chain based green power scheduling method of claim 1, wherein: the S1: the seller queue is constructed based on the electricity price of the seller user, and specifically comprises the following steps: constructing a seller queue based on the electricity prices of seller usersWherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,。
3. the blockchain-based green power scheduling method of claim 2, wherein: when a new seller user inserts into the seller queue based on the price of electricity, the seller queue is updated toWherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1Price of electricity, P, on behalf of the nth seller usernRepresents the electricity rate of the (n + 1) th seller user,(ii) a When a seller user exits the seller queue, the seller queue is updated to,Pn-2Representing the electricity rate of the (n-1) th seller user.
4. The blockchain-based green power scheduling method of claim 2, wherein: the S2: the matching of the expected electricity price of the buyer user and the electricity price of the seller user is specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement ofWherein, in the step (A),,for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
5. The block chain based green power scheduling method of claim 1, wherein: the S3: the step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user determined in the step S2 as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
6. The blockchain-based green power scheduling method of claim 5, wherein: the transaction orders are sequenced and packaged to all nodes on the blockchain transaction platform after being identified by all nodes or part of nodes of the blockchain transaction platform, so that a transaction record used for tracing, auditing and non-tampering is formed, and the contents of the transaction record at least comprise: the transaction body, the transaction price, the transaction time and the transaction electric quantity.
7. The utility model provides a green power dispatching system based on block chain which characterized in that: the system comprises: the system comprises a block chain platform, a deployment module, a matching module, a signing module and an electric power scheduling module; a plurality of seller users and buyer users are respectively registered as nodes on the block chain platform, and a seller queue is constructed by a deployment module based on the electricity price of the seller users; the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user, and selects the seller user with matched electricity price from the seller queue; the signing module is used for signing an intelligent contract by a buyer user and a seller user matched with the electricity price and sending the intelligent contract to the power scheduling module and a node on the block chain platform; and the power dispatching module is used for dispatching the power of the seller users to the buyer users according to the intelligent contract.
8. The blockchain-based green power scheduling system of claim 7, wherein: the deployment module constructs a seller queue based on the electricity price of the seller user, specifically comprising the following steps: constructing a seller queue based on the electricity prices of seller usersWherein P is0Electricity rate, P, on behalf of the 1 st seller user1Electricity rate, P, on behalf of the 2 nd seller usern-1The electricity rate on behalf of the nth seller user,。
9. the blockchain-based green power scheduling system of claim 8, wherein: the matching module matches the expected electricity price of the buyer user with the electricity price of the seller user specifically as follows: selecting a seller user in the seller queue when the seller queue TXnPrice P of a seller userqSatisfy the requirement ofWherein, in the step (A),,for matching error, the seller queue TXnMedium price is PqThe seller user of (1) is set as a seller user matching the buyer user.
10. The blockchain-based green power scheduling system of claim 9, wherein: the step of the buyer user and the seller user matched with the electricity price for signing the intelligent contract comprises the following steps: determining a transaction pair, namely a buyer user, a seller user, transaction electric quantity, and fund accounts and electric power accounts of the buyer and the seller, taking the electric price of the seller user matched with the buyer user as a transaction electric price, obtaining transaction amount based on the transaction electric price and the transaction electric quantity, matching a payment mode with an intelligent contract, calling a third-party interface to complete payment of the transaction amount and clearing of the electric quantity, and finally forming a transaction order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010154321.2A CN111401993A (en) | 2020-03-07 | 2020-03-07 | Green power dispatching system and method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010154321.2A CN111401993A (en) | 2020-03-07 | 2020-03-07 | Green power dispatching system and method based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111401993A true CN111401993A (en) | 2020-07-10 |
Family
ID=71413275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010154321.2A Pending CN111401993A (en) | 2020-03-07 | 2020-03-07 | Green power dispatching system and method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111401993A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112270621A (en) * | 2020-11-19 | 2021-01-26 | 广东电网有限责任公司电力调度控制中心 | Block chain-based power scheduling method, equipment and storage medium |
CN113010605A (en) * | 2021-03-19 | 2021-06-22 | 阳光电源股份有限公司 | Green power source tracing method and device based on block chain |
CN113822671A (en) * | 2021-11-22 | 2021-12-21 | 武汉龙津科技有限公司 | Private data transaction method, device, equipment and storage medium |
CN116151450A (en) * | 2023-02-14 | 2023-05-23 | 北京师范大学 | Urban green roof planning layout method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109785131A (en) * | 2018-12-21 | 2019-05-21 | 昆明理工大学 | A kind of electricity transaction method based on block chain |
US20190392511A1 (en) * | 2018-06-21 | 2019-12-26 | Rare Bits, Inc. | Bid matching for blockchain-based goods/assets systems and methods |
-
2020
- 2020-03-07 CN CN202010154321.2A patent/CN111401993A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190392511A1 (en) * | 2018-06-21 | 2019-12-26 | Rare Bits, Inc. | Bid matching for blockchain-based goods/assets systems and methods |
CN109785131A (en) * | 2018-12-21 | 2019-05-21 | 昆明理工大学 | A kind of electricity transaction method based on block chain |
Non-Patent Citations (1)
Title |
---|
四川大学金融研究所等: "《中国金融学 2008总第15辑》", 中国金融出版社 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112270621A (en) * | 2020-11-19 | 2021-01-26 | 广东电网有限责任公司电力调度控制中心 | Block chain-based power scheduling method, equipment and storage medium |
CN113010605A (en) * | 2021-03-19 | 2021-06-22 | 阳光电源股份有限公司 | Green power source tracing method and device based on block chain |
CN113822671A (en) * | 2021-11-22 | 2021-12-21 | 武汉龙津科技有限公司 | Private data transaction method, device, equipment and storage medium |
CN116151450A (en) * | 2023-02-14 | 2023-05-23 | 北京师范大学 | Urban green roof planning layout method and system |
CN116151450B (en) * | 2023-02-14 | 2023-12-29 | 北京师范大学 | Urban green roof planning layout method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Liu et al. | Electric vehicle power trading mechanism based on blockchain and smart contract in V2G network | |
CN111402047A (en) | Distributed power supply regional power dispatching system and method based on block chain | |
US11823293B2 (en) | Energy resource network | |
CN111401993A (en) | Green power dispatching system and method based on block chain | |
Mengelkamp et al. | A blockchain-based smart grid: towards sustainable local energy markets | |
Chitchyan et al. | Review of blockchain technology and its expectations: Case of the energy sector | |
CN111563786B (en) | Virtual power plant regulation and control platform based on block chain and operation method | |
CN108961018A (en) | Micro-capacitance sensor electricity market decentralization mechanism of exchange based on intelligent contract | |
US20030055664A1 (en) | Method and system for the management of structured commodity transactions and trading of related financial products | |
KR20220136998A (en) | Blockchain-based green certificate transaction system | |
US7885888B2 (en) | Auction for financially settled contracts | |
Gao et al. | FogChain: A blockchain-based peer-to-peer solar power trading system powered by fog AI | |
CN112837126B (en) | Industrial park distributed energy trading method and system based on block chain | |
CN114358929A (en) | Distributed energy centralized transaction method and system based on block chain | |
CN116308445A (en) | Virtual power plant multi-mode transaction method, equipment and medium based on energy block chain | |
CN113643131A (en) | Microgrid distributed energy trading method and system based on block chain | |
Wang et al. | A decentralized electricity transaction mode of microgrid based on blockchain and continuous double auction | |
CN114519640A (en) | Alliance chain-based transnational power transaction method | |
Jin et al. | Blockchain-enabled transactive method in distributed systems considering security constraints | |
CN112991054A (en) | Electric power futures contract design method based on block chain | |
CN117635189A (en) | Virtual power plant master-slave multi-chain resource interactive matching method based on improved consensus algorithm | |
CN113807961B (en) | Multi-micro-grid energy transaction method and system based on alliance chain | |
WO2020077613A1 (en) | Transaction payment system and method employing blockchain transaction platform | |
CN114529376A (en) | Energy exchange data processing method and device, computer equipment and storage medium | |
CN113469813A (en) | Regional carbon quota transaction system and method for power enterprise based on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200710 |
|
WD01 | Invention patent application deemed withdrawn after publication |