CN114841702A - Side chain technology-based intelligent energy multi-microgrid system - Google Patents

Side chain technology-based intelligent energy multi-microgrid system Download PDF

Info

Publication number
CN114841702A
CN114841702A CN202210781573.7A CN202210781573A CN114841702A CN 114841702 A CN114841702 A CN 114841702A CN 202210781573 A CN202210781573 A CN 202210781573A CN 114841702 A CN114841702 A CN 114841702A
Authority
CN
China
Prior art keywords
energy
transaction
main chain
chain
side chain
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.)
Granted
Application number
CN202210781573.7A
Other languages
Chinese (zh)
Other versions
CN114841702B (en
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.)
Anshan Power Supply Co Of State Grid Liaoning Electric Power Co
State Grid Blockchain Technology Beijing Co ltd
State Grid Digital Technology Holdings Co ltd
State Grid Corp of China SGCC
Original Assignee
Anshan Power Supply Co Of State Grid Liaoning Electric Power Co
State Grid Blockchain Technology Beijing Co ltd
State Grid Digital Technology Holdings Co ltd
State Grid Corp of China SGCC
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 Anshan Power Supply Co Of State Grid Liaoning Electric Power Co, State Grid Blockchain Technology Beijing Co ltd, State Grid Digital Technology Holdings Co ltd, State Grid Corp of China SGCC filed Critical Anshan Power Supply Co Of State Grid Liaoning Electric Power Co
Priority to CN202210781573.7A priority Critical patent/CN114841702B/en
Publication of CN114841702A publication Critical patent/CN114841702A/en
Application granted granted Critical
Publication of CN114841702B publication Critical patent/CN114841702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/405Establishing or using transaction specific rules
    • 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
    • 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

Abstract

The invention provides an intelligent energy multi-microgrid system based on a side chain technology, which is characterized in that an alliance chain structure with a main-side chain as a core is established, at least one side chain is generated according to business application on the basis of an energy main chain, the energy main chain is used for realizing reliability verification of cross-chain transaction, specific cross-chain transaction data is not stored, the requirements on the storage capacity and calculation example of the energy main chain are lower than those of a conventional storage data type block chain, the side chain is used for executing specific cross-chain transaction, the storage pressure of the energy main chain is effectively reduced, and the storage capacity of the system is indirectly enlarged. Therefore, the method and the device effectively meet the requirements of data storage capacity, throughput and instantaneity in the micro-grid data interaction and service cooperative processing process.

Description

