Energy data processing method and system based on block chain

By adopting blockchain technology in energy data processing, the problem that energy data is easily modified in various links is solved, data security and processing efficiency are improved, and data isolation protection and cross-data link interaction are achieved.

CN119483966APending Publication Date: 2025-02-18ZHEJIANG TUSHENG POWER TRANSMISSION ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411407902.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, energy data is easily modified in various links after it is generated, resulting in low data security and low data processing efficiency, which cannot meet the growing business needs.

Method used

The blockchain-based energy data processing method is adopted to obtain the business requests of the energy terminal through the blockchain gateway, analyze and store energy data on the chain, trace the source to determine the processing priority, and allocate computing resources to process according to the priority.

Benefits of technology

It improves the security and processing efficiency of energy data, realizes isolation and protection of data from different sources and cross-data link interaction, and meets the needs of energy data processing and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119483966A_ABST
    Figure CN119483966A_ABST
Patent Text Reader

Abstract

The invention discloses an energy data processing method and system based on a block chain, and solves the problems of low energy data security and low energy data processing efficiency in the prior art, and the method comprises the steps that a block chain gateway obtains a service request of an energy terminal, judges a communication protocol supported by the energy terminal according to the service request, and sends the communication protocol to the block chain gateway; establishing corresponding communication connection; the block chain gateway obtains the energy data from the energy terminal, analyzes the energy data, stores the energy data to a corresponding storage unit and links the energy data to form a block chain; tracing the energy data, determining a first priority of energy data processing according to an energy data generation process, and determining a second priority of energy data processing according to an energy data generation source; and allocating energy data processing computing resources according to the priority of energy data processing. The energy data is stored and processed based on the block chain technology, the data processing security is improved, and the data processing efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of blockchain data management, and in particular to a blockchain-based energy data processing method and system. Background Art

[0002] With the expansion of the energy data market and the deepening of application integration, energy terminals have generated massive amounts of data, which has also brought challenges to management efficiency and security. Energy data needs to be classified and stored to facilitate subsequent retrieval, analysis and planning of energy data. However, in the traditional energy data processing process, energy data can be modified at various stages after it is generated. Since energy data cannot prove its credibility, it is difficult to trade energy data, and its value is seriously underestimated.

[0003] The use of blockchain technology can ensure the security and immutability of energy data. However, due to the large number of blockchain nodes, the uplink, downlink and analysis of energy data are carried out indiscriminately according to the time sequence of energy data acquisition. There is a lack of identity qualification or authority authentication for the business request entity, and differentiated processing of node energy data based on identity qualification or authority, resulting in inefficient energy data processing operations and failure to meet the growing needs of energy data processing and analysis. Summary of the invention

[0004] The purpose of the present invention is to solve the problems of energy data security and low energy data processing efficiency in the prior art, and to provide a blockchain-based energy data processing method and system, which stores and processes energy data based on blockchain technology, improves the security of data processing, and greatly improves data processing efficiency.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions: A method for processing energy data based on blockchain, characterized in that it comprises the following steps: S1: The blockchain gateway obtains the service request of the energy terminal, determines the communication protocol supported by the energy terminal according to the service request, and establishes a corresponding communication connection; S2: The blockchain gateway obtains energy data from the energy terminal, parses the energy data, stores it in the corresponding storage unit and uploads it to the chain to form a blockchain; S3: trace the source of energy data, determine the first priority of energy data processing according to the energy data generation process, and determine the second priority of energy data processing according to the energy data generation source; S4: Allocate energy data processing computing resources according to the priority of energy data processing.

[0006] The blockchain-based energy data processing method provided by the present invention realizes energy data processing based on blockchain technology, can isolate and protect energy data from various sources, and can also realize cross-data chain interaction and real-time supervision of energy data, effectively solving the problems of concentrated energy data risks and low data security. At the same time, it designs energy data processing priorities and improves energy data processing efficiency.

[0007] Preferably, step S3 includes: according to the traceability results, dividing the energy data generation process into a production process, a transmission process and a consumption process, and the first priority processing order is the consumption process, the transmission process and the production process; after determining the first priority, determining the second priority of energy data processing according to the importance of the energy data source device in the energy system, the more important the energy data source device is, the higher the second priority is.

