A blockchain-based power supply reliability information checking method

By splitting power supply reliability data into multiple data segments and using a distributed timestamp network to monitor latency, the risks of data tampering and the cumbersome nature of manual verification are resolved, achieving data transparency and traceability.

CN120067611BActive Publication Date: 2025-12-12STATE GRID CORPORATION OF CHINA +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510038531.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-12-12
Estimated Expiration
2045-01-10

AI Technical Summary

Technical Problem

In existing technologies, power supply reliability data is at risk of being tampered with before being uploaded to the blockchain, and the business confirmation process requiring manual intervention is cumbersome, so the management process needs to be optimized.

Method used

Power supply reliability data is split into four data segments, which are then initially verified and uploaded to the blockchain. A verification hash value is generated through a distributed timestamp network to monitor data latency. Data is marked as suspicious when the hash values ​​do not match, and a list of suspicious data is generated.

Benefits of technology

This effectively avoids the risk of data being tampered with or damaged during the on-chain process, reduces the need for manual verification, and improves the transparency and traceability of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120067611B_ABST
    Figure CN120067611B_ABST
Patent Text Reader

Abstract

The application provides a power supply reliability information checking method based on a block chain, which comprises the following steps: step 1: real-time acquisition of a plurality of power supply reliability data, the power supply reliability data are all divided into four data segments, and the content integrity and accuracy of the four data segments are preliminarily checked before the power supply reliability data are sent to the block chain; step 2: after the preliminary check is passed, corresponding preliminary check hash values are generated, and the power supply reliability data are chained, and whether there is a delay in the data chaining process is detected in the chaining process; and step 3: a distributed timestamp network is constructed, a verification hash value is regenerated for each data segment if there is a delay, and the corresponding preliminary check hash values and the corresponding verification hash values are compared.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of information verification, in particular to a power supply reliability information checking method based on a block chain. BACKGROUND

[0002] According to the power reliability data management requirements, the power supply reliability data reporting and reporting must be timely, accurate and complete. The collection, reporting and checking of power supply reliability related data are prone to data leakage, tampering and integrity loss. The provincial power outage information data generates power outage event data after automatic research and judgment by the system, and forms reliability data after artificial confirmation or supplement. The power outage event and reliability data are reported to the headquarters power quality online monitoring system by the provincial power grid resource business platform every day. In the current business confirmation process, manual intervention is required and the business data has the problem of multiple supplementary times. The headquarters needs to invest a lot of effort in confirmation and verification, and the management process needs to be optimized.

[0003] The existing technology often uses block chain technology to solve the problem of preventing data tampering, but the block chain technology can only ensure that the data cannot be tampered after being chained, but the data may be delayed in the process before being chained. Therefore, there may be malicious tampering of data in this delayed process, and the data still has the risk of being maliciously modified before being chained on other business platforms. SUMMARY

[0004] The purpose of the present application is to provide a power supply reliability information checking method based on a block chain to solve the problems raised in the background art.

[0005] The present application is realized by the following technical solutions:

[0006] A power supply reliability information checking method based on a block chain, the method comprising:

[0007] Step 1: Real-time acquisition of multiple power supply reliability data, the power supply reliability data are all divided into four data segments, including 95598 power outage information, line segment integrity information, real-time power outage event information and switch position change information. Before the power supply reliability data are sent to the block chain, the content integrity and accuracy of the four data segments are preliminarily checked.

[0008] Step 2: After the preliminary check is passed, the corresponding preliminary check hash value is generated, and the power supply reliability data are chained, and it is detected whether there is a delay in the chaining process.

[0009] Step 3: Build a distributed timestamp network. If there is a delay, generate a verification hash value for each data segment according to the distributed timestamp network, and compare the corresponding preliminary verification hash value generated with the corresponding verification hash value generated. If the hash value of each data segment does not match, mark the data segment as "suspicious" and generate a report of suspected data.

[0010] Specifically, the specific process of the preliminary verification of the power supply reliability data in step 1 includes:

[0011] Content integrity verification: Ensure that all necessary data fields have been completely collected and there is no missing data;

[0012] Accuracy verification:

[0013] Preliminary verification of 95598 power outage information: Logical check of collected data to verify data rationality, including that the time of power outage event cannot be earlier than the data collection timestamp, and ensuring information consistency and accuracy by comparing user feedback and system records;

[0014] Preliminary verification of line segment integrity: Detailed check of integrity data provided by line monitoring equipment to ensure no missing fault information, and comparison with historical data to confirm whether line state changes meet expectations;

