CN111260450A - Electric power bilateral transaction system based on block chain technology - Google Patents

Electric power bilateral transaction system based on block chain technology Download PDF

Info

Publication number
CN111260450A
CN111260450A CN202010099879.5A CN202010099879A CN111260450A CN 111260450 A CN111260450 A CN 111260450A CN 202010099879 A CN202010099879 A CN 202010099879A CN 111260450 A CN111260450 A CN 111260450A
Authority
CN
China
Prior art keywords
transaction
power
user
trading
center platform
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
Application number
CN202010099879.5A
Other languages
Chinese (zh)
Inventor
杨光华
黄靖雯
施政
屈挺
黄国全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinan University
Original Assignee
Jinan University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jinan University filed Critical Jinan University
Priority to CN202010099879.5A priority Critical patent/CN111260450A/en
Publication of CN111260450A publication Critical patent/CN111260450A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S50/00Market activities related to the operation of systems integrating technologies related to power network operation or related to communication or information technologies
    • Y04S50/10Energy trading, including energy flowing from end-user application to grid

Abstract

The invention provides an electric power transaction system based on a block chain technology, which comprises: the electric power trading center platform provides trading declaration and confirmation functions for both trading parties, and allows users to declare power consumption and electricity price through the function of the trading declaration; and the block processing module is used for packaging the transaction information realized by declaration and confirmation through the electric power transaction center platform into a new block and storing the new block into a bottom layer block chain, wherein the transaction information comprises a value obtained according to at least one of contract addresses of both transaction parties, an encrypted value corresponding to the addresses, the transaction information and a platform operation log. The electric power transaction system based on the blockchain technology ensures the safety, reliability and privacy of bilateral transaction, encourages the surplus electricity to carry out bilateral and decentralized transaction, is connected by the blockchain network, ensures the privacy and the safety of the transaction, and solves the trust problem of both parties of the transaction.

Description

