CN111177758A - Distributed photovoltaic settlement method and system based on block chain - Google Patents

Distributed photovoltaic settlement method and system based on block chain Download PDF

Info

Publication number
CN111177758A
CN111177758A CN201911379658.7A CN201911379658A CN111177758A CN 111177758 A CN111177758 A CN 111177758A CN 201911379658 A CN201911379658 A CN 201911379658A CN 111177758 A CN111177758 A CN 111177758A
Authority
CN
China
Prior art keywords
settlement
node
block chain
photovoltaic
intelligent contract
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
CN201911379658.7A
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.)
State Grid Shanghai Electric Power Co Ltd
Original Assignee
State Grid Shanghai Electric Power 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 State Grid Shanghai Electric Power Co Ltd filed Critical State Grid Shanghai Electric Power Co Ltd
Priority to CN201911379658.7A priority Critical patent/CN111177758A/en
Publication of CN111177758A publication Critical patent/CN111177758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or 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
    • 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

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Human Resources & Organizations (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a distributed photovoltaic settlement method and a distributed photovoltaic settlement system based on a block chain, which belong to the technical field of distributed photovoltaics and solve the problem of distributed photovoltaic settlement, and the method comprises the following steps: generating an intelligent contract for the transaction settlement of the photovoltaic power internet; deploying the intelligent contracts into a local database of each node on a blockchain; chaining the collected internet transaction electric quantity; triggering the intelligent contract, and initiating photovoltaic settlement to obtain settlement data; and paying the electricity charge after signature verification and consensus verification are carried out on the settlement data at each node of the block chain. The invention can be used for a photovoltaic power internet access mode of 'full internet access, spontaneous self-use/surplus power internet access', and realizes the distributed safe sharing of photovoltaic projects and settlement information.

Description

Distributed photovoltaic settlement method and system based on block chain
Technical Field
The invention relates to the technical field of distributed photovoltaics, in particular to a distributed photovoltaic settlement method and a distributed photovoltaic settlement system based on a block chain.
Background
The current photovoltaic settlement mode of the power grid company is as follows: the electricity consumption Information acquisition System acquires data such as the internet electricity quantity and the generated energy of a power generator, the electricity marketing MIS (Management Information System) System issues the electricity charge according to the internet electricity quantity and the generated energy and then transmits the electricity charge to the financial Management and control System, the financial affairs are settled and checked according to data such as an electricity charge settlement bill and a generation invoice, the internet electricity charge and the central subsidy are paid to the light e bank, and the light e bank finishes the transfer payment of the electricity charge. In the process, the financial management and control system needs to maintain the benchmarking electricity price, the subsidy standard, the corresponding current unit and the bank union number related to settlement, and report and summarize records layer by layer.
The following problems arise in this mode: the marketing basic information is lost, so that the necessary information of the financial link is incomplete, manual supplementary maintenance is needed, and the workload is large; an online information return mechanism is not arranged between the marketing system and the management and control system, offline notification is completely relied on, the effect and timeliness of retransmission cannot be guaranteed, the processing efficiency is low, and financial side settlement is affected; the photovoltaic user applies for information bank connection numbers and the filling of the units from beginning to end is not standard. These problems lead to a lengthy financial payment auditing process, untimely payment of the light e treasures, and even financial risks such as wrong account and missed account.
Disclosure of Invention
In view of the above analysis, the present invention aims to provide a distributed photovoltaic settlement method and system based on a block chain, which solves the problems of the conventional distributed photovoltaic settlement system by using a block chain technology, provides a convenient, easy-to-use and lightweight distributed project subsidy settlement method and system, and provides support for safe, stable and efficient processing of the businesses after the sudden increase of the distributed project.
The purpose of the invention is mainly realized by the following technical scheme:
the invention discloses a distributed photovoltaic settlement method based on a block chain, which is characterized by comprising the following steps:
generating an intelligent contract for the transaction settlement of the photovoltaic power internet;
deploying the intelligent contracts into a local database of each node on a blockchain;
chaining the collected internet transaction electric quantity;
triggering the intelligent contract, and initiating photovoltaic settlement to obtain settlement data;
and paying the electricity charge after signature verification and consensus verification are carried out on the settlement data at each node of the block chain.
Further, the generating of the intelligent contract comprises:
1) utilizing a formatted photovoltaic settlement contract template which is agreed by each node on the block chain to generate a contract text of the intelligent contract;
2) obtaining an intelligent contract code after programming and verification;
3) distributing the intelligent contract code to each node;
4) each node temporarily stores the received intelligent contract codes in a local memory, packages the intelligent contract codes temporarily stored in a set time period into a contract set, calculates the Hash value of the set and assembles the set into a block;
5) each node diffuses the blocks in the local memory to other nodes of the whole network;
6) the node receiving the block compares and verifies the Hash value stored locally;
the consensus is achieved through multiple rounds of sending and comparison, and the method is extended to all sections of the whole network.
Further, the block includes a Hash value of the current block, a Hash value of the previous block, a timestamp, smart contract data, and smart contract record data.
Further, the intelligent contract deployment comprises:
1) after the intelligent contract is achieved, a sender of the intelligent contract adopts a private key and a public key of a receiver of the intelligent contract to sign and encrypt the intelligent contract;
2) installing the intelligent contract subjected to signature encryption on a block chain, namely a service platform;
3) and the blockchain service platform synchronizes the intelligent contracts to a local database of each node on the blockchain.
Further, the signature encryption encrypts non-critical private data of the power transaction.
Further, the intelligent contract initiating photovoltaic settlement triggering conditions comprise;
when the online transaction electric quantity data changes, regularly and automatically triggering intelligent contracts of all nodes; alternatively, the first and second electrodes may be,
after the block link receives the data of the electric quantity of the online transaction, an intelligent contract is triggered by the power generation and utilization user node in the block link, and photovoltaic settlement is initiated.
Further, the paying the electricity fee after the signature verification and the consensus verification are performed on the settlement data at each node of the blockchain specifically includes:
1) the node of the reward part in the block chain carries out electricity fee compliance audit on the intelligent contract photovoltaic settlement result and links the audit result;
2) a financial department node in the block chain acquires the photovoltaic settlement result of the audit compliance to bill, and links the electronic invoice data;
3) the block chain carries out matching verification according to the electronic invoice data of the chain and the intelligent contract photovoltaic settlement result on the chain, and the corresponding relation between the invoice and the settlement result is chain;
4) after the invoice passes the verification, making a settlement document by the earmark part node in the block chain according to the payment posting amount and the plan, and pushing the settlement document to the financial part node in the block chain for auditing to generate a settlement voucher; and chaining the settlement document and the settlement voucher;
5) and carrying out payment application, approval, payment and payment information feedback.
Further, the block chain carries out distributed encryption and evidence storage on settlement data, receipts and certificates.
Further, the power grid company node in the block chain decrypts the settlement result in the intelligent contract through a private key and a public key of the power generation user node; and performing corresponding power scheduling work with the internet surfing electric quantity in the settlement data at a time interval preset by the intelligent contract according to the settlement result.
The invention also discloses a distributed photovoltaic settlement system based on the block chain, which comprises a block chain serving platform, power generation and utilization user nodes and power grid enterprise nodes;
the block chain is a service platform and is used for creating, managing and maintaining a block chain network and providing application services;
the electricity sending and using user node is an electricity selling side in the electricity transaction and is used for initiating the electricity network transaction and receiving the electricity fee settlement paid by the power grid enterprise;
the power grid enterprise node is the electricity purchasing side in the electricity transaction and comprises an electricity utilization acquisition node, a financial department node and a reward part node;
the distributed photovoltaic settlement system executes the distributed photovoltaic settlement method through the block chain, carries out power internet transaction, collects, settles, audits and invoices the power generation and power consumption of the power generation and power consumption users and pays power fees to the power generation and power consumption users.
The invention has the following beneficial effects:
1. the invention can be used for a photovoltaic power internet access mode of 'full internet access, spontaneous self-use/surplus power internet access', realizes the distributed safe sharing of photovoltaic projects and settlement information, solves the problem that the data of each system cannot be acquired in real time due to the operation of a service system related to a plurality of departments, can not be falsified once the data is stored in a block chain, can audit the shared log every time, and strengthens the reality and mutual trust of source data.
2. Intelligent matching of electric power transaction amount and price is implemented, and accurate financial settlement is realized; the intelligent contracts are subjected to random transaction matching, the generated energy and the online electric quantity which are collected from the intelligent electric meter and recorded on the chain are subjected to transaction clearing according to the block chain, the clearing amount can simultaneously run the same code through all the nodes, and the results are mutually verified, so that the data consistency, the settlement accuracy and the intellectualization are realized; the intelligent contract automatically executes fund transfer according to a transaction settlement result, the automatic point-to-point settlement of the contract reduces the transaction dispute probability, and the trust problem among strange nodes is solved.
3. The intelligent contract is an application program and a reusable automatic execution script which run on a block chain, and for the condition that a plurality of contracts exist on the chain, each contract can agree different electric power transaction participants, each subcommand in each contract can also be appointed to run a specific transaction, and the complex audit service logic of a power grid company can be completed by utilizing the intelligent contract, so that the subsequent financial management risk is avoided.
4. The power consumer including the timestamp, the transaction hash, the block chain hash, the block height, the original data and the evidence storing information are connected with a transaction related information chain, so that the power consumer can conveniently inquire and display at the power grid side and the user side, perform real-time panoramic display and data analysis, and realize value co-creation of the energy industry.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, wherein like reference numerals are used to designate like parts throughout.
Fig. 1 is a flowchart of a distributed photovoltaic settlement method according to a first embodiment of the present invention;
fig. 2 is a block composition transfer diagram according to a first embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form a part hereof, and which together with the embodiments of the invention serve to explain the principles of the invention.
Example one
The embodiment discloses a distributed photovoltaic settlement method based on a block chain, as shown in fig. 1, comprising the following steps:
step S1, generating an intelligent contract for trading settlement of photovoltaic power on the Internet;
specifically, the method comprises the following substeps:
1) utilizing a formatted photovoltaic settlement contract template which is agreed by each node on the block chain to generate a contract text of the intelligent contract;
the contract text is generated after all parties reach consensus on the charging rule of the photovoltaic power internet transaction after the marketing center accepts the grid-connected application of the power generation and utilization users of the photovoltaic user;
when parties establish new contracts for photovoltaic power grid transactions, the contracts can be designed using informal specifications and then described using formatted photovoltaic settlement contract templates agreed upon by nodes on the blockchain.
The formatted photovoltaic settlement contract templates which are commonly identified by all the nodes on the block chain can be downloaded from the related services of the block chain, namely a service platform, and the contract templates can not be tampered after being commonly identified and linked, so that the individual nodes are prevented from being increased, deleted and modified privately and maliciously.
Photovoltaic project information, complete customer profile information, and pricing rules for photovoltaic settlement may be included in the contract text. The pricing rules comprise charging, electric quantity, tax rate contract rules and the like for calculating the electricity purchasing fee and the subsidy amount.
The procedures of the small-sized distributed photovoltaic power station project are basically the same, and the differences are mainly reflected on investment subjects, namely natural persons and legal persons. The basic flow is as follows:
firstly, preparing a project at an early stage;
submitting a distributed power supply project access application form;
confirming a distributed power supply access system scheme issued by a power supply company or a letter agreeing to access to a power grid;
for residential users (natural people), the power supply company uniformly and intensively substitutes for organization design and construction, and for commercial and industrial users (legal people), the materials are submitted to a reform committee for filing before the organization design and construction are organized;
after the project is completed, submitting photovoltaic grid-connected acceptance and debugging application;
signing a power selling contract with a power grid company, and installing a gateway metering device (namely hardware such as an intelligent electric meter);
and creating project electric charge and subsidy issuing account (vertical user) generating user.
2) Obtaining an intelligent contract code after programming and verification;
programming the contract text to generate an intelligent contract code;
the intelligent contract code is validated to verify the consistency of the intelligent contract code and the contract text.
Specifically, a formal verification method can be adopted to verify the intelligent contract code;
since there may be leaks of intelligent contract code and contract text inconsistency caused by contract compilation, improper contract code compilation, improper execution environment implementation or a defect in contract code logic during contract construction, storage and execution of intelligent contracts, careful auditing and security check of the linked intelligent contracts are necessary. The embodiment utilizes a formal verification method to perform security audit on the intelligent contract codes so as to ensure that the intelligent contract codes and the settlement rules are consistent in nature and execution power; based on the established formalized constraints, relevant characteristics of the settlement contract are analyzed and verified to audit whether the settlement contract meets the expected security attributes, such as inconsistency, ambiguity, incompleteness and the like.
Intelligent contract code validation may be performed on a virtual machine.
3) Distributing the intelligent contract code to each node;
specifically, the validated contract is distributed to each node by way of P2P.
4) Each node temporarily stores the received intelligent contract codes in a local memory, packages the intelligent contract codes temporarily stored in a set time period into a contract set, calculates the Hash value of the set and assembles the set into a block;
as shown in fig. 2 below, each block contains the following information: the Hash value of the current block, the Hash value of the previous block, the timestamp, the contract data, and the intelligent contract record data. The contracts are stored in the contract set so as to be called immediately according to the service requirements.
5) And each node diffuses the block in the local memory to other nodes of the whole network.
6) And the nodes receiving the blocks compare and verify the Hash values stored locally.
The consensus is achieved through multiple rounds of sending and comparison, and the method is extended to all sections of the whole network.
Step S2, deploying the intelligent contracts to a local database of each node on the block chain;
specifically, the intelligent contract deployment includes:
1) after the intelligent contract is achieved, a sender of the intelligent contract adopts a private key and a public key of a receiver of the intelligent contract to sign and encrypt the intelligent contract;
preferably, the encryption may encrypt non-critical private data of the power transaction, including anonymous, private data that should not be publicly exposed to make others non-queryable, transaction details such as transaction amount, and the like.
The sender and the receiver of the intelligent contract can be power generation user nodes or power grid enterprise nodes serving as basic organization nodes in the block chain.
The power grid enterprise nodes comprise a financial department node and a reward part node;
financial department node: namely, the service platform of the financial management and control system of the financial department of the power grid company synchronously audits the system and the manual document (invoice) according to the settlement information transmitted by marketing and the provided related document. And checking the settlement information, and performing invoice confirmation and certificate making after the verification is correct, and performing accounting processing. And after the electricity purchasing accounting post checks that the payment information is correct, the financial management and control system confirms, pays and controls the certificate, and then feeds back the marketing MIS system.
A campsite node: the service platform of the marketing MIS system in the electric network company service part is used for rechecking electric meter data, transmitting the data to an electric quantity and electric charge auditing link after error processing is avoided, transmitting the data to a work order of the electric quantity and electric charge auditing link, and auditing electric quantity and electric charge and settling document auditing and transmitting by an auditor according to the corresponding relation between the generated energy and the online electric quantity.
2) Installing the intelligent contract subjected to signature encryption on a block chain, namely a service platform;
in the installation stage of the intelligent contract, both the electricity selling party and the electricity purchasing party install the intelligent contract on a block chain, namely a service platform;
the block chain service platform is used for creating, managing and maintaining a block chain network and providing photovoltaic power trading internet settlement application service;
the blockchain is a service platform, which is a service platform for helping users to create, manage and maintain enterprise-level blockchain networks and applications. The method has the characteristics of reducing development and use cost, considering rapid deployment, convenience, easiness in use, high safety, reliability and the like, and is a platform for providing block chain service capability for block chain application developers. The block chain, namely the service platform, converts computing resources, communication resources, storage resources, block chain accounting capacity, block chain application development capacity and block chain matching facility capacity of an upper layer into a programmable interface, so that the application development process and the application deployment process are simple and efficient, meanwhile, the safety and the reliability of block chain application are guaranteed through standardized capacity construction, support is provided for the operation of block chain business, the operation problems of elasticity, safety, performance and the like are solved, and developers are enabled to concentrate on the development. The most common BaaS platform for the federation chain architecture is Hyperridge Fabric developed by IBM.
3) And the blockchain service platform synchronizes the intelligent contracts to a local database of each node on the blockchain.
In particular, the blockchain synchronizes the intelligent contracts to local databases of other nodes through a P2P network.
Step S3, chaining the collected internet transaction electric quantity;
specifically, a power generation and utilization acquisition node on the block chain acquires the online transaction electric quantity of a power generation and utilization user through an intelligent electric quantity acquisition device; the intelligent electric power acquisition equipment is an intelligent electric meter;
the intelligent electric meter is used as a node of the block chain, and links the collected online transaction electric quantity after encryption.
The online transaction electric quantity can be directly linked up through an interface of the intelligent electric meter, or after being checked to be correct through the reward part node, the online transaction electric quantity is linked up again.
Step S4, triggering the intelligent contract, and initiating photovoltaic settlement to obtain settlement data;
specifically, triggering an intelligent contract to initiate photovoltaic settlement, calculating the electricity purchasing fee and the subsidy amount according to the online transaction electric quantity, and linking the calculated result;
the triggering of the intelligent contract to initiate photovoltaic settlement comprises two modes;
the first method is as follows: when the power generation and power utilization data change, regularly and automatically triggering intelligent contracts of all nodes; all nodes have a uniform container environment for operating the intelligent contract, and the change of power generation or power utilization data is monitored, namely, the automatic execution of the intelligent contract is triggered, and photovoltaic settlement is initiated;
the second method comprises the following steps: after the block link receives power generation and power utilization data collected from the power acquisition equipment, a power generation and power utilization user triggers an intelligent contract to initiate photovoltaic settlement.
Step S5, paying the electric charge after signature verification and consensus verification are carried out on the settlement data by each node of the block chain;
the method specifically comprises the following steps:
1) the node of the reward part in the block chain carries out electricity fee compliance audit on the intelligent contract photovoltaic settlement result and links the audit result;
specifically, the reward part node in the block chain compares the payable electric charge and the subsidy amount uplink calculated according to the online transaction electric quantity with the electric charge and the subsidy amount uplink calculated according to the block chain intelligent contract, performs electric charge compliance audit, and links the audit result.
2) A financial department node in the block chain acquires the photovoltaic settlement result of the audit compliance to bill, and links the electronic invoice data;
specifically, the invoice contains metadata such as a number, a code, an invoicing date, a check code/tax free amount, and the like. And when invoicing is carried out, for natural human scenes, invoicing is carried out by the reward part node according to the information of the electric quantity and the electric charge on the chain. One natural person makes one invoice (the electricity purchase fee and the subsidy are combined to make one invoice) for each project. For unnatural people (such as business, industrial and other enterprise clients), the invoice is issued by the notification, the enterprise inquires the information of the quantity, price and fee on the chain, confirms that the information is correct, and goes to the tax bureau for issuing the invoice. The electricity purchasing fee and the central subsidy of the power grid can be separately invoiced according to the needs.
The block chain encrypts and stores the electronic invoice or paper bill according to the two-dimensional code, and verifies the electronic invoice or paper bill according to the intelligent contract rule of the invoice; and (5) transmitting the tax data into a tax system. Or, the tax bureau is used as a node to be added into the alliance chain, and the digital bill is generated on the block chain.
3) The block chain carries out matching verification according to the electronic invoice data of the chain and the intelligent contract photovoltaic settlement result on the chain, and the corresponding relation between the invoice and the settlement result is chain;
after the invoice is issued, comparing the invoice amount on the invoice named as 'distributed photovoltaic electricity purchasing charge' with the payment due and electricity purchasing charge of settlement data calculated by a contract on a chain, and comparing the invoice tax amount with the tax amount of the settlement data. When the invoice amount is equal to the amount of the electric charge to be paid and the same, and the tax amount difference between the invoice tax amount and the settlement data is within a set range (within plus or minus 0.03 yuan), the matching is considered to be successful, the invoice is effective, the invoice is stored on a block chain through hash encryption, and the corresponding relation between the invoice and the settlement data is linked. The system will display that each record ID (GID) to be settled corresponds to a number, and there may be the following three cases according to the settlement service scenario:
scene one: if one invoice corresponds to the subsidy data of a plurality of months, namely the invoice and the settlement data are in a 1-to-many relationship, the returned invoice information of each GID is the same when the invoices are returned.
Scene two: if a certain unit needs to make a plurality of invoices when the monthly subsidy amount is huge, namely the invoices and the settlement data are in a multi-to-1 relationship, a plurality of records (number of invoices) GID are returned when the relationship is returned, the GID are the same, and the corresponding invoice information is different.
Scene three: and (4) simultaneously settling subsidies for N months by a certain unit, but if the sum of money is larger and N invoices need to be separated, returning N records.
4) After the invoice passes the verification, making a settlement document by the earmark part node in the block chain according to the payment posting amount and the plan, and pushing the settlement document to the financial part node in the block chain for auditing to generate a settlement voucher; and chaining the settlement document and the settlement voucher; the method is not falsifiable, and provides a reliable data base for subsequent audit;
7) and after the distributed photovoltaic settlement processing is finished, payment application, approval, payment and payment information feedback are carried out.
Specifically, after the distributed photovoltaic settlement processing is completed, a payment application approval process of electricity purchase fee and subsidy amount can be started: and the payment application approval circulation can be carried out by generating and approving the payment prefabricated certificate, and after the payment application approval is finished, formal payment and fund transfer are carried out, so that the prefabricated certificate is converted into a formal accounting certificate.
After the power grid payment is successful, the payment information is fed back to the reward part, and the reward part is fed back to the photovoltaic owner in a short message mode.
Specifically, the block chain performs distributed encryption and evidence storage on information and settlement data (including subsidy catalog information, settlement data due to payment, settled data, paid data and the like) generated in each link, and documents and certificates, and the information and the settlement data cannot be tampered and traced.
And step S6, performing corresponding power dispatching work according to the online power.
Specifically, the power grid enterprise node in the block chain decrypts the settlement result in the intelligent contract through a private key and a public key of the power generation and utilization user node; and performing corresponding power scheduling work with the internet surfing electric quantity in the settlement data at a time interval preset by the intelligent contract according to the settlement result.
Compared with the prior art, the embodiment can be used for a photovoltaic power internet access mode of 'full internet access, spontaneous self-use/surplus power internet access', distributed safe sharing of photovoltaic projects and settlement information is realized, the problem that data of each system cannot be acquired in real time due to operation of business systems related to multiple departments is solved, the data cannot be falsified once being stored in a block chain, shared logs can be audited every time, and true and mutual trust of source data is strengthened; intelligent matching of electric power transaction amount and price is implemented, and accurate financial settlement is realized; the automatic point-to-point settlement reduces the transaction dispute probability and solves the trust problem among strange nodes; complex auditing service logic of a power grid company can be completed, and subsequent financial management risks are avoided; the power consumer including the timestamp, the transaction hash, the block chain hash, the block height, the original data and the evidence storing information are connected with a transaction related information chain, so that the power consumer can conveniently inquire and display at the power grid side and the user side, perform real-time panoramic display and data analysis, and realize value co-creation of the energy industry.
Example two
The embodiment discloses a distributed photovoltaic settlement system based on a block chain, which comprises a block chain serving as a service platform, power generation and utilization user nodes and power grid enterprise nodes;
the block chain as a service platform (BaaS platform) is used for creating, managing and maintaining a block chain network and providing application services;
the blockchain is a service platform, which is a service platform for helping users to create, manage and maintain enterprise-level blockchain networks and applications. The method has the characteristics of reducing development and use cost, considering rapid deployment, convenience, easiness in use, high safety, reliability and the like, and is a platform for providing block chain service capability for block chain application developers. The block chain, namely the service platform, converts computing resources, communication resources, storage resources, block chain accounting capacity, block chain application development capacity and block chain matching facility capacity of an upper layer into a programmable interface, so that the application development process and the application deployment process are simple and efficient, meanwhile, the safety and the reliability of block chain application are guaranteed through standardized capacity construction, support is provided for the operation of block chain business, the operation problems of elasticity, safety, performance and the like are solved, and developers are enabled to concentrate on the development. The most common BaaS platform for the federation chain architecture is Hyperridge Fabric developed by IBM.
The electricity sending and using user node is an electricity selling side in the electricity transaction and is used for initiating the electricity network transaction and receiving the electricity fee settlement paid by the power grid enterprise; in the micro-grid, electricity generation and utilization users comprise residential electricity producers and consumers, industrial electricity producers and consumers and commercial electricity producers and consumers, namely electricity producers and consumers, and the produced electricity can be completely on line or can be automatically used/surplus electricity is on line to a power grid company.
The power grid enterprise node is the electricity purchasing side in the electricity transaction and comprises an electricity utilization acquisition node, a financial department node and a reward part node; and carrying out electric charge settlement according to the on-line electric quantity, and paying the electric charge and the photovoltaic power to the user.
The power generation and utilization acquisition node comprises intelligent power acquisition equipment, and the intelligent power acquisition equipment is an intelligent ammeter; collecting power generation and power utilization data of power generation and utilization users through an intelligent electric meter;
electric wire netting company financial department node: namely, the service platform of the financial management and control system of the financial department of the power grid company synchronously audits the system and the manual document (invoice) according to the settlement information transmitted by marketing and the provided related document. And checking the settlement information, and performing invoice confirmation and certificate making after the verification is correct, and performing accounting processing. And after the electricity purchasing accounting post checks that the payment information is correct, the financial management and control system confirms, pays and controls the certificate, and then feeds back the marketing MIS system.
Electric wire netting company camps part node: the service platform of the marketing MIS system in the electric network company service part is used for rechecking electric meter data, transmitting the data to an electric quantity and electric charge auditing link after error processing is avoided, transmitting the data to a work order of the electric quantity and electric charge auditing link, and auditing electric quantity and electric charge and settling document auditing and transmitting by an auditor according to the corresponding relation between the generated energy and the online electric quantity.
The term "node" is used generically herein to refer to a handset, desktop, and service platform in a blockchain network, or other terminal accessible to a blockchain network, etc.
The distributed photovoltaic settlement system executes the distributed photovoltaic settlement method according to the embodiment through the block chain, carries out power internet transaction, collects, settles, audits and invoices the power generation and power consumption of the power generation and power consumption users, and pays the electric charge to the power generation and power consumption users.
It should be noted that the above embodiments are based on the same inventive concept, and the description is not repeated, so that they can be referred to each other.
Compared with the prior art, the beneficial effects of the present embodiment are substantially the same as those provided by the first embodiment, and are not repeated herein.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (10)

