CN114154992A - Demand side response metering and settlement method and device - Google Patents

Demand side response metering and settlement method and device Download PDF

Info

Publication number
CN114154992A
CN114154992A CN202111501550.8A CN202111501550A CN114154992A CN 114154992 A CN114154992 A CN 114154992A CN 202111501550 A CN202111501550 A CN 202111501550A CN 114154992 A CN114154992 A CN 114154992A
Authority
CN
China
Prior art keywords
data
target
settlement
response
financial data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111501550.8A
Other languages
Chinese (zh)
Inventor
卜飞飞
王圆圆
白宏坤
陈军
华远鹏
韩丁
王涵
贾一博
袁建平
辛玉华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Economic and Technological Research Institute of State Grid Henan Electric Power Co Ltd
Beijing Forever Technology Co Ltd
Original Assignee
Economic and Technological Research Institute of State Grid Henan Electric Power Co Ltd
Beijing Forever Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Economic and Technological Research Institute of State Grid Henan Electric Power Co Ltd, Beijing Forever Technology Co Ltd filed Critical Economic and Technological Research Institute of State Grid Henan Electric Power Co Ltd
Priority to CN202111501550.8A priority Critical patent/CN114154992A/en
Publication of CN114154992A publication Critical patent/CN114154992A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

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

Abstract

The invention discloses a demand side response metering and settlement method and a demand side response metering and settlement device, wherein the demand side response metering and settlement method comprises the following steps: completing registration of a target user in the target block chain; carrying out evidence storing and uplink on the original data and the target actual response data of the target user; under the condition that a preset triggering condition is met, triggering a target settlement model, and generating financial data corresponding to the target actual response data based on the target settlement model; and performing certificate storing and chaining on the financial data. Above-mentioned process, initial data, the target actual response data and the financial data of settlement in-process that respond to the measurement process to the demand side based on block chain technique carry out the chain link and deposit the certificate, realized traceing back to relevant data, avoided among the prior art measurement and settlement data not have real-time deposit the certificate, when leading to later stage measurement, expense subsidy data have the error, be difficult to trace back, participate in the untrusted situation of main part, avoid and then the unable automatic settlement that leads to, cause to consume the problem that the time is long.

Description

