IP Library Granted Patent US 12,126,170
Granted Patent B2
US 12,126,170 · App. 17/641,814 · Granted Oct 22, 2024

Blockchain-based electricity charge settlement method and system for energy storage station

Inventors: Huafeng Yan (Beijing, CN); Dong Wang (Beijing, CN); Jiaxing Xuan (Beijing, CN); Da Li (Beijing, CN); Shuai Chen (Beijing, CN); Shaoqin Han (Beijing, CN); Yuxiang Cai (Beijing, CN); Yanxu Dong (Beijing, CN); Zhen Xue (Beijing, CN); Zheng Jia (Beijing, CN); Xinyan Wang (Beijing, CN)
Assignees: STATE GRID BLOCKCHAIN TECHNOLOGY (BEIJING) CO., LTD.; State Grid Digital Technology Holding CO., LTD.; STATE GRID XIONG'AN FINANCIAL TECHNOLOGY GROUP CO., LTD.; STATE GRID HENAN INFORMATION & TELECOMMUNICATION COMPANY; INFORMATION AND COMMUNICATION BRANCH OF STATE GRID FUJIAN ELECTRIC POWER CO., LTD.
H02J3/008G06N3/084H04L9/50H04L2209/463
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,126,170
App. No.
17/641,814
Granted
Oct 22, 2024
Kind
B2
Abstract

Disclosed is a blockchain-based electricity charge settlement method and system for an energy storage station. A trusted terminal directly collects two-way electricity quantity data of an energy storage station, and distributes the two-way electricity quantity data to a blockchain; and a consensus node of a power-consuming enterprise and a consensus node of an energy storage station investment operator in the blockchain perform consensus calculation on the two-way electricity quantity data, and write the two-way electricity quantity data into the blockchain after reaching a consensus. The two-way electricity quantity data is accurate and cannot be tampered with, ensuring authenticity of the two-way electricity quantity data. A smart settlement contract is executed, an electricity charge settlement result is generated automatically to ensure authenticity of the electricity charge settlement result, and the electricity charge settlement result is written into the blockchain to prevent the electricity charge settlement result from being tampered with.

Claims (60)

1. A blockchain-based electricity charge settlement method for an energy storage station, comprising:

collecting, by a trusted terminal, two-way electricity quantity data of an energy storage station, and distributing the two-way electricity quantity data to a blockchain, wherein the collecting, by a trusted terminal, two-way electricity quantity data of an energy storage station, and distributing the two-way electricity quantity data to a blockchain comprises: collecting, by the trusted terminal, the two-way electricity quantity data of the energy storage station, and determining whether the two-way electricity quantity data meets a precision requirement; and if the two-way electricity quantity data meets the precision requirement, distributing the two-way electricity quantity data to the blockchain; or if the two-way electricity quantity data does not meet the precision requirement, compensating the two-way electricity quantity data, replacing the two-way electricity quantity data with compensated two-way electricity quantity data, and returning to perform the step of determining whether the two-way electricity quantity data meets the precision requirement, wherein the determining whether the two-way electricity quantity data meets a precision requirement comprises: obtaining a sampling error value of the trusted terminal, a sampling error value of a current transformer in the energy storage station, and a sampling error value of a voltage transformer in the energy storage station, inputting the sampling error value of the trusted terminal, the sampling error value of the current transformer, and the sampling error value of the voltage transformer into a pre-trained back propagation (BP) neural network model, to obtain a predicted electricity quantity output by the pre-trained BP neural network model, and determining whether an error between the predicted electricity quantity and the two-way electricity quantity data collected by the trusted terminal exceeds a specified threshold; a process of training a BP neural network model comprises: initializing parameters of each layer in the BP neural network model; selecting a training sample from a sample set; inputting the training sample into the BP neural network model to obtain a predicted electricity quantity output by the BP neural network model, wherein the training sample comprises the sampling error value of the trusted terminal, the sampling error value of the current transformer in the energy storage station, and the sampling error value of the voltage transformer in the energy storage station; inputting the predicted electricity quantity and the two-way electricity quantity data of the energy storage station into a neural network error function

E

