CN114529376A - Energy exchange data processing method and device, computer equipment and storage medium - Google Patents

Energy exchange data processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114529376A
CN114529376A CN202210424037.1A CN202210424037A CN114529376A CN 114529376 A CN114529376 A CN 114529376A CN 202210424037 A CN202210424037 A CN 202210424037A CN 114529376 A CN114529376 A CN 114529376A
Authority
CN
China
Prior art keywords
energy
information
bidding
contract
resources
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
CN202210424037.1A
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.)
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute Co Ltd
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 Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202210424037.1A priority Critical patent/CN114529376A/en
Publication of CN114529376A publication Critical patent/CN114529376A/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
    • G06Q30/08Auctions
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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 application relates to an energy exchange data processing method, an energy exchange data processing device, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining energy supply information and energy bid information, conducting bid matching between energy supply demanders according to the energy supply information and the energy bid information, broadcasting a bid matching result of each round, respectively sending energy payment resources and energy return resources to the energy demanders and the energy suppliers which are successful in bid matching, receiving the energy payment resources sent by the energy demanders through calling energy utilization contracts, when ownership verification of the energy payment resources is passed, determining the amount of the exchangeable energy resources according to the energy payment resources, sending energy release information carrying the amount of the exchangeable energy resources to an energy storage party, indicating the energy storage party to release energy with the amount of the exchangeable energy resources to the energy demanders, and updating an energy block chain account book. By adopting the method, the safety of data processing in the energy transaction process can be improved.

Description