Side chain technology-based intelligent energy multi-microgrid system
Technical Field
The invention relates to the technical field of block chains, in particular to a smart energy multi-microgrid system based on a side chain technology.
Background
In the development of intelligent energy, a multi-energy trading main body which takes a micro-grid and an active power distribution network as physical carriers undertakes multiple tasks of accelerating operation efficiency, improving green and low-carbon levels and optimizing resource allocation. In the intelligent energy construction, scenes such as multiple energy data sharing, business cooperative processing, asset interchange and the like are involved. In order to solve the problems of high cost, low efficiency, unsafe database storage and the like of the existing centralized mechanism, some researchers try to establish a decentralized application network by using an application mode of a block chain and a microgrid.
However, the existing block chain technology has the problem of insufficient performance under a single-chain architecture, a consensus mechanism achieves consensus in a low-trust network, which is time-consuming, and complexity of malicious processing of nodes is higher, so that the performance of a single node cannot meet requirements of service scenarios such as intelligent energy microgrid data sharing, service collaboration and asset transaction on system service processing throughput, timeliness and communication pressure under many conditions.
Disclosure of Invention
In view of the above, the invention provides an intelligent energy multi-microgrid system based on a side chain technology, which effectively meets the requirements of data storage capacity, throughput and instantaneity in the microgrid data interaction and service cooperative processing processes.
In order to achieve the above purpose, the invention provides the following specific technical scheme:
the utility model provides a many microgrid systems of wisdom energy based on side chain technique, includes: the micro-grid node and the energy main chains form an alliance chain, and each energy main chain corresponds to at least one side chain generated according to business application;
the application server is used for generating an intelligent regulation and control instruction based on the energy demand sent by the microgrid node and the system data sent by each energy main chain, and sending the intelligent regulation and control instruction to a target side chain;
the target side chain sends a transaction instruction to a corresponding energy main chain, the energy main chain analyzes the transaction instruction to obtain a transaction list at least comprising a sender identifier and a receiver identifier, and transaction verification is executed by using a verification rule provided when the target side chain is registered;
if the target side chain corresponds to the same energy main chain as the side chain where the receiver is located, the energy main chain corresponding to the target side chain sends the transaction request carrying the transaction list to the side chain where the receiver is located after the transaction verification is passed, the side chain where the receiver is located performs simple payment verification on the transaction request, and transaction operation is executed after the simple payment verification is passed;
if the target side chain corresponds to different energy main chains corresponding to the side chain where the receiver is located, the energy main chain corresponding to the target side chain sends the transaction request carrying the transaction list to the energy main chain where the receiver is located after transaction verification is passed, the energy main chain where the receiver is located forwards the transaction request to the side chain where the receiver is located under the condition that the transaction request is verified to be passed, the side chain where the receiver is located conducts simple payment verification on the transaction request, and transaction operation is executed after the simple payment verification is passed.
Optionally, each energy main chain maintains a transaction pool;
after receiving a transaction instruction which is sent by the target side chain and carries a transaction hash value, an energy main chain corresponding to the target side chain performs deduplication processing on the transaction instruction by using a transaction pool, if the transaction pool has transactions which are the same as the transaction hash value, the transaction pool does not perform processing, and if the transaction pool does not have transactions which are the same as the transaction hash value, the transaction instruction is analyzed to obtain a transaction list at least comprising a sender identifier and a receiver identifier.
Optionally, a digital gateway is deployed on the side chain, and the side chain communicates with the corresponding energy main chain through the digital gateway;
and the digital gateway monitors the transaction instruction of the side chain, and packages and sends the transaction signature and the transaction of the side chain to the corresponding energy main chain according to a communication protocol during side chain registration.
Optionally, the system further includes a cross-link router between the energy main chains, and the energy main chain corresponding to the target side chain completes cross-link data interaction with the energy main chain where the receiver is located through the cross-link router.
Optionally, after the side chain where the receiver is located finishes the transaction, the transaction finishing information is fed back to the energy main chain where the receiver is located through the corresponding digital gateway;
the energy main chain where the receiver is located forwards the transaction completion information to the energy main chain corresponding to the target side chain through a cross link;
and the energy main chain corresponding to the target side chain transmits the transaction completion information to the target side chain through a digital gateway.
Optionally, the application server is further configured to verify application information of the energy main chain node when receiving a registration application sent by an energy main chain node to be added, and broadcast the application information of the energy main chain node to the energy main chain node added in the alliance chain if the verification is passed;
evaluating the main chain node of the energy to be added by the main chain node of the energy to obtain a score of the main chain node of the energy to be added;
the application server obtains the score of each energy main chain node for the to-be-added energy main chain node, determines that the to-be-added energy main chain node generates a node identifier of the to-be-added energy main chain node through a registration application under the condition that the score is larger than a preset ratio than a threshold value, broadcasts the node information and the network information of the to-be-added energy main chain node to the energy main chain node added with the alliance chain, and enables the energy main chain node added with the alliance chain to update a network information table;
optionally, a side chain node to be added generates a pair of public and private keys, and sends registration information including the public key, a digital signature encrypted by the private key, a communication protocol, a consensus strategy and a verification rule to the corresponding energy main chain through a digital gateway;
the energy main chain forwards the registration information to the application server through a cross-link;
the application server sends a registration auditing instruction to the energy main chain;
the energy main chain verifies the registration information, and if the verification is passed, the energy main chain feeds back registration agreement information to the application server;
the application server generates the identifier of the side chain node to be added, stores the verification rule of the side chain node to be added, establishes mapping between the identifier of the side chain node to be added and the verification rule, and broadcasts the energy main chain node added into the alliance chain;
and the energy main chain receives the side chain node identification issued by the application server and forwards the side chain node identification to be added.
Optionally, the application server is configured to generate the intelligent control instruction with the minimum operation cost as an optimization target based on the cost parameter of the microgrid node initiating the demand and the income obtained by selling electricity or gas after receiving the energy demand sent by the microgrid node, where the cost parameter of the microgrid node initiating the demand includes: the power shortage is in interaction with the energy interaction cost of other microgrid nodes in the alliance chain, the operation cost of the microgrid node initiating the demand and the electricity, gas and water purchasing costs of the microgrid node initiating the demand.
Optionally, the application server is configured to generate the intelligent regulation and control instruction based on load requirements corresponding to all loads in the microgrid node initiating the requirement and all input powers of a system for normal operation of the microgrid node to meet the requirement after receiving an energy requirement sent by the microgrid node, with an energy utilization rate as an optimization target, and with an electrical balance constraint, a transmission capacity constraint, a power change constraint, and an energy interaction power flow constraint as constraint conditions.
Optionally, the application server sends the intelligent control instruction to a corresponding energy main chain through a cross link, and the energy main chain forwards the intelligent control instruction to the target side chain through a digital gateway.
Compared with the prior art, the invention has the following beneficial effects:
the invention discloses an intelligent energy multi-microgrid system based on a side chain technology, which is characterized in that an alliance chain structure with a main-side chain as a core is established, at least one side chain is generated according to business application on the basis of an energy main chain, the energy main chain is used for realizing reliability verification of cross-chain transaction, specific cross-chain transaction data is not stored, the requirements on the storage capacity and calculation example of the energy main chain are lower than those of a conventional storage data type block chain, the side chain is used for executing specific cross-chain transaction, the storage pressure of the energy main chain is effectively reduced, and the storage capacity of the system is indirectly enlarged. Therefore, the method and the device effectively meet the requirements of data storage capacity, throughput and instantaneity in the micro-grid data interaction and service cooperative processing process.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings 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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a smart energy multi-piconet system based on a side-chain technology according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another smart-energy multi-piconet system based on a side-chain technology according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a transaction list disclosed in an embodiment of the present invention;
fig. 4 is a schematic diagram of a side-chain registration process according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inventor finds out through research that: at present, a strong chain group environment is formed when a alliance chain spans multiple industries, equal requirements are provided for all nodes in the alliance chain, each node needs to complete recording and forwarding of transactions, complex verification needs to be conducted, and requirements for the performance of the nodes are high.
In order to solve the technical problem, the invention provides a smart energy multi-microgrid system based on a side chain technology, which comprises: the microgrid node and the energy main chains form an alliance chain, and each energy main chain corresponds to at least one side chain generated according to business application.
A micro-grid, referred to as a microgrid for short, refers to a small-sized power generation and distribution system formed by collecting a distributed power supply, an energy storage device, an energy conversion device, related loads, monitoring devices and protection devices, and is an autonomous system capable of realizing self-control, protection and management, and can be operated in a grid-connected manner with an external power grid or in an isolated manner. In this embodiment, the piconet interacts with other energy backbones in the federation chain through the piconet nodes.
Fig. 1 shows an optional intelligent energy multi-microgrid system, microgrid nodes, an energy main chain a, an energy main chain B, and an energy main chain C form an alliance chain, and each energy main chain corresponds to a side chain, where the energy main chain a, the energy main chain B, and the energy main chain C are only examples, and the energy main chain may be an electric main chain, a natural gas main chain, a water supply main chain, and the like.
The energy main chain and the side chains can be divided according to business levels, and if the energy main chain is a city-level power system, the corresponding side chains corresponding to each district-level power system can be generated according to business application on the basis of the power main chain. The side chain is deployed in the service system in a plug-in mode, the side chain can be flexibly registered to the main chain and can also be flexibly withdrawn, the original service system does not need a large amount of transformation work, and only relevant interfaces are provided, namely the service system provides the interfaces with the side chain, so that the time and cost for developing the side chain and upgrading hardware are reduced.
In application, the application server is used for realizing intelligent energy regulation and control in the intelligent energy multi-microgrid system, specifically, an intelligent regulation and control instruction is generated based on energy requirements sent by microgrid nodes and system data sent by each energy main chain, and the intelligent regulation and control instruction is sent to a target side chain. The microgrid node is set to be in two modes of minimum operation cost and maximum energy utilization rate according to the characteristics of microgrid operation, and one of the two modes needs to be selected as a demand supply condition when the microgrid node sends an energy demand.
If the minimum operation cost mode is selected, the application server is used for generating an intelligent regulation and control instruction by taking the minimum operation cost as an optimization target after receiving the energy demand sent by the microgrid node, and the cost parameter of the microgrid node initiating the demand and the income obtained by selling electricity or gas, wherein the cost parameter of the microgrid node initiating the demand comprises: the power shortage is in interaction with the energy interaction cost of other microgrid nodes in the alliance chain, the operation cost of the microgrid node initiating the demand and the electricity, gas and water purchasing costs of the microgrid node initiating the demand. The minimum operating cost equation min c = min (F1+ F2+ F3-F0), where F1 is the energy interaction cost of the power shortage of the microgrid node initiating the demand with other microgrids in the alliance chain, F2 is the operating cost of the microgrid initiating the demand, F3 is the electricity, gas and water purchasing cost of the microgrid initiating the demand, and F0 is the income obtained by electricity or gas selling of the microgrid initiating the demand.
And if the maximum energy utilization rate mode is selected, the application server is used for generating the intelligent regulation and control instruction based on the load requirements corresponding to all loads in the microgrid node initiating the requirements and all input powers of a normal operation system of the microgrid node to meet the requirements after receiving the energy requirements sent by the microgrid node, taking the maximum energy utilization rate as an optimization target, and taking electrical balance constraint, transmission capacity constraint, power change constraint and energy interaction power flow constraint as constraint conditions. Maximum energy utilization equation: max f =sigmaL/sigma P, wherein L is the load requirement corresponding to all loads in the microgrid node, and P is the requirement of meeting all input power of a normal operation system of the microgrid node.
Further, if an energy storage device is arranged in the microgrid, a correction equation needs to be added during energy conversion, and the operation cost minimum equation and the energy utilization rate maximum equation are corrected.
And after receiving the intelligent regulation and control instruction sent by the application server, the target side chain sends a transaction instruction to the corresponding energy main chain, the energy main chain analyzes the transaction instruction to obtain a transaction list at least comprising the sender identification and the receiver identification, and transaction verification is executed by utilizing a verification rule provided during registration of the target side chain.
If the target side chain corresponds to the same energy main chain as the side chain where the receiver is located, the energy main chain corresponding to the target test sends the transaction request carrying the transaction list to the side chain where the receiver is located after the transaction verification is passed, the side chain where the receiver is located performs simple payment verification on the transaction request, and the transaction operation is executed after the simple payment verification is passed.
If the target side chain corresponds to different energy main chains corresponding to the side chain where the receiver is located, the energy main chain corresponding to the target side chain sends a transaction request carrying a transaction list to the energy main chain where the receiver is located after transaction verification passes, the energy main chain where the receiver is located forwards the transaction request to the side chain where the receiver is located under the condition that the transaction request is verified to pass, the side chain where the receiver is located conducts simple payment verification on the transaction request, and transaction operation is executed after the simple payment verification passes. Wherein, preferably, the verification of the transaction request comprises: and carrying out identity verification on the energy main chain where the sender is located and carrying out reliability verification on the cross-chain transaction.
The Simple Payment Verification (SPV) is a technique that does not need to maintain complete blockchain information and can perform Payment Verification only by saving all pieces of block header information. The technology can greatly save the storage space of the blockchain payment verification user, reduce the storage burden of the user, and reduce the pressure on the user caused by the sharp increase of the future transaction amount of the blockchain.
Therefore, based on the intelligent energy multi-microgrid system based on the side chain technology disclosed by the embodiment, when the cross-chain transaction is realized, the reliability verification of the cross-chain transaction is realized by the energy main chain, specific cross-chain transaction data is not stored, the requirements on the storage capacity and the calculation example of the energy main chain are lower than those of a conventional data storage type block chain, and the side chain is used for executing the specific cross-chain transaction, so that the storage pressure of the energy main chain is effectively reduced, and the storage capacity of the system is indirectly enlarged.
Furthermore, when different side chain nodes are connected to the energy main chain and different energy main chain nodes are connected to the alliance chain, a situation that protocols are incompatible may exist, and certain program and interface development is needed to be performed, so that complexity and difficulty of connecting the side chain nodes to the energy main chain and connecting the energy main chain nodes to the alliance chain are reduced. The intelligent energy multi-microgrid system based on the side chain technology disclosed by the embodiment is characterized in that a digital gateway is arranged between a side chain and an energy main chain, a cross-link route is arranged between the energy main chains, the gateway and the routing function in the Ethernet are simulated, the state judgment is not carried out, only data are packaged into a format which can be identified by a receiver, and the packaged data are forwarded, so that the transaction processing efficiency is improved, the problem of protocol incompatibility is solved, and the complexity and the difficulty of accessing the energy main chain by using the side chain node and accessing the energy main chain node into the alliance chain are reduced.
Fig. 2 shows an alternative intelligent energy multi-microgrid system, where each side chain is respectively deployed with a digital gateway, each energy main chain is respectively corresponding to one cross-link route, and a side chain e is used for 1 The corresponding business application sends a transaction instruction to the power main chain to realize the cross-chain transaction as an example, and the following describes the cross-chain transaction process in detail through a specific example:
the application server sends the intelligent control instruction to a corresponding energy main chain through a cross link, and the energy main chain forwards the intelligent control instruction to a target side chain e through a digital gateway 1
Target side chain e 1 And sending a transaction instruction to the power main chain, wherein the data sharing requirement is also sent in the form of the transaction instruction, and the transaction instruction comprises a sender ID, a receiver ID, a cross-chain transaction function Verification required to be called by the cross-chain transaction and a core parameter required by the cross-chain transaction function.
Disposed at the power side chain e 1 Dynamic monitoring side chain e of upper digital gateway 1 Get the side chain e 1 And the trade signature and the trade post according to the side chain e 1 The communication protocol at registration sends the transaction signature and transaction package to the power backbone. At this time, the digital gateway serves as a Client terminal, and the power main chain serves as a Server terminal, so that the communication protocol followed by the Client-Server is well defined by the application of side chain registration, and actually, various forms exist.
Each energy main chain maintains a transaction pool, each transaction corresponds to a transaction hash value, after the power main chain receives a transaction instruction, the transaction hash value carried by the transaction instruction is compared with transaction pool information, if the transaction hash value is repeated information, the transaction hash value is not processed, if the transaction hash value is non-repeated information, data analysis is carried out according to a preset protocol, a sender ID and a cross-chain transaction function Verification function are extracted, then a Verification rule provided by the application side chain during registration is obtained through the sender ID, the Verification rule is compared with the cross-chain transaction function Verification, and if the Verification rule is consistent with the cross-chain transaction function Verification, a Verification rule script is loaded, and transaction reliability Verification is executed.
When the verification is passed, the obtained data is analyzed according to the protocol to obtain a transaction list as shown in fig. 3, a Merkle tree is generated and then is sent to a receiver by the power main chain, and the receiver can be other side chains corresponding to the power main chain or other energy main chains.
If the side chain of interest e 1 The side chain of the receiver corresponds to the same energy main chain, the electric main chain directly sends a transaction request carrying a transaction list in a Merkle tree form to the side chain of the receiver through the digital gateway, the side chain of the receiver performs simple payment verification on the transaction request, executes transaction operation after the simple payment verification is passed, and feeds back the transaction request to the side chain of the transmitter in a reverse link mode after the transaction is completed.
If the side chain of interest e 1 The energy main chain corresponds to a side chain where a receiver is located, namely the energy main chain needs to be sent to other energy main chains, and when the electric main chain sends a transaction request carrying a transaction list in a Merkle tree form, the electric main chain needs to send the transaction request to the receiverThe signature and the verifiable data structure are sent to the energy main chain where the receiver is located, after the energy main chain where the receiver is located verifies that the electric power main chain passes through, the reliability of the cross-link transaction is further verified according to the verification rule, and the verification is passed and then the reliability is forwarded to the side chain where the receiver is located. The side chain of the receiver performs simple SPV verification on the transaction request, performs transaction operation after the verification is passed, and feeds back the transaction operation to the side chain of the sender in a reverse link mode after the transaction is completed.
Regarding the analysis of the transaction or data sharing, the content of the algorithm is related, and the basic parameters are given in the embodiment, including the sender ID, the sender main chain ID, the receiver main chain ID, the analysis function core parameter Param and the transaction content code generated according to the protocol. The method forms a standardized data interface and a system message by simply defining the transaction or shared protocol content, and has positive effects on solving data interaction of heterogeneous application systems and reducing interaction difficulty.
Therefore, in the embodiment, the digital gateway and the cross-link routing are arranged in a plug-in mode, so that the flexibility of system arrangement is improved, the difficulty of adding the business application system into the alliance chain is reduced, and the digital gateway and the cross-link routing are only responsible for forwarding data without judging whether the transaction or data sharing is successful, so that the transaction efficiency is improved; the energy main chain is only responsible for storing the transaction hash value, and the specific content of the transaction is not stored, so that the storage and calculation pressure of the energy main chain is greatly reduced.
Further, the side chain node registration and the energy main chain node registration are required when the side chain is added into the energy main chain and the energy main chain is added into the alliance chain, and specifically, the side chain node registration and the energy main chain node registration can be achieved through an intelligent contract.
Energy main chain node registration:
when the energy main chain Node needs to be added into the alliance chain, a registration application Node registration (ID, PK, Side chain, time) needs to be proposed to an application server, the ID, the PK, the Side chain Node, the network condition and the timestamp information of an energy main chain Node administrator server are included, the application server firstly verifies, decrypts by using the PK to obtain the equipment information and the Side chain condition of the energy main chain administrator server, verifies the equipment information of the energy main chain administrator server, when the information is consistent, the application server broadcasts the energy main chain Node information applying to be added into the alliance chain to the Node added into the alliance chain, the Node added into the alliance chain comprehensively evaluates the equipment information and the network information of the energy main chain Node to be added, evaluates the interaction expectation with the network of the Node, carries out Node scoring, and under the condition that the scoring ratio larger than the threshold value is larger than the preset ratio, if the score of the node 2/3 or above is good (the score is divided into four grades of good, medium and poor), the application server adds the registration application of the alliance chain through the energy main chain, returns the node ID of the energy main chain in the alliance chain, simultaneously broadcasts the node information and the network information of the newly added energy main chain, and the original node added into the alliance chain updates the network information table for storing the original node.
Side chain node registration:
when a business application system has a requirement of joining a platform to complete data interaction or business cooperation, the registration of a side chain in a alliance chain needs to be completed firstly. Firstly, generating a pair of public and private keys by a side chain node; secondly, the side chain node sends the registration information including the public key, the encrypted digital signature information, the communication protocol, the consensus strategy and the verification rule to the energy main chain in a point-to-point interaction mode through the digital gateway and the energy main chain, the energy main chain forwards the registration information to the application server through a cross-link route, the application server synchronizes the side chain node information from the energy main chain and sends the registration verification right of the side chain to the energy main chain node, the energy main chain verifies the physical information of the side chain node after being decrypted by the obtained public key, the information is verified to be correct, the main chain feeds back the information of 'agreeing to registration' to the application server, the application server generates a side chain ID, stores the side chain node verification rule, establishes the mapping relation between the side chain ID and the verification rule and broadcasts the mapping relation between the side chain ID and the verification rule to a alliance chain network consisting of the energy main chain nodes, meanwhile, the registration success response carrying the side chain ID is fed back to the energy main chain node, and the energy main chain node is forwarded to the side chain, that is, the side chain node registration is completed, as shown in fig. 4.
In summary, the multi-microgrid system meeting the requirements of data interaction and business coordination performance in an intelligent energy system is established based on a side chain technology and a cross-chain interaction mechanism. The main chain provides functions of cross-chain data sharing/service collaboration verification, sharing/coordination serial number recording, side chain running state recording and the like, the reliability verification of cross-chain data interaction is mainly realized, side chain specific interaction or collaboration data are not stored, and the requirements on the storage capacity and the calculation capacity of the main chain are lower than those of a conventional storage data type block chain; the side chain is deployed in the service system in a plug-in mode, the original service system does not need a large amount of modification work and only provides related interfaces, so that the time and cost for developing the side chain service system and upgrading hardware are reduced, a transaction or data sharing request is completed through the digital gateway, a transaction or data request response is processed, and a solid generalizable foundation is provided for the deployment of the side chain and the construction of a union chain; the digital gateway is responsible for forwarding data between main side chains, the cross-link is responsible for forwarding cross-link data, but is similar to an internet protocol, the gateway and the route only perform stateless forwarding, whether transaction or cooperation succeeds or not does not need to be verified, the verification of the transaction, sharing or cooperation is completed by corresponding main chain nodes, the timeliness and safety of data forwarding are guaranteed, the whole system meets the requirements of throughput and real-time performance required by microgrid data interaction and service cooperation, meanwhile, a large amount of data storage space and calculation power do not need to be purchased, the block chain technology has a great positive effect on application of a smart energy microgrid, customization and issuing of regulation and control commands of two modes of minimum operation cost and highest energy utilization rate of an access smart energy system are achieved, and the whole strategy management of the smart microgrid system is responsible.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments can be combined arbitrarily, and the features described in the embodiments in the present specification can be replaced or combined with each other in the above description of the disclosed embodiments, so that those skilled in the art can implement or use the present application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The utility model provides a many microgrid systems of wisdom energy based on side chain technique which characterized in that includes: the micro-grid node and the energy main chains form an alliance chain, and each energy main chain corresponds to at least one side chain generated according to business application;
the application server is used for generating an intelligent regulation and control instruction based on the energy demand sent by the microgrid node and the system data sent by each energy main chain, and sending the intelligent regulation and control instruction to a target side chain;
the target side chain sends a transaction instruction to a corresponding energy main chain, the energy main chain analyzes the transaction instruction to obtain a transaction list at least comprising a sender identifier and a receiver identifier, and transaction verification is executed by using a verification rule provided when the target side chain is registered;
if the target side chain corresponds to the same energy main chain as the side chain where the receiver is located, the energy main chain corresponding to the target side chain sends the transaction request carrying the transaction list to the side chain where the receiver is located after the transaction verification is passed, the side chain where the receiver is located performs simple payment verification on the transaction request, and transaction operation is executed after the simple payment verification is passed;
if the target side chain corresponds to different energy main chains corresponding to the side chain where the receiver is located, the energy main chain corresponding to the target side chain sends the transaction request carrying the transaction list to the energy main chain where the receiver is located after transaction verification is passed, the energy main chain where the receiver is located forwards the transaction request to the side chain where the receiver is located under the condition that the transaction request is verified to be passed, the side chain where the receiver is located conducts simple payment verification on the transaction request, and transaction operation is executed after the simple payment verification is passed.
2. The system of claim 1, wherein each energy backbone maintains a respective trading pool;
after receiving a transaction instruction which is sent by the target side chain and carries a transaction hash value, an energy main chain corresponding to the target side chain performs deduplication processing on the transaction instruction by using a transaction pool, if the transaction pool has transactions which are the same as the transaction hash value, the transaction pool does not perform processing, and if the transaction pool does not have transactions which are the same as the transaction hash value, the transaction instruction is analyzed to obtain a transaction list at least comprising a sender identifier and a receiver identifier.
3. The system of claim 1, wherein a digital gateway is deployed on a side chain, the side chain communicating with a corresponding energy backbone through the digital gateway;
and the digital gateway monitors the transaction instruction of the side chain, and packages and sends the transaction signature and the transaction of the side chain to the corresponding energy main chain according to a communication protocol during side chain registration.
4. The system according to claim 1, further comprising a cross-link router between the energy main chains, wherein the energy main chain corresponding to the target side chain completes cross-link data interaction with the energy main chain where the receiver is located through the cross-link router.
5. The system according to claim 4, characterized in that, after the transaction is completed, the transaction completion information is fed back to the energy main chain of the receiver through the corresponding digital gateway;
the energy main chain where the receiver is located forwards the transaction completion information to the energy main chain corresponding to the target side chain through a cross link;
and the energy main chain corresponding to the target test forwards the transaction completion information to the target side chain through a digital gateway.
6. The system of claim 1,
the application server is further used for verifying the application information of the energy main chain node under the condition that a registration application sent by the energy main chain node to be added is received, and broadcasting the application information of the energy main chain node to the energy main chain node added in the alliance chain if the verification is passed;
evaluating the main chain node of the energy to be added by the main chain node of the energy to obtain a score of the main chain node of the energy to be added;
the application server obtains the score of each energy main chain node on the energy main chain node to be added, determines that the energy main chain node to be added generates the node identification of the energy main chain node to be added through a registration application under the condition that the score is greater than a threshold value and the ratio is greater than a preset ratio, broadcasts the node information and the network information of the energy main chain node to be added to the energy main chain node added to the alliance chain, and enables the energy main chain node added to the alliance chain to update the network information table.
7. The system of claim 4,
generating a pair of public and private keys by a side chain node to be added, and sending registration information comprising the public key, a digital signature encrypted by the private key, a communication protocol, a consensus strategy and a verification rule to a corresponding energy main chain through a digital gateway;
the energy main chain forwards the registration information to the application server through a cross-link;
the application server sends a registration auditing instruction to the energy main chain;
the energy main chain verifies the registration information, and if the verification is passed, the energy main chain feeds back registration agreement information to the application server;
the application server generates the identifier of the side chain node to be added, stores the verification rule of the side chain node to be added, establishes mapping between the identifier of the side chain node to be added and the verification rule, and broadcasts the energy main chain node added into the alliance chain;
and the energy main chain receives the side chain node identification issued by the application server and forwards the side chain node identification to be added.
8. The system of claim 1, wherein the application server is configured to generate the intelligent control command with an optimization goal of minimum operating cost based on a cost parameter of the microgrid node initiating the demand and a profit obtained by selling electricity or gas after receiving the energy demand sent by the microgrid node, and the cost parameter of the microgrid node initiating the demand comprises: the power shortage is in interaction with the energy of other microgrid nodes in the alliance chain, the running cost of the microgrid node initiating the demand is lowered, and the electricity, gas and water purchasing costs of the microgrid node initiating the demand are reduced.
9. The system of claim 1, wherein the application server is configured to generate the intelligent control command after receiving an energy demand sent by the microgrid node, based on load demands corresponding to all loads in the microgrid node initiating the demand and all input powers of a system for satisfying normal operation of the microgrid node, with an energy utilization rate as an optimization target, and with an electrical balance constraint, a transmission capacity constraint, a power change constraint, and an energy interaction power flow constraint as constraint conditions.
10. The system of claim 4, wherein the application server sends the smart regulation instructions to the corresponding energy backbone via a cross-link, and the energy backbone forwards the smart regulation instructions to the target side chain via a digital gateway.
CN202210781573.7A 2022-07-05 2022-07-05 Side chain technology-based intelligent energy multi-microgrid system Active CN114841702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210781573.7A CN114841702B (en) 2022-07-05 2022-07-05 Side chain technology-based intelligent energy multi-microgrid system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210781573.7A CN114841702B (en) 2022-07-05 2022-07-05 Side chain technology-based intelligent energy multi-microgrid system

