CN112232812A - Renewable energy power management method, device and system - Google Patents

Renewable energy power management method, device and system Download PDF

Info

Publication number
CN112232812A
CN112232812A CN202011084367.8A CN202011084367A CN112232812A CN 112232812 A CN112232812 A CN 112232812A CN 202011084367 A CN202011084367 A CN 202011084367A CN 112232812 A CN112232812 A CN 112232812A
Authority
CN
China
Prior art keywords
renewable energy
demand
energy power
supply
user
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
CN202011084367.8A
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.)
Beijing Power Exchange Center Co ltd
Shanghai Electric Power Transaction Center Co ltd
State Grid Blockchain Technology Beijing Co ltd
State Grid Corp of China SGCC
State Grid Shanghai Electric Power Co Ltd
State Grid E Commerce Co Ltd
Original Assignee
Beijing Power Exchange Center Co ltd
Shanghai Electric Power Transaction Center Co ltd
State Grid Blockchain Technology Beijing Co ltd
State Grid Corp of China SGCC
State Grid Shanghai Electric Power Co Ltd
State Grid E Commerce 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 Beijing Power Exchange Center Co ltd, Shanghai Electric Power Transaction Center Co ltd, State Grid Blockchain Technology Beijing Co ltd, State Grid Corp of China SGCC, State Grid Shanghai Electric Power Co Ltd, State Grid E Commerce Co Ltd filed Critical Beijing Power Exchange Center Co ltd
Priority to CN202011084367.8A priority Critical patent/CN112232812A/en
Publication of CN112232812A publication Critical patent/CN112232812A/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy 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
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
    • 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/12Billing, invoicing, buying or selling transactions or other related activities, e.g. cost or usage evaluation

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method, a device and a system for managing renewable energy power, which are applied to a block chain. The method comprises the steps of obtaining demand information and supply information; acquiring the matching degree of the demand information and the supply information through an intelligent contract; when the matching degree is greater than or equal to a preset threshold value, acquiring an accounting node; broadcasting the renewable energy power transaction to the billing node; and when the accounting node is successfully verified through a consensus mechanism, settling the renewable energy power transaction. According to the renewable energy power management method, a multi-level asynchronous layered calling mechanism is adopted, the execution speed of transactions is improved, and therefore the high concurrency requirement of renewable energy power transactions is met.

Description