[0015] Preliminary verification of real-time power outage events: Analysis of real-time power outage event data to determine whether there are abnormal situations, including multiple power outages in a short period of time or abnormal expansion of power outage range;

[0016] Preliminary verification of switch position change: Analysis of switch position change information to ensure that switch state changes meet predetermined operation specifications and compare with historical data to confirm normal operation state of equipment.

[0017] Specifically, the specific process of step 2 includes:

[0018] Random forest algorithm is used to train historical delay data to establish a delay prediction model, which takes multi-dimensional monitoring indicators as input features to predict future delay trends, including timestamp before chaining, network bandwidth, data packet loss rate, and network delay;

[0019] A reference delay threshold is set in the delay prediction model, and the delay threshold is dynamically adjusted according to the prediction results to reduce false positives, and the data chaining time is calculated. When the data chaining time is greater than the delay threshold, the data is marked as "delayed data".

[0020] Specifically, the dynamic adjustment of the delay threshold value specifically includes:

[0021] The upper limit of the delay threshold value: if the model prediction delay is continuously predicted for 3 times within a certain period of time, the threshold value is increased by 10% or 20% to adapt to the current network condition;

[0022] The lower limit of the delay threshold value: if the model prediction delay is continuously predicted for 3 times within a certain period of time, the threshold value is decreased by 10% or 20% to adapt to the current network condition.

[0023] Specifically, the calculation of the data chaining time is specifically the difference between the time stamp of the data after preliminary verification and the time stamp of the data chaining completion time, and when the difference is greater than the delay threshold value, the data is marked with delay.

[0024] Specifically, the construction of the distributed timestamp network includes:

[0025] The timestamp generation module is used to generate unique timestamps for the four data segments in the delay period, and the generated timestamps are transmitted to the time verification module for verification to ensure the validity and accuracy of the timestamps;

[0026] The time verification module is used to verify the generated timestamps to ensure that they are within a reasonable range and consistent with the data content, and after successful verification, the timestamps and data are transmitted to the time sequence chain module for recording, and if the verification fails, the data is marked as invalid and prevented from entering the subsequent process;

[0027] The time sequence chain module is used to organize all verified timestamps and data segments into a time sequence chain, and according to the received data segments and their corresponding timestamp information, respective verification hash values are generated, and in generating the verification hash values, an encryption hash algorithm is used to encrypt the verification hash value generated for each data segment;

[0028] The temporary storage module is used to temporarily store the data segments in the chaining process in a dedicated blockchain network, which uses a hierarchical storage mechanism to perform multiple encryption and sharded storage on the data;

[0029] The anomaly detection module is used to compare the preliminary verification hash values of the four data segments with the corresponding verification hash values in the time sequence chain, and if there is a mismatch in the hash value of a certain data segment, the data segment is marked as "suspicious" and a suspicious data list report is generated.

[0030] Specifically, the content of the suspicious data list specifically includes: the chaining delay time, the suspicious data segment content, and the timestamp information.

[0031] Compared with the prior art, the present application has the following beneficial effects:

[0032] The application provides a power supply reliability information checking method based on a block chain, which comprises the following steps: dividing power supply reliability data into four data segments, comparing a preliminary check hash value of a data segment with a verification hash value, marking the data segment as suspicious if the hash values do not match, and generating a suspicious data list report, thereby providing a basis for subsequent data review and problem tracking. BRIEF DESCRIPTION OF DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only preferred embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0034] Figure 1 A flowchart of the power supply reliability information checking method based on a block chain provided by the present application. DETAILED DESCRIPTION

[0035] In order to make the objects, technical solutions and advantages of the present application more obvious, the following will describe the example embodiments according to the present application with reference to the drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all embodiments of the present application, and it should be understood that the present application is not limited by the example embodiments described herein. Based on the embodiments of the present application described in the present application, all other embodiments obtained by those skilled in the art without creative labor should fall within the protection scope of the present application.

[0036] In the following description, a large number of specific details are given in order to provide a more thorough understanding of the present application. However, it is obvious to those skilled in the art that the present application can be implemented without one or more of these details. In other examples, some technical features known in the art are not described in order to avoid obscuring the present application.

[0037] It should be understood that the present application can be implemented in different forms, and should not be interpreted as being limited to the embodiments presented herein. On the contrary, these embodiments are provided to make the disclosure complete and complete, and to fully convey the scope of the present application to those skilled in the art.

[0038] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising", when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. As used herein the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0039] For a thorough understanding of the present application, reference will be made to the following detailed description, taken in conjunction with the accompanying drawings, in which:

[0040] Referring to Figure 1 A power supply reliability information checking method based on a blockchain, the method comprising:

[0041] Step 1: Real-time acquisition of a plurality of power supply reliability data, the power supply reliability data being split into four data segments, respectively including 95598 power outage information, line segment integrity information, real-time power outage event information, and switch position change information, before the power supply reliability data is sent to the blockchain, the content integrity and accuracy of the four data segments are preliminarily checked;

[0042] Step 2: After the preliminary check passes, corresponding preliminary check hash values are generated, and the power supply reliability data is chained, and it is detected whether there is a delay in the chaining process;

[0043] Step 3: A distributed timestamp network is constructed, if there is a delay, a verification hash value is regenerated for each data segment according to the distributed timestamp network, the corresponding preliminary check hash values are compared, if the hash value of each data segment does not match, the data segment is marked as "suspicious", and a doubtful data list report is generated.

[0044] For example, the application provides a power supply reliability information checking method based on blockchain. In step 1, real-time power supply reliability data is collected and divided into four data segments: 95598 power outage information, line segment integrity information, real-time power outage event information, and switch position change information. These data segments represent different power supply reliability indicators, ensuring multi-dimensional coverage of the data. Preliminary verification is performed to identify potential errors or inconsistencies and avoid uploading unqualified data. In step 2, the power supply reliability data and its preliminary verification hash value are uploaded to form an unalterable record, ensuring data traceability. Once the data is uploaded, it cannot be modified or deleted due to the characteristics of the blockchain. During the uploading process, the delay of data transmission is monitored, and whether there is a delay or not, the data segment is uploaded and recorded. If a delay is detected, the power supply reliability data is sent to a distributed timestamp network, and the verification hash value generated by the distributed timestamp network is compared with the preliminary verification hash value. If the hash values do not match, the data segment is marked as "suspicious." This can effectively identify changes or damage to the data during transmission. Once a mismatch is found, a suspicious data list report is generated, providing detailed suspicious data records. This provides a basis for subsequent data review and problem tracking, ensuring the transparency and traceability of power supply reliability data.

[0045] Specifically, the specific process of preliminary verification of power supply reliability data in step 1 includes:

[0046] Content integrity verification: ensures that all required data fields have been fully collected and there is no missing data;

[0047] Accuracy verification:

[0048] Preliminary verification of 95598 power outage information: logical checking of collected data to verify data reasonableness, including that the power outage event time cannot be earlier than the data collection timestamp, and ensuring information consistency and accuracy by comparing user feedback with system records;

[0049] Preliminary verification of line segment integrity: detailed checking of integrity data provided by line monitoring equipment to ensure no missing fault information and comparison with historical data to confirm whether line state changes are as expected;

[0050] Preliminary verification of real-time power outage event: analysis of real-time power outage event data to determine if there are any abnormalities, including multiple power outages within a short period of time or abnormal expansion of power outage range;

[0051] Preliminary verification of switch position change: analysis of switch position change information to ensure that switch state changes comply with predetermined operation specifications and comparison with historical data to confirm normal operation state of the equipment.

[0052] For each data segment, pre-process the data to ensure its format is consistent and structure is complete, such as removing null values, formatting date and time fields, etc., to ensure the accuracy of subsequent hash calculations.

[0053] Example of data segment structure:

[0054] 95598 outage information: {"outage time": "2024-11-14T03:00:00Z", "outage reason": "equipment failure", "outage duration": "2 hours"}

[0055] Line segment integrity information: {"line number": "001", "integrity status": "normal"}

[0056] Real-time outage event information: {"event number": "E001", "event time": "2024-11-14T03:10:00Z", "number of affected users": 150}

[0057] Switch position information: {"switch number": "SW001", "position time": "2024-11-14T03:15:00Z", "operation status": "closed"}

[0058] Specifically, the specific process of detecting whether the data in step 2 is delayed in the uplink process includes:

[0059] A delay prediction model is established by training historical delay data using a random forest algorithm, which takes multi-dimensional monitoring indicators as input features to predict future delay trends. The multi-dimensional monitoring indicators include the timestamp before uplink, network bandwidth, packet loss rate, and network delay.

[0060] A baseline delay threshold is set in the delay prediction model, and the delay threshold is dynamically adjusted based on the prediction results to reduce false positives. The data uplink time is also calculated, and if the data uplink time is greater than the delay threshold, the data is marked as "delayed data".

[0061] For example, based on historical data analysis, an initial baseline delay threshold is set, which can be determined based on the mean or median of historical delay data to ensure that the alarm is not triggered under normal circumstances.