Energy exchange data processing method and device, computer equipment and storage medium
Technical Field
The application relates to the technical field of power grids, in particular to an energy exchange data processing method, an energy exchange data processing device, computer equipment and a storage medium.
Background
Renewable energy is green low-carbon energy, is an important component of a world low-carbon development energy supply system, and has important significance for improving energy structure, protecting ecological environment, coping with climate change and realizing sustainable development of economy and society. Smart grids integrate renewable energy and require point-to-point energy sales through local energy markets.
However, the energy transaction process of the current smart grid energy management framework is lack of transparency and low in security, and energy demanders and energy suppliers face the problems of lack of verification of energy distribution, single-point failure of energy data management, user privacy data, non-incentive transaction, lack of trust in energy transaction and the like, and cannot confirm that a centralized system can safely process energy related data and financial data. Therefore, the problem that the safety of data processing is not high exists in the energy transaction process of the current smart grid energy management frame.
Disclosure of Invention
In view of the above, there is a need to provide an energy exchange data processing method, an apparatus, a computer device and a computer readable storage medium, which can improve the security of data processing in the energy transaction process.
In a first aspect, the application provides an energy exchange data processing method. The method is applied to an energy block chain, and the energy block chain is deployed with an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract, and the method comprises the following steps:
acquiring energy supply information and energy bidding information, wherein the energy supply information is generated based on an energy injection contract, and the energy bidding information is generated based on an energy bidding contract;
executing an energy exchange contract, performing bidding matching between energy supply and demand parties according to energy supply information and energy bidding information, broadcasting bidding matching results of each round, sending energy payment resources to energy demand parties with successful bidding matching, and sending energy return resources to energy supply parties with successful bidding matching;
receiving energy payment resources sent by an energy demand party through an energy utilization contract;
and when the ownership of the energy payment resources passes verification, determining the amount of the exchangeable energy resources according to the energy payment resources, sending an energy release message carrying the amount of the exchangeable energy resources to an energy storage party, and updating an energy block chain account book.
In one embodiment, obtaining the energy supply information includes:
receiving a power generation message sent by an energy supplier through a calling energy injection contract, wherein the power generation message carries energy injection information;
when the energy supplier is verified to finish energy injection aiming at the energy storage party according to the energy injection information, executing an energy injection contract, and sending energy payment resources to the energy supplier according to the energy injection information;
and when the energy payment resource acquisition message fed back by the energy supplier is received, the energy stock is sorted based on the energy injection information to obtain the energy supply information.
In one embodiment, the energy inventory is organized based on the energy injection information, and obtaining the energy supply information comprises:
verifying whether the energy injection information is correct;
and if the energy injection information is correct and correct, counting the total energy amount which can be used for energy exchange data processing to obtain energy supply information.
In one embodiment, obtaining the energy bidding information comprises:
receiving energy demand information sent by an energy demand party through a calling energy bidding contract;
executing an energy bidding contract;
and collecting and arranging the energy demand information of the energy demand party to obtain energy bidding information.
In one embodiment, the bidding matching between the energy supply demanders according to the energy supply information and the energy bidding information comprises:
and performing bidding matching between the energy supply demand parties according to the energy supply information and the energy bidding information by a Vickers auction method.
In one embodiment, the performing ownership verification on the energy payment resource comprises:
acquiring public key data of an energy demand party;
verifying the digital signature of the energy payment resource according to the public key data;
and if the digital signature passes the verification, judging that the energy payment resource passes the ownership verification.
In a second aspect, the application further provides an energy exchange data processing device. The device is applied to an energy block chain, and the energy block chain is provided with an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract, and the device comprises:
the bidding matching module is used for executing the energy exchange contract, performing bidding matching between the energy supply and demand parties according to the energy supply information and the energy bidding information, broadcasting the bidding matching result of each round, sending the energy payment resource to the energy demand party with successful bidding matching, and sending the energy return resource to the energy supply party with successful bidding matching;
the energy payment resource receiving module is used for receiving energy payment resources sent by an energy demander through an energy utilization contract in the energy supply and demand party;
and the energy release module is used for determining the amount of the exchangeable energy resources according to the energy payment resources when the ownership of the energy payment resources passes the verification, sending an energy release message carrying the amount of the exchangeable energy resources to the energy storage party, and updating the energy block chain account book.
In a third aspect, the present application also provides a computer device. The computer device is applied to a chain of energy blocks, the chain of energy blocks is deployed with an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract, the computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring energy supply information and energy bidding information, wherein the energy supply information is generated based on an energy injection contract, and the energy bidding information is generated based on an energy bidding contract;
executing an energy exchange contract, performing bidding matching between energy supply and demand parties according to energy supply information and energy bidding information, broadcasting bidding matching results of each round, sending energy payment resources to energy demand parties with successful bidding matching, and sending energy return resources to energy supply parties with successful bidding matching;
receiving energy payment resources sent by an energy demand party through an energy utilization contract;
and when the ownership of the energy payment resources passes verification, determining the amount of the exchangeable energy resources according to the energy payment resources, sending an energy release message carrying the amount of the exchangeable energy resources to an energy storage party, and updating an energy block chain account book.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer readable storage medium applied to a chain of energy blocks, the chain of energy blocks having deployed thereon a contract for energy injection, a contract for energy bidding, a contract for energy redemption, and a contract for energy utilization, the computer readable storage medium having stored thereon a computer program that when executed by a processor performs the steps of:
acquiring energy supply information and energy bidding information, wherein the energy supply information is generated based on an energy injection contract, and the energy bidding information is generated based on an energy bidding contract;
executing an energy exchange contract, performing bid matching between energy supply and demand parties according to the energy supply information and the energy bidding information, broadcasting a bid matching result of each round, sending energy payment resources to energy demand parties successfully matched in bid matching, and sending energy return resources to energy supply parties successfully matched in bid matching;
receiving energy payment resources sent by an energy demand party through an energy utilization contract;
and when the ownership of the energy payment resources passes verification, determining the amount of the exchangeable energy resources according to the energy payment resources, sending an energy release message carrying the amount of the exchangeable energy resources to an energy storage party, and updating an energy block chain account book.
The energy exchange data processing method, the energy exchange data processing device, the computer equipment and the storage medium acquire energy supply information and energy bid information, then execute an energy exchange contract, perform bid matching between energy supply demanders, respectively send energy payment resources and energy return resources to the energy demanders and the energy suppliers, receive the energy payment resources sent by the energy demanders through an energy utilization contract, and after the ownership of the energy payment resources is verified, send energy release information carrying the exchangeable energy resource amount to the energy storage demanders, so that the energy storage demanders release energy equal to the exchangeable energy resource amount to the energy demanders. The whole process provides a distributed trusted energy exchange data processing environment, and does not involve the participation of a third party organization, and through the cooperation of an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract, the energy injection, the energy bidding, the energy exchange data processing and the energy payment resource are all open and transparent and cannot be relied on, an energy supplier and an energy demander directly develop energy exchange through an energy source area block chain, trust between peers is established in the energy exchange process, and the security of data processing in the energy exchange process is greatly improved.
Drawings
FIG. 1 is a diagram of an exemplary energy exchange data processing method;
FIG. 2 is a schematic flow chart diagram of a method for processing energy exchange data according to an embodiment;
FIG. 3 is a flowchart illustrating the step of obtaining energy supply information according to one embodiment;
FIG. 4 is a schematic diagram of a scenario interaction of a method for processing energy exchange data in another embodiment;
fig. 5 is a block diagram showing the structure of an energy exchange data processing device according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein the energy supplier 102 and the energy demander 104 communicate with the energy block chain 106 via a network. Specifically, the user may perform an operation at a node/terminal, such that the energy supplier 102 sends energy supply information to the energy block chain 106 through an energy injection contract, the energy demander 104 sends energy demand information to the energy block chain 106 through a call of an energy bidding contract, then, an energy conversion contract is executed, a bidding match is performed between the energy supplier 102 and the energy demander 104, a bidding match result is broadcast in each bidding match, an energy payment resource is sent to the energy demander 104 who has successfully bid the matching, an energy return resource is sent to the energy supplier 102 who has successfully bid the matching, then, the energy payment resource sent by the energy demander 104 through the call of an energy utilization contract is received, when the ownership verification of the energy payment resource passes, the amount of the convertible energy resource is determined according to the energy payment resource, an energy release message carrying the amount of the convertible energy resource is sent to the energy storage 108, and updates the energy blockchain ledger, the energy release message instructing the energy repository 108 to release energy to the energy consumer 104 in an amount equal to the amount of the exchangeable energy resource. In practice, the energy repository 108 is exemplified by a grid operator, which delivers power to the energy consumers 104 via a grid storage and transmission network. The energy supplier 102, the energy demander 104, and the energy blockchain 106 may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The energy block chain 106 may also be implemented as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, an energy exchange data processing method is provided, which is described by taking the method as an example applied to the energy source block chain in fig. 1, and includes the following steps:
step 202, acquiring energy supply information and energy bidding information, wherein the energy supply information is generated based on an energy injection contract, and the energy bidding information is generated based on an energy bidding contract.
The energy supply information includes an energy amount available to each energy supplier for energy conversion data processing, an energy type including wind energy, photovoltaic energy, tidal energy, and the like, and an address of the energy supplier, which may be a power producer of distributed renewable energy, including RESS (rechargeable energy storage system) such as a solar panel or a wind turbine system, which interacts with the energy block chain through a smart meter. The energy tender information includes energy demand and an expected amount of money required by each energy demander, and the energy demand includes a type of required energy and an amount of energy. The energy demand party can be consumers of residential electricity, industrial electricity and commercial electricity, and can also be users of micro-grids of power grid enterprises or communities and the like. When the energy demand contract is implemented specifically, the energy supplier sends the energy supply information by calling the energy injection contract, and the energy demand supplier calls the energy bidding contract to send the energy demand information. It should be noted that both energy suppliers and energy demanders have a copy of the distributed ledger to maintain energy data records with additional characteristics.
And 204, executing an energy exchange contract, performing bid matching between energy supply demand parties according to the energy supply information and the energy bid information, broadcasting a bid matching result of each round, sending energy payment resources to the energy demand parties successfully matched in bid matching, and sending energy return resources to the energy supply parties successfully matched in bid matching.
The bidding matching result comprises the identity of the energy supply and demand party with successful bidding matching, the matching success time, the price data achieving consensus and the like. The energy supply and demand party with successful bidding matching refers to the energy demand party and the energy supply party which achieve a trade consensus through bidding matching in each round. An energy payment resource refers to a token that can be exchanged for energy (which may be referred to as an energy token), and an energy reward resource may be a cash token. After the energy demand information and the energy supply information are obtained, an energy exchange contract is executed, bidding matching is carried out between energy supply demand parties according to the energy supply information and the energy bid information, in the embodiment, bidirectional bidding matching can be carried out, bidding matching results are broadcast in each round of bidding matching, then, energy payment resources are sent to the energy demand parties successful in bidding matching, so that the energy demand parties can exchange required energy, energy return resources are sent to the energy supply parties successful in bidding matching, and the energy supply parties obtain return of production energy. The two-way bidding matching is to allow a plurality of energy demand parties and a plurality of energy supply parties to simultaneously bid, and as long as one party accepts the call of the other party, the two parties can complete the transaction, and one commodity is transacted each time. And then a new round of calling is started, and a plurality of trading periods can be provided, wherein the trading price is always between the initial bidding price and the initial asking price. Throughout the transaction, price information is disclosed.
In step 206, the energy source requiring party pays for the resource by calling the energy source transmitted by the energy source utilization contract.
After the energy demand party acquires the energy payment resource, the energy demand party can sign an energy utilization contract and then send the energy payment resource to the energy source block chain through the energy utilization contract so as to perform energy exchange data processing.
And step 208, when the ownership of the energy payment resource passes the verification, determining the amount of the exchangeable energy resource according to the energy payment resource, sending an energy release message carrying the amount of the exchangeable energy resource to the energy storage party, and updating the energy block chain account book.
After receiving the energy payment resource sent by the energy source demand party, the ownership of the energy payment resource needs to be verified, that is, whether the energy payment resource is sent by the energy source demand party signing the energy source utilization contract is verified, so that the error of processing energy source exchange data is avoided. After confirming that the ownership of the energy payment resource is the energy demand party who signs the energy utilization contract, the amount of the exchangeable energy resource is determined according to the energy payment resource, for example, the energy is tokenized in kilowatt-hour units, and one energy payment resource represents 1 kilowatt-hour energy to be produced in the future, namely one energy payment resource is exchanged for 1 kilowatt-hour energy. And then, sending an energy release message carrying the amount of the exchangeable energy resources to an energy storer to instruct the energy storage party to release energy with the amount equal to the amount of the exchangeable energy resources to the energy demand party, and then updating the energy block chain account book. It should be noted that, in the whole process of processing the energy exchange data, the generated energy data are updated to the energy block chain ledger in time, for example, when the energy demand is received, the energy demand is updated to the energy block chain ledger in time. The energy storage side can also become an intelligent power storage unit, is a product of combining the power grid energy storage and the output network, and can be a power grid operator. After receiving the energy release message, the grid operator releases actual energy, such as electric energy, to the energy demand party through the power transmission network in an amount equal to the amount of the exchangeable energy resource.
The energy exchange data processing method comprises the steps of obtaining energy supply information and energy bidding information, then executing an energy exchange contract, conducting bidding matching between energy supply and demand parties, sending energy payment resources and energy return resources to the energy demand party and the energy supply party respectively, receiving the energy payment resources sent by the energy demand party through an energy utilization contract, and sending energy release information carrying exchangeable energy resource quantity to the energy storage party after the ownership of the energy payment resources is verified so that the energy storage party releases energy to the energy demand party, wherein the energy release information is equal to the exchangeable energy resource quantity. The whole process provides a distributed trusted energy exchange data processing environment, and does not involve the participation of a third party organization, and through the cooperation of an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract, the energy injection, the energy bidding, the energy exchange data processing and the energy payment resource are all open and transparent and cannot be relied on, an energy supplier and an energy demander directly develop energy exchange through an energy source area block chain, trust between peers is established in the energy exchange process, and the security of data processing in the energy exchange process is greatly improved. As shown in fig. 3, in one embodiment, acquiring the energy supply information includes:
and step 222, receiving a power generation message sent by the energy supplier through the calling energy injection contract, wherein the power generation message carries energy injection information.
And 242, when the energy supplier is verified to have completed energy injection to the energy storage party according to the energy injection information, executing an energy injection contract, and sending energy payment resources to the energy supplier according to the energy injection information.
And 262, when the energy payment resource acquisition message fed back by the energy supplier is received, sorting the energy stock based on the energy injection information to obtain the energy supply information.
In practical applications, there may be a plurality of energy suppliers, each of which injects surplus energy into the smart power storage unit and then performs data exchange between the energy suppliers and the energy injection contract. The energy supplier may call an energy injection contract to send power generation information to the energy block chain, where the power generation information carries energy injection information, and the energy injection information includes an energy type of injected energy, a manufacturer address of a manufacturer, an energy type of injection, an energy injection amount, and the like. The energy block link receives the power generation information, verifies whether the energy supplier injects energy, executes an energy injection contract if the energy supplier injects energy into the energy storage party, sends energy payment resources (amount equivalent to the energy injection amount) equivalent to the energy injection amount to the energy supplier according to the energy injection amount in the energy injection information, and then maintains account energy inventory when receiving energy payment resource acquisition information fed back by each energy supplier, namely, arranges the energy injection information sent by each energy supplier based on the energy injection information to obtain the energy supply information. In this embodiment, the energy supplier sends the energy supply information by calling the energy injection contract, and can ensure the authenticity and security of the data.
In one embodiment, the sorting the energy inventory based on the energy injection information to obtain the energy supply information comprises: and verifying whether the energy injection information is correct or not, and counting the total energy amount which can be used for energy exchange data processing if the energy injection information is correct or not to obtain energy supply information.
In connection with the above embodiment, further, after the energy payment resource is sent to the energy supplier, it may be determined whether the energy injection information of the energy supplier is correct, for example, whether the manufacturer address and the energy type of the energy supplier are correct. And if the energy injection information is correct and correct, counting the total energy amount which can be used for energy exchange data processing to obtain energy supply information. Meanwhile, the verified energy injection transaction is stored in the block chain, and the energy injection transaction can be data generated in the energy injection process. In this embodiment, through further confirming energy injection information, the accuracy of data can be further improved, and the security of the subsequent energy exchange data processing process can be ensured.
In one embodiment, obtaining the energy bidding information comprises: and receiving energy demand information sent by the energy demand party calling the energy bidding contract, executing the energy bidding contract, collecting and sorting the energy demand information of the energy demand party to obtain the energy bidding information.
The acquisition of the energy bidding information may be that the energy demander starts the energy bidding program by calling an energy bidding contract, the energy demander sends the energy demand including the energy bid and the highest affordable amount of money, then, executes the energy bidding contract, collects the energy demand information of the energy demander, and obtains the energy bidding information. In this embodiment, the energy demand party calls the energy bidding contract to send the energy demand information, does not relate to the third party mechanism, can ensure the security of data.
In one embodiment, the bidding matching between the energy supply demanders according to the energy supply information and the energy bidding information comprises: and performing bidding matching between the energy supply demand parties according to the energy supply information and the energy bidding information by a Vickers auction method.
When the method is specifically implemented, the energy exchange contract conducts iterative Vickerey (Vickrey) auction between the energy supplier and the energy demander according to the energy supply information and the energy bidding information, and winners including the winning energy supplier and the winning energy demander are announced in each iterative bidding matching. In particular, the above process may be repeated after a fixed time interval to run multiple active auction processes simultaneously. In this embodiment, the default time interval for performing energy exchange is 30 minutes, and this interval may be changed according to grid policies and rules, depending on actual conditions. During each interval, the energy supplier fills the energy store with excess energy and obtains equivalent energy payment resources, and all energy suppliers and energy demanders can only provide the energy transaction details they need within the specified time interval. It will be appreciated that in other embodiments, other auction methods may be employed for bid matching.
In one embodiment, the performing ownership verification on the energy payment resource comprises: and acquiring public key data of the energy demand party, verifying the digital signature of the energy payment resource according to the public key data, and judging that the energy payment resource passes ownership verification if the digital signature passes verification.
In this embodiment, verifying the ownership of the energy payment resource may be verifying that the energy demander signs a digital signature of an energy utilization contract, and specifically, the method may include acquiring public key data of the energy demander, decrypting the digital signature of the energy payment resource according to the public key data to obtain a digital abstract, performing hash operation on an electronic piece original text to obtain another digital abstract, and if hash values of the two digital abstracts are the same, determining that the energy payment resource passes the ownership verification, where the hash values of the two digital abstracts are the same, and determining that the energy payment resource passes the ownership verification. In the embodiment, the ownership of the energy payment resource can be efficiently and accurately verified in a digital signature verification mode.
In order to more clearly explain the energy exchange data processing method provided by the present application, the following description is made with reference to a specific embodiment and fig. 4, where the embodiment is applied to an energy source block chain as an example, and includes the following steps:
step 1: the energy supplier injects energy into the intelligent power storage unit;
step 2: the method comprises the steps of exchanging data between an energy supplier and an energy injection contract, receiving power generation information (carrying energy injection information) sent by the energy supplier calling the energy injection contract, verifying that the energy supplier injects energy into intelligent electric power storage, and sending energy payment resources (equivalent to the amount of the injected energy) to the energy supplier;
and step 3: confirming energy injection information of an energy supplier, wherein the energy injection information comprises an energy supplier address, an energy type, an energy injection amount and the like;
and 4, step 4: maintaining account energy inventory, sorting the energy quantity available for energy transaction to obtain energy bidding information, and sending the energy bidding information to an energy exchange contract; storing the validated energy injection transactions in a blockchain;
and 5: the energy demand party calls an energy bidding contract, starts an energy bidding program and sends the energy demand and the expected amount;
step 6: the method comprises the steps that bids of energy transaction examples are organized through an energy bidding contract, and energy bidding requirements of the energy transaction examples are sent to an energy exchange contract; storing the energy requirement of the energy transaction instance in a block chain;
and 7: executing an energy exchange contract, carrying out bidding matching between energy supply and demand parties based on an iterative Vickrey auction method, broadcasting a bidding matching result in each bidding matching, sending energy payment resources to an energy demand party, sending energy return resources to an energy supply party, and storing transaction iteration details on an energy block chain account book;
and 8: the energy demand side signs an energy utilization contract and sends energy payment resources to the energy block chain by calling the energy utilization contract;
and step 9: verifying the ownership of the energy payment resource by verifying the digital signature of the energy utilization contract signed by the energy demander, and entering the step 10 if the ownership verification is passed;
step 10: and determining the amount of the convertible energy resources according to the energy payment resources, sending an energy release message carrying the amount of the convertible energy resources to the intelligent power storage unit to instruct the intelligent power storage unit to release energy to a corresponding energy demand party, storing transaction information in the energy block chain, and updating an energy block chain ledger.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides an energy exchange data processing device for realizing the energy exchange data processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so specific limitations in one or more embodiments of the energy exchange data processing device provided below can be referred to the limitations on the energy exchange data processing method in the foregoing, and details are not described herein again.
In one embodiment, as shown in fig. 5, there is provided an energy exchange data processing apparatus, which is applied to the energy source block chain, and includes: a data acquisition module 510, a bid matching module 520, an energy payment resource receiving module 530, and an energy release module 540, wherein:
the data obtaining module 510 is configured to obtain energy supply information and energy bidding information, where the energy supply information is generated based on an energy injection contract, and the energy bidding information is generated based on an energy bidding contract.
And the bidding matching module 520 is configured to execute an energy exchange contract, perform bidding matching between the energy supply and demand parties according to the energy supply information and the energy bidding information, broadcast a bidding matching result of each round, send the energy payment resource to the energy demand party with successful bidding matching, and send the energy return resource to the energy supply party with successful bidding matching.
And the energy payment resource receiving module 530 is configured to receive the energy payment resource sent by the energy demander through the calling energy utilization contract.
And the energy release module 540 is configured to determine the amount of the exchangeable energy resources according to the energy payment resources when the ownership of the energy payment resources passes the verification, send an energy release message carrying the amount of the exchangeable energy resources to the energy storage party, and update the energy block chain account book.
The energy exchange data processing device acquires energy supply information and energy bidding information, then executes an energy exchange contract, conducts bidding matching between energy supply demanders, respectively sends energy payment resources and energy return resources to the energy demanders and the energy suppliers, receives the energy payment resources sent by the energy demanders through the energy utilization contract, and sends energy release information carrying exchangeable energy resource quantity to the energy storage demanders after the ownership of the energy payment resources is verified, so that the energy storage demanders release energy equal to the exchangeable energy resource quantity to the energy demanders. The whole process provides a distributed trusted energy exchange data processing environment, and does not involve the participation of a third party organization, and through the cooperation of an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract, the energy injection, the energy bidding, the energy exchange data processing and the energy payment resource are all open and transparent and cannot be relied on, an energy supplier and an energy demander directly develop energy exchange through an energy source area block chain, trust between peers is established in the energy exchange process, and the security of data processing in the energy exchange process is greatly improved.
In one embodiment, the data obtaining module 510 is further configured to receive a power generation message sent by an energy provider by calling an energy injection contract, where the power generation message carries energy injection information, execute the energy injection contract when it is verified that the energy provider has completed energy injection to the energy storage party according to the energy injection information, send energy payment resources to the energy provider according to the energy injection information, and when an energy payment resource obtaining message fed back by the energy provider is received, sort the energy inventory based on the energy injection information to obtain the energy supply information.
In one embodiment, the data obtaining module 510 is further configured to verify whether the energy injection information is correct, and if the energy injection information is correct and correct, count the total amount of energy available for the energy exchange data processing to obtain the energy supply information.
In one embodiment, the data obtaining module 510 is further configured to receive energy demand information sent by the energy demand party calling the energy demand contract, execute the energy demand contract, and collect and arrange the energy demand information of the energy demand party to obtain the energy demand information.
In one embodiment, the bid matching module 520 is further configured to perform bid matching between the energy supply demanders according to the energy supply information and the energy bid information by a vycorror auction method.
In one embodiment, the energy release module 540 is further configured to obtain public key data of the energy demander, verify the digital signature of the energy payment resource according to the public key data, and determine that the energy payment resource passes the ownership verification if the digital signature passes the verification.
The modules in the energy conversion data processing device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the computer equipment is used for storing data such as distributed account book data, energy supply information, energy bidding information and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an energy exchange data processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the energy exchange data processing method when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps in the energy exchange data processing method described above.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims (10)