Renewable energy power management method, device and system
Technical Field
The invention relates to the technical field of block chains, in particular to a method, a device and a system for managing renewable energy power.
Background
The block chain technology is to utilize a block chain type data structure to verify and store data, utilize a distributed node consensus algorithm to generate and update data, and utilize a cryptographic mode to ensure the safety of data transmission and access. The block chain technology adopts decentralization, so that the block chain technology has application advantages of public and credible performances and the like.
Currently, the blockchain technology can be applied to the technical field of renewable energy power.
Renewable energy power technology is technology for generating electricity by renewable energy sources including, for example, wind energy, water energy, solar energy, and the like. Due to the characteristics of large distribution difference of energy regions, variable transaction demands, various transaction modes and the like of renewable energy sources, the traditional management mode is not enough to adapt to the management of the renewable energy sources.
However, as renewable energy power trading scales gradually increase, the limited computing power and response speed of the blockchain make the trading throughput low, and greatly limit the trading speed. Therefore, how to increase the power transaction speed of renewable energy becomes an urgent problem to be solved.
Disclosure of Invention
In order to solve the above problems, the present application provides a method, an apparatus, and a system for managing renewable energy, which are used to solve the problem of slow power transaction speed of renewable energy.
In order to solve the above problem, the technical solution provided by the embodiment of the present application is as follows:
in a first aspect, the present application provides a method for managing renewable energy power, applied to a block chain, the method including:
acquiring demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by a demand user, and the supply information includes a supply amount of the renewable energy power by a supply user;
acquiring the matching degree of the demand information and the supply information through an intelligent contract;
when the matching degree is larger than or equal to a preset threshold value, acquiring an accounting node; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than or equal to a preset threshold value;
broadcasting the renewable energy power transaction to the billing node;
and when the accounting node is successfully verified through a consensus mechanism, settling the renewable energy power transaction.
Optionally, the demand information further includes a demand value, the supply information further includes a supply value, and the obtaining of the matching degree between the demand information and the supply information by the smart contract includes:
obtaining a characteristic value of the demand user according to the demand quantity and the demand value, and obtaining a characteristic value of the supply user according to the supply quantity and the supply value;
and obtaining the matching degree of the demand information and the supply information according to the characteristic value of the demand user and the characteristic value of the supply user.
Optionally, the obtaining the characteristic value of the demand user according to the demand amount and the demand value includes:
Figure BDA0002719848540000021
in the renewable energy power transaction, i is a positive integer less than or equal to n, and M isiIs the characteristic value of the ith demand user, BminFor the lowest of the demand values of n said demanding users, BmaxFor the highest of the demand values of n said demanding users, SminFor the lowest of n of said offered user values, SiSupply value, Q, for the ith said supply useriIs the completion amount in the demand in the current renewable energy transaction;
the obtaining the characteristic value of the supply user according to the supply amount and the supply value comprises:
Figure BDA0002719848540000022
in the renewable energy power transaction, j is a positive integer less than or equal to n, and M isjFor the jth of said characteristic values for the users, BjThe requirement value of the jth demanding user.
Optionally, the obtaining the matching degree between the demand information and the supply information according to the feature value of the demand user and the feature value of the supply user includes:
P=(Mi-Mj)2
wherein P is a matching degree of the demand information and the supply information.
Optionally, the acquiring billing node includes:
judging the regional level of the renewable energy power exchange; wherein the regional levels comprise a city level, a trans-provincial level and a headquarter level;
and obtaining accounting nodes required by the renewable energy power transaction according to the regional level.
Optionally, the acquiring billing node includes:
acquiring n accounting nodes required for completing the renewable energy power transaction;
the broadcasting the renewable energy power transaction to the billing node comprises:
broadcasting the renewable energy power transaction to m billing nodes; wherein m is greater than or equal to n, and m is less than the number of accounting nodes in the block chain.
Optionally, the settling the renewable energy power transaction, then comprising:
storing data generated by the renewable energy power transaction.
Optionally, the storing the data generated by the renewable energy power transaction includes:
and the sub-chain where each accounting node is located simultaneously stores data generated by the renewable energy power transaction.
In a second aspect, the present application provides a renewable energy power management device applied to a block chain, the device including:
the system comprises an information acquisition unit, a matching degree acquisition unit, a billing node acquisition unit, a broadcasting unit and a settlement unit.
The information acquisition unit is used for acquiring demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by a demand user, and the supply information includes a supply amount of the renewable energy power by a supply user;
the matching degree obtaining unit is used for obtaining the matching degree of the demand information and the supply information through an intelligent contract;
the accounting node obtaining unit is used for obtaining an accounting node when the matching degree is greater than or equal to a preset threshold value; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than a preset threshold value;
the broadcasting unit is used for broadcasting the renewable energy power transaction to the accounting node;
and the settlement unit is used for settling the renewable energy power transaction after the accounting node is successfully verified through a consensus mechanism.
Optionally, the demand information further includes a demand value, the supply information further includes a supply value, and the matching degree obtaining unit includes a first obtaining unit and a second obtaining unit:
the first obtaining unit is used for obtaining a characteristic value of the demand user according to the demand quantity and the demand value and obtaining a characteristic value of the supply user according to the supply quantity and the supply value;
the second obtaining unit is configured to obtain a matching degree between the demand information and the supply information according to the feature value of the demand user and the feature value of the supply user.
Optionally, the first obtaining unit is specifically configured to:
Figure BDA0002719848540000041
in the renewable energy power transaction, i is a positive integer less than or equal to n, and M isiIs the characteristic value of the ith demand user, BminFor the lowest of the demand values of n said demanding users, BmaxFor the highest of the demand values of n said demanding users, SminFor the lowest of n of said offered user values, SiSupply value, Q, for the ith said supply useriIs the completion amount in the demand in the current renewable energy transaction;
the first obtaining unit is specifically configured to:
Figure BDA0002719848540000042
in the renewable energy power transaction, j is a positive integer less than or equal to n, and M isjFor the jth of said characteristic values for the users, BjThe requirement value of the jth demanding user.
Optionally, the second obtaining unit is specifically configured to:
P=(Mi-Mj)2
wherein P is a matching degree of the demand information and the supply information.
Optionally, the accounting node obtaining unit includes a judging unit and a regional accounting node obtaining unit;
the judging unit is used for judging the regional level of the renewable energy power exchange; wherein the regional levels comprise a city level, a trans-provincial level and a headquarter level;
and the regional accounting node acquisition unit is used for acquiring accounting nodes required by the renewable energy power transaction according to the regional level.
Optionally, the accounting node obtaining unit is specifically configured to obtain n accounting nodes required for completing the renewable energy power transaction;
the broadcasting unit is specifically configured to broadcast the renewable energy power transaction to m billing nodes; wherein m is greater than or equal to n, and m is less than the number of accounting nodes in the block chain.
Optionally, the management device further includes a storage unit, configured to store data generated by the renewable energy power transaction.
Optionally, the storage unit is specifically configured to store data generated by the renewable energy power transaction at the same time in the sub-chain in which each accounting node is located.
In a third aspect, the present application provides a management system for renewable energy power, applied to a block chain, the management system including a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the method for managing renewable energy power according to any of the above instructions in the program code.
Compared with the prior art, the technical scheme of the application has the advantages that:
the embodiment provides a management method of renewable energy power, which is applied to a block chain. Firstly, acquiring demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by a demand user, and the supply information includes a supply amount of the renewable energy power by a supply user; secondly, obtaining the matching degree of the demand information and the supply information through an intelligent contract; thirdly, when the matching degree is larger than or equal to a preset threshold value, acquiring an accounting node; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than a preset threshold value; then broadcasting the renewable energy power transaction to the billing node; and finally, when the accounting node is successfully verified through a consensus mechanism, settling the renewable energy power transaction.
According to the management method of the renewable energy power, the demand information of the demand user and the supply information of the supply user are automatically matched through the intelligent contract, the renewable energy power transaction information meeting the conditions is automatically screened, the intelligent contract transaction without human interference is realized, the accuracy and the transparency of the renewable energy power transaction are improved, the user is prevented from searching for the appropriate renewable energy power transaction information from a plurality of information, and therefore the matching time between the demand user and the supply user is shortened; when the matching degree of the demand information and the supply information is higher than a preset threshold value, the demand user and the supply user are considered to be successfully matched, namely, the judgment of a subsequent consensus mechanism can be carried out without waiting for an execution result that all information is matched by an intelligent contract, the consensus mechanism does not depend on the execution result of the intelligent contract, namely, the contract execution and the system consensus are isolated, so that the execution speed of the transaction is improved; when the consensus mechanism is realized, all nodes on the block chain do not need to be verified, and only the accounting nodes required by the transaction are verified, so that the execution speed of the transaction is improved, and the high concurrency requirement of the renewable energy power transaction is met.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for managing renewable energy power provided herein;
fig. 2 is a flow chart of another renewable energy power management method provided herein;
fig. 3 is a schematic diagram of a renewable energy power management apparatus provided in the present application;
fig. 4 is a schematic diagram of a renewable energy power management system provided in the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment of the method comprises the following steps:
referring to fig. 1, fig. 1 is a flowchart of a method for managing renewable energy provided herein, which may include the following steps.
Step 101: acquiring demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by the demand user, and the supply information includes a supply amount of the renewable energy power by the supply user.
In the process of renewable energy power trading, a demand user distributes the demand amount of renewable energy power through demand information, and a supply user distributes the supply amount of renewable energy power through supply information. The demand user and the release user can directly release information on the block chain through nodes on the block chain or release information through an application program.
The demand information includes one or more of demand amount, demand value, transaction mode, and settlement method of the renewable energy power of the demand user. The supply information includes one or more of a supply amount of renewable energy power that can be supplied to the user, a supply value transaction mode, and a settlement manner.
Step 102: and obtaining the matching degree of the demand information and the supply information through an intelligent contract.
The block chain is provided with a large amount of demand information and supply information, and the demand information of demand users and the supply information of supply users can be matched, so that the transaction information suitable for renewable energy power of the users can be reduced, the matching time of the demand users and the supply users can be shortened, and the execution speed of the transaction can be further improved.
Specifically, the matching degree of the demand information and the supply information may be obtained by an intelligent contract.
In this step, the matching degree between the demand information and the supply information obtained by the smart contract will be described in detail later.
Step 103: when the matching degree is larger than or equal to a preset threshold value, acquiring an accounting node; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than a preset threshold value.
The preset threshold may be set as needed, and the specific value of the preset threshold is not limited in this embodiment.
Due to the diversity of user requirements, a long matching time is required to wait for the required information to be completely matched with the supply information. By setting the preset threshold, the requirement information and the supply information do not need to be waited for to be completely matched, but the information can be considered to be successfully matched when the matching degree of the requirement information and the supply information reaches the preset threshold, so that the matching time of the requirement user and the supply user can be shortened, and the execution speed of the transaction is further improved.
When the matching degree of the demand information and the supply information is larger than a preset threshold value, acquiring an accounting node for completing renewable energy power transaction corresponding to the demand information and the supply information, wherein the accounting node at least comprises a demand user for issuing the demand information and a supply user for issuing the supply information.
Step 104: broadcasting the renewable energy power transaction to the billing node.
Continuing with the above example, after acquiring the billing node required for the renewable energy power transaction between the demand subscriber B and the supply subscriber C, the renewable energy power transaction is broadcasted to the acquired billing node.
In one possible embodiment, n accounting nodes required to complete the renewable energy power transaction may be acquired, and then the renewable energy power transaction is broadcast to the m accounting nodes. Wherein m is greater than or equal to n, and m is less than the number of accounting nodes in the block chain. In this embodiment, the renewable energy power transaction that is successfully matched is not broadcasted to all the accounting nodes in the blockchain, but the renewable energy power transaction is broadcasted to the accounting nodes within the specified range. The accounting nodes of the designated range at least comprise accounting nodes necessary for completing the renewable energy power transaction, and the number of the accounting nodes of the designated range is less than that of the accounting nodes on the block chain.
The accounting nodes in the designated range can be intelligently increased by adopting a random number mode, static node selection can be changed into dynamic nodes, and the nodes are selectively increased according to needs, so that the safety can be improved on the premise of not sacrificing the performance. The number of m is not particularly limited in this embodiment, and the time for achieving consensus among the accounting nodes can be shortened by reducing the number of accounting nodes that need to achieve consensus, so as to improve the transaction speed of renewable energy power.
Step 105: and when the accounting node is successfully verified through a consensus mechanism, settling the renewable energy power transaction.
In this embodiment, the settlement models of the demand user and the supply user are pre-stored in the blockchain by an intelligent contract formula, and when the accounting node is successfully verified by the consensus mechanism, the settlement of the renewable energy power transaction is automatically executed.
After the renewable energy power transaction is settled, data generated by the renewable energy power transaction, such as identity information of a demand user, identity information of a supply user, transaction amount, transaction price and the like, are automatically stored in the block chain network, so that the method is not only used for the renewable energy consumption statistics, but also can provide data support for subsequent consumption allocation.
An implementation manner of "obtaining the matching degree between the demand information and the supply information by the smart contract" in S102 is specifically described below. S102 may specifically include: obtaining a characteristic value of the demand user according to the demand quantity and the demand value, and obtaining a characteristic value of the supply user according to the supply quantity and the supply value; and obtaining the matching degree of the demand information and the supply information according to the characteristic value of the demand user and the characteristic value of the supply user.
In one embodiment of the application, in the renewable energy power consumption process, the demand user and the supply user adopt intelligent transaction matching based on the intelligent contract, and the matching execution of the intelligent contract is completed by defining a transaction function in the intelligent contract. The transaction function is described below.
With S ═ S1,S2,...,SnDenotes a set of offered users, where SnFor the nth one of the subscribers S. For the same reason, B ═ B1,B2,...,BmDenotes a set of demand users, where BmThe mth user among the demand users B.
Obtaining a characteristic value of the demand user according to the demand amount and the demand value, and calculating by adopting the following formula:
Figure BDA0002719848540000091
in the renewable energy power transaction, i is a positive integer less than or equal to n, and M isiThe characteristic value of the ith demand user is the product of the completion amount between the demand user and the supply user and the interval of the corresponding demand value in the current transaction, BminFor the lowest of the demand values of n said demanding users, BmaxFor the highest of the demand values of n said demanding users, SminFor the lowest of n of said offered user values, SiSupply value, Q, for the ith said supply useriIs the completion amount in the demand amount in the current renewable energy transaction.
The characteristic value of the supply user is obtained according to the supply amount and the supply value, and can be calculated by adopting the following formula:
Figure BDA0002719848540000092
in the renewable energy power transaction, j is a positive integer less than or equal to n, and M isjThe j-th characteristic value of the supply user is the product of the completion amount between the demand user and the supply user in the transaction and the interval of the corresponding supply value in the transaction, BjThe requirement value of the jth demanding user.
After the first matching is completed, whether the completion quantity in the demand quantity is equal to the demand quantity is judged, if yes, the next matching is not needed, and if not, the next matching is needed to be performed in the mode until the completion quantity in the demand quantity is larger than or equal to the demand quantity. Because the demand value and the supply value of the renewable energy have large fluctuation, in order to ensure that the demand user and the supply user can be in a bearable range, the fluctuation of the demand value and the supply value in each time needs to be monitored, the completion amount of each renewable energy transaction also needs to be monitored, and the demands of the demand user and the supply user can be met after multiple matching.
Obtaining the matching degree between the demand information and the supply information according to the characteristic value of the demand user and the characteristic value of the supply user, and calculating by adopting the following formula:
P=(Mi-Mj)2
wherein P is a matching degree of the demand information and the supply information.
The matching degree characterizes the transaction matching success rate of the demand user and the supply user, the smaller the P value is, the better the matching between the two parties is, and the larger the transaction probability is.
In one possible implementation, the sub-chain in which each accounting node is located stores data generated by renewable energy power transactions at the same time. Specifically, nodes in the main chain are grouped, each accounting node is in a different group, information of the sub chain where the accounting node is located is maintained, and different data are processed independently and parallelly, so that multiple groups of data are stored simultaneously, and further the transaction throughput of the sub chain where each accounting node is located far exceeds the throughput of a single main chain. Each accounting node only needs to be responsible for the data of the sub-chain where the accounting node is located, and state data of the whole block chain network is not stored, so that the workload of verifying a single transaction is reduced, the transaction speed is improved, and meanwhile, the cost is reduced.
In one possible implementation manner, the information of the state variables of the contracts in the blockchain can be imported into the relational database while the blockchain is in normal operation, so that the contract state is visualized and can be monitored. The data in the relational database always keeps final consistency with the data submitted to the block chain, the penetrating data query and the dynamic upgrade of the contract are realized, and the contract flexibility and the contract execution efficiency are improved at the same time.
In one possible implementation, the demand user and/or the supply user may be nodes outside the blockchain, and the renewable energy power transaction on the blockchain is implemented by using a blockchain application and the like.
The embodiment provides a management method of renewable energy power, which is applied to a block chain. Firstly, acquiring demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by a demand user, and the supply information includes a supply amount of the renewable energy power by a supply user; secondly, obtaining the matching degree of the demand information and the supply information through an intelligent contract; thirdly, when the matching degree is larger than or equal to a preset threshold value, acquiring an accounting node; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than a preset threshold value; then broadcasting the renewable energy power transaction to the billing node; and finally, when the accounting node is successfully verified through a consensus mechanism, settling the renewable energy power transaction.
According to the management method of the renewable energy power, the demand information of the demand user and the supply information of the supply user are automatically matched through the intelligent contract, the renewable energy power transaction information meeting the conditions is automatically screened, the intelligent contract transaction without human interference is realized, the accuracy and the transparency of the renewable energy power transaction are improved, the user is prevented from searching for the appropriate renewable energy power transaction information from a plurality of information, and therefore the matching time between the demand user and the supply user is shortened; when the matching degree of the demand information and the supply information is higher than a preset threshold value, the demand user and the supply user are considered to be successfully matched, namely, the judgment of a subsequent consensus mechanism can be carried out without waiting for an execution result that all information is matched by an intelligent contract, the consensus mechanism does not depend on the execution result of the intelligent contract, namely, the contract execution and the system consensus are isolated, so that the execution speed of the transaction is improved; when the consensus mechanism is realized, all nodes on the block chain do not need to be verified, and only the accounting nodes required by the transaction are verified, so that the execution speed of the transaction is improved, and the high concurrency requirement of the renewable energy power transaction is met.
The second method embodiment:
in order to make the technical solution provided by the embodiment of the present invention clearer, the following describes the management method of renewable energy power provided by the embodiment of the present invention with an example in combination with fig. 2.
Due to large distribution difference of energy regions, the renewable energy sources have complex transaction flow, difficult transaction matching in a limited range and more cross-region transaction matching links. Thus, the execution speed of the renewable energy transaction can be increased by dividing the renewable energy power transaction into regions.
Step 201: and acquiring the demand information and the supply information.
Step 202: and obtaining the matching degree of the demand information and the supply information through an intelligent contract.
The regional levels at which renewable energy electricity exchanges are located may include city level, trans-provincial level, headquarters level. When the regional level of the renewable energy power trading place is the city level, the supply quantity of the supply users or the demand quantity of the demand users cannot be met through multiple times of trading matching, the regional level of the renewable energy power trading place can be expanded to the provincial-crossing level for trading matching, multiple times of trading matching are performed, and the regional level of the renewable energy power trading place can be expanded to the headquarter level for trading matching until the demand quantity of the demand users is met when the supply quantity of the supply users or the demand quantity of the demand users cannot be met.
Step 203: when the matching degree is greater than or equal to a preset threshold value, judging the regional level of the renewable energy power exchange; wherein the regional levels may include a city level, a trans-provincial level, and a headquarter level.
It is understood that the renewable energy power transaction may be divided not only according to the city level, the provincial level, and the headquarter level, but also in other manners, such as a district level, a transnational level, and the like, and the regional division level is not limited in the embodiment of the present application. Step 204: and obtaining accounting nodes required by the renewable energy power transaction according to the regional level.
The accounting nodes can be divided according to the regional levels in advance, when the accounting nodes of a certain regional level are needed, all the nodes of the region can be directly obtained, and the time for obtaining the accounting nodes is shortened. For example, when the demand user is in a metro level a with the supply user, all billing nodes belonging to the metro level a area may be obtained. Or, when the demand user belongs to the area of city B and the supply user belongs to the area of city C, the area of city B and the area of city C belong to the area of province D, and all accounting nodes belonging to the area of province D can be obtained.
Step 205: broadcasting the renewable energy power transaction to the billing node.
Step 206: and when the accounting node is successfully verified through a consensus mechanism, settling the renewable energy power transaction.
The regional level division is adopted to realize the local city transaction, the local city billing node verifies through a consensus mechanism, the intra-province transaction verifies through the intra-province billing node verifies through the consensus mechanism, the trans-province transaction verifies through the province level transaction center and the local city node verifies through the consensus mechanism, and the like, so that the multi-level hierarchical call of different regional levels is formed.
Step 207: storing data generated by the renewable energy power transaction.
After the transaction is completed, the technical characteristic that data on the block chain is difficult to tamper is utilized, the data generated by the renewable energy power transaction is stored on the chain, and the long-term storage and authenticity of the data are guaranteed.
According to the renewable energy power management method provided by the embodiment, aiming at the renewable energy power transaction characteristics, the speed of achieving consensus of the bookkeeping nodes in the area is increased according to a three-level random consensus mode of local cities, provinces and headquarters, meanwhile, a service control and data asynchronous calling mode is adopted for consensus and contract execution, the execution of the intelligent contract and the execution of the transaction consensus are separated on the basis of service control logic and data separation, the block consensus does not need to wait for the result of the intelligent contract, a transaction user can initiate a transaction after registering on a block chain, the contract execution depends on a transaction system, and the transaction consensus depends on the graded consensus nodes on a support chain, so that system resources are occupied to the minimum degree, the block chain processing capacity is improved, the execution speed of the transaction is increased, and the high concurrency requirement of renewable energy power transaction is met.
The embodiment of the device is as follows:
in addition to the management method of renewable energy provided by the embodiment of the present invention, a management apparatus of renewable energy is also provided, as shown in fig. 3, including:
an information acquisition unit 301, a matching degree acquisition unit 302, a billing node acquisition unit 303, a broadcast unit 304, and a settlement unit 305.
The information acquiring unit 301 is configured to acquire demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by a demand user, and the supply information includes a supply amount of the renewable energy power by a supply user;
the matching degree obtaining unit 302 is configured to obtain a matching degree between the demand information and the supply information through an intelligent contract;
the accounting node obtaining unit 303 is configured to obtain an accounting node when the matching degree is greater than or equal to a preset threshold; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than a preset threshold value;
the broadcasting unit 304 is configured to broadcast the renewable energy power transaction to the billing node;
the settlement unit 305 is configured to settle the renewable energy power transaction after the accounting node is successfully verified by the consensus mechanism.
Optionally, the demand information further includes a demand value, the supply information further includes a supply value, and the matching degree obtaining unit includes a first obtaining unit and a second obtaining unit:
the first obtaining unit is used for obtaining a characteristic value of the demand user according to the demand quantity and the demand value and obtaining a characteristic value of the supply user according to the supply quantity and the supply value;
the second obtaining unit is configured to obtain a matching degree between the demand information and the supply information according to the feature value of the demand user and the feature value of the supply user.
Optionally, the first obtaining unit is specifically configured to:
Figure BDA0002719848540000141
in the renewable energy power transaction, i is an integer greater than 0, and M isiIs the characteristic value of the ith demand user, BminIs the lowest demand value among the demand values of i said demanding users, BmaxIs the highest demand value among the demand values of i said demanding users, SminFor the lowest of the i supply values to the user, SiA offer value for the ith said offer user;
the first obtaining unit is specifically configured to:
Figure BDA0002719848540000142
in the renewable energy power transaction, j is an integer greater than 0, and M isjFor the jth of said characteristic values for the users, BjThe requirement value of the jth demanding user.
Optionally, the second obtaining unit is specifically configured to:
P=(Mi-Mj)2
wherein P is a matching degree of the demand information and the supply information.
Optionally, the accounting node obtaining unit includes a judging unit and a regional accounting node obtaining unit;
the judging unit is used for judging the regional level of the renewable energy power exchange; wherein the regional levels comprise a city level, a trans-provincial level and a headquarter level;
and the regional accounting node acquisition unit is used for acquiring accounting nodes required by the renewable energy power transaction according to the regional level.
Optionally, the accounting node obtaining unit is specifically configured to obtain n accounting nodes required for completing the renewable energy power transaction;
the broadcasting unit is specifically configured to broadcast the renewable energy power transaction to m billing nodes; wherein m is greater than or equal to n, and m is less than the number of accounting nodes in the block chain.
Optionally, the management device further includes a storage unit, configured to store data generated by the renewable energy power transaction.
Optionally, the storage unit is specifically configured to store data generated by the renewable energy power transaction at the same time in the sub-chain in which each accounting node is located.
Optionally, the management device further includes a transaction issuing unit, configured to implement identity management of both parties of a transaction, and is configured to perform registration, verification, encryption, signature management, and identity verification and information encryption for a transaction user and identity signature confirmation in a transaction process.
According to the management device for renewable energy power, the demand information of the demand user and the supply information of the supply user are automatically matched through the intelligent contract, the renewable energy power transaction information meeting the conditions is automatically screened, the intelligent contract transaction without human interference is realized, the accuracy and the transparency of the renewable energy power transaction are improved, the situation that the user searches for the appropriate renewable energy power transaction information from a plurality of information is avoided, and therefore the matching time between the demand user and the supply user is shortened; when the matching degree of the demand information and the supply information is higher than a preset threshold value, the demand user and the supply user are considered to be successfully matched, namely, the judgment of a subsequent consensus mechanism can be carried out without waiting for an execution result that all information is matched by an intelligent contract, the consensus mechanism does not depend on the execution result of the intelligent contract, namely, the contract execution and the system consensus are isolated, so that the execution speed of the transaction is improved; when the consensus mechanism is realized, all nodes on the block chain do not need to be verified, and only the accounting nodes required by the transaction are verified, so that the execution speed of the transaction is improved, and the high concurrency requirement of the renewable energy power transaction is met.
The embodiment of the system is as follows:
an embodiment of the present application further provides a management system of renewable energy, which is applied to a block chain, as shown in fig. 4, the management system includes a processor 401 and a memory 402:
the memory 402 for storing program code and transmitting the program code to the processor;
the processor 401 is configured to execute the method for managing renewable energy power according to any of the above embodiments according to instructions in the program code.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the units and modules described as separate components may or may not be physically separate. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.