1. A distributed photovoltaic settlement method based on a block chain is characterized by comprising the following steps:
generating an intelligent contract for the transaction settlement of the photovoltaic power internet;
deploying the intelligent contracts into a local database of each node on a blockchain;
chaining the collected internet transaction electric quantity;
triggering the intelligent contract, and initiating photovoltaic settlement to obtain settlement data;
and paying the electricity charge after signature verification and consensus verification are carried out on the settlement data at each node of the block chain.
2. The distributed photovoltaic settlement method of claim 1, wherein the generation of the smart contract comprises:
1) utilizing a formatted photovoltaic settlement contract template which is agreed by each node on the block chain to generate a contract text of the intelligent contract;
2) obtaining an intelligent contract code after programming and verification;
3) distributing the intelligent contract code to each node;
4) each node temporarily stores the received intelligent contract codes in a local memory, packages the intelligent contract codes temporarily stored in a set time period into a contract set, calculates the Hash value of the set and assembles the set into a block;
5) each node diffuses the blocks in the local memory to other nodes of the whole network;
6) the node receiving the block compares and verifies the Hash value stored locally;
the consensus is achieved through multiple rounds of sending and comparison, and the method is extended to all sections of the whole network.
3. The distributed photovoltaic settlement method of claim 2,
the block includes a Hash value of the current block, a Hash value of the previous block, a timestamp, intelligent contract data, and intelligent contract record data.
4. The distributed photovoltaic settlement method of claim 1, wherein the intelligent contract deployment comprises:
1) after the intelligent contract is achieved, a sender of the intelligent contract adopts a private key and a public key of a receiver of the intelligent contract to sign and encrypt the intelligent contract;
2) installing the intelligent contract subjected to signature encryption on a block chain, namely a service platform;
3) and the blockchain service platform synchronizes the intelligent contracts to a local database of each node on the blockchain.
5. The distributed photovoltaic settlement method of claim 4, wherein the signature encryption encrypts non-critical private data of the power transaction.
6. The distributed photovoltaic settlement method of claim 1, wherein the intelligent contract initiating a photovoltaic settlement triggering condition comprises;
when the online transaction electric quantity data changes, regularly and automatically triggering intelligent contracts of all nodes; alternatively, the first and second electrodes may be,
after the block link receives the data of the electric quantity of the online transaction, an intelligent contract is triggered by the power generation and utilization user node in the block link, and photovoltaic settlement is initiated.
7. The distributed photovoltaic settlement method of any one of claims 1 to 6, wherein paying a power fee after signature verification and consensus verification of the settlement data at each node of the blockchain specifically comprises:
1) the node of the reward part in the block chain carries out electricity fee compliance audit on the intelligent contract photovoltaic settlement result and links the audit result;
2) a financial department node in the block chain acquires the photovoltaic settlement result of the audit compliance to bill, and links the electronic invoice data;
3) the block chain carries out matching verification according to the electronic invoice data of the chain and the intelligent contract photovoltaic settlement result on the chain, and the corresponding relation between the invoice and the settlement result is chain;
4) after the invoice passes the verification, making a settlement document by the earmark part node in the block chain according to the payment posting amount and the plan, and pushing the settlement document to the financial part node in the block chain for auditing to generate a settlement voucher; and chaining the settlement document and the settlement voucher;
5) and carrying out payment application, approval, payment and payment information feedback.
8. The distributed photovoltaic settlement method of claim 7, wherein the blockchain performs distributed encryption for settlement data, documents and vouchers.
9. The distributed photovoltaic settlement method according to claim 7, wherein a power grid company node in a block chain decrypts a settlement result in the smart contract by a private key and a public key of a power generation user node; and performing corresponding power scheduling work with the internet surfing electric quantity in the settlement data at a time interval preset by the intelligent contract according to the settlement result.
10. A distributed photovoltaic settlement system based on a block chain is characterized by comprising a block chain serving platform, power generation and utilization user nodes and power grid enterprise nodes;
the block chain is a service platform and is used for creating, managing and maintaining a block chain network and providing application services;
the electricity sending and using user node is an electricity selling side in the electricity transaction and is used for initiating the electricity network transaction and receiving the electricity fee settlement paid by the power grid enterprise;
the power grid enterprise node is the electricity purchasing side in the electricity transaction and comprises an electricity utilization acquisition node, a financial department node and a reward part node;
the distributed photovoltaic settlement system executes the distributed photovoltaic settlement method according to any one of claims 1 to 9 through a block chain, carries out power internet transaction, collects power generation and electricity consumption of electricity issuing and consuming users, settles accounts, audits, invoices and pays electricity fees to the electricity issuing and consuming users.
CN201911379658.7A 2019-12-27 2019-12-27 Distributed photovoltaic settlement method and system based on block chain Pending CN111177758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911379658.7A CN111177758A (en) 2019-12-27 2019-12-27 Distributed photovoltaic settlement method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911379658.7A CN111177758A (en) 2019-12-27 2019-12-27 Distributed photovoltaic settlement method and system based on block chain