1. An energy exchange data processing method is applied to an energy source block chain, wherein the energy source block chain is provided with an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract;
the energy exchange data processing method comprises the following steps:
acquiring energy supply information and energy bidding information, wherein the energy supply information is generated based on the energy injection contract, and the energy bidding information is generated based on the energy bidding contract;
executing the energy exchange contract, performing bidding matching between energy supply and demand parties according to the energy supply information and the energy bidding information, broadcasting a bidding matching result of each round, sending energy payment resources to an energy demand party with successful bidding matching, and sending energy return resources to an energy supply party with successful bidding matching;
receiving energy payment resources sent by the energy demander through the energy utilization contract;
and when the ownership of the energy payment resources passes verification, determining the amount of the exchangeable energy resources according to the energy payment resources, sending an energy release message carrying the amount of the exchangeable energy resources to an energy storage party, and updating an energy block chain account book.
2. The energy exchange data processing method according to claim 1, wherein acquiring energy supply information comprises:
receiving a power generation message sent by an energy supplier by calling the energy injection contract, wherein the power generation message carries energy injection information;
when the energy supplier is verified to finish energy injection aiming at the energy storage party according to the energy injection information, executing the energy injection contract, and sending energy payment resources to the energy supplier according to the energy injection information;
and when the energy payment resource acquisition message fed back by the energy supplier is received, the energy stock is sorted based on the energy injection information to obtain energy supply information.
3. The method for processing energy exchange data according to claim 2, wherein the sorting the energy inventory based on the energy injection information to obtain the energy supply information comprises:
verifying whether the energy injection information is correct or not;
and if the energy injection information is correct and correct, counting the total energy amount which can be used for energy exchange data processing to obtain energy supply information.
4. The energy exchange data processing method according to claim 1, wherein the acquiring energy tender information comprises:
receiving energy demand information sent by an energy demand party by calling the energy bidding contract;
executing an energy bidding contract;
and collecting and sorting the energy demand information of the energy demand party to obtain energy bidding information.
5. The energy exchange data processing method according to claim 1, wherein the performing bid matching between energy supply demanders according to the energy supply information and the energy bidding information comprises:
and performing bidding matching between the energy supply demand parties according to the energy supply information and the energy bidding information by a Vickers auction method.
6. The energy redemption data processing method of any one of claims 1 to 4, wherein the performing ownership verification on the energy payment resource comprises:
acquiring public key data of the energy demand party;
verifying the digital signature of the energy payment resource according to the public key data;
and if the digital signature passes the verification, judging that the energy payment resource passes the ownership verification.
7. An energy exchange data processing device is applied to an energy block chain, wherein the energy block chain is provided with an energy injection contract, an energy bidding contract, an energy exchange contract and an energy utilization contract;
the energy exchange data processing device comprises:
the data acquisition module is used for acquiring energy supply information and energy bidding information, wherein the energy supply information is generated based on the energy injection contract, and the energy bidding information is generated based on the energy bidding contract;
the bidding matching module is used for executing the energy exchange contract, performing bidding matching between energy supply and demand parties according to the energy supply information and the energy bidding information, broadcasting bidding matching results of each round, sending energy payment resources to energy demand parties with successful bidding matching, and sending energy return resources to energy supply parties with successful bidding matching;
the energy payment resource receiving module is used for receiving the energy payment resource sent by the energy demand party through an energy utilization contract;
and the energy release module is used for determining the amount of the exchangeable energy resources according to the energy payment resources when the ownership of the energy payment resources passes the verification, sending an energy release message carrying the amount of the exchangeable energy resources to an energy storage party, and updating an energy block chain account book.
8. The device as claimed in claim 7, wherein the data obtaining module is further configured to receive a power generation message sent by an energy supplier by invoking the energy injection contract, where the power generation message carries energy injection information, execute the energy injection contract when it is verified that the energy supplier has completed energy injection to the energy storage according to the energy injection information, send energy payment resources to the energy supplier according to the energy injection information, and when an energy payment resource obtaining message fed back by the energy supplier is received, sort energy inventory based on the energy injection information to obtain energy supply information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202210424037.1A 2022-04-21 2022-04-21 Energy exchange data processing method and device, computer equipment and storage medium Pending CN114529376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210424037.1A CN114529376A (en) 2022-04-21 2022-04-21 Energy exchange data processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210424037.1A CN114529376A (en) 2022-04-21 2022-04-21 Energy exchange data processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114529376A true CN114529376A (en) 2022-05-24