=

1

2

q

=

1

p

K

=

1

L

(

T

k

-

O

k

)

2

to obtain an error, wherein O k represents the predicted electricity quantity, T k represents the two-way electricity quantity data of the energy storage station, P represents a quantity of training samples, L represents a quantity of nodes at an output layer in the BP neural network model, K represents a node at the output layer in the BP neural network model, and E represents the error; determining whether an error between the predicted electricity quantity and a reference electricity quantity is within a specified range; and if the error between the predicted electricity quantity and the reference electricity quantity is within the specified range, ending the training; or if the error between the predicted electricity quantity and the reference electricity quantity is not within the specified range, transmitting the error to each layer in the BP neural network model based on an order from the output layer to an input layer in the BP neural network model, to update the parameters of each layer in the BP neural network model, and returning to perform the step of selecting the training sample from the sample set; and the compensating the two-way electricity quantity data comprises: compensating the two-way electricity quantity data by using a compensation formula

C

k

=

O

k

+

(

-

η

E

W

ki

(

T

k

-

O

k

)

)

,

wherein O k represents the predicted electricity quantity, T k represents the two-way electricity quantity data of the energy storage station, W ki represents a weight of an ith node from a hidden layer to the output layer, η represents a network learning rate, and C k represents the compensated two-way electricity quantity data;

performing, by a consensus node of a power-consuming enterprise and a consensus node of an energy storage station investment operator in the blockchain, consensus calculation on the two-way electricity quantity data, and after reaching a consensus, selecting one of the consensus node of the power-consuming enterprise and the consensus node of the energy storage station investment operator as a first accounting node;

processing, by the first accounting node, the two-way electricity quantity data to obtain a first target block, and writing the first target block into the blockchain;

executing, by a smart contract execution node, a smart settlement contract, obtaining basic settlement data from the blockchain, performing electricity charge settlement based on the basic settlement data to obtain an electricity charge settlement result, and distributing the electricity charge settlement result to the blockchain, wherein the basic settlement data at least comprises: two-way electricity quantity data in the first target block;

selecting, by the consensus node of the power-consuming enterprise and the consensus node of the energy storage station investment operator in the blockchain after reaching a consensus on the electricity charge settlement result, one of the consensus node of the power-consuming enterprise and the consensus node of the energy storage station investment operator as a second accounting node; and

processing, by the second accounting node, the electricity charge settlement result to obtain a second target block, and writing the second target block into the blockchain;

the consensus node of the power-consuming enterprise, the consensus node of the energy storage station investment operator and the smart contract execution node in the blockchain each are one or more processors or chips that each have a communication interface and realize a communication protocol.

2. The method according to claim 1 , wherein the distributing the two-way electricity quantity data to a blockchain comprises:

encrypting the two-way electricity quantity data, and distributing encrypted two-way electricity quantity data to the blockchain.

Assignments (2)
CHANGE OF NAME Recorded Jun 8, 2022
From: STATE GRID ELECTRONIC COMMERCE CO., LTD.
To: STATE GRID DIGITAL TECHNOLOGY HOLDING CO., LTD.
Reel/Frame 060399/0455 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2022
From: YAN, HUAFENG; WANG, DONG; XUAN, JIAXING; LI, DA; CHEN, SHUAI; HAN, SHAOQIN; CAI, YUXIANG; DONG, YANXU; XUE, ZHEN; JIA, ZHENG; WANG, XINYAN
To: STATE GRID BLOCKCHAIN TECHNOLOGY (BEIJING) CO., LTD.; STATE GRID ELECTRONIC COMMERCE CO., LTD.; STATE GRID XIONG'AN FINANCIAL TECHNOLOGY GROUP CO., LTD.; STATE GRID HENAN INFORMATION & TELECOMMUNICATION COMPANY; INFORMATION AND COMMUNICATION BRANCH OF STATE GRID FUJIAN ELECTRIC POWER CO., LTD.
Reel/Frame 059310/0637 →
Priority Claims (1)
CN 202011307596.1 · Nov 19, 2020 · national
Continuity (1)
Related Publication 20230155381A1 · May 18, 2023