Publications (2)

Publication Number Publication Date
CN114841702A true CN114841702A (en) 2022-08-02
CN114841702B CN114841702B (en) 2022-09-13

Family

ID=82573871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210781573.7A Active CN114841702B (en) 2022-07-05 2022-07-05 Side chain technology-based intelligent energy multi-microgrid system

Country Status (1)

Country Link
CN (1) CN114841702B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101942543B1 (en) * 2018-08-07 2019-01-28 주식회사 텔다 Energy storage system based on distributed energy resources P2P energy trading system using blockchain technology and method thereof
CN111598566A (en) * 2020-04-30 2020-08-28 厦门潭宏信息科技有限公司 Network payment system based on mixed cross-chain
CN113965329A (en) * 2021-10-25 2022-01-21 浙江师范大学 Cross-chain interoperation system, method, medium and data processing terminal
CN114362956A (en) * 2021-12-23 2022-04-15 华南理工大学 Cross-link communication architecture and method of alliance link

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101942543B1 (en) * 2018-08-07 2019-01-28 주식회사 텔다 Energy storage system based on distributed energy resources P2P energy trading system using blockchain technology and method thereof
CN111598566A (en) * 2020-04-30 2020-08-28 厦门潭宏信息科技有限公司 Network payment system based on mixed cross-chain
CN113965329A (en) * 2021-10-25 2022-01-21 浙江师范大学 Cross-chain interoperation system, method, medium and data processing terminal
CN114362956A (en) * 2021-12-23 2022-04-15 华南理工大学 Cross-link communication architecture and method of alliance link

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张子立等: "国际能源区块链典型项目应用及分析", 《华电技术》 *
李彬等: "区块链:需求侧资源参与电网互动的支撑技术", 《电力建设》 *
袁辉等: "区块链技术在智慧能源商业模式中的应用研究", 《中外能源》 *