Electric power bilateral transaction system based on block chain technology
Technical Field
The invention relates to the technical field of internet and the field of energy distribution, in particular to an electric power bilateral transaction system based on a block chain technology.
Background
In recent years, with the continuous promotion of the reform of the power system in China, the power bilateral transaction mode obtains good development opportunity. Firstly, the country orderly releases the competitive link of electricity price outside transmission and distribution and opens electricity selling business to social capital, which greatly promotes the development of direct transaction (large-user direct electricity purchasing) between power users and power generation enterprises, and becomes the main form of the current electricity bilateral transaction. Secondly, contract electricity quantity transfer, electricity generation right transaction (namely, the power generation enterprise plans to pay out and buy the contract electricity quantity) or electricity generation right replacement transaction and trans-provincial (regional) electricity transaction (including the trans-provincial electricity transaction based on the framework agreement and the market trans-provincial centralized bidding transaction) are also carried out. In addition, the country encourages distributed photovoltaic power generation to sell electricity nearby, so that when a reasonable scheme can solve the problems of cost, loss and the like of electric energy flowing between small and even household photovoltaic power stations in the future, direct electric energy transaction can be performed among small users, and the method becomes a new form of electric power bilateral transaction.
Two parties of electric power transaction carry out bilateral transaction, and a safe and stable transaction system is needed to provide support for transaction work so as to ensure that electric power transaction is fairly, publicly, safely and efficiently organized and executed. Two schemes of central mechanism management and market member spontaneous management can be adopted for managing the electric power bilateral transaction, and the method adopting the central mechanism management has the defects of high database maintenance cost, high transaction clearing cost, low information safety degree and the like, so that a scheme for enabling market participants to conduct spontaneous management on the transaction by adopting a block chain technology is provided.
Due to the remarkable characteristics of decentralized storage of block chains, high information transparency, autonomy, difficulty in information tampering, anonymity and the like, the method has been widely recognized and used to a certain degree in the financial field, and the application field is continuously expanded to other fields such as medical treatment, internet of things, logistics and the like. In the aspect of power bilateral transaction, if the block chain technology is properly applied, the power bilateral transaction can be more transparently, safely and efficiently carried out.
Disclosure of Invention
The present invention provides a power bilateral transaction system based on a blockchain technology, and aims to solve at least one of the technical problems in the prior art or the related art.
In order to solve the above technical problem, the present invention provides an electric power transaction system based on a block chain technology, including: the electric power trading center platform provides trading declaration and confirmation functions for both trading parties, and allows users to declare power consumption and electricity price through the function of the trading declaration; and the block processing module is used for packaging the transaction information realized by declaration and confirmation through the electric power transaction center platform into a new block and storing the new block into a bottom layer block chain, wherein the transaction information comprises at least one of contract addresses of both transaction parties, an encrypted value corresponding to the addresses, transaction information and a platform operation log.
Preferably, the electric power transaction system further includes: and the intelligent contract module calls the intelligent contract module to require the first user to carry out private key signature after the first user initiates a power purchase request through the power trading center platform, and requires the second user to carry out private key signature after the second user confirms the power purchase request through the power trading center platform.
Preferably, the electric power transaction system further includes: the safety checking module is used for checking the safety of the power grid according to a certain rule and judging whether the transaction can be carried out or not;
preferably, the electric power transaction system further includes: and the power flow planning module is used for calculating the optimal power flow for the achieved transaction so as to plan the power flow of the power transmission line.
Another electric power transaction system of the present invention includes: the electric power trading center platform provides trading declaration and confirmation functions for both trading parties, and allows users to declare power consumption and electricity price through the function of the trading declaration; and the intelligent contract module calls the intelligent contract module to require the first user to carry out private key signature after the first user initiates a power purchase request through the power trading center platform, and requires the second user to carry out private key signature after the second user confirms the power purchase request through the power trading center platform, and the intelligent contract module automatically transfers the transaction confirmed value from the account of the first user into the account of the second user after the transaction is successful.
The invention relates to a power distribution system based on a block chain technology, which comprises: the distribution center platform provides reporting and confirming functions to allow a user to report and confirm the electricity consumption;
the intelligent contract module calls the intelligent contract module to require the first user to carry out private key signature after the first user initiates a distribution request through the distribution center platform, and requires the second user to carry out private key signature after the second user confirms the distribution request through the electric power trading center platform; and after the intelligent contract module completes the contract for the allocation, the block processing module packs the allocation information into a new block and stores the new block into a bottom layer block chain, wherein the allocation information comprises at least one of contract addresses of the first user and the second user, an encryption value corresponding to the addresses, allocation information and a platform operation log.
Another power distribution system of the present invention includes: the distribution center platform provides reporting and confirming functions to allow a user to report and confirm the electricity consumption; and the intelligent contract module calls the intelligent contract module to request the first user to carry out private key signature after the first user initiates a distribution request through the distribution center platform, and requests the second user to carry out private key signature after the second user confirms the distribution request through the electric power trading center platform, and the intelligent contract module automatically judges that the contract between the first user and the second user is completed after the second user succeeds in the private key signature.
Preferably, the power distribution system further comprises: and the safety checking module is used for checking the safety of the power grid according to a certain rule and judging whether the distribution can be carried out or not.
The power transaction system based on the blockchain technology preferably provides three transaction modes, namely bilateral negotiation transaction, centralized match transaction and listing transaction, for a power transaction center, a power consumer (including a power selling company), a power selling party (a power generation company) and a power transmission party (a power transmission company). Allowing for years of trading, annual trading, quarterly trading, monthly trading, weekly trading, and day-ahead (spot) trading.
Preferably, after the transmission company in the security check module completes the power grid security check, the system performs qualification judgment on both transaction parties, and the judgment process comprises the following steps: checking whether the addresses of the electricity seller and the buyer are legal or not, whether both parties have the qualification for completing the transaction or not and whether the transaction conforms to the contract regulation of the platform or not, judging whether the transaction is legal or not after the completion, and if the transaction is qualified, judging that the transaction is legal and passing the transaction; otherwise, the transaction is illegal and rejected.
Preferably, the distributed storage system stores a blank transaction protocol, a complete transaction protocol and a hash value corresponding to the protocol. The transaction information includes transaction amount, transaction price, transaction time, and the like. Meanwhile, the information of the operation and maintenance log of the platform is also saved, and the record of the operation and maintenance log of the platform comprises the collection and payment condition, the electricity price fluctuation and the internal access record.
Preferably, the flow planning module considers that a great amount of interactive operations in the system possibly cause flow out-of-limit and blocking during peak trading with the increase of system participating nodes, calculates the optimal flow by comprehensively considering the line safety constraint and cost problem in the power distribution network, preferentially adopts the most reasonable scheme to plan the flow of the line, and simultaneously relieves the load pressure of the line by adjusting the trading price, avoids the blocking of the line and minimizes the cost of blocking management.
Preferably, in the block processing module, when the transaction information reaches a certain amount, the checked transaction information of the legal electric energy transaction is packaged to generate a new block; after receiving the new blocks and verifying the consistency according to a set consensus mechanism, the block processing modules of a plurality of local terminals accessing the same block chain network serially connect the new blocks to the bottom layer block chain (namely, a distributed storage system).
Preferably, the power transaction is made by digital currency issued by the platform, by which the user can complete any legitimate transaction within the platform, and the identity carried by the digital currency can be recorded and tracked by blockchain techniques.
The technical scheme provided by the embodiment of the invention ensures that the bilateral electric power transaction and matching are more transparent, safer and more efficient.
Effects of the invention
The electric power transaction system based on the block chain technology is used for ensuring the safety, reliability and privacy of bilateral transaction, stimulating electric power consumers to become electric power producers and consumers, reducing the loss in electric power transmission, reducing the cost, realizing the spontaneous self-use of electric energy and bilateral transaction of residual electricity, improving the reliability of power supply and activating the vitality of an electric power market. If the electric energy produced by the power generation user A is remained while meeting the own power utilization requirement, and the electric energy produced by the power generation user B cannot meet the own power utilization requirement, the two parties can carry out bilateral decentralized transaction; the bilateral transaction is connected through a blockchain network, the two parties can store the protocol in the blockchain after reaching the agreement, the protocol is automatically executed after the execution time of the protocol is reached, personnel participation and center control are not needed, and the privacy of the transaction is ensured; the transaction records are stored in the block chain, and each user can find the transaction records and is difficult to tamper, so that the security of the transaction is ensured, and meanwhile, the trust problem of both parties of the transaction is solved; the transaction is carried out by adopting a new electronic currency, so that better settlement is realized.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram illustrating an overall configuration of a power bilateral transaction system according to a first embodiment of the present invention;
FIG. 2 is a block diagram of the platform interacting with a user according to the first embodiment of the present invention;
FIG. 3 is an interaction flow diagram of a power bilateral transaction system in accordance with a first embodiment of the present invention;
FIG. 4 is a flowchart of the power transaction record information saving according to the first embodiment of the present invention;
fig. 5 is a flow chart of the power flow calculation planning in the first embodiment of the invention;
FIG. 6 is a schematic diagram of a power bilateral matching system according to a second embodiment of the present invention;
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
[ first embodiment ] to provide a liquid crystal display device
A first embodiment of the present invention provides an electric power bilateral transaction system based on a blockchain technique, as shown in fig. 1, the electric power bilateral transaction system 1 of the present embodiment includes:
the electric power trading center platform 10 provides trading declaration and confirmation functions for both trading parties, and allows users to declare power consumption and electricity price through the function of the trading declaration. The electric power trading center platform 10 is mainly responsible for market admission management and reliable trading information release, can be opened to users of clean energy power stations such as photovoltaic power generation and the like in the future, and provides three trading modes of bilateral negotiation trading, centralized match trading and listing trading for electric power users (including power selling companies), power selling parties (power generating companies) and power transmitting parties (power transmitting companies). Allowing for years of trading, annual trading, quarterly trading, monthly trading, weekly trading, and day-ahead (spot) trading.
The intelligent contract module 11, after a first user initiates an electricity purchasing request through the electricity trading center platform, the electricity trading center platform calls the intelligent contract module to request the first user to perform private key signature, and after a second user confirms the electricity purchasing request through the electricity trading center platform, the intelligent contract module requests the second user to perform private key signature.
And the safety checking module 12 is used for checking the safety of the power grid according to a certain rule and judging whether the transaction can be carried out. In the invention, the power transmission company checks the safety of the power grid according to a certain rule, and the safety checking module 12 judges whether the transaction can be carried out. After the transmission company completes the safety check of the power grid, the safety check module 12 performs qualification judgment on both transaction parties, and the judgment process comprises the following steps: checking whether the addresses of the electricity seller and the buyer are legal or not, whether both parties have the qualification for completing the transaction or not and whether the transaction conforms to the contract regulation of the platform or not, judging whether the transaction is legal or not after the completion, and if the transaction is qualified, judging that the transaction is legal and passing the transaction; otherwise, the transaction is illegal and rejected. It is noted that the security check module 12 is shown in fig. 1, but the security check function may also be included in the intelligent contract module 11.
And the power flow planning module 13 is used for calculating the optimal power flow for the achieved transaction so as to plan the power flow of the power transmission line. In the invention, the power flow planning module 13 calculates the optimal power flow by integrating the problems of the line safety constraint and the cost in the power distribution network, preferentially adopts the most reasonable scheme to plan the power flow of the line, and simultaneously can relieve the load pressure of the line by adjusting the transaction price to avoid the line blockage.
And the block processing module 14 is used for packaging the transaction information realized by declaration and confirmation through the electric power transaction center platform into a new block and storing the new block into a bottom layer block chain, wherein the transaction information comprises a value obtained according to at least one of contract addresses of both transaction parties, an encrypted value corresponding to the addresses, the transaction information and a platform operation log.
The distributed storage system 15, namely a block chain, is used for storing the contract addresses of both sides of the trade, the encrypted hash value corresponding to the addresses, the trade information and the platform operation log; the distributed storage system stores a blank transaction protocol, a complete transaction protocol and a hash value corresponding to the protocols. The transaction information includes transaction amount, transaction price, transaction time, and the like. Meanwhile, the information of the operation and maintenance log of the platform is also saved, and the record of the operation and maintenance log of the platform comprises the collection and payment condition, the electricity price fluctuation and the internal access record.
Fig. 2 is a framework diagram of platform and user interaction in the first embodiment of the present invention, and fig. 3 is an interaction flowchart of the first embodiment. Referring to fig. 2 and 3, the user B initiates a transaction to the user a through the account address by using the electricity trading center platform 10 (step S11 in fig. 3). The electric power trading center platform 10 accesses the intelligent contract module 11 and calls a 'purchase' function of the intelligent contract, wherein the calling requires the user B to carry out private key signature and carries the number of purchases, the price and the trading time parameter. The user a receives the transaction request, and if the transaction is confirmed, the power transaction center platform 10 accesses the intelligent contract module 11 to call the "confirmation" function of the intelligent contract, and the call requires the user a to perform private key signature (step S12). The transaction is concluded by this. After the transaction is concluded, the security check module 12 starts to determine whether the transaction meets the requirements of price control (step S13) and security check (step S14), the transaction meeting the requirements can be smoothly performed (step S15), the transaction not meeting the requirements is cancelled, and the users of both parties are informed of the places where the transaction does not meet the requirements.
It should be noted that, here, the users a and B are both platform users and also power generation parties, but the power generated by the user B is not self-sufficient and needs to purchase power from the user a, so the users a and B are finally converted into power selling parties and power purchasing parties in the transaction, and certainly, when the power generated by the user a is insufficient and power needs to be purchased from the user B, the users a and B are converted into power purchasing parties and power selling parties, respectively.
Fig. 4 is a flowchart of the power transaction record information saving according to the first embodiment of the present invention. Referring to fig. 4, the process of storing the electric power transaction record information in the transaction process is as follows: the blank transaction protocol itself has a hash value, in this embodiment, a hash operation is performed on a combination of the transaction amount, the transaction price, the transaction time, and the random number to obtain a hash value (S101), after the transaction is concluded, the transaction amount, the transaction price, and the transaction time are determined, meanwhile, according to the rule of the block chain, a random number is added, and after the hash values of these parameters are determined, a hash operation is performed to obtain a hash value of the complete transaction protocol (S102). In the transaction, the user A, B signs the transaction protocol with a private key and attaches a public key (S103). Then, a hash operation is performed again to obtain a hash value of the transaction protocol with the public key and the private key of both parties (S104), and finally, the hash value is uploaded to the block chain as a record information to be permanently stored (S105).
In this embodiment, the packing of the transaction information into a new block and placing the new block into the underlying block chain may be performed through the following steps: (1) and monitoring the broadcast of all other nodes in the bitcoin network, and judging whether the latest block is replayed or not. If not, the relay forwards the transaction to other nodes; (2) putting the transaction successfully verified in the step 1 into a local memory transaction pool, if the replay of the new block is monitored in the process, putting the packaged transaction back into the local memory transaction pool by the node, and removing the corresponding transaction in the new block from the local memory transaction pool; (3) packing the weight from high to low into a block body one by one according to the transaction weight; the highest weighted transaction is prioritized, and the weight of the transaction depends on three factors: 1) the earlier the transaction creation time; 2) the larger the transaction UTXO size; 3) the higher the transaction fee, the greater the weight.
When the transaction is concluded, the electric power bilateral transaction system 1 provides a power transmission party with a power flow planning scheme of a power transmission line, and fig. 5 is a flow chart of power flow calculation planning in the first embodiment of the present invention. Referring to fig. 5, the planning scheme for load flow calculation can be completed through the following steps: (1) calculating the power change: (2) and (3) calculating the network loss: calculating the network loss by using a Newton-Raphson method power flow in a rectangular coordinate form to solve and form a node admittance matrix Y; setting an initial value U for each node voltage; solving a constant term vector of a correction equation; substituting the initial value of the node voltage into a formula to obtain the elements of the Jacobian matrix; solving a correction equation and solving a correction vector; solving a new value of the node voltage; checking whether convergence occurs or not, if not, restarting to perform narrow iteration from step 3 by taking the new value of each node voltage as an initial value, and otherwise, turning to the next step; and calculating branch power distribution, PV node reactive power and balance node column input power.
The correction equation set is as follows:
ΔW=-JΔU
Figure BDA0002386598790000071
Figure BDA0002386598790000072
according to the power flow iterative algorithm, an active loss table (a part which can be converged and a part which can not be converged are regarded as a line error, and the loss is overlarge) corresponding to different node access powers in each time period can be obtained. Under the range, calculating to obtain a network loss range; then, the network loss range is narrowed, and the network loss is considered to be smaller in the network loss range, namely the target of smaller network loss is met; then, reversely deducing the number range of the lines corresponding to the network loss range after the reduction processing; (3) and (3) calculating the cost: obtaining the spending range according to the number range in the step (2), thereby obtaining the optimal solution with the minimum spending; (4) and (3) an optimal power flow planning scheme taking the optimal solution as a target (the active network loss and the total transmission cost of the power grid are minimum). When the load of the power grid is overlarge, the load pressure can be relieved by adjusting the electric power transaction price, and the blockage is reduced.
[ second embodiment ]
FIG. 6 is a schematic diagram of an embodiment of a power bilateral matching system of the present invention. Here, in the following description including fig. 6, the same constituent structures as those of the above-described first embodiment are given the same reference numerals, and overlapping description is omitted hereinafter.
A second embodiment of the present invention provides an electric power bilateral matching system based on a block chain technology, as shown in fig. 1, an electric power bilateral matching system 2 of the present embodiment includes:
the distribution center platform 20 provides a power utilization gap declaration and confirmation function, and allows a user to declare power consumption and electricity price through the gap declaration function. The distribution center platform 20 of the present embodiment is an internal demand reporting platform of a large power generation group, and provides power utilization gap reporting and scheduling distribution functions for each power generation station in the group.
The intelligent contract module 21, after a first user declares a gap through the distribution center platform 20 and initiates a distribution request, the distribution center platform 20 calls the intelligent contract module 21 to request the first user to perform private key signature, and after a second user confirms the distribution request through the distribution center platform 20, the intelligent contract module requests the second user to perform private key signature.
And the safety checking module 22 is used for checking the safety of the power grid according to a certain rule and judging whether the distribution can be carried out or not. In the invention, the power transmission network automatically checks the safety of the power grid according to a certain rule, and the safety checking module 12 judges whether the transaction can be carried out. After the transmission company completes the safety check of the power grid, the safety check module 12 judges the qualification of both distribution parties, and if the qualification is qualified, the both distribution parties pass; otherwise, the allocation is rejected. Note that the security check module 12 is shown in fig. 6, but the security check function may be included in the smart contract module 21.
The block processing module 24 packages the allocation information obtained by performing gap declaration and confirmation by the allocation center platform 20 into a new block, and stores the new block into the underlying block chain, wherein the allocation information includes a value obtained according to at least one of a contract address, an encrypted value corresponding to the address, allocation information, and a platform operation log of the two allocation parties.
Therefore, the power distribution system based on the block chain technology is used for ensuring the safety, reliability and privacy of bilateral transaction of the internal distribution property of the group, realizing spontaneous self-use of electric energy and bilateral distribution transaction of residual electricity, improving the power supply reliability and activating the power market vitality. If the electric energy produced by the power generation user A is remained while meeting the own power utilization requirement, and the electric energy produced by the power generation user B cannot meet the own power utilization requirement, the two parties can carry out bilateral decentralized transaction; the bilateral transaction is connected through a blockchain network, the two parties can store the protocol in the blockchain after reaching the agreement, the protocol is automatically executed after the execution time of the protocol is reached, personnel participation and center control are not needed, and the privacy of the transaction is ensured; the transaction records are stored in the block chain, and each user can find the transaction records and is difficult to tamper, so that the security of the transaction is ensured, and meanwhile, the trust problem of both parties of the transaction is solved.
The electric bilateral transaction system and the distribution and distribution system of the present invention have been described above, and in the present invention, various transactions can be completed using digital money (token for short) issued by the etherhouse, and the implementation of the token complies with the ERC20 token standard defined by the etherhouse, such as specifying the name and amount of the token, implementing the token transaction function, etc., and can only be supported by the etherhouse wallet if a protocol is supported. Contract code for tokens is written by identity and deployment of intelligent contracts is accomplished using MetaMask. After creation and deployment, the tokens may be used to conduct transactions.
In the invention, the distributed storage system can use metadata-free management, a hash algorithm is adopted to locate the position of the data, the key to be stored is mapped to a new hash value, then an index is established, the input parameter is data path information, and the expansibility is good. Meanwhile, in order to simplify the query of the directory tree, the first 8 bytes of the MD5(key) are used as the indexed key, so that the random length key can be reduced to 8 bytes, and the collision probability can be controlled to be small within a certain range. The distributed system stores contract addresses of both transaction parties, encrypted hash values corresponding to the addresses, transaction information and platform operation logs. The platform operation log also comprises the current transaction amount, the transaction success number, the platform balance, the electricity price floating and the internal access record.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. An electric power transaction system based on block chain technology, comprising:
the electric power trading center platform provides trading declaration and confirmation functions for both trading parties, and allows users to declare power consumption and electricity price through the function of the trading declaration;
and the block processing module is used for packaging the transaction information realized by declaration and confirmation through the electric power transaction center platform into a new block and storing the new block into a bottom layer block chain, wherein the transaction information comprises a value obtained according to at least one of contract addresses of both transaction parties, an encrypted value corresponding to the addresses, the transaction information and a platform operation log.
2. A power trading system as claimed in claim 1, further comprising:
and the intelligent contract module calls the intelligent contract module to require the first user to carry out private key signature after the first user initiates a power purchase request through the power trading center platform, and requires the second user to carry out private key signature after the second user confirms the power purchase request through the power trading center platform.
3. A power trading system as claimed in claim 2, further comprising:
and the safety checking module is used for checking the safety of the power grid according to a certain rule and judging whether the transaction can be carried out.
4. A power trading system as claimed in claim 1, further comprising:
and the power flow planning module is used for calculating the optimal power flow for the achieved transaction so as to plan the power flow of the power transmission line.
5. An electric power transaction system, comprising:
the electric power trading center platform provides trading declaration and confirmation functions for both trading parties, and allows users to declare power consumption and electricity price through the function of the trading declaration;
and the intelligent contract module calls the intelligent contract module to require the first user to carry out private key signature after the first user initiates a power purchase request through the power trading center platform, and requires the second user to carry out private key signature after the second user confirms the power purchase request through the power trading center platform, and the intelligent contract module automatically transfers the transaction confirmed value from the account of the first user into the account of the second user after the transaction is successful.
6. A power distribution system based on a blockchain technique, comprising:
the distribution center platform provides a gap declaration and confirmation function to allow a user to declare and confirm the power consumption gap amount;
the intelligent contract module calls the intelligent contract module to require the first user to carry out private key signature after the first user initiates a distribution request through the distribution center platform, and requires the second user to carry out private key signature after the second user confirms the distribution request through the electric power trading center platform; and
and after the intelligent contract module completes the contract for the allocation, the block processing module packs the allocation information into a new block and stores the new block into a bottom layer block chain, wherein the allocation information comprises a value obtained according to at least one of contract addresses of the first user and the second user, an encryption value corresponding to the addresses, allocation information and a platform operation log.
7. An electrical power distribution system, comprising:
the distribution center platform provides a gap declaration and confirmation function to allow a user to declare and confirm the power consumption gap amount;
and the intelligent contract module calls the intelligent contract module to request the first user to carry out private key signature after the first user initiates a distribution request through the distribution center platform, and requests the second user to carry out private key signature after the second user confirms the distribution request through the electric power trading center platform, and the intelligent contract module automatically judges that the contract between the first user and the second user is completed after the second user succeeds in the private key signature.
8. The power distribution system of claim 6 or 7, further comprising:
and the safety checking module is used for checking the safety of the power grid according to a certain rule and judging whether the distribution can be carried out or not.
9. The power distribution system of claim 6 or 7, further comprising:
and the power flow planning module is used for calculating the optimal power flow for the achieved distribution so as to plan the power flow of the power transmission line.
CN202010099879.5A 2020-02-18 2020-02-18 Electric power bilateral transaction system based on block chain technology Pending CN111260450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010099879.5A CN111260450A (en) 2020-02-18 2020-02-18 Electric power bilateral transaction system based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010099879.5A CN111260450A (en) 2020-02-18 2020-02-18 Electric power bilateral transaction system based on block chain technology