Demand side response metering and settlement method and device
Technical Field
The invention relates to the technical field of block chains, in particular to a demand side response metering and settlement method and device.
Background
The demand-side response means that when the price of the electric power wholesale market rises or the reliability of the system is threatened, after receiving a direct compensation notice of inductive reduction load or an electric power price rising signal sent by a power supply party, a power consumer changes the inherent conventional power consumption mode, and the power consumption load in a certain period is reduced or shifted to respond to power supply, so that the stability of a power grid is guaranteed, and the short-term behavior of the rise of the power price is restrained. It is one of the solutions for Demand Side Management (DSM).
The existing demand side response method is that when a demand side response user implements demand side response, metering equipment data is automatically transmitted to a central management machine through a communication medium, the central management machine collects demand side response information and transmits the demand side response information to a power company, the power company reports a report of issuing and modifying commission after auditing, the annual settlement of response subsidy cost is once, and automatic settlement is not realized.
In the existing automatic metering and automatic settlement system, metering and settlement data are not stored in real time, even if metering and expense subsidy data have errors in the later period, the metering and expense subsidy data are difficult to trace, and because of distrust of participating main bodies, automatic settlement cannot be achieved, and the consumed time is long.
Disclosure of Invention
In view of the above problems, the present invention provides a demand side response metering and settlement method and device, for solving the problems that in the existing automatic metering and automatic settlement system, metering and settlement data are not stored in real time, even if metering and fee subsidy data are wrong in the later period, the data are difficult to trace back, automatic settlement cannot be achieved due to distrust of participating subjects, and the consumed time is long, the specific scheme is as follows:
a demand side response metering and settlement method is applied to a target block chain, and a settlement model is stored in the target block chain, and the method comprises the following steps:
completing registration of a target user in the target block chain;
carrying out evidence storing and uplink on the original data and the target actual response data of the target user;
under the condition that a preset triggering condition is met, triggering a target settlement model, and generating financial data corresponding to the target actual response data based on the target settlement model;
and performing certificate storing and chaining on the financial data.
Optionally, the method for performing evidence uplink on the target actual response data of the target user includes:
storing certificate uplink of the first response data of the target user;
after the response is finished, second response data of the target user are obtained, and the second response data are subjected to evidence storing uplink;
determining target actual response data based on the first response data and the second response data, and sending the target actual response data to the target user for verification;
and if the verification is passed, performing Mercker data processing on the target actual response data and storing a certification uplink.
Optionally, in the foregoing method, if a preset trigger condition is met, triggering the settlement model, and generating financial data corresponding to the target actual response data based on the settlement model includes:
determining the settlement type of the target user under the condition of meeting a preset trigger condition, and selecting a target settlement model matched with the target user based on the settlement type;
generating a financial data table based on the target settlement model;
and performing hash processing on each piece of data in the financial data table to obtain corresponding financial data.
Optionally, the method for performing evidence storage uplink on the financial data includes:
sending the financial data to the target user to verify whether the financial data is calculated correctly;
and under the condition of passing the verification, performing Mercker tree processing on the financial data and performing evidence uplink.
The above method, optionally, further includes:
encrypting the financial data to obtain encrypted financial data;
sending the encrypted financial data to a bank to enable the bank to obtain subsidy cost based on the encrypted financial data, transferring the subsidy cost to the target user, and sending transfer information to a target block chain;
and receiving the transfer information, and storing a certificate and uploading the transfer information after the Mercker tree processing is carried out on the transfer information.
A demand-side response metering and settlement apparatus for a target blockchain having a settlement model stored therein, the apparatus comprising:
the registration module is used for completing registration of the target user in the target block chain;
the first evidence storing module is used for storing and uploading the original data and the target actual response data of the target user;
the generating module is used for triggering a target settlement model and generating financial data corresponding to the target actual response data based on the target settlement model;
and the second certificate storing module is used for carrying out certificate storing and chaining on the financial data.
Optionally, the apparatus described above, wherein the first evidence storing module includes:
the first evidence storing unit is used for performing evidence storing uplink on first response data of the target user under the condition of receiving the response of the demand side;
the second certificate storing unit is used for acquiring second response data of the target user after the response is finished and performing certificate storing uplink on the second response data;
a determining and sending unit, configured to determine target actual response data based on the first response data and the second response data, and send the target actual response data to the target user for verification;
and the third evidence storing unit is used for storing an uplink after the target actual response data is subjected to the Mercker data processing under the condition that the verification is passed.
The above apparatus, optionally, the generating module includes:
the determining and selecting unit is used for determining the settlement type of the target user under the condition that a preset trigger condition is met, and selecting a target settlement model matched with the target user based on the settlement type;
a generating unit for generating a financial data table based on the target settlement model;
and the hash processing unit is used for carrying out hash processing on each piece of data in the financial data table to obtain corresponding financial data.
Optionally, the above apparatus, wherein the second certificate storing module includes:
a sending unit, configured to send the financial data to the target user to verify whether the financial data is correctly calculated;
and the fourth evidence storing unit is used for performing the mercker tree processing on the financial data and performing evidence storing uplink under the condition that the financial data passes the verification.
The above apparatus, optionally, further comprises:
the encryption module is used for encrypting the financial data to obtain encrypted financial data;
the sending module is used for sending the encrypted financial data to a bank so as to enable the bank to obtain subsidy cost based on the encrypted financial data, transfer the subsidy cost to the target user, and send transfer information to a target block chain;
and the third evidence storing module is used for receiving the transfer information and storing an evidence uplink after the transfer information is subjected to the Mercury tree processing.
Compared with the prior art, the invention has the following advantages:
the invention discloses a demand side response metering and settlement method and a demand side response metering and settlement device, which are applied to a target block chain, wherein a settlement model is stored in the target block chain, and the method comprises the following steps: completing registration of a target user in the target block chain; carrying out evidence storing and uplink on the original data and the target actual response data of the target user; under the condition that a preset triggering condition is met, triggering a target settlement model, and generating financial data corresponding to the target actual response data based on the target settlement model; and performing certificate storing and chaining on the financial data. Above-mentioned process, carry out the cochain to deposit the certificate to the actual response data of target and the financial data of settlement in-process of demand side response measurement process based on block chain technique, realized traceing back to relevant data, avoided among the prior art measurement and settlement data not have real-time deposit the certificate, when leading to later stage measurement, expense subsidy data to have the error, be difficult to trace back, participate in the distrusted situation of main part, avoid and then the unable automatic settlement that leads to, cause the problem that consumes time length.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a demand side response metering and settlement method disclosed in the embodiments of the present invention;
FIG. 2 is a schematic diagram of an application of a demand-side response metering and settlement method according to an embodiment of the present invention;
fig. 3 is a block diagram of a demand-side response metering and settlement apparatus according to 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 invention discloses a demand side response metering and settlement method and a demand side response metering and settlement device, which are applied to the process of metering and settlement of demand side response. In the prior art, when a demand side response user implements demand side response, metering equipment data is automatically transmitted to a central management machine through a communication medium, the central management machine collects demand side response information and transmits the demand side response information to an electric power company, after the electric power company audits, the central management machine reports a report of issuing and modifying commission, and settlement is performed once a year in response to subsidy expenses, and automatic settlement is not realized. In the existing automatic metering and automatic settlement system, metering and settlement data are not stored in real time, and even if metering and expense subsidy data have errors in the later period, the metering and expense subsidy data can not be traced. Automatic settlement cannot be achieved due to the distrust of the participating main body. In a traditional centralized management mode, metering and expense subsidy data are possible to be tampered, and a client and a load integrator can only passively accept the data and cannot perform consistency comparison analysis. Based on the problems, the invention provides a demand side response metering and settlement method, which contracts a metering method and a settlement model in advance and writes an intelligent contract in advance. The demand side responds that a user completes the transformation of the metering equipment, the client is provided with a metering device, relevant data can be obtained remotely or through other systems, and the execution flow of the method is shown as the figure 1 and comprises the following steps:
s101, completing registration of a target user in the target block chain;
in this embodiment of the present invention, the target user may be a power user or a integrator, and the target user is at least one, where the power user/load integrator generates its own key pair, and the key pair includes: the public key and the private key are used for completing identity registration, the power user/load integrator transmits the public key and part of personal identity information to a certification authority for identity certification, the certification authority verifies whether the information is correct or not, if the information is correct, the certification authority issues digital certificates, and the digital certificates correspond to the identity information one by one and contain the public key of the power user/load integrator. If not, authentication fails.
Furthermore, in the transaction process of the power consumer/load integrator, the uplink data needs to be signed by the private key, and other nodes in the chain can decode the uplink data through the public key to check the uplink data, so that the data safety can be ensured, and the tracing of related data can be realized.
S102, carrying out evidence storing and uplink on the original data and the target actual response data of the target user;
in the embodiment of the present invention, original data of the target user is subjected to evidence storing uplink, wherein the original data is data generated by the target user in a power utilization process, and a process of performing evidence storing uplink on target actual response data of the target user is as follows:
(1) firstly, packaging and writing a settlement model, an intelligent contract triggering condition and the like into an intelligent contract of the target block chain, storing certificates and chaining, wherein the number of the settlement model is at least one, the settlement model can be different based on different types of response of a demand side, the intelligent contract triggering condition is a triggering condition subsidized for issuing, and after the response activity of the demand side is completed, if a user meets the response qualification of the demand side, the user response is valid. For example, the evaluation criteria for the effectiveness of the demand response are: the power consumer (load integrator) simultaneously meets the condition that the maximum (small) load is not higher (lower) than the baseline maximum (small) load in the response period in the demand response process; the actual load response is more than or equal to 80 percent and more than the offer response; then the response is deemed valid.
Further, the data or algorithm that needs to be written in the intelligent contract is:
the method for calculating the average load of the baseline, for example, may be: during the peak-meeting summer (winter), the demand response is appointed to select the latest 5 production working days of the power users before the demand response offer day, and the load curve (the collection cycle is 15 minutes) of the corresponding response period is used as a baseline. During the spring festival, the load curves from normal year except the first six (15 minutes acquisition cycle) were used as baseline. The average load calculated from the baseline is referred to as the baseline average load.
② the demand side response evaluation criteria, for example, the evaluation criteria may be: the power consumer (load integrator) simultaneously meets the condition that the maximum (small) load is not higher (lower) than the baseline maximum (small) load in the response period in the demand response process; the actual load response is more than or equal to 80 percent and more than the offer response; then the response is deemed valid.
③ calculation method of subsidy settlement (standard), for example, the subsidy standard is as follows: 1) if the actual load response is larger than 120% of the offer response, subsidizing according to 120% of the offer response at most. 2) The subsidy standard is: appointing a demand response, and subsidizing 12 yuan per kilowatt each time; for real-time demand response, 18 yuan is subsidized per kilowatt each time.
(2) When the demand response center issues a demand side response, if the power user/load integrator determines to participate in the response, storing first response data such as a user ID, a declaration response capacity, a declaration response price, a response time period and the like in a certificate uplink through a private key signature;
(3) in the response time interval, the intelligent contract is automatically executed, enters a queue to be verified, and the verification node performs signature verification on the event to ensure the validity. The modified metering equipment automatically meters the electrical load of the power consumer/load integrator. After the response is finished, storing second demand response data such as response starting time, response finishing time, electric quantity at the beginning of the response, electric quantity at the end of the response and the like in a certificate uplink by a private key signature;
(4) the demand response center collects first response data and second response data of power consumer/load integrators participating in the demand side response, and determines target actual response data based on the first response data and the second response data, wherein the target actual response data exists in the form of a demand response data table, and the demand response data table comprises: carrying out Hash processing, storing and certifying and chaining on the data in the demand response data table, and correspondingly distributing the data to power users/load integrators, wherein the specific distribution process is as follows; the data belonging to the power consumer/load integrator (such as data of response times, response capacity, response subsidy and the like of the power consumer) is subjected to hash processing, and formed root hash data and corresponding source data are distributed to the power consumer/load integrator;
(5) the power consumer/load integrator checks the received target actual response data to check whether the response data is correct, and the specific checking process comprises the following steps:
the data (such as the response times, the response capacity, the response subsidies and the like of the power consumers) issued to the user demand response source data are checked, and the data can be manually checked by the power consumers whether the subsidy data given to the power consumers are correct or not. Whether the times are recorded incorrectly, whether the capacity is calculated incorrectly, whether the subsidy is calculated incorrectly, etc
If the signature is correct, the private key signature is confirmed; if the data information is incorrect, a question is put forward and the target actual response data is fed back, the response center verifies according to the feedback, if the data is required to be changed, the updated data is re-stored and certified to be linked up, and the updated data is confirmed by the power user/load integrator until all the data information is confirmed to be correct;
(6) and the demand response center performs the Mercker tree processing on the finally verified target actual response data, and stores the uplink in a root hash mode. The whole process of automatic metering stores the chain link, so that the data safety can be guaranteed, and related processes and data can be traced according to the time stamps.
Wherein the process of the Mercker tree treatment is as follows:
merkel Trees (Merkle Trees) are an essential component of block-chain technology, and a large number of aggregated data "chunks" (chunks) are hashed to split the chunks into smaller units (BUCKETs), and then each BUCKET unit of data is hashed again, and the same process is repeated until the total number of remaining hashes is 1, i.e., root hash (roatchah). If a database with all data stored in the Mercker tree is provided, all hash branches along the path from the data block to the root can be verified through root hash, that is, a user does not need to download each transaction and each block, and can prove the authenticity and the validity of the whole data chain only by verifying the root hash, thereby simplifying the flow of data processing and query, greatly improving the working efficiency, reducing the working cost, and simultaneously extending the expandability and the application dimensionality of the block chain technology.
The merkel tree (Merkle Trees) is also called a hash tree, i.e., a binary tree storing hash values, and is composed of a root node, a set of intermediate nodes, and a set of leaf nodes. The leaf node at the lowest layer contains the stored data or the hash value thereof, each intermediate node is the hash value of the contents of two child nodes thereof, and the root node is also composed of the hash values of the contents of two child nodes thereof.
The leaf nodes at the lowest layer can cause the hash value of the root node of the Merck tree to change if the data changes.
The mercker tree is an essential component of the block chain technology, and a large number of aggregated data "chunks" (chunk) are subjected to a hash operation to split the data chunks into smaller units (BUCKETs), and then each BUCKET unit data is subjected to the hash operation again, and the same process is repeated until the total number of remaining hashes is 1, namely, the root hash (roatohash).
In block chain application, all hash branches from the data block to the root path can be verified through root hash, namely, a user does not need to download each transaction and each block, and the authenticity and the effectiveness of the whole data chain can be proved only through verifying the root hash, so that the flow of data processing and inquiring is simplified, the working efficiency is greatly improved, and the working cost is reduced.
The application scenarios of the merkel tree are very wide, and the P2P download is typical. A Hash list is downloaded before the actual data is downloaded. Finally, the Hash values of each small block of data are pieced together, and then the long character string is subjected to a Hash operation, so that the root Hash of the Hash list is obtained. When downloading data, firstly obtaining correct root Hash from a credible data source, and then verifying the data block through the verified Hash list.
S103, under the condition that a preset trigger condition is met, a target settlement model is triggered, and financial data corresponding to the target actual response data are generated based on the target settlement model;
in an embodiment of the present invention, the preset trigger condition may be set based on experience or a specific situation, and is not specifically limited in the embodiment of the present invention, for example, the sum of the preset trigger conditions is 11:00-13:00 on a certain day of a certain month in a certain year, if a certain power consumer promises a demand response, the power consumption should be actively reduced in the certain period, preferably, the uplink data is the power consumption data at the starting time point and the power consumption data at the ending time point of the certain period [ the starting time point and the ending time point, which are conditions for triggering the power consumption data storage ], so as to calculate the power consumption a at the time of the certain period of the user, and the response amount can be obtained by comparing the power consumption a with the reference power consumption, where the determination of the reference power consumption is related to a specific application scenario, and the embodiment of the present invention is not specifically limited.
Further, under the condition that the preset trigger condition is met, the settlement type of the target user is obtained, and the target settlement type matched with the target user is selected based on the settlement type. The target settlement model is triggered.
After the demand response data are linked up by the demand response center, triggering automatic settlement in the intelligent contract, automatically generating a financial data table containing user IDs, response capacity, subsidy expenses and the like based on a target settlement model of the intelligent contract for storing the certificates, performing hash processing on each piece of data in the table to obtain financial data, and linking up the financial data, preferably, the financial data exist in the form of a financial data table, wherein the financial data table comprises: project names and compensation fees, wherein the compensation fees are calculated based on corresponding response amounts, and the financial data is distributed to power consumer/load integrators.
Further, the target settlement model is not triggered under the condition that the preset triggering condition is not met.
And S104, performing evidence storage and uplink on the financial data.
In the embodiment of the invention, the power consumer/load integrator checks whether the subsidy cost in the financial data of the power consumer/load integrator is calculated correctly, and can manually check whether the subsidy data given to the power consumer/load integrator is correct. If the data information is correct, the data information is confirmed to be correct through private key signature, if the data information is not consistent, a challenge is put forward and subsidy cost of the challenge is fed back, the response center verifies according to the feedback, if the data information needs to be changed, the updated data is recalculated, the uplink is stored and certified, and the data information is confirmed by the power user/load integrator until all the data information is confirmed to be correct;
and the requirement response center performs the Mercker tree processing on the finally verified financial data table, and the root hash is signed by a private key thereof to store the certificate and uplink. Wherein the processing procedure for the merkel tree is the same as S102.
The invention discloses a demand side response metering and settlement method, which is applied to a target block chain, wherein a settlement model is stored in the target block chain, and the method comprises the following steps: completing registration of a target user in the target block chain; carrying out evidence storing and uplink on the original data and the target actual response data of the target user; under the condition that a preset triggering condition is met, triggering a target settlement model, and generating financial data corresponding to the target actual response data based on the target settlement model; and performing certificate storing and chaining on the financial data. Above-mentioned process, carry out the cochain to deposit the certificate to the actual response data of target and the financial data of settlement in-process of demand side response measurement process based on block chain technique, realized traceing back to relevant data, avoided among the prior art measurement and settlement data not have real-time deposit the certificate, when leading to later stage measurement, expense subsidy data to have the error, be difficult to trace back, participate in the distrusted situation of main part, avoid and then the unable automatic settlement that leads to, cause the problem that consumes time length.
Further, the electric power company encrypts the financial data table by using the public key of the subsidy bank, sends the financial data table to the bank, decrypts the financial data table by using the private key, and automatically transfers subsidy cost to the account number bound by the power user/load integrator. And encrypting the transfer information table by the public key of the electric power company for the bank, sending the transfer information table to the electric power company, processing the Merck tree of the transfer information table, and performing root hash certificate storage and uplink. Wherein the processing procedure for the merkel tree is the same as S102.
The model application schematic diagram of the embodiment of the invention based on the method is shown in fig. 2, a demand response data table and a financial data table are subjected to transaction signature on a demand response block chain platform based on data certification service, wherein the demand response data table is shown in table 1.
TABLE 1
Name of item Response Capacity (KW) Starting time End time
G001
12 13:06 14:30
GXXX 107 17:30 19:20
The financial data table is shown in table 2,
TABLE 2
Name of item Compensation charge
G001
144
GXXX 1284
And meanwhile, based on a specific application scene, carrying out data storage preprocessing on the corresponding data table, wherein the preprocessing process comprises the following steps: two combinations of recordkHash _, recordkHash _2 … recordkHash _ n are combined to finally determine MerklerOotHash, a data evidence-storing transaction is constructed based on the MerklerRootHash, the data evidence-storing transaction is processed based on an intelligent contract, and the specific processing process is as follows: the method comprises the steps of firstly determining a settlement task M, a task type, a data source, a settlement rule and time, then determining a task execution T, a RootHash T, a task state and time, finally determining a settlement result, a Hash R, a state and time, and carrying out uplink transmission on data evidence transaction after signature is submitted based on an intelligent contract, wherein the uplink transmission process comprises the following steps of realizing communication among a node 1 (evidence contract), a node j (evidence contract) and a node M (evidence contract) based on P2P communication, and uploading to a provincial company free block chain (alliance chain attribute) based on a PBFT consensus algorithm, wherein the provincial company free block chain comprises the following steps: block header, block height, timestamp, transaction data, block hash, etc.
In the embodiment of the invention, based on the method, the problems that the metering and expense subsidy data is possibly tampered in the implementation process of the demand side response, and related data cannot be traced back when the metering and expense subsidy data is wrong can be solved. Based on the block chain technology, the metering method, the metering data, the settlement model and other evidence storing can be linked, an intelligent contract is adopted, metering and settlement are automatically carried out, the evidence is linked and stored in the whole process, and even if errors are subsidized in metering and cost, the cost can be recovered by tracing the data in the later period.
Furthermore, in the method, related operation rules and data are linked up through a block chain technology, so that the rights and interests of a demand side to respond to customers can be guaranteed; through an intelligent contract, automatic metering and automatic settlement methods and data chaining are carried out, and the traceability of the data is guaranteed; the settlement efficiency is greatly improved by intelligent contracts, automatic metering and automatic settlement methods.
Based on the demand side response metering and settlement method, an embodiment of the present invention provides a demand side response metering and settlement apparatus, which is applied to a target block chain, where a settlement model is stored in the target block chain, and a structural block diagram of the settlement apparatus is shown in fig. 3, and includes:
a registration module 201, a first authentication module 202, a generation module 203 and a second authentication module 204.
Wherein the content of the first and second substances,
the registration module 201 is configured to complete registration of a target user in the target block chain;
the first evidence storing module 202 is configured to perform evidence storing uplink on the original data of the target user and the target actual response data;
the generating module 203 is configured to trigger a target settlement model, and generate financial data corresponding to the target actual response data based on the target settlement model;
the second deposit module 204 is configured to perform deposit chain on the financial data.
The invention discloses a demand side response metering and settlement device, which is applied to a target block chain, wherein a settlement model is stored in the target block chain, and the demand side response metering and settlement device comprises: completing registration of a target user in the target block chain; carrying out evidence storing and uplink on the original data and the target actual response data of the target user; under the condition that a preset triggering condition is met, triggering a target settlement model, and generating financial data corresponding to the target actual response data based on the target settlement model; and performing certificate storing and chaining on the financial data. Above-mentioned process, carry out the cochain to deposit the certificate to the actual response data of target and the financial data of settlement in-process of demand side response measurement process based on block chain technique, realized traceing back to relevant data, avoided among the prior art measurement and settlement data not have real-time deposit the certificate, when leading to later stage measurement, expense subsidy data to have the error, be difficult to trace back, participate in the distrusted situation of main part, avoid and then the unable automatic settlement that leads to, cause the problem that consumes time length.
In this embodiment of the present invention, the first authentication module 202 includes:
a first credentialing unit 205, a second credentialing unit 206, a determining and transmitting unit 207 and a third credentialing unit 208.
Wherein the content of the first and second substances,
the first evidence storing unit 205 is configured to perform an uplink of the first response data of the target user on the condition that the demand side response is received;
the second certificate storing unit 206 is configured to, after the response is finished, obtain second response data of the target user, and perform certificate storing uplink on the second response data;
the determining and sending unit 207 is configured to determine target actual response data based on the first response data and the second response data, and send the target actual response data to the target user for verification;
the third evidence storing unit 208 is configured to store an uplink after performing merkel data processing on the target actual response data if the verification passes.
In this embodiment of the present invention, the generating module 203 includes:
a determination and extraction unit 209, a generation unit 210, and a hash processing unit 211.
Wherein the content of the first and second substances,
the determining and selecting unit 209 is configured to determine a settlement type of the target user when a preset trigger condition is met, and select a target settlement model matched with the target user based on the settlement type;
the generating unit 210 is configured to generate a financial data table based on the target settlement model;
the hash processing unit 211 is configured to perform hash processing on each piece of data in the financial data table to obtain corresponding financial data.
In this embodiment of the present invention, the second certification module 204 includes:
a transmitting unit 212 and a fourth authentication unit 213.
Wherein the content of the first and second substances,
the sending unit 212 is configured to send the financial data to the target user to verify whether the financial data is calculated correctly;
the fourth certification storing unit 213 is configured to perform certification storing uplink after performing the mercker tree processing on the financial data if the verification passes.
In the embodiment of the present invention, the apparatus further includes:
an encryption module 214, a sending module 215, and a third credentialing module 216.
Wherein the content of the first and second substances,
the encryption module 214 is configured to encrypt the financial data to obtain encrypted financial data;
the sending module is used for sending the encrypted financial data to a bank so as to enable the bank to obtain subsidy cost based on the encrypted financial data, transfer the subsidy cost to the target user, and send transfer information to a target block chain;
and the third evidence storing module is used for receiving the transfer information and storing an evidence uplink after the transfer information is subjected to the Mercury tree processing.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be 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 demand side response metering and settlement method and device provided by the invention are described in detail above, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A demand side response metering and settlement method is applied to a target block chain, and a settlement model is stored in the target block chain, and the method comprises the following steps:
completing registration of a target user in the target block chain;
carrying out evidence storing and uplink on the original data and the target actual response data of the target user;
under the condition that a preset triggering condition is met, triggering a target settlement model, and generating financial data corresponding to the target actual response data based on the target settlement model;
and performing certificate storing and chaining on the financial data.
2. The method of claim 1, wherein storing the target actual response data of the target user for evidence uplink comprises:
storing certificate uplink of the first response data of the target user;
after the response is finished, second response data of the target user are obtained, and the second response data are subjected to evidence storing uplink;
determining target actual response data based on the first response data and the second response data, and sending the target actual response data to the target user for verification;
and if the verification is passed, performing Mercker data processing on the target actual response data and storing a certification uplink.
3. The method of claim 1, wherein triggering the settlement model and generating financial data corresponding to the target actual response data based on the settlement model if a preset trigger condition is met comprises:
determining the settlement type of the target user under the condition of meeting a preset trigger condition, and selecting a target settlement model matched with the target user based on the settlement type;
generating a financial data table based on the target settlement model;
and performing hash processing on each piece of data in the financial data table to obtain corresponding financial data.
4. The method of claim 1, wherein the credentialing the financial data comprises:
sending the financial data to the target user to verify whether the financial data is calculated correctly;
and under the condition of passing the verification, performing Mercker tree processing on the financial data and performing evidence uplink.
5. The method of claim 1, further comprising:
encrypting the financial data to obtain encrypted financial data;
sending the encrypted financial data to a bank to enable the bank to obtain subsidy cost based on the encrypted financial data, transferring the subsidy cost to the target user, and sending transfer information to a target block chain;
and receiving the transfer information, and storing a certificate and uploading the transfer information after the Mercker tree processing is carried out on the transfer information.
6. A demand-side response metering and settlement apparatus, applied to a target block chain in which a settlement model is stored, the apparatus comprising:
the registration module is used for completing registration of the target user in the target block chain;
the first evidence storing module is used for storing and uploading the original data and the target actual response data of the target user;
the generating module is used for triggering a target settlement model and generating financial data corresponding to the target actual response data based on the target settlement model;
and the second certificate storing module is used for carrying out certificate storing and chaining on the financial data.
7. The apparatus of claim 6, wherein the first credentialing module comprises:
the first evidence storing unit is used for performing evidence storing uplink on first response data of the target user under the condition of receiving the response of the demand side;
the second certificate storing unit is used for acquiring second response data of the target user after the response is finished and performing certificate storing uplink on the second response data;
a determining and sending unit, configured to determine target actual response data based on the first response data and the second response data, and send the target actual response data to the target user for verification;
and the third evidence storing unit is used for storing an uplink after the target actual response data is subjected to the Mercker data processing under the condition that the verification is passed.
8. The apparatus of claim 6, wherein the generating module comprises:
the determining and selecting unit is used for determining the settlement type of the target user under the condition that a preset trigger condition is met, and selecting a target settlement model matched with the target user based on the settlement type;
a generating unit for generating a financial data table based on the target settlement model;
and the hash processing unit is used for carrying out hash processing on each piece of data in the financial data table to obtain corresponding financial data.
9. The apparatus of claim 6, wherein the second credentialing module comprises:
a sending unit, configured to send the financial data to the target user to verify whether the financial data is correctly calculated;
and the fourth evidence storing unit is used for performing the mercker tree processing on the financial data and performing evidence storing uplink under the condition that the financial data passes the verification.
10. The method apparatus of claim 6, further comprising:
the encryption module is used for encrypting the financial data to obtain encrypted financial data;
the sending module is used for sending the encrypted financial data to a bank so as to enable the bank to obtain subsidy cost based on the encrypted financial data, transfer the subsidy cost to the target user, and send transfer information to a target block chain;
and the third evidence storing module is used for receiving the transfer information and storing an evidence uplink after the transfer information is subjected to the Mercury tree processing.
CN202111501550.8A 2021-12-09 2021-12-09 Demand side response metering and settlement method and device Pending CN114154992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111501550.8A CN114154992A (en) 2021-12-09 2021-12-09 Demand side response metering and settlement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111501550.8A CN114154992A (en) 2021-12-09 2021-12-09 Demand side response metering and settlement method and device