Publications (1)

Publication Number Publication Date
CN111177758A true CN111177758A (en) 2020-05-19

Family

ID=70646427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911379658.7A Pending CN111177758A (en) 2019-12-27 2019-12-27 Distributed photovoltaic settlement method and system based on block chain

Country Status (1)

Country Link
CN (1) CN111177758A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666287A (en) * 2020-06-01 2020-09-15 北京思特奇信息技术股份有限公司 Data auditing method based on block chain
CN111798209A (en) * 2020-06-30 2020-10-20 远光软件股份有限公司 Engineering project management method based on block chain, electronic equipment and storage medium
CN111950787A (en) * 2020-08-06 2020-11-17 苏州吴都能源发展有限公司 Distributed energy supply transaction method based on block chain
CN112365332A (en) * 2020-11-12 2021-02-12 中国农业银行股份有限公司佛山分行 Photovoltaic power generation tax payment method and system
CN112561591A (en) * 2020-12-21 2021-03-26 国网电子商务有限公司 Intelligent settlement method and device for energy electronic bill
CN113065897A (en) * 2021-04-09 2021-07-02 海南电网有限责任公司 Intelligent marketing management system and implementation method thereof
CN113077341A (en) * 2021-03-29 2021-07-06 杭州溪塔科技有限公司 Photovoltaic power generation data monitoring system and method based on block chain
CN113191865A (en) * 2021-03-30 2021-07-30 建信金融科技有限责任公司 Method, device, equipment and system for processing shipping charge data
CN115719149A (en) * 2022-11-25 2023-02-28 华北电力大学 Distributed photovoltaic distribution and storage method based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578243A (en) * 2017-07-27 2018-01-12 远光软件股份有限公司 Electricity transaction method and device based on block chain technology
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN108876561A (en) * 2018-07-25 2018-11-23 明阳智慧能源集团股份公司 A kind of energy transaction system based on block chain technology
CN109191199A (en) * 2018-08-27 2019-01-11 国网能源研究院有限公司 Distributed energy charge settlement system and method based on block chain
CN109583908A (en) * 2018-10-10 2019-04-05 远光软件股份有限公司 A kind of intelligent electric meter based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578243A (en) * 2017-07-27 2018-01-12 远光软件股份有限公司 Electricity transaction method and device based on block chain technology
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN108876561A (en) * 2018-07-25 2018-11-23 明阳智慧能源集团股份公司 A kind of energy transaction system based on block chain technology
CN109191199A (en) * 2018-08-27 2019-01-11 国网能源研究院有限公司 Distributed energy charge settlement system and method based on block chain
CN109583908A (en) * 2018-10-10 2019-04-05 远光软件股份有限公司 A kind of intelligent electric meter based on block chain technology

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666287A (en) * 2020-06-01 2020-09-15 北京思特奇信息技术股份有限公司 Data auditing method based on block chain
CN111798209A (en) * 2020-06-30 2020-10-20 远光软件股份有限公司 Engineering project management method based on block chain, electronic equipment and storage medium
CN111950787A (en) * 2020-08-06 2020-11-17 苏州吴都能源发展有限公司 Distributed energy supply transaction method based on block chain
CN112365332A (en) * 2020-11-12 2021-02-12 中国农业银行股份有限公司佛山分行 Photovoltaic power generation tax payment method and system
CN112561591A (en) * 2020-12-21 2021-03-26 国网电子商务有限公司 Intelligent settlement method and device for energy electronic bill
CN113077341A (en) * 2021-03-29 2021-07-06 杭州溪塔科技有限公司 Photovoltaic power generation data monitoring system and method based on block chain
CN113077341B (en) * 2021-03-29 2024-04-19 杭州溪塔科技有限公司 Photovoltaic power generation data monitoring system and method based on block chain
CN113191865A (en) * 2021-03-30 2021-07-30 建信金融科技有限责任公司 Method, device, equipment and system for processing shipping charge data
CN113065897A (en) * 2021-04-09 2021-07-02 海南电网有限责任公司 Intelligent marketing management system and implementation method thereof
CN115719149A (en) * 2022-11-25 2023-02-28 华北电力大学 Distributed photovoltaic distribution and storage method based on block chain