[0008] Preferably, different energy terminals are isolated using a channel model, and each channel has its own processing strategy to provide targeted access and control to different energy data.

[0009] Preferably, step S1 includes: the energy terminal initiates a business request, and the business request includes a communication protocol adapted by the energy terminal; the blockchain gateway extracts the communication protocol from the energy terminal and matches it in its own communication protocol library; if the match is successful, a communication connection under the communication protocol is established; if the match fails, the communication protocol of the blockchain gateway is expanded.

[0010] Preferably, step S2 includes: adding a timestamp to the energy data, encrypting the energy data using hash coding, distributing the energy data and its hash value to different blocks in chronological order, storing energy data acquired at the same time in each block, connecting all blocks into a chain structure in chronological order to obtain a blockchain; if new energy data is received, encrypting the new energy data using hash coding, generating a new block and adding it to the blockchain.

[0011] Preferably, if a user wants to access energy data, he / she sends a registration application to the authorization center, which verifies the user's identity, generates an identity key after the verification, and generates a corresponding attribute private key; after obtaining access rights, the user obtains the energy data storage address and symmetric key according to the attribute private key, sends data requests to different nodes of the blockchain, and obtains energy data.

[0012] As a preference, the blockchain network performance is tested throughout the entire process. If the blockchain network performance drops to a threshold, the current network is switched to a backup network, the blockchain interval is adjusted, and the block capacity is increased.

[0013] Preferably, when the energy terminal and the blockchain gateway transmit energy data, an asymmetric encryption algorithm is used to encrypt the energy data; the energy data identifier and the hash value of the block are stored in the blockchain, and the energy data priority processing rules are stored in the block.

[0014] An energy data processing system based on blockchain, comprising: The blockchain gateway obtains energy data from the energy terminal, updates its own communication protocol library according to the communication protocol of the energy terminal, and stores the energy data on the chain; The processing strategy generation module traces the energy data, generates the energy data processing priority according to the traceability results, and allocates computing resources to the block where the energy data is located according to the energy data processing priority; The blockchain module stores energy data identifiers and block hash values ​​and performs access control on energy data; The energy data processing module processes the energy data according to the computing resources allocated by the processing strategy generation module.

[0015] Preferably, the blockchain module is provided with a self-check module to test the blockchain network performance when the system starts working, and continuously detect the blockchain network performance during the energy data processing. When the blockchain performance drops to a threshold, the energy data processing is suspended and the current energy data processing process is recorded, the network connection is switched, and the block size and block interval are adjusted.

[0016] Therefore, the present invention has the following beneficial effects: Energy data processing based on blockchain technology can isolate and protect energy data from various sources, and can also realize cross-data chain interaction and real-time supervision of energy data, effectively solving the problems of concentrated energy data risks and low data security, and ensuring the security of energy data storage and processing. At the same time, energy data processing priorities are designed, and computing resources for processing energy data are allocated according to priorities, thereby improving energy data processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a flowchart of the steps of the energy data processing method based on blockchain in the present invention. DETAILED DESCRIPTION

[0018] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments: Embodiment 1: This embodiment provides an energy data processing method based on blockchain, such as Figure 1As shown, its operation process is as follows: Step 1, the blockchain gateway obtains the business request of the energy terminal, determines the communication protocol supported by the energy terminal according to the business request, and establishes the corresponding communication connection; Step 2, the blockchain gateway obtains energy data from the energy terminal, parses the energy data, stores it in the corresponding storage unit and uploads it to the chain to form a blockchain; Step 3, traces the energy data, determines the first priority of energy data processing according to the energy data generation process, and determines the second priority of energy data processing according to the source of energy data generation; Step 4, allocates energy data processing computing resources according to the priority of energy data processing.

[0019] Blockchain is a decentralized, secure, and tamper-proof distributed ledger technology with high transparency and credibility, which can realize the safe, efficient, and real-time storage and management of energy data. Specifically: With the rapid development of Internet communication technology and digital information technology, blockchain technology has also developed rapidly. Blockchain technology has the characteristics of decentralization and traceability. When using blockchain technology for data processing, it can improve the security of data processing, making blockchain technology widely used in the field of energy Internet remote monitoring services. Compared with the traditional energy Internet remote monitoring service system, the blockchain energy Internet remote monitoring system has a faster, safer and more reliable service system architecture, which can provide enterprises with a safe and stable blockchain remote monitoring environment and obtain reliable data.

