A blockchain-based underground substation engineering settlement monitoring data management method
By adopting the decentralized data storage and incentive mechanism of blockchain technology in settlement monitoring data management, single point failure and security problems in traditional methods are solved, high data reliability and security are achieved, and settlement situations are promptly reflected.
Patent Information
- Application Number
- CN202410891735.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Traditional settlement monitoring data management methods are prone to single point failures, which poses the risk of data leakage and security problems.
The decentralized data storage method based on blockchain is adopted to divide the monitoring data into multiple data blocks, each data block contains a hash value. Through distributed storage of multiple nodes, a single point of failure risk is eliminated, and the security and integrity of data are ensured through technologies such as incentive mechanisms, smart contracts and zero-knowledge proofs.
Effectively eliminate single point of failure risk, ensure data integrity and reliability, improve data security, promptly reflect the settlement of underground substations, and help staff respond quickly to problems.
Smart Images

Figure CN118779154B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management, and in particular to a method for managing underground substation engineering settlement monitoring data based on blockchain. Background Art
[0002] With the increasing shortage of construction land, the number of high-rise buildings in cities is increasing. In order to ensure the safe construction of construction projects, it is necessary to strengthen the monitoring work during the construction, decoration and operation stages of the main building, and establish an early warning mechanism for the settlement of high-rise buildings. Starting from the accuracy indicators and technical processes of high-rise building settlement monitoring, it is planned to combine and actually explore its application analysis in building settlement data processing. Settlement observation is generally a periodic observation, and the entire cycle lasts about 3 to 4 years; the observation period is different according to the construction stage of the monitored building. The first observation should be carried out at the beginning of the building foundation, and the settlement observation points buried on the longitudinal and transverse axes of the foundation should be monitored.
[0003] The result of the first monitoring is the key to the entire settlement observation. All subsequent observation data must be compared and analyzed with the first phase data until the entire process is completed. Therefore, the accuracy of the first phase observation is relatively high. Generally, a precision electronic level is used. The first elevation of each observation point is generally determined after 2 to 3 observations in the same period. During the construction of the building, the settlement observation should be closely followed by observation as much as possible for each layer of the structure. If the building construction increases evenly, it should be measured at least once when the load increases by 25%, 50%, 75% and 100%. If the construction is temporarily suspended during the construction process, it should be observed once when the work is suspended and when it is restarted. During the suspension period, observations can be made every 2 to 3 months. Building settlement observation technology is very important in engineering. It has the characteristics of strong professionalism, long time consumption, and susceptibility to external influences. Therefore, we must strictly measure and observe in accordance with the project design book and the current specifications of relevant projects, and appropriately use reasonable and advanced observation technology and data calculation methods to obtain more accurate measurement data, thereby accurately reflecting the actual situation of building settlement.
[0004] However, traditional settlement monitoring data management methods usually store data in a single server or database, which causes the server or database to become a vulnerable link of single point failure. If the server crashes or a hardware failure occurs, all monitoring data may be affected or even lost. At the same time, centralized storage methods usually require data to be transmitted to a central server. Especially when designing sensitive data transmission, there is a risk of data leakage and security issues. Therefore, a blockchain-based underground substation project settlement monitoring data management method that can eliminate the risk of single point failure and improve data security is urgently needed to solve such problems. Summary of the invention
[0005] 1. Technical issues to be solved
[0006] In view of the shortcomings of the prior art, the present invention provides a blockchain-based underground substation engineering settlement monitoring data management method to solve the problems existing in the prior art of single point failure, data leakage and security risks.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions. The present invention provides a method for managing underground substation engineering settlement monitoring data based on blockchain, including:
[0009] Decentralized data storage, setting up data block transaction units, based on decentralized blockchain distributed storage technology, storing monitoring data on multiple nodes, each data block contains a hash value;
[0010] Based on the incentive mechanism, incentives are provided to reward data nodes in the network, encouraging data nodes to provide storage and maintain data;
[0011] Automated data quality assessment based on smart contracts, regular inspection of monitoring data, and recording of test results on the blockchain;
[0012] Pre-authorized access to monitoring data based on zero-knowledge proof;
[0013] Monitor the real-time upload of monitoring data to the blockchain;
[0014] Based on the monitoring results of the data provided by the smart contract, an alarm is automatically triggered when the data is abnormal or reaches the threshold, and the staff is notified.
[0015] The present invention is further configured as follows: in the decentralized data storage step:
[0016] The monitoring data is divided into multiple data blocks, each of which is defined as D i , where i is the number of data blocks, that is, the number of the data blocks;
[0017] For each data block D i Calculate the hash value HD i , the hash value expression is:
[0018] HD i =H(D i ,i,H,P i ),
[0019] HD i Indicates data block D i The hash value of i is the data block number, H is the hash function, P i is the hash parameter;
[0020] Each data block D i With its hash value HD i The data block transaction unit stored on the blockchain forms a data block transaction
[0021] in Represents data block transaction, D i is the i-th data block, HD i Indicates data block D i The hash value of BC represents the blockchain, T, S, and R are the transaction number, signature, and recipient respectively;
[0022] The present invention is further configured as follows: the decentralized data storage step further comprises:
[0023] Each data block transaction T on the blockchain xi The following Merkle tree is constructed to summarize the hash value of the data block;
[0024] The summary method is: R o.t =H([H(D 1 ),H(D 2 ),...,H(D n )]),
[0025] Where R o.t is the root hash value of the Merkle tree, H is the construction function of the Merkle tree, H(D 1 ),H(D 2 ),...,H(D n ) is a list of hash values of data blocks;
[0026] The Merkle tree root hash value is stored in the latest block;
[0027] The present invention is further configured as follows: the node incentive mode is specifically:
[0028] Each data node N i All are registered to the network, i represents the number of the data node;
[0029] Each node N i Store underground substation project settlement monitoring data;
[0030] By Rewarding R i Provide storage and data maintenance for nodes;
[0031] Where P i is node N i The performance score of i is node N iThe amount of data stored, T, M, S, and A are the time factor, total reward pool, safety factor, and incentive allocation coefficient respectively;
[0032] According to the calculated reward R i , to data node N i Issue corresponding rewards;
[0033] The present invention is further configured as follows: the detection data includes: settlement data, groundwater level data, temperature and humidity data, deformation data, corresponding point vibration data and corresponding data point information;
[0034] The detection data also includes:
[0035] Automatically send alerts for problems found in inspection results and record the type and location of the problem;
[0036] Automatically perform data cleaning and repair operations for inaccurate and damaged data in the inspection results;
[0037] The present invention is further configured as follows: the automated data quality assessment method is:
[0038] Establish smart contracts that include data quality assessment logic and rules;
[0039] Set regular data check intervals to control how often data quality checks are performed;
[0040] Conduct data quality assessment on monitoring data:
[0041]
[0042] Where Q i It is represented as the data quality assessment result of data block i, N is the total number of data blocks, M i is the measured value of data block i, T and P are the time factor and data parameter respectively;
[0043] The smart contract performs data quality assessment at time intervals and calculates the quality assessment results for each data block;
[0044] Record the results of each data quality assessment in smart contract storage on the blockchain;
[0045] The present invention is further configured as follows: the method for triggering an alarm based on an inspection result is specifically:
[0046] Analyze the results of data quality assessment based on smart contracts Q i , determine if there is a problem;
[0047] If Q i There is a problem. By comparing Q iDetermine the problem type with predefined thresholds;
[0048] Then determine the problem location for the corresponding problem type;
[0049] Once the problem type and location are determined, the smart contract automatically triggers an alarm;
[0050] The present invention is further configured as follows: the pre-authorization access method is:
[0051] Assume that the current user U initiates a pre-authorized access request to the monitoring data;
[0052] The request includes the user's identity information and the identification of the data block to be accessed;
[0053] Generate access authorization proof P at data node N based on zero-knowledge proof technology;
[0054]
[0055] Among them I u is the user's identity information, D i It is the identifier of the data block accessed by the user. S, G, X, Y, and Z are security parameters, generators, private keys, public keys, and random parameters respectively.
[0056] After user U receives the access authorization certificate P, he uses the public key Y to verify the access authorization certificate P;
[0057] If the verification is successful, user U is authorized to access data block D i ;
[0058] The present invention also provides a terminal device, which includes: a memory, a processor, and a control program of a blockchain-based underground substation engineering settlement monitoring data management method stored in the memory and executable on the processor, wherein the control program of the blockchain-based underground substation engineering settlement monitoring data management method is implemented when the processor executes the control program of the blockchain-based underground substation engineering settlement monitoring data management method;
[0059] The present invention also provides a storage medium, characterized in that the medium is applied to a computer, and a control program of an underground substation project settlement monitoring data management method based on blockchain is stored on the storage medium. When the control program of the underground substation project settlement monitoring data management method based on blockchain is executed by the processor, the above-mentioned underground substation project settlement monitoring data management method based on blockchain is implemented.
[0060] (III) Beneficial effects
[0061] The present invention provides a method for managing underground substation engineering settlement monitoring data based on blockchain. It has the following beneficial effects:
[0062] The blockchain-based underground substation engineering settlement monitoring data management method provided in this application divides the monitoring data into multiple data blocks, each of which contains a hash value. By storing the data blocks on multiple nodes, the risk of single point failure is eliminated and the integrity and reliability of the data are ensured. The hash value is used to verify the integrity of the data, and the consistency of the data can be maintained even when using distributed storage.
[0063] In addition, an incentive mechanism has been added to provide rewards for data nodes, encouraging them to provide storage and maintenance data. The performance score of the node and the amount of data stored are included in the reward calculation to improve the fairness and effectiveness of reward distribution. The smart contract regularly checks the quality of monitoring data and records the evaluation results on the blockchain, which helps to ensure the accuracy and consistency of the data. At the same time, it automatically triggers alarms for problems in the inspection results, helping staff to respond to problems quickly and take measures, which can promptly reflect the settlement of underground substations.
[0064] Finally, zero-knowledge proof technology is used to pre-authorize access to monitoring data, allowing users to access without revealing their identity information, while also improving the security level of data access.
[0065] The problem of single point failure, data leakage and security risk existing in the prior art is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 This is a flow chart of the underground substation engineering settlement monitoring data management method based on blockchain of the present invention. DETAILED DESCRIPTION
[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0068] Example
[0069] See also Figure 1 The present invention provides a method for managing underground substation engineering settlement monitoring data based on blockchain, comprising:
[0070] S1. Decentralized data storage, set up data block transaction units, based on decentralized blockchain distributed storage technology, store monitoring data on multiple nodes to eliminate the risk of single point failure, each data block contains a hash value;
[0071] In the decentralized data storage step:
[0072] The monitoring data is divided into multiple data blocks, each of which is defined as D i , where i is the number of data blocks, that is, the number of the data blocks;
[0073] For each data block D i Calculate the hash value HD i , the hash value expression is:
[0074] HD i =H(D i ,i,H,P i ),
[0075] HD i Indicates data block D i The hash value of i is the data block number, H is the hash function, P i is the hash parameter;
[0076] Each data block D i With its hash value HD i The data block transaction unit stored on the blockchain forms a data block transaction T xi =(D i ,H(D i ),i,BC,T,S,R),
[0077] Where T xi Represents data block transaction, D i is the i-th data block, HD i Indicates data block D i The hash value of BC represents the blockchain, T, S, and R are the transaction number, signature, and recipient respectively;
[0078] The decentralized data storage steps also include:
[0079] Each data block transaction T on the blockchain xi The following Merkle tree is constructed to summarize the hash value of the data block;
[0080] The summary method is: R o.t =H([H(D 1 ),H(D 2 ),...,H(D n )]),
[0081] Where R o.t is the root hash value of the Merkle tree, H is the construction function of the Merkle tree, H(D 1 ),H(D 2 ),...,H(D n ) is a list of hash values of data blocks;
[0082] The Merkle tree root hash is stored in the latest block;
[0083] S2. Based on the incentive mechanism, provide incentives for data nodes in the reward network to encourage data nodes to provide storage and maintain data;
[0084] The specific node incentive methods are as follows:
[0085] Each data node N i All are registered to the network, i represents the number of the data node;
[0086] Each node N i Store underground substation project settlement monitoring data;
[0087] By Rewarding R i Provide storage and data maintenance for nodes;
[0088] Where P i is node N i The performance score of i is node N i The amount of data stored, T, M, S, and A are the time factor, total reward pool, safety factor, and incentive allocation coefficient respectively;
[0089] Reward R i Depends on the node's performance score, amount of data stored, time factor, and is allocated based on the total reward pool, safety factor, and incentive allocation coefficient;
[0090] According to the calculated reward R i , to data node N i Issue corresponding rewards;
[0091] S3. Automated data quality assessment based on smart contracts, regular inspection of monitoring data, and recording of test results on the blockchain;
[0092] The test data include: settlement data, groundwater level data, temperature and humidity data, deformation data, corresponding point vibration data and corresponding data point information;
[0093] Automatically send alerts for problems found in inspection results and record the type and location of the problem;
[0094] Automatically perform data cleaning and repair operations for inaccurate and damaged data in the inspection results;
[0095] Automated data quality assessment methods are:
[0096] Establish smart contracts that include data quality assessment logic and rules;
[0097] Set regular data check intervals to control how often data quality checks are performed;
[0098] Conduct data quality assessment on monitoring data:
[0099]
[0100] Where Q i It is represented as the data quality assessment result of data block i, N is the total number of data blocks, M i is the measured value of data block i, T and P are the time factor and data parameter respectively;
[0101] The smart contract performs data quality assessment at time intervals and calculates the quality assessment results for each data block;
[0102] Record the results of each data quality assessment in smart contract storage on the blockchain;
[0103] The specific method for triggering an alarm based on the inspection results is as follows:
[0104] Analyze the results of data quality assessment based on smart contracts Q i , determine if there is a problem;
[0105] If Q i There is a problem. By comparing Q i Determine the problem type with predefined thresholds;
[0106] Then determine the problem location for the corresponding problem type;
[0107] Once the problem type and location are determined, the smart contract automatically triggers an alarm;
[0108] S4. Pre-authorized access to monitoring data based on zero-knowledge proof;
[0109] The pre-authorized access methods are:
[0110] Assume that the current user U initiates a pre-authorized access request to the monitoring data;
[0111] The request includes the user's identity information and the identification of the data block to be accessed;
[0112] Generate access authorization proof P at data node N based on zero-knowledge proof technology;
[0113]
[0114] Among them I u is the user's identity information, D iIt is the identifier of the data block accessed by the user. S, G, X, Y, and Z are security parameters, generators, private keys, public keys, and random parameters respectively.
[0115] After user U receives the access authorization certificate P, he uses the public key Y to verify the access authorization certificate P;
[0116] If the verification is successful, user U is authorized to access data block D i ;
[0117] S5. Monitor the real-time nature of the monitoring data uploaded to the blockchain to promptly reflect the settlement of the underground substation;
[0118] S6. Based on the monitoring results of the data provided by the smart contract, an alarm is automatically triggered when the data is abnormal or reaches the threshold, and the staff is notified.
[0119] The present invention also provides a terminal device, which includes: a memory, a processor, and a control program of a blockchain-based underground substation engineering settlement monitoring data management method stored in the memory and executable on the processor, wherein the control program of the blockchain-based underground substation engineering settlement monitoring data management method implements the above-mentioned blockchain-based underground substation engineering settlement monitoring data management method when executed by the processor;
[0120] The present invention also provides a storage medium, which is applied to a computer, and the storage medium stores a control program of an underground substation project settlement monitoring data management method based on blockchain. When the control program of the underground substation project settlement monitoring data management method based on blockchain is executed by a processor, the above-mentioned underground substation project settlement monitoring data management method based on blockchain is implemented.
[0121] In view of the above, in this application:
[0122] The blockchain-based underground substation engineering settlement monitoring data management method provided in this application divides the monitoring data into multiple data blocks, each of which contains a hash value. By storing the data blocks on multiple nodes, the risk of single point failure is eliminated and the integrity and reliability of the data are ensured. The hash value is used to verify the integrity of the data, and the consistency of the data can be maintained even when using distributed storage.
[0123] In addition, an incentive mechanism has been added to provide rewards for data nodes, encouraging them to provide storage and maintenance data. The performance score of the node and the amount of data stored are included in the reward calculation to improve the fairness and effectiveness of reward distribution. The smart contract regularly checks the quality of monitoring data and records the evaluation results on the blockchain, which helps to ensure the accuracy and consistency of the data. At the same time, it automatically triggers alarms for problems in the inspection results, helping staff to respond to problems quickly and take measures, which can promptly reflect the settlement of underground substations.
[0124] Finally, zero-knowledge proof technology is used to pre-authorize access to monitoring data, allowing users to access without revealing their identity information, while also improving the security level of data access.
[0125] The problem of single point failure, data leakage and security risk existing in the prior art is solved.
[0126] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for managing underground substation engineering settlement monitoring data based on blockchain, characterized in that: include: Decentralized data storage, setting up data block transaction units, based on decentralized blockchain distributed storage technology, storing monitoring data on multiple nodes, each data block contains a hash value; Based on the incentive mechanism, incentives are provided to reward data nodes in the network, encouraging data nodes to provide storage and maintain data; The method of providing incentives for data nodes in the reward network is: Each data node N i All are registered to the network, i represents the number of the data node; Each node N i Store underground substation project settlement monitoring data; By Rewarding R i Provide storage and data maintenance for nodes; Where P i is node N i The performance score of i is node N i The amount of data stored, T, M, S, and A are the time factor, total reward pool, safety factor, and incentive allocation coefficient respectively; According to the calculated reward R i , to data node N i Issue corresponding rewards; Automated data quality assessment based on smart contracts, regular inspection of monitoring data, and recording of test results on the blockchain; Pre-authorized access to monitoring data based on zero-knowledge proof; Monitor the real-time upload of monitoring data to the blockchain; Based on the monitoring results of the data provided by the smart contract, an alarm is automatically triggered when the data is abnormal or reaches the threshold, and the staff is notified.
2. According to a blockchain-based underground substation engineering settlement monitoring data management method according to claim 1, it is characterized in that: In the decentralized data storage step: The monitoring data is divided into multiple data blocks, each of which is defined as D i , where i is the number of data blocks, that is, the number of the data blocks; For each data block D i Calculate the hash value HD i , the hash value expression is: HD i =H(D i ,i,H,P i ), HD i Represents data block D i The hash value of i is the data block number, H is the hash function, P i is the hash parameter; Each data block D i With its hash value HD i The data block transaction unit stored on the blockchain forms a data block transaction in Represents data block transaction, D i is the i-th data block, H(D i )Same as HD i Represents data block D i BC represents the blockchain, T, S, and R are the transaction number, signature, and recipient respectively.
3. According to a blockchain-based underground substation engineering settlement monitoring data management method according to claim 1, it is characterized in that: The decentralized data storage step further includes: Each data block transaction on the blockchain The following Merkle tree is constructed to summarize the hash value of the data block; The summary method is: R o.t =H([H(D1),H(D2),...,H(D n )]), Where R o.t is the root hash value of the Merkle tree, H is the construction function of the Merkle tree, H(D1),H(D2),...,H(D n ) is a list of hash values of data blocks; The Merkle tree root hash is stored in the latest block.
4. According to a blockchain-based underground substation engineering settlement monitoring data management method according to claim 1, it is characterized in that: The monitoring data of the periodic inspection includes: settlement data, groundwater level data, temperature and humidity data, deformation data, corresponding point vibration data and corresponding data point information; The monitoring data of the periodic inspection also includes: Automatically send alerts for problems found in inspection results and record the type and location of the problem; Automatically perform data cleansing and repair operations on inaccurate and corrupted data in the inspection results.
5. According to a blockchain-based underground substation engineering settlement monitoring data management method according to claim 1, it is characterized in that: The automated data quality assessment method is: Establish smart contracts that include data quality assessment logic and rules; Set regular data check intervals to control how often data quality checks are performed; Conduct data quality assessment on monitoring data: Where Q i It is represented as the data quality assessment result of data block i, N is the total number of data blocks, M i is the measured value of data block i, T and P are the time factor and data parameter respectively; The smart contract performs data quality assessment at time intervals and calculates the quality assessment results for each data block; The results of each data quality assessment are recorded in the smart contract storage on the blockchain.
6. According to a blockchain-based underground substation engineering settlement monitoring data management method according to claim 1, it is characterized in that: The specific method for triggering an alarm based on the inspection results is as follows: Analyze the results of data quality assessment based on smart contracts Q i , determine if there is a problem; If Q i There is a problem. By comparing Q i Determine the problem type with predefined thresholds; Then determine the problem location for the corresponding problem type; Once the problem type and location are determined, the smart contract automatically triggers an alarm.
7. According to a blockchain-based underground substation engineering settlement monitoring data management method according to claim 1, it is characterized in that: The pre-authorization access method is: Assume that the current user U initiates a pre-authorized access request to the monitoring data; The request includes the user's identity information and the identification of the data block to be accessed; Generate access authorization proof P at data node N based on zero-knowledge proof technology; Among them I u is the user's identity information, D i It is the identifier of the data block accessed by the user. S, G, X, Y, and Z are security parameters, generators, private keys, public keys, and random parameters respectively. After user U receives the access authorization certificate P, he uses the public key Y to verify the access authorization certificate P; If the verification is successful, user U is authorized to access data block D i .
8. A terminal device, characterized in that: The device includes: a memory, a processor, and a control program of a blockchain-based underground substation project settlement monitoring data management method stored in the memory and executable on the processor. When the control program of the blockchain-based underground substation project settlement monitoring data management method is executed by the processor, the blockchain-based underground substation project settlement monitoring data management method as described in any one of claims 1 to 7 is implemented.
9. A storage medium, characterized in that: The medium is applied to a computer, and the storage medium stores a control program of a blockchain-based underground substation project settlement monitoring data management method. When the control program of the blockchain-based underground substation project settlement monitoring data management method is executed by a processor, the blockchain-based underground substation project settlement monitoring data management method as described in any one of claims 1-7 is implemented.
Citation Information
Patent Citations
Data privacy protection method, system and equipment for Web3.0 based on distributed storage network
CN117077195A
Pump station safety control environment establishment method and device based on block chain
CN117997548A