Claims (17)

1. A method for managing renewable energy power, applied to a block chain, the method comprising:
acquiring demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by a demand user, and the supply information includes a supply amount of the renewable energy power by a supply user;
acquiring the matching degree of the demand information and the supply information through an intelligent contract;
when the matching degree is larger than or equal to a preset threshold value, acquiring an accounting node; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than a preset threshold value;
broadcasting the renewable energy power transaction to the billing node;
and when the accounting node is successfully verified through a consensus mechanism, settling the renewable energy power transaction.
2. The method of claim 1, wherein the demand information further includes a demand value and the supply information further includes a supply value, and wherein obtaining the matching degree of the demand information and the supply information through the smart contract comprises:
obtaining a characteristic value of the demand user according to the demand quantity and the demand value, and obtaining a characteristic value of the supply user according to the supply quantity and the supply value;
and obtaining the matching degree of the demand information and the supply information according to the characteristic value of the demand user and the characteristic value of the supply user.
3. The method according to claim 2, wherein the obtaining the characteristic value of the demand consumer according to the demand quantity and the demand value comprises:
Figure FDA0002719848530000011
in the renewable energy power transaction, i is a positive integer less than or equal to n, and M isiIs the characteristic value of the ith demand user, BminFor the lowest of the demand values of n said demanding users, BmaxFor the highest of the demand values of n said demanding users, SminFor the lowest of n of said offered user values, SiSupply value, Q, for the ith said supply useriIs the completion amount in the demand in the current renewable energy transaction;
the obtaining the characteristic value of the supply user according to the supply amount and the supply value comprises:
Figure FDA0002719848530000021
in the renewable energy power transaction, j is a positive integer less than or equal to n, and M isjFor the jth of said usersCharacteristic value, BjThe requirement value of the jth demanding user.
4. The method according to claim 3, wherein the obtaining the matching degree of the demand information and the supply information according to the feature value of the demand user and the feature value of the supply user comprises:
P=(Mi-Mj)2
wherein P is a matching degree of the demand information and the supply information.
5. The method of claim 1, wherein the obtaining a billing node comprises:
judging the regional level of the renewable energy power exchange; wherein the regional levels comprise a city level, a trans-provincial level and a headquarter level;
and obtaining accounting nodes required by the renewable energy power transaction according to the regional level.
6. The method of claim 1, wherein the obtaining a billing node comprises:
acquiring n accounting nodes required for completing the renewable energy power transaction;
the broadcasting the renewable energy power transaction to the billing node comprises:
broadcasting the renewable energy power transaction to m billing nodes; wherein m is greater than or equal to n, and m is less than the number of accounting nodes in the block chain.
7. The method of claim 1, wherein said settling said renewable energy power transaction, thereafter comprises:
storing data generated by the renewable energy power transaction.
8. The method of claim 7, wherein said storing data generated by said renewable energy power transaction comprises:
and the sub-chain where each accounting node is located simultaneously stores data generated by the renewable energy power transaction.
9. A device for managing renewable energy power, applied to a block chain, comprising:
the system comprises an information acquisition unit, a matching degree acquisition unit, a billing node acquisition unit, a broadcasting unit and a settlement unit.
The information acquisition unit is used for acquiring demand information and supply information; wherein the demand information includes a demand amount of the renewable energy power by a demand user, and the supply information includes a supply amount of the renewable energy power by a supply user;
the matching degree obtaining unit is used for obtaining the matching degree of the demand information and the supply information through an intelligent contract;
the accounting node obtaining unit is used for obtaining an accounting node when the matching degree is greater than or equal to a preset threshold value; the accounting node is a node required for completing renewable energy power transaction, and the renewable energy transaction is a transaction between the demand user and the supply user, the matching degree of which is greater than a preset threshold value;
the broadcasting unit is used for broadcasting the renewable energy power transaction to the accounting node;
and the settlement unit is used for settling the renewable energy power transaction after the accounting node is successfully verified through a consensus mechanism.
10. The management apparatus according to claim 9, wherein the demand information further includes a demand value, the supply information further includes a supply value, the matching degree acquisition unit includes a first acquisition unit and a second acquisition unit:
the first obtaining unit is used for obtaining a characteristic value of the demand user according to the demand quantity and the demand value and obtaining a characteristic value of the supply user according to the supply quantity and the supply value;
the second obtaining unit is configured to obtain a matching degree between the demand information and the supply information according to the feature value of the demand user and the feature value of the supply user.
11. The management apparatus according to claim 10, wherein the first obtaining unit is specifically configured to:
Figure FDA0002719848530000031
in the renewable energy power transaction, i is a positive integer less than or equal to n, and M isiIs the characteristic value of the ith demand user, BminFor the lowest of the demand values of n said demanding users, BmaxFor the highest of the demand values of n said demanding users, SminFor the lowest of n of said offered user values, SiSupply value, Q, for the ith said supply useriIs the completion amount in the demand in the current renewable energy transaction;
the first obtaining unit is specifically configured to:
Figure FDA0002719848530000041
in the renewable energy power transaction, j is a positive integer less than or equal to n, and M isjFor the jth of said characteristic values for the users, BjThe requirement value of the jth demanding user.
12. The management apparatus according to claim 10, wherein the second obtaining unit is specifically configured to:
P=(Mi-Mj)2
wherein P is a matching degree of the demand information and the supply information.
13. The management apparatus according to claim 9, wherein the accounting node obtaining unit comprises a judging unit and a regional accounting node obtaining unit;
the judging unit is used for judging the regional level of the renewable energy power exchange; wherein the regional levels comprise a city level, a trans-provincial level and a headquarter level;
and the regional accounting node acquisition unit is used for acquiring accounting nodes required by the renewable energy power transaction according to the regional level.
14. The management device according to claim 9, wherein the billing node obtaining unit is specifically configured to obtain n billing nodes required for completing the renewable energy power transaction;
the broadcasting unit is specifically configured to broadcast the renewable energy power transaction to m billing nodes; wherein m is greater than or equal to n, and m is less than the number of accounting nodes in the block chain.
15. The management apparatus according to claim 9, further comprising a storage unit for storing data generated by the renewable energy power transaction.
16. The management apparatus according to claim 15, wherein the storage unit is specifically configured to store data generated by the renewable energy power transaction at the same time in the sub-chain in which each of the accounting nodes is located.
17. A management system for renewable energy power, applied to a block chain, comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the method for managing renewable energy power of any of claims 1-8 according to instructions in the program code.
CN202011084367.8A 2020-10-12 2020-10-12 Renewable energy power management method, device and system Pending CN112232812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011084367.8A CN112232812A (en) 2020-10-12 2020-10-12 Renewable energy power management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011084367.8A CN112232812A (en) 2020-10-12 2020-10-12 Renewable energy power management method, device and system