[0020] The blockchain-based energy data processing method provided in this embodiment adopts blockchain technology to realize energy data processing, can isolate and protect energy data from various sources, and can also realize cross-data chain interaction and real-time supervision of energy data, effectively solving the problems of concentrated energy data risks and low data security, and ensuring the security of energy data storage and processing; at the same time, it designs energy data processing priorities, allocates computing resources for processing energy data according to priorities, and improves energy data processing efficiency.

[0021] The technical scheme and technical effects of the present invention will be further described below through specific examples. The following examples are explanations of the present invention and the present invention is not limited to the following examples.

[0022] Therefore, this embodiment provides an energy data processing method based on blockchain to solve the following technical problems: (1) Solve the technical problem that existing energy data can be tampered with at every stage after it is generated, resulting in low security of energy data.

[0023] (2) Solve the problem of low efficiency in energy data processing and inability to meet business needs.

[0024] Specifically, Figure 1As shown, a blockchain-based energy data processing method includes the following steps: Step 1: The blockchain gateway obtains the business request of the energy terminal, determines the communication protocol supported by the energy terminal based on the business request, and establishes the corresponding communication connection.

[0025] For a certain energy terminal, when establishing a communication connection with the blockchain and uploading energy data: first, the energy terminal initiates a business request to the blockchain gateway, and the business request contains the communication protocol adapted by the energy terminal; after the blockchain gateway receives the business request from the energy terminal, it extracts the communication protocol from the business request, and matches it in its own communication protocol library according to the extracted communication protocol; if the match is successful, the communication connection between the energy terminal and the blockchain gateway under the communication protocol is established; if the match fails, the communication protocol of the blockchain gateway is expanded, and then the communication connection between the energy terminal and the blockchain gateway is established.

[0026] The blockchain will receive energy data uploaded from different energy terminals, and each energy terminal has its own unique energy data transmission channel. Specifically: Different energy terminals are isolated using a channel model, and each energy data transmission channel has its own processing strategy, such as ledgers, channel-specific organization nodes, etc., so as to provide targeted access and control to different energy data. When transmitting energy data, energy data collected by different energy terminals are transmitted through different channels, thereby achieving isolation and protection of energy data, preventing energy data from interfering with each other, improving the security and accuracy of energy data, and thus forming a data chain.

[0027] In this embodiment, the acquired energy data includes energy data of different time periods.

[0028] Furthermore, when energy data is transmitted between the energy terminal and the blockchain gateway, an asymmetric encryption algorithm is used to encrypt the energy data to improve the security of energy data transmission.

[0029] Asymmetric encryption is a cryptographic technology relative to symmetric encryption. Asymmetric encryption uses a key pair to decrypt data. The key pair consists of two parts: a public key and a private key. The public key is used to encrypt information and decrypt digital signatures, and the private key is used to decrypt information and encrypt message digests. Data encrypted by the public key can only be decrypted with the private key, thereby preventing others from tampering with or stealing energy data. In this embodiment, the energy terminal uses the public key to encrypt the energy data. After receiving the energy data, the blockchain gateway uses the private key to decrypt the energy data and then stores it in the block.

[0030] Step 2: The blockchain gateway obtains energy data from the energy terminal, parses the energy data, stores it in the corresponding storage unit and uploads it to the chain to form a blockchain.

[0031] Blocks are connected by hash values. Each block contains three elements: energy data, hash value, and hash value of the previous block. This structure ensures the security and immutability of the blockchain. Specifically, each block has a unique hash value, which is used to identify the block and its contents. When a block is produced, its hash value is calculated at the same time. If you want to modify the data of a block, you will change its hash value at the same time. Therefore, when the hash value of a data block changes, the block is no longer the original one. In addition, each block also contains the hash value of the previous block. This property effectively establishes the link between blocks, and it is this property that ensures the security of the blockchain. At the same time, it also makes it difficult to modify energy data in the future once it is recorded in the blockchain. This is because any change to the energy data will affect the hash value of subsequent blocks, thereby destroying the integrity of the blockchain, so that the blockchain can ensure the security and transparency of energy data.