Family

ID=81628238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210424037.1A Pending CN114529376A (en) 2022-04-21 2022-04-21 Energy exchange data processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114529376A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115273332A (en) * 2022-07-20 2022-11-01 湖南天河国云科技有限公司 Energy sharing method and system based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359985A (en) * 2018-09-19 2019-02-19 南方电网科学研究院有限责任公司 Distributed energy transaction based on block chain executes method, apparatus and equipment
KR20190109914A (en) * 2018-03-19 2019-09-27 상명대학교 천안산학협력단 System and method for trading power based on blockchain smart contract
CN111078791A (en) * 2019-12-09 2020-04-28 华北电力大学 Integrated energy market trading architecture and method based on block chain
CN114140202A (en) * 2021-11-30 2022-03-04 四川大学 Block chain-based distributed electric energy bidding transaction service method and system
CN114358929A (en) * 2021-11-30 2022-04-15 国网浙江省电力有限公司嘉兴供电公司 Distributed energy centralized transaction method and system based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190109914A (en) * 2018-03-19 2019-09-27 상명대학교 천안산학협력단 System and method for trading power based on blockchain smart contract
CN109359985A (en) * 2018-09-19 2019-02-19 南方电网科学研究院有限责任公司 Distributed energy transaction based on block chain executes method, apparatus and equipment
CN111078791A (en) * 2019-12-09 2020-04-28 华北电力大学 Integrated energy market trading architecture and method based on block chain
CN114140202A (en) * 2021-11-30 2022-03-04 四川大学 Block chain-based distributed electric energy bidding transaction service method and system
CN114358929A (en) * 2021-11-30 2022-04-15 国网浙江省电力有限公司嘉兴供电公司 Distributed energy centralized transaction method and system based on block chain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115273332A (en) * 2022-07-20 2022-11-01 湖南天河国云科技有限公司 Energy sharing method and system based on block chain