Publications (1)

Publication Number Publication Date
CN112232812A true CN112232812A (en) 2021-01-15

Family

ID=74112078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011084367.8A Pending CN112232812A (en) 2020-10-12 2020-10-12 Renewable energy power management method, device and system

Country Status (1)

Country Link
CN (1) CN112232812A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961048A (en) * 2018-05-22 2018-12-07 杭州电子科技大学 A kind of energy trade managing system and method based on DPoS block chain
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
CN111178682A (en) * 2019-12-10 2020-05-19 国网天津市电力公司 Control method of demand response management platform based on block chain technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961048A (en) * 2018-05-22 2018-12-07 杭州电子科技大学 A kind of energy trade managing system and method based on DPoS block chain
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
CN111178682A (en) * 2019-12-10 2020-05-19 国网天津市电力公司 Control method of demand response management platform based on block chain technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢开等: ""区块链技术在电力交易中的应用与展望"", 《电力系统自动化》, vol. 44, no. 19, pages 19 - 28 *

Similar Documents

Publication Publication Date Title
Ceseña et al. Energy systems integration in smart districts: Robust optimisation of multi-energy flows in integrated electricity, heat and gas networks
CN109102120B (en) Energy system optimization method based on block chain in complex scene
CN112907082B (en) Block chain consensus algorithm evaluation optimization method
CN109388492A (en) A kind of mobile block chain optimization calculation force distribution method under multiple edge calculations server scenes based on simulated annealing
CN111342458B (en) Method and device for two-stage reconstruction of power distribution network based on ordered optimization algorithm
CN111047439A (en) Transaction processing method based on block chain
CN110516832A (en) Spare clearing method, device and the electronic equipment out of the trans-regional consumption of renewable energy
CN109685251A (en) A kind of electronic facility charging station Optimization Method for Location-Selection, device and storage medium
CN103995749B (en) The calculation task allocating method and system of cell cloud system
CN104618480A (en) Cloud system source distributing method driven on basis of network link utilization rates
CN109861295A (en) Multiple target new energy method and device for planning
CN112232812A (en) Renewable energy power management method, device and system
CN117013567A (en) Collaborative frequency modulation method, device and medium for flexible resources of power distribution network group
CN110380407B (en) Power distribution network operation optimization method considering agricultural electric irrigation and drainage loads
CN103176850A (en) Electric system network cluster task allocation method based on load balancing
CN116151585A (en) Power distribution network adaptability evaluation method and device considering flexible resource access
CN109165718A (en) Network reconstruction method and system based on paralleling ant cluster algorithm
CN115115170A (en) Credible interaction method for energy of source network charge-storage comprehensive energy system based on block chain
CN112406590A (en) Ship electric flexible charging method
CN109739637A (en) A kind of scheduling calculation method of parking lot cloud storage resource
CN116454876B (en) Combined control method, device, equipment and medium for hydroelectric generating set in electric power market
CN112950063B (en) Regional energy complementation method and device
CN117808563B (en) Lamp post heterogeneous service customized access device and method based on blockchain intelligent contract
CN106712006A (en) Safety constraint economic dispatching method and system
CN101730057A (en) Method for number allocation in user databases of mobile communication 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