CN110287186B - Smart power grid data management system and method based on master block chaining technology - Google Patents

Smart power grid data management system and method based on master block chaining technology Download PDF

Info

Publication number
CN110287186B
CN110287186B CN201910472185.9A CN201910472185A CN110287186B CN 110287186 B CN110287186 B CN 110287186B CN 201910472185 A CN201910472185 A CN 201910472185A CN 110287186 B CN110287186 B CN 110287186B
Authority
CN
China
Prior art keywords
power
data
block
module
grid
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.)
Active
Application number
CN201910472185.9A
Other languages
Chinese (zh)
Other versions
CN110287186A (en
Inventor
王军华
黄虹
代中余
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201910472185.9A priority Critical patent/CN110287186B/en
Publication of CN110287186A publication Critical patent/CN110287186A/en
Application granted granted Critical
Publication of CN110287186B publication Critical patent/CN110287186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2465Query processing support for facilitating data mining operations in structured databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a smart grid technology, in particular to a smart grid data management system and a smart grid data management method based on a master block chain technology. The problem of electric power data leakage risk caused by a large amount of data in the smart power grid is solved, the mining value of the electric power data is improved, and the electric power data mining process is standardized. By writing the national legal regulation into the intelligent block chain contract and placing the application and management block chain of various and complex power data under the supervision of the legal regulation, the advantages of controllable identity information of power users, supervised validity of the intelligent contract, open pertinence of power information and the like in the block chain are realized; and the storage and utilization efficiency of the power data is improved through the block chain structure of the power data application service type identifier.

Description

Smart power grid data management system and method based on master block chaining technology
Technical Field
The invention belongs to the technical field of smart power grids, and particularly relates to a smart power grid data management system and method based on a master block chain technology.
Background
The intelligent power grid is diversified, and has power transmission lines, power grid equipment, terminal sensor equipment and the like, so that a large amount of power utilization data exist in the intelligent power grid, and the data types have diversified characteristics, such as pictures, characters, voice and other information. On one hand, the data has great digchability, and technologies such as wind energy, solar energy and other new energy power generation can be better integrated through bidirectional communication between users and power companies. On the other hand, the difference of the data types of the smart power grids may cause poor relevance and sharing in the smart power grids, easily cause an information island phenomenon of data in the smart power grids, and have certain influence on intellectualization of the power grids and optimization management of the data. And when these data fall into the hands of a malicious actor, there is a risk of privacy exposure.
Due to the characteristics of distributed calculation, storage, data verification and the like of the block chain, the mining scheduling of the distributed data in the smart grid has natural coupling characteristics in technical requirements and structure. The block chain technology is applied to the power grid, and effective mining of power data and safe and stable operation of the power grid are facilitated. Meanwhile, because the main body of the electric power transaction participation in the smart power grid is an important component in the electric power transaction process, the electric power transaction in the power grid cannot adopt a complete decentralization method which is completely separated from the management and control of a power grid company. The block chain applied to the smart grid is placed under the supervision of the master network constrained by the smart contract with the master, has the distributed multi-centralization characteristic, meets the requirement of a power grid company on data controllability of identity information, power distribution information and the like of a power transaction main body, and avoids potential safety hazards brought by completely decentralized power transaction.
With the increased competition of the power market, new relations and new problems between different market main bodies are generated, and a corresponding legal system is required to consolidate and standardize the ordered operation of the power market.
Disclosure of Invention
The invention aims to provide a system and a method for writing electric power transaction legal rules into an intelligent contract of a master block chain of a smart power grid, constructing an electric power market credit system and improving the processing efficiency of electric power data in the master block chain in a data indexing mode.
In order to achieve the purpose, the invention adopts the technical scheme that: a smart grid data management system based on a master block chaining technology comprises a smart grid, wherein the smart grid comprises a plurality of power consumers and a plurality of power utilization equipment; the system comprises a data acquisition module, a registration and authentication center, a data index module, a data processing and consensus module, an intelligent contract module, a master authority block chain network and an electric power data application module; the data acquisition module is respectively connected with all power users, all power utilization equipment and the data index module, the registration and authentication module is connected with all power users, all power utilization equipment, the data index module, the intelligent contract module, the master right block chain network and the power data application module, the data index module is connected with the intelligent contract module and the data processing and consensus module, the intelligent contract module is respectively connected with the data processing and consensus module, the master right block chain network and the power data application module, the data processing and consensus module is connected with the master right block chain network, and the master right block chain network is connected with the power data application module;
the data acquisition module is used for realizing the electric power data acquisition of all power consumers and all electric equipment in the smart grid;
the registration and authentication center is used for registering and authenticating all power users and electric equipment in the smart grid before data acquisition;
the data indexing module is used for carrying out index classification processing on the collected power data of all power consumers and power utilization equipment and dividing all power equipment and power consumer IDs into data packets of different service types;
the data processing and consensus module is used for generating different temporary blocks for the data packets with the service types divided by the processing and consensus nodes of the corresponding types and performing consensus on the consistency of the block information;
the intelligent contract module is used for writing the electric power market legal regulation into an intelligent contract and used as a judgment standard for verifying whether the operation and data access process in the intelligent power grid violate;
the master block chain network is used for storing the electric power data in a distributed mode in a block mode, and block information of different service types is generated in parallel;
the power data application module comprises a power consumer power consumption charging center, an electric energy scheduling center, a power data mining center, a power equipment fault analysis database and an intelligent contract database.
A smart power grid data management method based on a master block chain technology comprises the following steps:
step 1, generating an intelligent contract through an intelligent contract module; the intelligent contract runs through the whole intelligent power grid, and the electric power market legal regulation is written into the intelligent contract and is used as a judgment standard for judging whether each operation and data access process in the intelligent power grid violate or not; when any illegal action occurs in related operation related to the recorded data of the master authority block chain, the related operation is automatically refused to access the power data and a default report is generated, and the intelligent contract module records the default report in an intelligent contract database and broadcasts the default report to an intelligent power grid;
step 2, registering and authenticating all power equipment and power users in the smart grid by using a registration and authentication module before data acquisition is realized; the power consumer or the power equipment provides necessary information for the smart grid data management system, and the registration and authentication module allows the power consumer or the power equipment to become a part of the smart grid data management system and issue a unique ID for the power consumer or the power equipment;
step 3, a data acquisition module acquires power data of all power consumers and power equipment in the smart grid;
step 4, the data indexing module indexes the collected power data according to the service types of the smart grid, and divides the power data, all power equipment and power user IDs into data packets with different service types;
step 5, the data processing and consensus module generates different temporary blocks for the data packets with the divided service types by using a plurality of processing and consensus nodes corresponding to different service types, and performs consensus on the consistency of the generated temporary block information;
step 6, the power data is stored in a distributed manner in a block form by the master block chain network, and block information of different service types is generated in parallel;
and 7, the power data application types of the power data application module comprise power consumption charging of power users, power energy scheduling, power data mining, power equipment fault analysis and intelligent contracts.
In the foregoing smart grid data management method based on the master block chaining technology, the power market legal regulations written in the smart contract in step 1 include: the system comprises an electric power market anti-unfair competition law system, an electric power market anti-monopoly law system, an electric power quality law system, an electric power price law system, an electric power industry structure regulation law system and an electric power sustainable development law system.
In the above smart grid data management method based on the master block chaining technique, the data indexing module in step 4 adds two parameters, namely a service type and an ID number inside the service type, to the classified electric power data; the service types specifically include: the method comprises the following steps of power consumption charging of power consumers, power scheduling, power data mining, power equipment fault analysis and intelligent contracts.
In the foregoing smart grid data management method based on the master block chaining technology, the implementation of step 5 includes: the processing and consensus node desensitizes the power data related to the user identity information and the commercial confidential information to generate a temporary block; when the temporary block is verified and accepted by most processing and consensus nodes in the corresponding service type, the temporary block is verified successfully; sending a response of successful verification back to the originating node, attaching the intelligent contract script and the timestamp to the temporary block by the processing and identifying node, and recording the temporary block into the master block chain for storage; if the temporary block is not accepted, power data is recollected.
In the above method for managing data of a smart grid based on a master block chaining technique, in step 6, the master block chaining network includes a block format, block size information, a block header, an action counter, a block data record, and a block locking time; the block format has unique identification; the block header comprises a version number, a previous block hash value, a timestamp, a Merkle root value, a random number and a target hash value; the action counter records the total number of violations in the power data reading application process in the block; the block data record comprises the service type corresponding to the block chain and the corresponding power data; the block lock time is the creation time of the block in the master block chain.
In the above smart grid data management method based on the master block chaining technology, step 7, the power consumption charge of the power consumer is used to record the power consumption charge of the power consumer in the charging period; the electric energy dispatching is used for requesting electric power from the energy center and dispatching the electric energy to customers; the electric power data mining is used for mining the electric power data and applying the electric power data to follow-up research of the intelligent power grid; the power equipment fault analysis is used for recording a power equipment fault report; the intelligent contract is used for recording violation reports of intelligent contracts violated in the intelligent power grid.
The invention has the beneficial effects that: the method comprises the following steps that 1, electric power transaction legal rules are written into an intelligent contract of a main right block chain of a smart power grid, electric power transaction information in an electric power market can be automatically analyzed and identified, the fact that default records are recorded in the main right block chain in case of default states in the electric power transaction process is guaranteed, credit scores of an electric power transaction main body can be timely improved when the credit of the electric power transaction main body is recovered, and loss of electric power transaction related parties due to information asymmetry is reduced. In addition, a credited electric power trading party reward mechanism can be formulated, so that the safe and stable operation of electric power trading of the smart grid can be maintained, and an electric power market credit system can be constructed.
And 2, the intelligent contract is penetrated in the whole intelligent power grid, the concept of the master block chain is applied, the block chain design of the application and management of the power data is placed under the supervision of legal regulations, and the advantages of controllable account identity information, supervised validity of the intelligent contract, open pertinence of the power information and the like in the block chain are achieved.
And 3, distributed storage of the electric power data is realized by the master block chain network added with the service type identifier, and the working efficiency of electric power data storage and reading application in the smart grid is improved.
Drawings
FIG. 1 is a schematic diagram of a smart grid data management system based on a master block chaining technique according to an embodiment of the invention;
FIG. 2 is a block diagram according to an embodiment of the present invention;
fig. 3 is a schematic diagram of generation of a master block chain according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
In order to solve the electric power data leakage risk caused by a large amount of data in the smart grid, improve the mining value of the electric power data and standardize the electric power data mining process, the electric power data management system of the smart grid based on the master block chain technology writes electric power transaction legal rules into a smart grid master block chain intelligent contract, constructs an electric power market credit system and improves the processing efficiency of the electric power data in the master block chain in a data indexing mode.
The embodiment is realized through the following technical scheme, and an intelligent power grid data management system based on a master block chain technology comprises:
the data acquisition module 1: the method is used for realizing the electric power data acquisition of all power consumers and electric equipment in the smart grid.
Registration and authentication center 2: the intelligent power grid intelligent management system is connected with all power consumers and power equipment in the intelligent power grid, and registration and authentication of all power consumers and power equipment of the intelligent power grid are carried out before data collection is achieved.
The data indexing module 3: and carrying out index classification processing on the collected power data, and attaching all the power equipment and the power user ID to form data packets with different service types.
The data processing and consensus module 4: and generating different temporary blocks for the data packets with the divided service types by using the processing and consensus nodes with the corresponding types, and performing consensus on the consistency of the block information.
The intelligent contract module 5: and writing the electric power market legal regulation into an intelligent contract to serve as a judgment standard for judging whether the operation and data access process in the intelligent power grid violate or not so as to maintain the electric power market legal regulation.
Master block chain network 6: the power data is stored in a distributed mode in a block mode, wherein block information of different service types is generated in parallel instead of in series.
The power data application module 7: the system specifically comprises an electricity consumption charging center of an electricity consumer, an electric energy scheduling center, an electricity data mining center, an electric power equipment fault analysis database and an intelligent contract database.
A smart power grid data management method based on a master block chain technology comprises the following steps:
s1: the intelligent contract module 5 generates an intelligent contract. The smart contract runs through the whole smart grid, and is a judgment standard for verifying whether each operation and data access process in the smart grid violates or not by writing the power market legal regulation into the smart contract so as to maintain the power market legal regulation.
When related operations of the master right block chain record data are involved, once any illegal action exists in the smart grid, the access operation to the power data is automatically refused, and a default report is generated. The default report is marked with the corresponding power equipment or power user ID, and the intelligent contract module 5 records the default report in an intelligent contract database and broadcasts the default report to the intelligent power grid network.
The electric power market legal regulations written in the intelligent contract specifically include: the system comprises an electric power market anti-unfair competition law system, an electric power market anti-monopoly law system, an electric power quality law system, an electric power price law system, an electric power industry structure regulation law system and an electric power sustainable development law system.
S2: the registration and authentication module 2 is connected with all power equipment and power users in the smart grid, and registration and authentication of the power equipment and the power users of the smart grid are performed before data acquisition is realized.
The power consumer or power device provides the smart grid management system with the necessary information and the registration and authentication module 2 allows the power consumer or power device to become part of the smart grid management system and issue a unique ID that uniquely identifies each power consumer or power device on the system.
S3: the data acquisition module 1 is used for realizing the acquisition of electric power data in the smart grid, and the data acquisition objects are all power consumers and power equipment in the smart grid.
The power consumer or power device provides the necessary information for the smart grid management system and the registration and authentication module 2 allows the power consumer or power device to become part of the smart grid management system and issue a unique ID that uniquely identifies each power consumer or power device on the system.
S4: the data indexing module 3 performs indexing processing on a large amount of collected power data according to the service types of the smart grid, and divides the large-scale power data, the power equipment and the power user ID into data packets with different service types.
The data indexing module 3 adds two parameters to the classified power data: a service type and an ID number inside the service type. The service types specifically include: the method comprises the following steps of power consumption charging of power users, electric energy scheduling, power data mining, power equipment fault analysis, intelligent contract and the like.
S5: the data processing and consensus module 4 generates different temporary blocks for the data packets with the divided service types by a plurality of processing and consensus nodes corresponding to the different service types in the processing and consensus module for the different data packets with the divided additional service types, and performs consensus on the consistency of the generated temporary block information.
The processing and consensus node desensitizes the power data related to the user identity information and the business confidential information to generate a temporary block. When the temporary block is verified and accepted by most of the processing and consensus nodes in the corresponding traffic class, it is indicated that the temporary block was successfully verified. A response of successful verification is sent back to the originating node, the processing and identifying node appends the intelligent contract script to the temporary block along with a timestamp and logs the temporary block into the master block chain for storage. On the other hand, if the temporary block is not accepted, power data is recollected.
S6: and the master block chain network 6 is used for storing the power data in a distributed mode in a block mode, and block information of different service types is generated in parallel instead of in series.
The block structure in the master block chain consists of 6 parts: the first part is a block format with unique identification. The second part is block size information, recording the size information of the block. The third part is a block header, which specifically contains a version number, a previous block hash value, a timestamp, a Merkle root value, a random number, and a target hash value. The fourth part is an action counter which records the total number of violations in the reading application process of the power data in the block. The fifth part is a block data record, which specifically comprises the service type electricity consumption charging/electric energy scheduling/electric power data mining/electric power equipment fault database/intelligent contract database corresponding to the block chain and the corresponding electric power data. The sixth part is the block lock time, i.e., the creation time of the block in the master block chain.
S7: the power data application types in the power data application module specifically include power consumption charging of power users, power dispatching, power data mining, power equipment fault analysis and intelligent contracts.
The power user electricity charge is used for recording the power user electricity charge in the charge period; the electric energy dispatching is responsible for requesting electric power from the energy center and dispatching the electric energy to customers; the electric power data mining is used for mining and researching the electric power data and applying the electric power data to subsequent research of a power grid; the power equipment fault analysis is used for recording a power equipment fault report; the intelligent contract is used for recording violation reports of intelligent contracts violated in the intelligent power grid.
In specific implementation, as shown in fig. 1, the smart grid data management method based on the master block chaining technology provided in this embodiment specifically includes the following steps:
1. the intelligent contract module 5 generates an intelligent contract. The intelligent contracts penetrate through the whole intelligent power grid, and are used for verifying the standard judgment of whether each operation and data access process in the intelligent power grid violate or not by writing the power market legal regulations into the intelligent contracts so as to maintain the power market legal regulations.
In particular, when related operations of recording data of the master block chain are involved, once any illegal action in the smart grid happens, the access operation to the power data is automatically refused and a default report is generated. The default report is marked with the corresponding power equipment or power consumer ID, and the smart contract module 5 records the default report in the smart contract database and broadcasts the default report onto the smart grid network.
In this embodiment, the power market legal regulations written in the smart contract specifically include: the system comprises an electric power market anti-unfair competition law system, an electric power market anti-monopoly law system, an electric power quality law system, an electric power price law system, an electric power industry structure regulation law system and an electric power sustainable development law system.
The legal system in this embodiment can be described in detail as:
1. the electric power market is against the lawful competition law system, and the lawful competition behaviors such as violating honest credit, fairness and voluntary transactions in the electric power market are regulated. By regulating specific illicit competitive behaviors such as violating business secrets, business bribing behavior, inappropriate promotion behavior, business slurs behavior, etc.
2. The electric power market anti-monopoly law system leads to resource waste and low technology for market monopoly and administrative monopoly formed based on department interests, hinders the development of productivity and is eliminated by law; for the natural monopoly formed by the natural condition reason, if the monopoly is limited by people to carry out competitive operation, the waste of social resources and the disorder of market order can be caused, the development of social productivity is hindered, and the monopoly can be eliminated by law; the nation monopoly formed by the nation has positive significance, and the nation monopoly is confirmed by law and meets the objective requirements of market economy and productivity development.
3. And power quality legal system comprises power quality supervision and management and power quality responsibility. The power quality supervision and management system comprises a power quality standard system, a power quality inspection system, a power enterprise quality system certification system and the like. The quality responsibility of the electric power product includes the product quality obligations of the electric power producer, the transporter and the seller, and the electric power quality obligation which is taken by damaging the human body or property of other people in violation of the product quality obligation.
4. Electric power price law system: the power price is macroscopically regulated and controlled by law, so that the production and operation enthusiasm of power production, transportation and sellers is not damaged, and the legal rights and interests of power users can be considered, so that the power can be better served for economic construction.
5. The electric power industry structure regulates the legal system: and the power industry structure is macroscopically regulated and controlled under the legal specification, so that the power industry structure with a reasonable structure is formed in the power market.
6. Electric power sustainable development legal system: the activities of the electric power market main body are beneficial to development of electric power resources, environmental protection and development of economy and social progress, so that the market activities of the electric power market main body not only meet the interests of contemporary people, but also can take the interests of interpersonal people into consideration, and accordingly interpersonal fairness is achieved.
2. The registration and authentication module 2 is connected with all power equipment and power users in the smart grid, and registration and authentication of the power equipment of the smart grid are performed before data acquisition is realized.
Specifically, the power consumers or power devices provide the necessary information for the smart grid data management system, and the registration and authentication module 2 allows the consumers or power devices to become part of the smart grid data management system and issue a unique ID that uniquely identifies each consumer or power device on the smart grid data management system.
3. The data acquisition module 1 is used for realizing the acquisition of electric power data in the intelligent power grid, and the data acquisition objects are all power consumers and power equipment in the intelligent power grid.
Specifically, the power consumer or power device provides the smart grid data management system with the necessary information, and the registration and authentication module 2 allows the power consumer or power device to become part of the smart grid data management system and issue a unique ID that uniquely identifies each power consumer or power device on the smart grid data management system.
4. The data indexing module 3 performs indexing processing on a large amount of collected power data according to the service types of the smart grid, and divides the large-scale power data, the power equipment and the power user ID into data packets with different service types.
Specifically, the data indexing module 3 of this embodiment adds two parameters to the classified power data: a service type and an ID number inside the service type. The service types specifically include: the method comprises the following steps of power consumption charging of power users, electric energy scheduling, power data mining, power equipment fault analysis, intelligent contract and the like.
5. The data processing and consensus module 4 generates different temporary blocks for the data packets with the divided service types by a plurality of processing and consensus nodes corresponding to the different service types in the processing and consensus module for the different data packets with the divided additional service types, and performs consensus on the consistency of the generated block information.
Specifically, the processing and consensus node desensitizes the power data related to the user identity information and the business confidential information to generate a temporary block. When the temporary block is verified and accepted by most of the processing and consensus nodes in the corresponding traffic class, it is indicated that the temporary block was successfully verified. A response is sent back to the originating node that is successful in verification, the processing and identifying node appends the intelligent contract script to the block along with a timestamp, and posts the block to the chain of master blocks for storage. On the other hand, if the temporary block is not accepted, power data is recollected.
6. The master block chain network 6 stores the power data in distributed form in blocks.
Specifically, as shown in fig. 2, the block structure in the master block chain includes 6 parts: the first part is a block format with unique identification. The second part is block size information, recording the size information of the block. The third part is a block header, which specifically contains a version number, a previous block hash value, a timestamp, a Merkle root value, a random number, and a target hash value. The fourth part is an action counter which records the total number of violations in the reading application process of the power data in the block. The fifth part is a block data record, which specifically comprises the service type electric power user electricity consumption charging/electric energy scheduling/electric power data mining/electric power equipment fault database/intelligent contract database corresponding to the block chain and the corresponding electric power data. The sixth part is the block lock time, i.e., the creation time of the block in the master block chain.
Generation process of the master block chain as shown in fig. 3, block information of different traffic types is generated in parallel, not in series. The distributed storage of the electric power data is realized by the master block chain network 6 with the added service type identification, and the working efficiency of electric power data storage and reading application in the smart grid is improved.
7. The power data application types in the power data application module specifically comprise power consumption charging of power users, power energy scheduling, power data mining, power equipment fault analysis and intelligent contracts.
Specifically, the electricity charge of the power consumer is used for recording the electricity charge of the power consumer in a charging period; the electric energy dispatching is responsible for requesting electric power from the energy center and dispatching the electric energy to customers; the electric power data mining is used for mining and researching the electric power data and applying the electric power data to subsequent research of a power grid; the power equipment fault analysis is used for recording a power equipment fault report; the intelligent contract is used for recording violation reports of intelligent contracts violated in the intelligent power grid.
In the embodiment, by writing the national legal regulation into the intelligent block chain contract and placing the application and management block chain of various and complex power data under the supervision of the legal regulation, the advantages of controllable identity information of power users, supervised validity of the intelligent contract, open pertinence of power information and the like in the block chain are realized; and the storage and utilization efficiency of the power data is improved through the block chain structure of the power data application service type identifier.
It should be understood that parts of the specification not set forth in detail are of the prior art.
Although specific embodiments of the present invention have been described above with reference to the accompanying drawings, it will be appreciated by those skilled in the art that these are merely illustrative and that various changes or modifications may be made to these embodiments without departing from the principles and spirit of the invention. The scope of the invention is only limited by the appended claims.

Claims (7)

1. A smart power grid data management system based on a master block chaining technology comprises a smart power grid, wherein the smart power grid comprises a plurality of power consumers and a plurality of power utilization equipment; the intelligent contract management system is characterized by comprising a data acquisition module, a registration and authentication center, a data index module, a data processing and consensus module, an intelligent contract module, a master authority block chain network and an electric power data application module; the data acquisition module is respectively connected with all power users, all power utilization equipment and the data index module, the registration and authentication module is connected with all power users, all power utilization equipment, the data index module, the intelligent contract module, the master right block chain network and the power data application module, the data index module is connected with the intelligent contract module and the data processing and consensus module, the intelligent contract module is respectively connected with the data processing and consensus module, the master right block chain network and the power data application module, the data processing and consensus module is connected with the master right block chain network, and the master right block chain network is connected with the power data application module;
the data acquisition module is used for realizing the electric power data acquisition of all power consumers and all electric equipment in the intelligent power grid;
the registration and authentication center is used for registering and authenticating all power users and electric equipment in the smart grid before data acquisition;
the data indexing module is used for carrying out index classification processing on the collected power data of all power consumers and power utilization equipment and dividing all power equipment and power consumer IDs into data packets of different service types;
the data processing and consensus module is used for generating different temporary blocks for the data packets with the service types divided by the processing and consensus nodes of the corresponding types and performing consensus on the consistency of the block information;
the intelligent contract module is used for writing the electric power market legal regulation into an intelligent contract and used as a judgment standard for verifying whether the operation and data access process in the intelligent power grid violate;
the master block chain network is used for storing the electric power data in a distributed mode in a block mode, and block information of different service types is generated in parallel;
the power data application module comprises a power consumer power consumption charging center, an electric energy scheduling center, a power data mining center, a power equipment fault analysis database and an intelligent contract database.
2. A smart power grid data management method based on a master block chain technology is characterized by comprising the following steps:
step 1, generating an intelligent contract through an intelligent contract module; the intelligent contract runs through the whole intelligent power grid, and electric power market legal regulations are written into the intelligent contract and serve as a judgment standard for judging whether each operation and data access process in the intelligent power grid violate or not; when any illegal action occurs in related operation related to the recorded data of the master authority block chain, the related operation is automatically refused to access the power data and a default report is generated, and the intelligent contract module records the default report in an intelligent contract database and broadcasts the default report to an intelligent power grid;
step 2, registering and authenticating all power equipment and power users in the smart grid by using a registration and authentication module before data acquisition is realized; the power consumer or the power equipment provides necessary information for the smart grid data management system, and the registration and authentication module allows the power consumer or the power equipment to become a part of the smart grid data management system and issue a unique ID for the power consumer or the power equipment;
step 3, a data acquisition module acquires power data of all power consumers and power equipment in the smart grid;
step 4, the data indexing module indexes the collected power data according to the service types of the smart grid, and divides the power data, all power equipment and power user IDs into data packets with different service types;
step 5, the data processing and consensus module generates different temporary blocks for the data packets with the divided service types by using a plurality of processing and consensus nodes corresponding to different service types, and performs consensus on the consistency of the generated temporary block information;
step 6, the power data is stored in a distributed manner in a block form by the master block chain network, and block information of different service types is generated in parallel;
and 7, the power data application types of the power data application module comprise power consumption charging of power users, power dispatching, power data mining, power equipment fault analysis and intelligent contracts.
3. The smart grid data management method based on the master block chaining technology as claimed in claim 2, wherein the power market legal regulations written in the smart contract in step 1 include: the system comprises an electric power market anti-unfair competition law system, an electric power market anti-monopoly law system, an electric power quality law system, an electric power price law system, an electric power industry structure regulation law system and an electric power sustainable development law system.
4. The smart grid data management method based on the master block chaining technology as claimed in claim 2, wherein in step 4, the data indexing module adds two parameters of a service type and an ID number inside the service type to the classified power data; the service types specifically include: the method comprises the following steps of power consumption charging of power consumers, power scheduling, power data mining, power equipment fault analysis and intelligent contracts.
5. The smart grid data management method based on the master block chaining technology as claimed in claim 2, wherein the step 5 is implemented by: the processing and consensus node desensitizes the power data related to the user identity information and the commercial confidential information to generate a temporary block; when the temporary block is verified and accepted by most processing and consensus nodes in the corresponding service type, indicating that the temporary block is verified successfully; sending a response of successful verification back to the originating node, attaching the intelligent contract script and the timestamp to the temporary block by the processing and identifying node, and recording the temporary block into the master block chain for storage; if the temporary block is not accepted, power data is recollected.
6. The smart grid data management method based on master blockchain technique as claimed in claim 2, wherein the master blockchain network of step 6 comprises a block format, block size information, block header, action counter, block data record, block locking time; the block format has unique identification; the block header comprises a version number, a previous block hash value, a timestamp, a Merkle root value, a random number and a target hash value; the action counter records the total number of violations in the power data reading application process in the block; the block data record comprises the service type corresponding to the block chain and the corresponding power data; the block lock time is the creation time of the block in the master block chain.
7. The smart grid data management method based on the master block chaining technology as claimed in claim 2, wherein the electricity charge of the electricity consumer in step 7 is used for recording the electricity charge of the electricity consumer in a charging period; the electric energy dispatching is used for requesting electric power from the energy center and dispatching the electric energy to customers; the electric power data mining is used for mining the electric power data and applying the electric power data to follow-up research of the intelligent power grid; the power equipment fault analysis is used for recording a power equipment fault report; the intelligent contract is used for recording violation reports of intelligent contracts violated in the intelligent power grid.
CN201910472185.9A 2019-05-31 2019-05-31 Smart power grid data management system and method based on master block chaining technology Active CN110287186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910472185.9A CN110287186B (en) 2019-05-31 2019-05-31 Smart power grid data management system and method based on master block chaining technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910472185.9A CN110287186B (en) 2019-05-31 2019-05-31 Smart power grid data management system and method based on master block chaining technology

Publications (2)

Publication Number Publication Date
CN110287186A CN110287186A (en) 2019-09-27
CN110287186B true CN110287186B (en) 2023-01-03

Family

ID=68003118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910472185.9A Active CN110287186B (en) 2019-05-31 2019-05-31 Smart power grid data management system and method based on master block chaining technology

Country Status (1)

Country Link
CN (1) CN110287186B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127219A (en) * 2019-11-18 2020-05-08 国网浙江省电力有限公司宁波供电公司 Power insurance claim settlement method and device based on block chain intelligent contracts
CN110866266A (en) * 2019-11-19 2020-03-06 南昌航空大学 BCMCP framework for protecting data security
CN111125094A (en) * 2019-11-25 2020-05-08 怀化建南电子科技有限公司 Electric power data storage system based on block chain
CN111460042B (en) * 2020-04-24 2022-06-14 国网吉林省电力有限公司 Method for synchronizing and matching power grid user mark information among heterogeneous multiple systems
CN111986047A (en) * 2020-07-21 2020-11-24 浙江中新电力工程建设有限公司 Micro-grid power dispatching system based on block chain and dispatching method thereof
CN112184480B (en) * 2020-09-18 2023-10-24 西安交通大学 Electric energy quality tracing system and method based on block chain
CN112531891A (en) * 2020-11-19 2021-03-19 辽宁东科电力有限公司 Block chain-based parameter data processing and positioning method for power transmission line on-line monitoring system
CN112927079A (en) * 2021-03-05 2021-06-08 广东电网有限责任公司 Block chain-based digital asset management of power industry
CN112988895A (en) * 2021-03-26 2021-06-18 广东工业大学 Industrial equipment fault positioning and tracing method and system based on block chain
CN114140138B (en) * 2021-12-03 2023-02-03 西华大学 Market supervision consistency checking method based on block chain technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122958A (en) * 2017-04-27 2017-09-01 电子科技大学 A kind of electronics contract frame system based on block chain
WO2018032372A1 (en) * 2016-08-13 2018-02-22 深圳市樊溪电子有限公司 Trusted power grid transaction platform based on block chain technology
CN108833081A (en) * 2018-06-22 2018-11-16 中国人民解放军国防科技大学 Block chain-based equipment networking authentication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032372A1 (en) * 2016-08-13 2018-02-22 深圳市樊溪电子有限公司 Trusted power grid transaction platform based on block chain technology
CN107122958A (en) * 2017-04-27 2017-09-01 电子科技大学 A kind of electronics contract frame system based on block chain
CN108833081A (en) * 2018-06-22 2018-11-16 中国人民解放军国防科技大学 Block chain-based equipment networking authentication method

Also Published As

Publication number Publication date
CN110287186A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN110287186B (en) Smart power grid data management system and method based on master block chaining technology
Cheng et al. Research on application model of blockchain technology in distributed electricity market
CN113438084B (en) Green power source tracing method and system based on R-PBFT consensus algorithm and timestamp
CN109086630A (en) A kind of power information tracing method based on block chain
CN112991060A (en) Block chain-based carbon trace data tracking method and device and storage medium
CN110264325A (en) A kind of invoice checking method and device based on block chain
Dzobo et al. Proposed framework for blockchain technology in a decentralised energy network
CN113379485B (en) Hash algorithm and secondary quotation-based demand response bidding transaction method and system
Yagmur et al. Blockchain-based energy applications: The DSO perspective
Li et al. An exploratory study on the design and management model of traditional chinese medicine quality safety traceability system based on blockchain technology
CN114357473A (en) Virtual power plant aggregation and distributed regulation and control system and method based on block chain
Al-Madani et al. Implications of blockchain deployment in energy supply chain management: report integrity
Yang et al. A double-chain blockchain with economic attributes and network constraints of prosumer transactions
Yan et al. Blockchain‐based framework of power demand response in China
Liu et al. Application of blockchain technology in electric vehicle charging piles based on electricity Internet of Things
Nguyen et al. A blockchain-based framework for developing traceability applications towards sustainable agriculture in Vietnam
Wang et al. Research on Integrated Energy Trading Mechanism Based on Blockchain Smart Contract Technology
CN114119278A (en) Multi-station fusion power resource management system based on block chain technology
Wang et al. Architecture Design and Application of distributed power trading System based on blockchain Asynchronous Consensus
Yu et al. Blockchain in Smart Grids: A Review of Recent Developments
Qingbin et al. Research on Application of Blockchain Technology in Airport Aviation Security
Wang et al. Research on the application of identifier resolution and blockchain technology in the new energy field
Yang et al. Design and Implementation of Energy Internet Big Data System Based on Blockchain
Li et al. Research on Application of Blockchain Technology in Distributed Energy Trading of Microgrid
Zhao et al. Design and implementation of green power traceability system based on blockchain technology in the 2022 Beijing winter olympics

Legal Events

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