Similar Documents

Publication Publication Date Title
Thukral Emergence of blockchain-technology application in peer-to-peer electrical-energy trading: A review
Chitchyan et al. Review of blockchain technology and its expectations: Case of the energy sector
EP4089616A1 (en) Blockchain-based green certificate transaction system
Lu et al. Smart contract for electricity transactions and charge settlements using blockchain
Kodali et al. Blockchain based energy trading
Lu et al. Smart contract for distributed energy trading in virtual power plants based on blockchain
CN114971625A (en) Microgrid green electricity transaction system based on block chain technology and data storage and settlement method
CN111506932A (en) Block chain calculation uplink implementation method
CN114358929A (en) Distributed energy centralized transaction method and system based on block chain
CN113706312A (en) Photovoltaic electricity transaction method and device based on block chain
Pipattanasomporn et al. Blockchain-based Solar Electricity Exchange: Conceptual architecture and laboratory setup
Karandikar et al. Transactive energy on hyperledger fabric
Zhang et al. Security scheduling and transaction mechanism of virtual power plants based on dual blockchains
CN111222963A (en) Bidding information processing method and device based on block chain
Karandikar et al. RenewLedger: Renewable energy management powered by Hyperledger Fabric
CN114529376A (en) Energy exchange data processing method and device, computer equipment and storage medium
Liu et al. Blockchain-enabled renewable energy certificate trading: A secure and privacy-preserving approach
CN116452332A (en) Power transaction data management method, system, terminal and storage medium
Khalili et al. Impact of Blockchain Technology on Electric Power Grids--A case study in LO3 Energy
US20210326984A1 (en) Power transaction data storage system based on private blockchain platform and method for verifying and distributedly storing power transaction data using the same
CN114549149A (en) Smart grid energy transaction data processing method and device and computer equipment
CN108985909A (en) Data trade method and system based on block chain technology
CN114565320A (en) Micro-grid power distribution method based on block chain
Yan et al. A novel generation right trade in blockchain-enabled continuous double auction system
Yang et al. Electricity Trading Model Based on Chaincode and Multi-stage Hybrid Auction

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220524