Similar Documents

Publication Publication Date Title
CN111177758A (en) Distributed photovoltaic settlement method and system based on block chain
US11150271B2 (en) Method or system for management of a device for energy consumption by applying blockchain protocol
CN111178887B (en) Distributed photovoltaic power generation and selling system and method based on block chain
CN107909358B (en) Energy settlement method, device and system
CN107240002B (en) Electric power transaction method and device and micro-grid system
CN112488778A (en) Bill processing method and related device
CN110717832B (en) Clean energy trading method, system, device and storage medium based on block chain
CN107480987A (en) Green electric power supply certificate core hair based on block chain technology subscribes method and system
CN112488777B (en) Bill processing method and related device
CN112053152B (en) Distributed energy grid-connected authentication and transaction method based on green rights and interests consensus mechanism
CN112365330A (en) Transaction method of renewable distributed energy uniform price two-way auction based on super account book
CN112200646A (en) Material contract fund payment approval management system and method
CN115391758B (en) Self-service business platform system
CN112487491A (en) Control method and related device for block chain system
CN111160903A (en) Method and storage medium for export collection and deposit based on block chain
CN113065960A (en) Transaction system based on block chain
CN113643131A (en) Microgrid distributed energy trading method and system based on block chain
CN111210325B (en) Rural collective three-data on-line supervision system
CN111861409A (en) Project business management system
CN113762961B (en) Trusted intelligent transaction method, system, computer equipment and terminal
CN114119186A (en) Integrated processing system and processing method for financial tax of group type enterprise
CN116228340A (en) Block chain-based energy transaction method, computing equipment and storage medium
CN116342130A (en) Intelligent settlement service system for small amount of pre-charge electric charge
CN110992019A (en) Automatic settlement system and method for electricity purchase fee
CN113763146B (en) Self-service tax handling 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519