[0062] For example, if the mean of historical delay data is 100ms and the standard deviation is 20ms, the baseline threshold can be set to 120ms (mean plus one standard deviation).

[0063] Specifically, the dynamic adjustment of the delay threshold specifically includes:

[0064] Up-regulation of delay threshold: if the model predicted delay is more than 3 times in a certain period of time, the threshold is increased by 10% or 20% to adapt to the current network conditions;

[0065] Down-regulation of delay threshold: if the model predicted delay is less than 3 times in a certain period of time, the threshold is decreased by 10% or 20% to adapt to the current network conditions.

[0066] Exemplarily, different delay thresholds are set for peak hours (such as certain time periods on weekdays) and off-peak hours (such as weekends or holidays) for the two scenarios.

[0067] During peak hours, the threshold can be appropriately increased to reduce false positives; while during off-peak hours, the threshold can be reduced to ensure timely identification of potential delay problems.

[0068] Specifically, the calculation of the data chaining time is the difference between the time stamp when the data is stored in the blockchain after preliminary verification and the time stamp when the data chaining is completed. When the difference is greater than the delay threshold, the data is marked as delayed.

[0069] Specifically, the construction of the distributed timestamp network includes:

[0070] The timestamp generation module is used to generate unique timestamps for the four data segments in the delay period, and the generated timestamps are passed to the time verification module for verification to ensure the validity and accuracy of the timestamps;

[0071] Exemplarily, in the case of detecting delay, the timestamp generation module generates unique timestamps for the four data segments (95598 outage information, line integrity information, real-time outage event information, and switch position information). The timestamp is a marker indicating the time of data generation or reception, ensuring that each data segment has a unique time identifier;

[0072] The time verification module is used to verify the generated timestamps to ensure that they are within a reasonable range and consistent with the data content. After successful verification, the timestamp and data are passed to the time series chain module for recording. If the verification fails, the data will be marked as invalid and prevented from entering the subsequent process;

[0073] A time series chain module is configured to organize all verified timestamps and data segments into a time series chain, and to generate corresponding verification hash values based on the received data segments and their corresponding timestamp information. In generating the verification hash values, an encryption hash algorithm is used to encrypt the verification hash values generated for each data segment. By organizing the data and timestamps into a time series chain, the order and traceability of the data are ensured. The generated verification hash values provide a basis for subsequent anomaly detection, ensuring the integrity and consistency of the data during transmission.

[0074] A temporary storage module is configured to temporarily store the data segments in a dedicated blockchain network during the chaining process. The network uses a hierarchical storage mechanism to perform multiple encryption and sharded storage of the data, thereby improving the security and access efficiency of the data.

[0075] For example, the temporary storage module is configured to temporarily store the data segments in a dedicated blockchain network during the data chaining process. The network uses a hierarchical storage mechanism to perform multiple encryption and sharded storage of the data, thereby improving the security and access efficiency of the data.

[0076] An anomaly detection module is configured to compare the preliminary verification hash values of the four data segments with the corresponding verification hash values in the time series chain. If there is a mismatch in the hash values of a certain data segment, the data segment is marked as "suspect", and a suspect data list report is generated to provide a basis for subsequent data review and problem tracking.

[0077] Specifically, the content of the suspect data list includes the chaining delay time, the suspect data segment content, and the timestamp information.

[0078] For example, the content of the suspect data list is as follows:

[0079] The suspect data list is as follows:

[0080] Data identifier: 95598 power outage information-001

[0081] Data content: {"power outage time": "2024-11-14T03:00:00Z", "power outage reason": "equipment failure", "power outage duration": "2 hours"}

[0082] Timestamp: 2024-11-14T03:45:00Z

[0083] Data source: power monitoring system

[0084] Preliminary verification hash value: abcdef1234567890

[0085] Hash value in time series chain: rtcdef1234567890

[0086] Detection time: 2024-11-14T04:00:00Z

[0087] Data chaining time: 2024-11-14T03:50:00Z

[0088] Network status: Bandwidth 100Mbps, delay 50ms, packet loss rate 0.5%

[0089] System status: Load 75%, error log: None

[0090] Exception type: Hash value mismatch

[0091] Exception cause analysis: The data may be tampered or damaged during the chaining process.