Also Published As

Publication number Publication date
CN114841702B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
Su et al. A secure charging scheme for electric vehicles with smart communities in energy blockchain
Zhao et al. Consensus-based energy management in smart grid with transmission losses and directed communication
CN111277549B (en) Security service method and system adopting block chain
CN112217793B (en) Cross-system trust management system suitable for power Internet of things
CN115115458B (en) Energy trading system and method for near-zero carbon emission park based on block chain
Fattaheian-Dehkordi et al. Distributed transactive framework for congestion management of multiple-microgrid distribution systems
CN114841702B (en) Side chain technology-based intelligent energy multi-microgrid system
US10978879B2 (en) Electrical energy management of exchanges between a plurality of residential networks
CN104780535A (en) Method and device for authenticating safe center node in multi-terminal cooperative process
CN111866181B (en) Block chain-based task unloading optimization method in fog network
Zhang et al. A lightweight privacy preserving scheme of charging and discharging for electric vehicles based on consortium blockchain in charging service company
CN116451246A (en) Resident load interaction data safety interaction method and system based on blockchain
CN113962674B (en) Block chain-based power transaction contract security system and method
CN114491432A (en) User authentication method for digital energy service system
CN109711842A (en) A kind of account book bookkeeping methods for the block chain network that parallel chain periodically converges
JP7467916B2 (en) Power Supply System
CN114912919A (en) Flexible power resource aggregation method based on block chain
CN113360569A (en) Power grid block chain architecture method based on energy storage parameter selection and capacity decomposition
CN103220289A (en) Resource verification system and resource verification method based on web application
CN113675849B (en) Method and system for micro-power electric load equipment to participate in power grid interactive regulation
CN116527412B (en) Cross-region data interaction method, device, equipment and medium for scheduling data chain
CN113839934B (en) Micro-grid remote data management method
Koutitas Scheduling of community based charging stations with genetic algorithms
CN111680996B (en) Block chain-based life payment data processing method, device and system
CN112950063B (en) Regional energy complementation method and device

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
GR01 Patent grant
GR01 Patent grant