[0032] Specifically, in this embodiment, constructing a blockchain based on energy data acquired in different time periods includes: Add a timestamp to the energy data, classify the energy data in chronological order, store the energy data with the earliest generation time in the first block, and set the energy data summary and storage address, etc. The energy data is encrypted using hash coding. A hash function is a function that can convert data of any length into data of a fixed length (it is unidirectional and it is difficult to infer the original input data from the hash value). In this embodiment, a hash function is used to generate a unique hash value in the blockchain to identify specific energy data. If the energy data is tampered with, its hash value will change, so that the energy data in the blockchain cannot be tampered with. Based on the hash value, the energy data is allocated to different blocks in chronological order. Each block stores the energy data and hash value obtained at the same time. All blocks are connected into a chain structure in chronological order to obtain a blockchain.

[0033] If new energy data is received after the blockchain component is completed, the new energy data is encrypted using hash coding, a new block is generated and added to the blockchain, and the energy data summary and storage address are set at the same time.

[0034] The energy data identifier and the hash value of the block are stored in the blockchain, and the block also stores the energy data priority processing rules obtained in the third step.

[0035] Step 3: Trace the energy data, determine the first priority of energy data processing based on the energy data generation process, and determine the second priority of energy data processing based on the source of energy data generation.

[0036] According to the traceability results, the energy data generation process is divided into production process, transmission process and consumption process.

[0037] The production of energy data involves the production process of various energy sources, including electricity, coal, oil, natural gas, cooling, heating, etc. These production processes will generate a large amount of energy data, such as production volume, equipment operating status, reserves, and production costs. Through the sensors and metering equipment (energy terminals) installed on energy production facilities, the terminal energy data of the production process can be collected. The energy data generated during the energy data transmission process includes data such as energy loss and carbon emissions generated during the transmission process.

[0038] The consumption of energy data mainly refers to the analysis and application of energy data. By processing and analyzing the collected data, energy distribution can be optimized, energy efficiency can be improved, and energy demand can be predicted. For example, energy big data technology can help governments and enterprises better manage energy resources and promote the intelligence and transformation and upgrading of energy systems. The energy data generated in the consumption process includes data generated by consumption in various links such as industry, construction, transportation, and households, such as current, voltage, carbon emissions, energy utilization, and other data.

[0039] The first priority is the consumption process. By processing the energy data generated in the consumption process, it can optimize energy distribution, improve energy efficiency, predict energy demand, etc., thereby helping governments and enterprises to better manage energy resources and promote the intelligence and transformation and upgrading of energy systems. Then comes the transmission process and the production process. The priority of energy data in the transmission process and the generation process can be swapped according to actual needs.

[0040] After determining the first priority, the second priority of energy data processing is determined according to the importance of the energy data generation source in the energy system. The energy data generation source includes oil, natural gas, coal, nuclear energy, solar energy, etc. The lower the unit carbon emission of the energy data generation source, the higher the second priority, so that the energy structure with high carbon emissions can be processed in time according to the processing results of energy data, and energy allocation can be optimized in time to reduce carbon emissions.

[0041] Step 4: Allocate energy data processing computing resources according to the priority of energy data processing.

[0042] The higher the priority, the more computing resources are required for energy data processing, so that high-priority energy data can be processed in a timely manner, thereby improving energy data processing efficiency.

[0043] Processing of energy data includes: (1) Standardize energy data.

[0044] After the blockchain gateway receives the energy data uploaded by the energy terminal, it cleans the collected energy data to remove missing values, duplicate values, and outliers, etc. The cleaned energy data is formatted to convert the original format of the energy data into a useful format.

[0045] (2) Calculate energy data indicators.

[0046] Integrate the energy data after format conversion into a database. Analyze the integrated energy data, calculate various indicators and statistics; then perform predictive analysis on the analysis results and establish a prediction model.

[0047] (3) Display of energy data processing results.

[0048] Mining the association rules of the prediction model to find out the variables with strong correlation. Displaying the various indicators, statistics and energy data mining results calculated in the form of charts for users to view.