Publications (1)

Publication Number Publication Date
CN111260450A true CN111260450A (en) 2020-06-09

Family

ID=70947393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010099879.5A Pending CN111260450A (en) 2020-02-18 2020-02-18 Electric power bilateral transaction system based on block chain technology

Country Status (1)

Country Link
CN (1) CN111260450A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112862610A (en) * 2021-02-26 2021-05-28 同济大学 Active energy body community P2P + power transaction method
CN113271329A (en) * 2020-12-28 2021-08-17 上海能链众合科技有限公司 Integrated service method for power demand response based on block chain
CN113505336A (en) * 2021-07-01 2021-10-15 昆明电力交易中心有限责任公司 Renewable energy power consumption tracing system and method based on block chain technology
CN113988956A (en) * 2021-12-23 2022-01-28 华中科技大学 Intelligent contract-based method and system for connecting long-term transaction in electric power spot market
CN115641210A (en) * 2022-10-31 2023-01-24 贵州电网有限责任公司信息中心 Electric power transaction storage method, device, equipment and storage medium
CN116308802A (en) * 2023-05-15 2023-06-23 广东电网有限责任公司东莞供电局 Intelligent contract-based power transaction method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107688944A (en) * 2017-07-21 2018-02-13 杭州云象网络技术有限公司 A kind of power system method of commerce based on block chain
CN108548207A (en) * 2018-04-15 2018-09-18 黄晓峰 A kind of urban area heating system based on block chain
CN109377411A (en) * 2018-10-29 2019-02-22 南方电网科学研究院有限责任公司 Electricity market based on block chain concentrates trade matching method and device
CN109615427A (en) * 2018-12-07 2019-04-12 广州市哲明惠科技有限责任公司 A kind of energy interactive system and method based on chain structure
CN110223062A (en) * 2019-04-24 2019-09-10 中国南方电网有限责任公司 Distributed power transaction system and method based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107688944A (en) * 2017-07-21 2018-02-13 杭州云象网络技术有限公司 A kind of power system method of commerce based on block chain
CN108548207A (en) * 2018-04-15 2018-09-18 黄晓峰 A kind of urban area heating system based on block chain
CN109377411A (en) * 2018-10-29 2019-02-22 南方电网科学研究院有限责任公司 Electricity market based on block chain concentrates trade matching method and device
CN109615427A (en) * 2018-12-07 2019-04-12 广州市哲明惠科技有限责任公司 A kind of energy interactive system and method based on chain structure
CN110223062A (en) * 2019-04-24 2019-09-10 中国南方电网有限责任公司 Distributed power transaction system and method based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘妍 等: "基于区块链技术的大用户直购电模式实现研究", vol. 16, no. 7, pages 94 - 100 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271329A (en) * 2020-12-28 2021-08-17 上海能链众合科技有限公司 Integrated service method for power demand response based on block chain
CN113271329B (en) * 2020-12-28 2024-03-15 上海零数众合信息科技有限公司 Block chain-based integrated service method for power demand response
CN112862610A (en) * 2021-02-26 2021-05-28 同济大学 Active energy body community P2P + power transaction method
CN113505336A (en) * 2021-07-01 2021-10-15 昆明电力交易中心有限责任公司 Renewable energy power consumption tracing system and method based on block chain technology
CN113505336B (en) * 2021-07-01 2022-10-21 昆明电力交易中心有限责任公司 Renewable energy power consumption tracing system and method based on block chain technology
CN113988956A (en) * 2021-12-23 2022-01-28 华中科技大学 Intelligent contract-based method and system for connecting long-term transaction in electric power spot market
CN115641210A (en) * 2022-10-31 2023-01-24 贵州电网有限责任公司信息中心 Electric power transaction storage method, device, equipment and storage medium
CN116308802A (en) * 2023-05-15 2023-06-23 广东电网有限责任公司东莞供电局 Intelligent contract-based power transaction method, device, equipment and storage medium
CN116308802B (en) * 2023-05-15 2023-10-31 广东电网有限责任公司东莞供电局 Intelligent contract-based power transaction method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111260450A (en) Electric power bilateral transaction system based on block chain technology
CN107909358B (en) Energy settlement method, device and system
JP7157616B2 (en) Control method, controller and power trading system
EP3819850A1 (en) Method and device for data processing based on blockchain
CN111127168A (en) Photovoltaic financing leasing method and system based on block chain and storage medium
JP7157615B2 (en) Control method, controller and power trading system
CN109816361B (en) Block chain signature transfer method without mineral expense
JP6979736B2 (en) Token exchange method and blockchain system based on public chain
KR20220136998A (en) Blockchain-based green certificate transaction system
CN111951106A (en) Data transaction system and method based on block chain intelligent contract technology
JP7341304B2 (en) Control method
CN113379485B (en) Hash algorithm and secondary quotation-based demand response bidding transaction method and system
CN104838407A (en) Electronic certificate generating device and system
CN110533405A (en) Information processing method, device, system and the storage medium of cross-border mobile payment
CN109636610A (en) A kind of data transacting system and method for decentralization
CN112365330A (en) Transaction method of renewable distributed energy uniform price two-way auction based on super account book
CN113643131A (en) Microgrid distributed energy trading method and system based on block chain
CN113706312A (en) Photovoltaic electricity transaction method and device based on block chain
Yang et al. A double-chain blockchain with economic attributes and network constraints of prosumer transactions
CN111815444B (en) Block chain transaction method, electronic device and storage medium
CN113065960A (en) Transaction system based on block chain
CN113626876A (en) Consensus method based on power grid block chain
CN116452332A (en) Power transaction data management method, system, terminal and storage medium
Lu et al. Blockchain-based direct-sale transaction with peak shaving and green certificate mechanism
CN109034824A (en) A kind of intelligence block chain electric power interacted system

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