Publications (1)

Publication Number Publication Date
CN114154992A true CN114154992A (en) 2022-03-08

Family

ID=80454285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111501550.8A Pending CN114154992A (en) 2021-12-09 2021-12-09 Demand side response metering and settlement method and device

Country Status (1)

Country Link
CN (1) CN114154992A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170358041A1 (en) * 2012-07-31 2017-12-14 Causam Energy, Inc. Systems and methods for advanced energy settlements, network-based messaging, and applications supporting the same on a blockchain platform
KR20190043117A (en) * 2017-10-17 2019-04-25 주식회사 코인플러그 Method for payment based on blockchain and payment server using the same
CN111160880A (en) * 2019-12-10 2020-05-15 国网天津市电力公司 Block chain-based industrial user demand response-oriented transaction settlement control method
CN111179113A (en) * 2019-12-10 2020-05-19 国网天津市电力公司 Power demand response method based on block chain technology
CN112288213A (en) * 2020-09-01 2021-01-29 中国电力科学研究院有限公司 High-reliability demand response system and method based on block chain
CN112488597A (en) * 2020-12-30 2021-03-12 国网河南省电力公司南阳供电公司 Electric power transaction method based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170358041A1 (en) * 2012-07-31 2017-12-14 Causam Energy, Inc. Systems and methods for advanced energy settlements, network-based messaging, and applications supporting the same on a blockchain platform
KR20190043117A (en) * 2017-10-17 2019-04-25 주식회사 코인플러그 Method for payment based on blockchain and payment server using the same
CN111160880A (en) * 2019-12-10 2020-05-15 国网天津市电力公司 Block chain-based industrial user demand response-oriented transaction settlement control method
CN111179113A (en) * 2019-12-10 2020-05-19 国网天津市电力公司 Power demand response method based on block chain technology
CN112288213A (en) * 2020-09-01 2021-01-29 中国电力科学研究院有限公司 High-reliability demand response system and method based on block chain
CN112488597A (en) * 2020-12-30 2021-03-12 国网河南省电力公司南阳供电公司 Electric power transaction method based on block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
卜飞飞等: "基于区块链的需求侧响应方案设计与实现", 电力建设, vol. 43, no. 05, 31 May 2022 (2022-05-31), pages 79 - 89 *
鲁静;宋斌;向万红;周志明;: "基于区块链的电力市场交易结算智能合约", 计算机系统应用, no. 12, 15 December 2017 (2017-12-15), pages 43 - 50 *
鲁静等: "基于区块链的电力市场交易结算智能合约", 计算机系统应用, vol. 26, no. 12, 31 December 2017 (2017-12-31), pages 43 - 50 *