[0049] This embodiment also includes real-time detection of the network performance of the blockchain network to ensure the storage and processing efficiency of energy data. Specifically, it includes: testing the blockchain network performance throughout the process. If the blockchain network performance drops to a threshold, the current network is switched to a backup network, the blockchain interval is adjusted, and the block capacity is increased.

[0050] Blockchain network performance includes: transaction processing speed (used to measure the number of transactions that the blockchain can process and confirm per second), network latency (the time from transaction initiation to confirmation), system throughput, etc.

[0051] At the same time, in this embodiment, the energy data is stored in the blockchain. If the user wants to access the energy data, he needs to: Send the registration application to the authorization center, which verifies the user's identity (such as the user ID). After the verification, it generates an identity key and the corresponding attribute private key.

[0052] After obtaining access rights, the user obtains the energy data storage address and symmetric key according to the attribute private key to pre-decrypt the encrypted energy data, and then sends data requests to different nodes of the blockchain to obtain energy data.

[0053] By controlling user access to energy data, the security of energy data can be improved and tampering of energy data can be prevented.

[0054] Embodiment 2: This embodiment provides a blockchain-based energy data processing system, which is used to implement the blockchain-based energy data processing method in Embodiment 1, solve the problems of concentrated energy data risks and low data security, ensure the security of energy data storage and processing, and improve the efficiency of energy data processing.

[0055] A blockchain-based energy data processing system includes a blockchain gateway, a processing strategy generation module, a blockchain module and an energy data processing module. The blockchain gateway is connected to the blockchain module and the processing strategy generation module, and the processing strategy generation module is connected to the energy data processing module.

[0056] Specific: The blockchain gateway obtains energy data from the energy terminal, updates its own communication protocol library according to the communication protocol of the energy terminal, and stores the energy data on the chain.

[0057] The blockchain gateway parses the business request uploaded by the energy terminal, obtains the communication protocol therein, searches its own communication protocol library according to the communication protocol adapted by the energy terminal, and after retrieving the corresponding communication protocol, establishes a communication connection under the communication protocol with the energy terminal, thereby realizing the communication business transmission with the energy terminal.

[0058] At the same time, the blockchain gateway adds a timestamp to the energy data transmitted by the energy terminal, encrypts the energy data using hash coding, and distributes the energy data and its hash value to different blocks in chronological order. Each block stores the energy data obtained at the same time, and all blocks are connected into a chain structure in chronological order to obtain a blockchain. If new energy data is received, the new energy data is encrypted using hash coding, a new block is generated and added to the blockchain.

[0059] The processing strategy generation module traces the energy data, generates the energy data processing priority according to the traceability results, and allocates computing resources to the block where the energy data is located according to the energy data processing priority.

[0060] Furthermore, the processing strategy generation module divides the energy data generation process into production process, transmission process and consumption process according to the traceability results. The energy data processing priority is: consumption process, transmission process and production process. The energy data priority of transmission process and generation process can be switched according to actual needs.

[0061] After determining the first priority, the processing strategy generation module determines the second priority of energy data processing according to the importance of the energy data generation source in the energy system. The lower the unit carbon emission of the energy data generation source, the higher the second priority, so that the energy structure with high carbon emissions can be processed in time according to the processing results of the energy data, and the energy distribution can be optimized in time to reduce carbon emissions.

[0062] The blockchain module stores energy data identifiers and block hash values, and performs access control on energy data.

[0063] The blockchain module has a built-in self-check module to test the blockchain network performance when the system starts working, and continuously detects the blockchain network performance during the energy data processing process. When the blockchain performance drops to a threshold, it suspends energy data processing and records the current energy data processing process, switches the network connection, and adjusts the block size and block interval.

[0064] The energy data processing module processes the energy data according to the computing resources allocated by the processing strategy generation module. For the first priority, in the three different energy data generation processes, the proportion of clean energy and energy utilization efficiency in a certain energy data generation process can be calculated, so as to find the energy waste in each link.

[0065] For the second priority, energy data is used to calculate different indicators and analyze the energy data according to the indicators, including greenhouse gas emissions, air pollutant emissions, energy utilization, etc. Based on the calculation results, the equipment status can be judged.

[0066] This embodiment also includes an encryption module to encrypt the energy data to ensure the security of the energy data.

[0067] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.

Claims

1. A method for processing energy data based on blockchain, characterized in that: The following steps are involved: S1: The blockchain gateway obtains the service request of the energy terminal, determines the communication protocol supported by the energy terminal according to the service request, and establishes a corresponding communication connection; S2: The blockchain gateway obtains energy data from the energy terminal, parses the energy data, stores it in the corresponding block and uploads it to the chain to form a blockchain; S3: trace the source of energy data, determine the first priority of energy data processing according to the energy data generation process, and determine the second priority of energy data processing according to the energy data generation source; S4: Allocate energy data processing computing resources according to the priority of energy data processing.

2. According to the energy data processing method based on blockchain in claim 1, it is characterized in that: The step S3 includes: according to the traceability result, the energy data generation process is divided into the production process, the transmission process and the consumption process, and the first priority processing order is the consumption process, the transmission process and the production process; after determining the first priority, the second priority of energy data processing is determined according to the importance of the energy data generation source in the energy system, and the higher the carbon emissions of the energy data generation source, the higher the second priority.

3. The energy data processing method based on blockchain according to claim 1 is characterized in that: Different energy terminals are isolated using a channel model. Each channel has its own processing strategy to provide targeted access and control over different energy data.

4. A blockchain-based energy data processing method according to claim 1, 2 or 3, characterized in that: The blockchain network performance is tested throughout the process. If the blockchain network performance drops to the threshold, the current network will be switched to the backup network, the blockchain interval will be adjusted and the block capacity will be increased.

5. A blockchain-based energy data processing method according to claim 1, 2 or 3, characterized in that: The step S1 includes: the energy terminal initiates a service request, and the service request includes a communication protocol adapted by the energy terminal; the blockchain gateway extracts the communication protocol from the energy terminal and matches it in its own communication protocol library; if the match is successful, a communication connection under the communication protocol is established; if the match fails, the communication protocol of the blockchain gateway is expanded.

6. A blockchain-based energy data processing method according to claim 1, 2 or 3, characterized in that: The step S2 includes: adding a timestamp to the energy data, encrypting the energy data using hash coding, distributing the energy data and its hash value to different blocks in chronological order, storing energy data acquired at the same time in each block, connecting all blocks into a chain structure in chronological order to obtain a blockchain; if new energy data is received, encrypting the new energy data using hash coding, generating a new block and adding it to the blockchain.

7. The energy data processing method based on blockchain according to claim 1 is characterized in that: If the user wants to access energy data, he / she will send a registration application to the authorization center, which will verify the user's identity. After the verification, the authorization center will generate an identity key and a corresponding attribute private key. After obtaining access rights, the user obtains the energy data storage address and symmetric key based on the attribute private key, sends data requests to different nodes of the blockchain, and obtains energy data.

8. A blockchain-based energy data processing method according to claim 1, 2, 3 or 7, characterized in that: When the energy terminal and the blockchain gateway transmit energy data, an asymmetric encryption algorithm is used to encrypt the energy data; the energy data identifier and the hash value of the block are stored in the blockchain, and the energy data priority processing rules are stored in the block.

9. A blockchain-based energy data processing system, using a blockchain-based energy data processing method as described in any one of claims 1 to 8, characterized in that: include: The blockchain gateway obtains energy data from the energy terminal, updates its own communication protocol library according to the communication protocol of the energy terminal, and stores the energy data on the chain; The processing strategy generation module traces the energy data, generates the energy data processing priority according to the traceability results, and allocates computing resources to the block where the energy data is located according to the energy data processing priority; The blockchain module stores energy data identifiers and block hash values ​​and performs access control on energy data; The energy data processing module processes the energy data according to the computing resources allocated by the processing strategy generation module.

10. The energy data processing system based on blockchain according to claim 9 is characterized in that: The blockchain module is equipped with a self-check module to test the blockchain network performance when the system starts working, and continuously detect the blockchain network performance during the energy data processing process. When the blockchain performance drops to a threshold, the energy data processing is suspended and the current energy data processing process is recorded, the network connection is switched, and the block size and block interval are adjusted.