Main transaction settlement method, device and equipment of integrated energy system and medium
By acquiring and binding blockchain accounts and oracle accounts in the integrated energy system, collecting and storing energy data information, and using smart contracts for settlement, the problems of data tampering and opacity in the integrated energy system are solved, and reliable transaction settlement is achieved.
Patent Information
- Application Number
- CN202111524986.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2041-12-14
AI Technical Summary
In existing technologies, the main transaction settlement of integrated energy systems faces risks of illegal data tampering and data opacity, making reliable settlement impossible.
By acquiring the association and binding relationship between the main blockchain accounts and oracle accounts of various energy entities, collecting time-sharing transaction information and energy data, and using a pre-set clearing smart contract to perform energy clearing, transaction settlement tokens are generated to achieve trusted settlement.
It has improved the credibility of energy data collection, enabled automated and reliable settlement, reduced human intervention, and ensured the high credibility of transaction clearing results.
Smart Images

Figure CN114282993B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of integrated energy technology, and in particular to a main transaction settlement method, apparatus, equipment and medium for an integrated energy system. Background Technology
[0002] With the acceleration of energy transition and the deepening of power system reform, projects such as energy internet, smart energy, multi-energy complementarity, and energy microgrids are being implemented. Integrated energy services are breaking down the boundaries between different energy industries and promoting comprehensive complementarity between different energy types.
[0003] The various entities within an integrated energy system both cooperate and compete with each other, each aiming to maximize its profits. Therefore, these entities are particularly concerned about the accuracy, reliability, and trustworthiness of their energy transaction settlements. Traditional energy transaction settlements typically rely on historical data stored by the integrated energy operator and agreed-upon protocols. However, this method, which uses historical data stored by the energy operator, carries the risk of illegal data tampering. Furthermore, the data's centralization with the operator and lack of transparency hinders reliable settlements among the integrated energy system's entities. Summary of the Invention
[0004] The main purpose of this application is to provide a method, apparatus, equipment and medium for transaction settlement of integrated energy systems, aiming to solve the technical problem in the prior art that it is impossible to achieve reliable settlement of various entities in integrated energy systems.
[0005] To achieve the above objectives, this application provides a main transaction settlement method for an integrated energy system, the main transaction settlement method for an integrated energy system comprising:
[0006] Obtain the main blockchain account of each energy entity and the oracle account of each first oracle, and determine the association and binding relationship between each main blockchain account and each oracle account;
[0007] Collect time-of-use transaction information from different regional power grids;
[0008] If scheduling instruction information is detected, the data collection time point corresponding to each of the first oracles is determined based on the time-sharing transaction information and the scheduling instruction information, so as to collect energy data information corresponding to each of the energy entities based on the data collection time point and the association binding relationship.
[0009] Based on the time-sharing transaction information and the energy data information corresponding to each energy entity, energy settlement is carried out through a preset settlement smart contract to obtain the transaction settlement result;
[0010] Based on the transaction settlement results and the main blockchain accounts of each energy entity, a transaction settlement token is determined, and a trusted settlement is completed using the transaction settlement token.
[0011] This application also provides a main transaction settlement device for an integrated energy system, wherein the main transaction settlement device for the integrated energy system is a virtual device, and the main transaction settlement device for the integrated energy system includes:
[0012] The acquisition module is used to acquire the main blockchain accounts of each energy entity and the oracle accounts of each first oracle, and to determine the association and binding relationship between each main blockchain account and each oracle account.
[0013] The data acquisition module is used to collect time-of-use transaction information from different regional power grids;
[0014] The energy data information acquisition module is used to determine the data acquisition time point corresponding to each of the first oracles based on the time-sharing transaction information and the scheduling instruction information if scheduling instruction information is detected, so as to collect energy data information corresponding to each of the energy entities based on the data acquisition time point and the association binding relationship.
[0015] The clearing module is used to perform energy clearing based on the time-sharing transaction information and the energy data information corresponding to each energy entity, through a preset clearing smart contract, and obtain the transaction clearing result.
[0016] The settlement module is used to determine the transaction settlement token based on the transaction clearing results and the main blockchain accounts of each energy entity, and to complete the trusted settlement using the transaction settlement token.
[0017] This application also provides a main transaction settlement device for an integrated energy system. The main transaction settlement device for the integrated energy system is a physical device, which includes: a memory, a processor, and a main transaction settlement program for the integrated energy system stored in the memory. The main transaction settlement program for the integrated energy system is executed by the processor to implement the steps of the main transaction settlement method for the integrated energy system as described above.
[0018] This application also provides a storage medium, which is a computer-readable storage medium, on which the main transaction settlement program of the integrated energy system is stored. The main transaction settlement program of the integrated energy system is executed by a processor to implement the steps of the main transaction settlement method of the integrated energy system as described above.
[0019] This application provides a method, apparatus, equipment, and medium for main energy transaction settlement in an integrated energy system. Compared to the traditional energy transaction settlement methods used in the prior art, which typically rely on historical data stored by the integrated energy operator and agreed-upon protocols for internal main energy transaction settlement, this application first obtains the main blockchain accounts of each energy entity and the oracle accounts of each first oracle, and determines the association and binding relationship between each main blockchain account and each oracle account. Then, it collects time-sharing transaction information from different regional power grids. Furthermore, if dispatch instruction information is detected, it determines the data collection time point corresponding to each first oracle based on the time-sharing transaction information and the dispatch instruction information, and collects data from each first oracle based on the data collection time point and the association and binding relationship. The energy data information corresponding to the energy entities is collected through a first oracle, greatly improving the credibility of energy data information collection. Based on the time-sharing transaction information and the energy data information corresponding to each energy entity, energy settlement is performed through a pre-set clearing smart contract to obtain transaction settlement results. Furthermore, based on the transaction settlement results and the entity's blockchain account, a transaction settlement token is determined, and a trusted settlement is completed using the transaction settlement token. This achieves energy settlement based on trusted collection of energy data information and time-sharing transaction information, combined with a pre-set clearing smart contract on the blockchain. This not only meets the trusted settlement requirements of the integrated energy entities but also reduces human intervention and ensures high credibility of the transaction settlement results through its automated operation. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating the first embodiment of the main transaction settlement method for the integrated energy system of this application;
[0023] Figure 2 This is a schematic diagram of the integrated energy system network structure of this application;
[0024] Figure 3 This is a flowchart illustrating the second embodiment of the main transaction settlement method for the integrated energy system of this application;
[0025] Figure 4 This is a flowchart illustrating the third embodiment of the main transaction settlement method for the integrated energy system of this application;
[0026] Figure 5 This is a flowchart illustrating the fourth embodiment of the main transaction settlement method for the integrated energy system of this application;
[0027] Figure 6 This is a flowchart illustrating the fourth embodiment of the main transaction settlement method for the integrated energy system of this application;
[0028] Figure 7 This is a schematic diagram of the main transaction settlement equipment structure of the integrated energy system, which is the hardware operating environment involved in the main transaction settlement method of the integrated energy system in this embodiment of the application.
[0029] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0030] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.
[0031] This application provides a main transaction settlement method for an integrated energy system. In the first embodiment of the main transaction settlement method for an integrated energy system, refer to... Figure 1 The main transaction settlement method of the integrated energy system includes:
[0032] Step S10: Obtain the main blockchain account of each energy entity and the oracle account of each first oracle, and determine the association and binding relationship between each main blockchain account and each oracle account.
[0033] In this embodiment, it should be noted that an integrated energy system refers to a new type of integrated energy system that utilizes advanced physical information technology and innovative management models within a certain area to integrate various energy sources such as coal, oil, natural gas, electricity, and heat, and to achieve coordinated planning, optimized operation, collaborative management, interactive response, and mutual assistance among various heterogeneous energy subsystems, as well as to promote sustainable energy development.
[0034] It should be further explained that the integrated energy system includes various energy subsystems and other entities, collectively referred to as energy entities. These energy entities mainly include supply entities, integrated energy operators, and demand entities, such as photovoltaic power generation entities, wind power generation entities, thermal power generation entities, heat power generation entities, energy storage system entities, charging pile operators, and electricity demand entities.
[0035] It should be further explained that when applying blockchain technology to the integrated energy system of this application, if the blockchain world needs to access information from the off-chain world, since neither the blockchain nor smart contracts can directly access off-chain information, a blockchain oracle is required to access this information. A blockchain oracle implements a mechanism for writing off-chain information into the blockchain world. It can provide external information to smart contracts and acts as a bridge between the blockchain and the external world. Blockchain oracles include software oracles, hardware oracles, and consensus oracles. The first oracle in this application is primarily an oracle for collecting sensor data from IoT devices. The integrated energy system is equipped with at least one first oracle, thereby collecting energy data information from the energy entity through the first oracle.
[0036] Please refer to Figure 2 , Figure 2 This is a schematic diagram of the integrated energy system network structure of this application. It should be noted that the blockchain transaction system is a local energy power generation integrated energy system formed by photovoltaic + energy storage + charging piles. The Internet of Things blockchain oracle is the first oracle. The photovoltaic inverter, energy storage converter, charging pile and other loads are the equipment corresponding to the energy main body. The photovoltaic inverter, energy storage converter, charging pile and other loads are all configured with corresponding Internet of Things blockchain oracles.
[0037] The process involves obtaining the main blockchain accounts of each energy entity and the oracle accounts of each first oracle, and determining the association and binding relationship between the main blockchain accounts and the oracle accounts. Specifically, each energy entity and each first oracle registers accounts in the integrated energy system to obtain the main blockchain accounts of each energy entity and the oracle accounts of each first oracle. Then, an association relationship is established between the main blockchain accounts of each energy entity and the oracle accounts of each first oracle, thus obtaining the association and binding relationship. Energy data information of the energy entities bound to the first oracle is collected through the first oracle. Based on the oracle accounts and main blockchain accounts, the energy data information can be stored on the integrated energy system through the first oracle. Finally, according to the association and binding relationship, it is possible to determine which energy entity the stored energy data information corresponds to.
[0038] Prior to the step of obtaining the principal blockchain accounts of each energy entity and the oracle accounts of each first oracle, and determining the association between each principal blockchain account and each oracle account, the method further includes:
[0039] Step A10: If the integrated energy system has an identity authentication center, then register the main blockchain accounts of each energy entity and the oracle accounts of each of the first oracles through the identity authentication center.
[0040] In this embodiment, it should be noted that the identity authentication center provides a unified identity authentication interface, including a CA (Certificate Authority) authentication center.
[0041] Specifically, when the integrated energy system has an identity authentication center, the main blockchain accounts of each energy entity and the oracle accounts of each of the first oracles are registered in the identity authentication center, thereby improving the security of identity authentication.
[0042] Step S20: Collect time-of-use transaction information of power grids in different regions;
[0043] In this embodiment, it should be noted that the different regional power grids refer to power supply grids in different regions, such as the Southern Power Grid, North China Power Grid, Northeast Power Grid, Northwest Power Grid, and East China Power Grid. The time-of-use transaction information corresponding to different regional power grids is different. The time-of-use transaction information includes different time-of-use time period information and the transaction price information corresponding to different time-of-use time period information. The transaction price information corresponding to different time-of-use time period information is not entirely the same. The time-of-use time period information includes the time-of-use time period type and the time period. For example, the time-of-use time period type corresponding to 7:00 AM to 8:00 AM is the normal period, and the transaction price information is P1. The time-of-use time period type corresponding to 8:00 AM to 11:00 AM is the peak period, and the transaction price information is P2.
[0044] The system collects time-of-use transaction information from different regional power grids. Specifically, it collects this information through a second oracle and then stores it on the integrated energy system via a pre-defined smart contract. The second oracle includes hardware blockchain oracles, software blockchain oracles, etc. Preferably, a software blockchain oracle is selected, which can obtain data from third-party service providers or websites via API (Application Programming Interface) as input data for the smart contract.
[0045] Step S30: If scheduling instruction information is detected, then based on the time-sharing transaction information and the scheduling instruction information, determine the data collection time point corresponding to each of the first oracles, so as to collect energy data information corresponding to each of the energy entities based on the data collection time point and the association binding relationship.
[0046] In this embodiment, it should be noted that the first oracle includes a data acquisition function, capable of collecting sensor data from IoT devices corresponding to the energy entity, such as photovoltaic inverter power generation data, smart meter power generation data, energy storage system charging and discharging data, and charging pile charging data. It also includes a trusted execution environment module, namely a hardware-based trusted execution environment (TEE). The TEE includes a trusted platform module (TPM) and a trusted computing technology module. The trusted platform module includes various trusted key storage spaces, temporary data storage spaces, and log storage spaces. The trusted computing technology module can virtualize a trusted world for running applications, protecting the confidentiality and integrity of applications, as well as data privacy. It also includes a data trusted notarization blockchain function, used to notarize the energy data information collected from IoT devices using smart contracts.
[0047] It should be further explained that the dispatch instruction information is issued through the energy dispatch center of the integrated energy system, which belongs to the integrated energy operator. The energy data information includes the energy output and energy consumption data of each energy entity. The data collection time point is the moment when the energy data information corresponding to each energy entity is collected. It should also be noted that the data collection time point includes the time endpoints corresponding to the time period information. For example, if the time period information is from 7:00 AM to 8:00 AM, the data collection time point can be set to collect data every 15 minutes, which includes the two time endpoints of 7:00 AM and 8:00 AM. Therefore, the collected energy data information should also include the energy data information corresponding to the time endpoints.
[0048] If a scheduling instruction is detected, the data collection time point corresponding to each of the first oracles is determined based on the time-sharing transaction information and the scheduling instruction information. Based on the data collection time point and the associated binding relationship, energy data information corresponding to each of the energy entities is collected. Specifically, if the scheduling instruction information is detected by each of the energy entities, the time-sharing transaction information stored on the integrated energy system is obtained. Then, based on the time-sharing time period information in the time-sharing transaction information and the scheduling instruction information, the data collection time point corresponding to each of the first oracles is set. Further, based on the data collection time point, data is collected through each of the first oracles, and the trusted execution environment module inside the first oracle executes the trusted data storage service to store the collected energy data information in the integrated energy system according to the preset storage period using a preset smart contract.
[0049] The step of determining the data collection time point corresponding to each of the first oracles based on the time-sharing transaction information and the scheduling instruction information if scheduling instruction information is detected, and collecting energy data information corresponding to each of the energy entities based on the data collection time point and the association binding relationship, further includes:
[0050] Step B10: The dispatch instruction information is published to each of the energy entities through the preset energy dispatch center, and the dispatch instruction information is stored.
[0051] In this embodiment, specifically, the energy dispatch center issues dispatch instructions to each of the energy entities and stores the dispatch instructions on the integrated energy system, thereby collecting energy data information through the first oracle based on the dispatch instructions.
[0052] Step S40: Based on the time-sharing transaction information and the energy data information corresponding to each energy entity, energy settlement is performed through a preset settlement smart contract to obtain the transaction settlement result;
[0053] In this embodiment, it should be noted that the preset settlement smart contract can be automatically triggered at a pre-set contract trigger time, and the trusted energy settlement is a method of settling time-sharing transaction information and energy data information according to preset agreed rules.
[0054] Based on the time-sharing transaction information and the energy data information corresponding to each energy entity, energy settlement is performed through a preset settlement smart contract to obtain transaction settlement results. Specifically, when the contract trigger time corresponding to the preset settlement smart contract arrives, the energy data information of each energy entity corresponding to the scheduling instruction information is obtained. Then, through the preset settlement rules defined in the preset settlement smart contract, the time-sharing transaction information and the energy data information corresponding to each energy entity are used for reliable energy settlement to obtain the transaction settlement results corresponding to each energy entity. For example, the contract trigger time corresponding to the preset settlement smart contract is preset to 7:00 AM every day, so that the preset settlement smart contract is automatically triggered at 7:00 AM every day, thereby obtaining the scheduling instruction information issued the previous day and the collected energy data information of each energy entity. Then, the transaction price information corresponding to different time-sharing periods and the energy data information corresponding to each energy entity are used for reliable energy settlement to obtain the transaction settlement results.
[0055] Step S50: Based on the transaction settlement results and the main blockchain accounts of each energy entity, determine the transaction settlement token and use the transaction settlement token to complete trusted settlement.
[0056] In this embodiment, it should be noted that the transaction settlement token is used to represent the transaction settlement results of each energy entity. It can be understood that when the number of transaction settlement tokens owned by an energy entity increases, it means that the energy entity has obtained corresponding benefits due to energy output. Conversely, when the number of transaction settlement tokens owned by an energy entity decreases, it means that the energy entity has incurred expenditures due to energy consumption.
[0057] Specifically, based on the transaction settlement results of each energy entity and the entity's blockchain account, a data block is formed to obtain the transaction settlement token. In another possible implementation, an ID number is set for the transaction settlement results of each energy entity, and then a timestamp is added to form a data block as a settlement basis to obtain the transaction settlement token. Thus, the transaction settlement results of each energy entity at each timestamp can be traced through the transaction settlement token, thereby directly using the transaction settlement token corresponding to each energy entity to complete trusted settlement.
[0058] This application provides a method for main transaction settlement in an integrated energy system. Compared to the traditional energy transaction settlement methods used in the prior art, which typically rely on historical data stored by the integrated energy operator and agreed-upon protocols for internal main energy transaction settlement, this application first obtains the main blockchain accounts of each energy entity and the oracle accounts of each first oracle, and determines the association and binding relationship between each main blockchain account and each oracle account. Then, it collects time-of-use transaction information from different regional power grids. Furthermore, if dispatch instruction information is detected, it determines the data collection time point corresponding to each first oracle based on the time-of-use transaction information and the dispatch instruction information, and collects data from each first oracle based on the data collection time point and the association and binding relationship. The energy data information corresponding to each energy entity is collected through a first oracle, greatly improving the credibility of energy data collection. Based on the time-sharing transaction information and the energy data information corresponding to each energy entity, energy settlement is performed through a pre-set clearing smart contract to obtain transaction settlement results. Furthermore, based on the transaction settlement results and the entity's blockchain account, a transaction settlement token is determined, and trusted settlement is completed using the transaction settlement token. This achieves energy settlement based on trusted collection of energy data information and time-sharing transaction information, combined with a pre-set clearing smart contract on the blockchain. This not only meets the trusted settlement requirements of the integrated energy entities but also reduces human intervention and ensures high credibility of the transaction settlement results through its automated operation.
[0059] Furthermore, referring to Figure 3 Based on the first embodiment of this application, in another embodiment of this application, the step of collecting time-of-use transaction information of different regional power grids includes:
[0060] Step S21: Collect time-sharing transaction information of different regional power grids through a pre-set second oracle;
[0061] In this embodiment, it should be noted that the second oracle includes a distributed web software blockchain oracle or a centralized web software blockchain oracle.
[0062] Step S22: Store the time-sharing transaction information of the different regional power grids on the integrated energy system.
[0063] Specifically, after collecting time-of-use transaction information of different regional power grids through a pre-set second oracle, the time-of-use transaction information of the different regional power grids is then stored on the integrated energy system through the smart contract corresponding to the second oracle.
[0064] This application provides a main transaction settlement method for an integrated energy system. Specifically, it collects time-of-use transaction information from different regional power grids using a pre-set second oracle, and stores this information on the integrated energy system. This method improves the reliability of time-of-use transaction information by reliably collecting such information from different regional power grids through the second oracle.
[0065] Furthermore, referring to Figure 4 Based on the first embodiment of this application, in another embodiment of this application, the time-sharing transaction information includes time-sharing period information. The step of determining the data collection time point corresponding to each of the first oracles based on the time-sharing transaction information and the scheduling instruction information if scheduling instruction information is detected, and collecting energy data information corresponding to each of the energy entities based on the data collection time point and the association binding relationship, includes:
[0066] Step S31: If the scheduling instruction information is detected by each of the energy entities, then based on the time-sharing information and the scheduling instruction information, set the data collection time point corresponding to each of the first oracles;
[0067] In this embodiment, specifically, when the energy entities detect the dispatch instruction information issued by the energy dispatch center, they acquire the time-sharing transaction information stored in the integrated energy system, and then set the data collection time point corresponding to each of the first oracles according to the time-sharing time period information in the time-sharing transaction information and the dispatch instruction information. The data collection time point includes the time endpoint of the time-sharing time period information, so as to collect the energy data information corresponding to each energy entity at the data collection time point.
[0068] Step S32: Based on the data collection time point and the association binding relationship, the energy data information corresponding to each of the energy entities is collected by each of the first oracles, and the energy data information is stored on the integrated energy system.
[0069] In this embodiment, it should be noted that the data collection time point includes the time endpoint corresponding to the time segment information.
[0070] Specifically, based on the data collection time point and the associated binding relationship, each of the first oracles collects energy data information corresponding to the energy entities with which it has a binding relationship, and then uses a storage smart contract to periodically or irregularly store the collected energy data information in the integrated energy system. In addition, it also includes storing the time-sharing time period information in the time-sharing transaction information and the energy data information collected at the time endpoints of each time-sharing time period information in the integrated energy system.
[0071] The step of collecting energy data information corresponding to each energy entity through each of the first oracles based on the data collection time point and the association binding relationship, and storing the energy data information on the integrated energy system includes:
[0072] Step S321: Based on the data collection time point and the association binding relationship, collect energy data information corresponding to each of the energy entities through each of the first oracles;
[0073] Step S322: The trusted execution environment module in each of the first oracles performs a trusted data storage service to store the collected energy data information in the integrated energy system according to a preset storage period.
[0074] In this embodiment, specifically, when the data collection time point arrives, each of the first oracles collects energy data information corresponding to the energy entity it is bound to. Then, the trusted execution environment module inside each of the first oracles executes a trusted data storage service, so as to use a preset smart contract to store the energy data information in the integrated energy system according to a preset storage period. This achieves the goal of preventing data tampering by trustedly collecting energy data information through the first oracles and storing the energy data information in the integrated energy system.
[0075] This application provides a method for main transaction settlement in an integrated energy system. Specifically, if the scheduling instruction information is detected by each of the energy entities, a data collection time point corresponding to each first oracle is set based on the time-sharing information and the scheduling instruction information. Then, based on the data collection time point and the association binding relationship, energy data information corresponding to each of the energy entities is collected by each of the first oracles, and the energy data information is stored on the integrated energy system. This method achieves a significant increase in the credibility of off-chain data uploaded to the integrated energy system by storing the energy data information collected by the first oracles on the integrated energy system, effectively preventing data tampering, improving the credibility of energy information collection, and thus improving the credibility of subsequent energy entity transaction settlement.
[0076] Furthermore, referring to Figure 5 Based on the first embodiment of this application, in another embodiment of this application, the step of performing energy clearing through a preset clearing smart contract based on the time-sharing transaction information and the energy data information corresponding to each energy entity, and obtaining the transaction clearing result, includes:
[0077] Step S41: Based on the contract trigger time corresponding to the preset liquidation smart contract, obtain the energy data information of each energy entity corresponding to the scheduling instruction information, wherein the energy data information includes energy consumption data information and energy output data information;
[0078] In this embodiment, specifically, when the contract trigger time corresponding to the preset liquidation smart contract arrives, the energy data information of each energy entity corresponding to the scheduling instruction information in the past preset period is automatically obtained. For example, the contract trigger time is automatically triggered at 7:00 AM every day, thereby obtaining the energy data information of each energy entity in the past day.
[0079] Step S42: Based on the preset defined clearing rules, perform energy trust clearing on the time-sharing transaction information and the energy data information of each energy entity to obtain the transaction clearing result.
[0080] In this embodiment, it should be noted that since both time-sharing transaction information and energy data information are collected reliably through oracles and stored on the integrated energy system, and the data stored on the integrated energy system is not easily tampered with, reliable clearing can be performed based on reliable time-sharing transaction information and energy data information.
[0081] Specifically, based on the preset settlement rules defined in the preset settlement smart contract, the time-sharing transaction information and the energy data information of each energy entity are subjected to reliable energy settlement to obtain the transaction settlement results corresponding to each energy entity.
[0082] This application provides a method for main transaction settlement of an integrated energy system. Specifically, based on the contract trigger time corresponding to the preset clearing smart contract, energy data information of each energy entity corresponding to the scheduling instruction information is obtained. The energy data information includes energy consumption data information and energy output data information. Then, based on preset clearing rules, the time-sharing transaction information and the energy data information of each energy entity are subjected to reliable energy clearing to obtain the transaction clearing result. This method realizes the reliable collection of energy data information based on a first oracle and the reliable collection of time-sharing transaction information based on a second oracle, and automatically performs reliable clearing of each energy entity in combination with the preset clearing smart contract. At the same time, its automated settlement method reduces human intervention and ensures high reliability of the clearing result.
[0083] Furthermore, referring to Figure 6 Based on the first embodiment of this application, in another embodiment of this application, after the step of determining the transaction settlement token based on the transaction clearing result and the main blockchain account of each energy entity, and using the transaction settlement token to complete trusted settlement, the method further includes:
[0084] Step C10: Based on the energy data information corresponding to each energy entity, calculate the completion rate of each energy entity in completing the scheduling instruction information;
[0085] In this embodiment, based on the energy data information corresponding to each energy entity, the completion rate of each energy entity in completing the scheduling instruction information is calculated. Specifically, after the scheduling instruction information is issued to each energy entity through the energy scheduling center, the energy data information corresponding to each energy entity is obtained. The energy data information includes energy output data information and energy consumption data information. Then, based on the energy output data information and the energy consumption data information, the completion rate of each energy entity in completing the scheduling plan corresponding to the scheduling instruction information is calculated.
[0086] Step C20: Determine the credit rating token for each energy entity based on the completion rate of each energy entity.
[0087] In this embodiment, it should be noted that the credit rating token is a token used for rewarding and punishing integrated energy operators.
[0088] Based on the completion rate of each energy entity, a credit rating token for each energy entity is determined. Specifically, based on the completion rate of each energy entity, a credit rating token for each energy entity is determined according to a preset credit calculation method. The preset credit calculation method includes obtaining the credit rating token for each energy entity through a preset credit model algorithm, or pre-determining the mapping relationship between completion rate and credit rating, thereby determining the credit rating corresponding to the current completion rate based on the mapping relationship.
[0089] Step C30: Based on the credit level token, determine the reward and punishment system corresponding to each of the energy entities.
[0090] In this embodiment, a reward and punishment system is determined for each energy entity based on the credit rating token. Specifically, each energy entity is assessed based on the credit rating token, and then a fine or subsidy system is implemented for each energy entity according to the assessment results. In one possible implementation, each energy entity is ranked by credit rating based on the credit rating token, and then a preset number of the top-ranked energy entities are selected for subsidies according to the credit ranking results, so as to improve energy utilization efficiency through credit incentives.
[0091] This application provides a method for main transaction settlement in an integrated energy system. Specifically, based on the energy data information corresponding to each energy entity, the completion rate of each energy entity in fulfilling the dispatch instructions is calculated. Then, based on the completion rate of each energy entity, a credit rating token for each energy entity is determined. Furthermore, based on the credit rating token, a reward and punishment system corresponding to each energy entity is determined. This realizes the determination of the credit rating token for each energy entity based on its completion rate in fulfilling the dispatch instructions, thereby enabling the execution of a reward and punishment mechanism based on the credit rating token, achieving a credit incentive effect to improve energy utilization.
[0092] Reference Figure 7 , Figure 7 This is a schematic diagram of the main transaction settlement equipment structure of the integrated energy system of the hardware operating environment involved in the embodiments of this application.
[0093] like Figure 7 As shown, the main transaction settlement equipment of this integrated energy system may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to establish communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM or a stable, non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0094] Optionally, the main transaction settlement equipment of the integrated energy system may also include a rectangular user interface, a network interface, a camera, RF (Radio Frequency) circuits, sensors, audio circuits, a WiFi module, etc. The rectangular user interface may include a display screen and an input submodule such as a keyboard. Optionally, the rectangular user interface may also include standard wired or wireless interfaces. The network interface may optionally include standard wired or wireless interfaces (such as a WiFi interface).
[0095] Those skilled in the art will understand that Figure 7 The structure of the main transaction settlement equipment of the integrated energy system shown in the figure does not constitute a limitation on the main transaction settlement equipment of the integrated energy system. It may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0096] like Figure 7 As shown, the memory 1005, serving as a computer storage medium, may include an operating system, a network communication module, and the main transaction settlement program for the integrated energy system. The operating system is a program that manages and controls the hardware and software resources of the main transaction settlement device of the integrated energy system, supporting the operation of the main transaction settlement program and other software and / or programs. The network communication module is used to enable communication between the various components within the memory 1005, as well as communication with other hardware and software in the main transaction settlement device of the integrated energy system.
[0097] exist Figure 7 In the main transaction settlement device of the integrated energy system shown, the processor 1001 is used to execute the main transaction settlement program of the integrated energy system stored in the memory 1005 to implement the steps of the main transaction settlement method of the integrated energy system described above.
[0098] The specific implementation method of the main transaction settlement equipment of the integrated energy system in this application is basically the same as the various embodiments of the main transaction settlement method of the integrated energy system described above, and will not be repeated here.
[0099] Furthermore, this application also provides a main transaction settlement device for an integrated energy system, the main transaction settlement device for the integrated energy system comprising:
[0100] The acquisition module is used to acquire the main blockchain accounts of each energy entity and the oracle accounts of each first oracle, and to determine the association and binding relationship between each main blockchain account and each oracle account.
[0101] The data acquisition module is used to collect time-of-use transaction information from different regional power grids;
[0102] The energy data information acquisition module is used to determine the data acquisition time point corresponding to each of the first oracles based on the time-sharing transaction information and the scheduling instruction information if scheduling instruction information is detected, so as to collect energy data information corresponding to each of the energy entities based on the data acquisition time point and the association binding relationship.
[0103] The clearing module is used to perform energy clearing based on the time-sharing transaction information and the energy data information corresponding to each energy entity, through a preset clearing smart contract, and obtain the transaction clearing result.
[0104] The settlement module is used to determine the transaction settlement token based on the transaction clearing results and the main blockchain accounts of each energy entity, and to complete the trusted settlement using the transaction settlement token.
[0105] Optionally, the acquisition module is further configured to:
[0106] Time-sharing transaction information of power grids in different regions is collected reliably through a pre-set second oracle;
[0107] The time-of-use transaction information of the different regional power grids is stored on the integrated energy system.
[0108] Optionally, the energy data information acquisition module is further used for:
[0109] If the scheduling instruction information is detected by each of the energy entities, then based on the time-sharing information and the scheduling instruction information, the data collection time point corresponding to each of the first oracles is set;
[0110] Based on the data collection time point and the association binding relationship, the energy data information corresponding to each of the energy entities is collected by each of the first oracles, and the energy data information is stored on the integrated energy system.
[0111] Optionally, the energy data information acquisition module is further used for:
[0112] Based on the data collection time point and the association binding relationship, energy data information corresponding to each of the energy entities is collected through each of the first oracles;
[0113] The trusted execution environment module in each of the first oracles performs a trusted data storage service to store the collected energy data information in the integrated energy system according to a preset storage period.
[0114] Optionally, the energy data information acquisition module is further used for:
[0115] The data collection time points include the time endpoints corresponding to the time-segmented time period information.
[0116] Optionally, the energy data information acquisition module is further used for:
[0117] Based on the data collection time point and the association binding relationship, energy data information corresponding to each of the energy entities is collected through each of the first oracles;
[0118] The trusted execution environment module in each of the first oracles performs a trusted data storage service to store the collected energy data information in the integrated energy system according to a preset storage period.
[0119] Optionally, the clearing module is further configured to:
[0120] Based on the contract trigger time corresponding to the preset liquidation smart contract, the energy data information of each energy entity corresponding to the scheduling instruction information is obtained, wherein the energy data information includes energy consumption data information and energy output data information;
[0121] Based on preset clearing rules, the time-sharing transaction information and the energy data information of each energy entity are used for reliable energy clearing to obtain the transaction clearing result.
[0122] Optionally, the main transaction settlement device of the integrated energy system is also used for:
[0123] The dispatch instruction information is published to each of the energy entities through a preset energy dispatch center, and the dispatch instruction information is stored.
[0124] Optionally, the main transaction settlement device of the integrated energy system is also used for:
[0125] If the integrated energy system has an identity authentication center, then the entity blockchain account of each energy entity and the oracle account of each of the first oracles are registered through the identity authentication center.
[0126] Optionally, the main transaction settlement device of the integrated energy system is also used for:
[0127] Based on the energy data information corresponding to each energy entity, calculate the completion rate of each energy entity in fulfilling the scheduling instruction information;
[0128] Based on the completion rate of each energy entity, determine the credit rating token for each energy entity;
[0129] Based on the credit rating token, a reward and punishment system is determined for each of the energy entities.
[0130] The specific implementation method of the main transaction settlement device of the integrated energy system in this application is basically the same as the embodiments of the main transaction settlement method of the integrated energy system described above, and will not be repeated here.
[0131] This application provides a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the main transaction settlement method of the integrated energy system described in any of the above claims.
[0132] The specific implementation of the computer-readable storage medium in this application is basically the same as the embodiments of the main transaction settlement method of the above-mentioned integrated energy system, and will not be described again here.
[0133] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.
Claims
1. A main transaction settlement method for an integrated energy system, characterized in that, The integrated energy system includes an energy entity and a first oracle. The main transaction settlement method of the integrated energy system includes: Obtain the main blockchain account of each energy entity and the oracle account of each first oracle, and determine the association and binding relationship between each main blockchain account and each oracle account; The time-sharing transaction information of different regional power grids is collected by a preset second oracle. The time-sharing transaction information includes time-sharing time period information and transaction price information corresponding to the time-sharing time period information. If scheduling instruction information is detected, the data collection time point corresponding to each of the first oracles is determined based on the time-sharing transaction information and the scheduling instruction information, so as to collect energy data information corresponding to each of the energy entities based on the data collection time point and the association binding relationship. Based on the contract trigger time corresponding to the preset liquidation smart contract, the energy data information of each energy entity corresponding to the scheduling instruction information is obtained, wherein the energy data information includes energy consumption data information and energy output data information; Based on preset clearing rules, the time-sharing transaction information and the energy data information of each energy entity are used for reliable energy clearing to obtain transaction clearing results; Based on the transaction settlement results and the main blockchain accounts of each energy entity, a transaction settlement token is determined, and a trusted settlement is completed using the transaction settlement token.
2. The main transaction settlement method for an integrated energy system as described in claim 1, characterized in that, The steps for collecting time-of-use transaction information from different regional power grids include: Time-sharing transaction information of power grids in different regions is collected reliably through a pre-set second oracle; The time-of-use transaction information of the different regional power grids is stored on the integrated energy system.
3. The main transaction settlement method for an integrated energy system as described in claim 1, characterized in that, The time-sharing transaction information includes time-sharing period information. If scheduling instruction information is detected, the step of determining the data collection time point corresponding to each of the first oracles based on the time-sharing transaction information and the scheduling instruction information, and collecting energy data information corresponding to each of the energy entities based on the data collection time point and the association binding relationship, includes: If the scheduling instruction information is detected by each of the energy entities, then the data collection time point corresponding to each of the first oracles is set based on the time-sharing time period information; Based on the data collection time point and the association binding relationship, the energy data information corresponding to each of the energy entities is collected by each of the first oracles, and the energy data information is stored on the integrated energy system.
4. The main transaction settlement method for an integrated energy system as described in claim 3, characterized in that, The data collection time points include the time endpoints corresponding to the time-segmented time period information.
5. The main transaction settlement method for an integrated energy system as described in claim 3, characterized in that, The step of collecting energy data information corresponding to each energy entity through each of the first oracles based on the data collection time point and the association binding relationship, and storing the energy data information on the integrated energy system includes: Based on the data collection time point and the association binding relationship, energy data information corresponding to each of the energy entities is collected through each of the first oracles; The trusted execution environment module in each of the first oracles performs a trusted data storage service to store the collected energy data information in the integrated energy system according to a preset storage period.
6. The main transaction settlement method for an integrated energy system as described in claim 1, characterized in that, Before the step of determining the data collection time point corresponding to each of the first oracles based on the time-sharing transaction information and the scheduling instruction information if scheduling instruction information is detected, and collecting energy data information corresponding to each of the energy entities based on the data collection time point and the association binding relationship, the method further includes: The dispatch instruction information is published to each of the energy entities through a preset energy dispatch center, and the dispatch instruction information is stored.
7. The main transaction settlement method for an integrated energy system as described in claim 1, characterized in that, Before the step of obtaining the principal blockchain accounts of each energy entity and the oracle accounts of each first oracle, and determining the association and binding relationship between each principal blockchain account and each oracle account, the method further includes: If the integrated energy system has an identity authentication center, then the entity blockchain account of each energy entity and the oracle account of each of the first oracles are registered through the identity authentication center.
8. The main transaction settlement method for an integrated energy system as described in any one of claims 1 to 7, characterized in that, After the steps of determining the transaction settlement token based on the transaction clearing results and the main blockchain accounts of each energy entity, and using the transaction settlement token to complete trusted settlement, the method further includes: Based on the energy data information corresponding to each energy entity, calculate the completion rate of each energy entity in fulfilling the scheduling instruction information; Based on the completion rate of each energy entity, determine the credit rating token for each energy entity; Based on the credit rating token, a reward and punishment system is determined for each of the energy entities.
9. A main transaction settlement device for an integrated energy system, characterized in that, The main transaction settlement device of the integrated energy system includes: The acquisition module is used to acquire the main blockchain accounts of each energy entity and the oracle accounts of each first oracle, and to determine the association and binding relationship between each main blockchain account and each oracle account. The data acquisition module is used to collect time-sharing transaction information of different regional power grids through a preset second oracle. The time-sharing transaction information includes time-sharing time period information and transaction price information corresponding to the time-sharing time period information. The energy data information acquisition module is used to determine the data acquisition time point corresponding to each of the first oracles based on the time-sharing transaction information and the scheduling instruction information if scheduling instruction information is detected, so as to collect energy data information corresponding to each of the energy entities based on the data acquisition time point and the association binding relationship. The clearing module is used to obtain energy data information of each energy entity corresponding to the scheduling instruction information based on the contract trigger time corresponding to the preset clearing smart contract. The energy data information includes energy consumption data information and energy output data information. Based on the preset clearing rules, the module performs reliable energy clearing on the time-sharing transaction information and the energy data information of each energy entity to obtain the transaction clearing result. The settlement module is used to determine the transaction settlement token based on the transaction clearing results and the main blockchain accounts of each energy entity, and to complete the trusted settlement using the transaction settlement token.
10. A main transaction settlement device for an integrated energy system, characterized in that, The main transaction settlement equipment of the integrated energy system includes: a memory, a processor, and the main transaction settlement program of the integrated energy system stored in the memory. The main transaction settlement program of the integrated energy system is executed by the processor to implement the steps of the main transaction settlement method of the integrated energy system as described in any one of claims 1 to 8.
11. A storage medium, said storage medium being a computer-readable storage medium, characterized in that, The computer-readable storage medium stores the main transaction settlement program of the integrated energy system, which is executed by a processor to implement the steps of the main transaction settlement method of the integrated energy system as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Edge-cloud collaborative user load prediction control and transaction system and implementation method thereof
CN111754023A
Power data processing method and device
CN113052721A
Data processing method, data processing device, data processing system and electronic equipment
CN113779642A