[0092] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1.A power supply reliability information checking method based on a blockchain, characterized in that, The method comprises: Step 1: Real-time acquisition of a plurality of power supply reliability data, the power supply reliability data is divided into four data segments, respectively including 95598 power failure information, line segment integrity information, real-time power failure event information and switch variable position information, before the power supply reliability data is sent to the block chain, the content integrity and accuracy of the four data segments are preliminarily checked; Step 2: After the preliminary check is passed, the corresponding preliminary check hash value is generated, and the power supply reliability data is chained, and whether there is delay in the data chaining process is detected; The specific process of detecting whether there is delay in the data chaining process comprises: A delay prediction model is established by training historical delay data using a random forest algorithm, the delay prediction model takes multi-dimensional monitoring indicators as input features to predict future delay trends, and the multi-dimensional monitoring indicators include timestamps before chaining, network bandwidth, data packet loss rate and network delay; In the delay prediction model, a reference delay threshold is set, the delay threshold is dynamically adjusted according to the prediction result to reduce false positives, and the data chaining time is calculated, when the data chaining time is greater than the delay threshold, the data is marked as "delayed data"; Step 3: A distributed timestamp network is constructed, if there is delay, a verification hash value is regenerated for each data segment according to the distributed timestamp network, and the corresponding preliminary check hash value and the corresponding verification hash value are compared, if the hash value of each data segment does not match, the data segment is marked as "suspect", and a suspect data list report is generated. 2.The power supply reliability information checking method based on blockchain according to claim 1, characterized in that, The specific process of preliminarily checking the power supply reliability data in step 1 comprises: Content integrity check: ensure that all necessary data fields have been completely collected and there is no missing data; Accuracy check: Preliminary check of 95598 power failure information: logical check of collected data to verify data rationality, including that power failure event time cannot be earlier than data collection timestamp, and consistency and accuracy of information are ensured by comparing user feedback and system records; Preliminary check of line segment integrity: detailed check of integrity data provided by line monitoring equipment to ensure that there is no missing fault information, and historical data is compared to confirm whether the line state change is as expected; Preliminary check of real-time power failure event: analysis of real-time power failure event data to determine whether there is an abnormal situation, including multiple power failure events in a short time or abnormal expansion of power failure range; Preliminary check of switch variable position: analysis of switch variable position information to ensure that the change of switch state conforms to the predetermined operation specification, and historical data is compared to confirm the normal operation state of the equipment. 3.The power supply reliability information checking method based on blockchain according to claim 2, characterized in that, The dynamic adjustment of the delay threshold comprises: Increasing the delay threshold: if the model predicted delay exceeds the reference delay threshold for 3 consecutive times in a certain time period, the threshold is increased by 10% or 20% to adapt to the current network condition; Down-regulation delay threshold: if the model predicted delay is 3 times lower than the benchmark delay threshold within a certain period of time, the threshold is reduced by 10% or 20% to adapt to the current network conditions. 4.The power supply reliability information checking method based on blockchain according to claim 3, characterized in that, The calculation of the data on-chain time is the difference between the time stamp of the data after preliminary verification and the time stamp of the completion of the data on-chain, and when the difference is greater than the delay threshold, the data is marked as delayed. 5.The power supply reliability information checking method based on blockchain according to claim 4, characterized in that, The construction of the distributed timestamp network includes: The timestamp generation module is used to generate unique timestamps for each of the four data segments in the delay period. The generated timestamps are passed to the time verification module for verification to ensure the validity and accuracy of the timestamps. The time verification module is used to verify the generated timestamps to ensure that they are within a reasonable range and consistent with the data content. After successful verification, the timestamp and data are passed to the time sequence chain module for recording. If the verification fails, the data will be marked as invalid and prevented from entering the subsequent process. The time sequence chain module is used to organize all verified timestamps and data segments into a time sequence chain. Based on the received data segments and their corresponding timestamp information, the corresponding verification hash values are generated. When generating the verification hash values, an encryption hash algorithm is used to encrypt the verification hash values generated for each data segment. The temporary storage module is used to temporarily store the data segments in the dedicated blockchain network during the on-chain process. This network uses a hierarchical storage mechanism to perform multiple encryption and sharded storage on the data. The anomaly detection module is used to compare the preliminary verification hash values of the four data segments with the corresponding verification hash values in the time sequence chain. If the hash values of certain data segments do not match, the data segments are marked as "suspect" and a suspect data list report is generated. 6.The power supply reliability information checking method based on blockchain according to claim 5, characterized in that, The content of the suspect data list includes: on-chain delay time, suspect data segment content, and timestamp information.

Citation Information

Patent Citations

  • Power distribution network power-out and power-recovery supervision method based on multi-source data

    CN106992520A

  • Quadruple Petri network-based block chain data uplink efficiency improvement method

    CN117896120A