Similar Documents

Publication Publication Date Title
JP6719561B2 (en) Supply medium (eg, electricity) trading contract system
CN111259070B (en) Method and related device for storing and acquiring service data
JP6483929B2 (en) Supply system and method for operating a supply system
CN109034840B (en) Green certificate transaction method and system based on clean energy generation
Cheng et al. Research on application model of blockchain technology in distributed electricity market
CN112434343B (en) Virtual power plant safety scheduling and trading method based on dual block chain technology
CN113438084B (en) Green power source tracing method and system based on R-PBFT consensus algorithm and timestamp
CN110287186B (en) Smart power grid data management system and method based on master block chaining technology
CN110717832B (en) Clean energy trading method, system, device and storage medium based on block chain
JP2019501612A (en) Supply system meter and supply system
CN112488778A (en) Bill processing method and related device
CN111882385A (en) Electric power market trading and evaluating method based on weak centralized alliance block chain
CN111178887B (en) Distributed photovoltaic power generation and selling system and method based on block chain
CN111177758A (en) Distributed photovoltaic settlement method and system based on block chain
CN112488777B (en) Bill processing method and related device
CN113379485B (en) Hash algorithm and secondary quotation-based demand response bidding transaction method and system
CN112232813A (en) Renewable energy power consumption voucher management method and device based on block chain
EP3736760A1 (en) Automated transaction protocol linking renewable energy generation assets to energy power consumers applying distributed digital ledger technology and iot energy meters
CN113987080A (en) Block chain excitation method and device based on reputation consensus and related products
CN113010605A (en) Green power source tracing method and device based on block chain
CN113706312A (en) Photovoltaic electricity transaction method and device based on block chain
CN113822656B (en) Cross-chain cooperation method based on block chain technology
JP7219612B2 (en) Failure detection system
CN114154992A (en) Demand side response metering and settlement method and device
CN114726548B (en) Cross-chain-supported green electricity tracing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination