Substation construction quality tracing method and system based on block chain

By using blockchain technology in the quality traceability of substation construction, blockchain data is generated and managed, and the problems of data tampering and loss in the traditional system are solved, the security and reliability of data are achieved, and the precise positioning of quality problems is ensured.

CN120218716AActive Publication Date: 2025-06-27ZHONGFANGYUAN CONSTRUCTION ENGINEERING GROUP CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510277323.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-06-27
Estimated Expiration
2045-03-10

AI Technical Summary

Technical Problem

In the quality traceability system for traditional substation construction, data is prone to malicious tampering and centralized storage faces the risk of data loss, resulting in unfounded quality traceability.

Method used

Using a blockchain-based data storage structure, blockchain data is obtained and generated through data participants, uploaded to blockchain nodes, smart contracts are used for dynamic permission management and associated data matching, and data analysis parties conduct quality traceability based on blockchain data.

Benefits of technology

The data security, tamper-free and non-lost are achieved, ensuring the precise positioning of quality problems and the orderly flow and management of data according to the construction process, and solving the data security and reliability problems in the traditional system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120218716A_ABST
    Figure CN120218716A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a block chain-based substation construction quality tracing method and system. The method comprises the following steps: a data participant obtains related data of each stage of substation construction; generating block chain data from the related data according to a preset block chain data generation rule; uploading the block chain data to each node of the block chain; the smart contract performs dynamic authority management and associated data matching on the uploaded block chain data; and the data analysis party obtains the block chain data and performs quality tracing based on the obtained data. According to the technical scheme provided by the embodiment of the invention, a block chain data storage structure suitable for substation construction is provided, data can be accurate to specific stages and links of substation construction, automatic data authority management and association matching are realized on the basis of the block chain data structure in combination with an intelligent contract, and the efficiency of substation construction is improved. Therefore, the root of the quality problem is accurately positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of blockchain, and in particular to a method and system for tracing the construction quality of a substation based on blockchain. Background Art

[0002] In the traditional substation construction quality tracing system, data is usually stored in a centralized manner, which makes the data extremely vulnerable to malicious tampering. For example, in order to cover up the quality problems of foundation construction, the construction unit may privately modify the inspection report of concrete raw materials or the data of the foundation construction environment. Centralized storage also faces the risk of data loss. Once the storage server fails, all the data may be lost, resulting in no basis for quality tracing. Summary of the Invention

[0003] Based on the above situation of the prior art, the purpose of the embodiments of the present invention is to provide a method and system for tracing the construction quality of a substation based on blockchain, provide a blockchain data storage structure suitable for substation construction, and effectively solve the related technical problems in the existing substation construction quality tracing.

[0004] To achieve the above object, according to one aspect of the present invention, a method for tracing the construction quality of a substation based on blockchain is provided, including the steps of:

[0005] Data participants obtain relevant data at each stage of substation construction; generate blockchain data from the relevant data according to a preset blockchain data generation rule; upload the blockchain data to each node of the blockchain;

[0006] The smart contract performs dynamic permission management and associated data matching on the uploaded blockchain data;

[0007] The data analysis party obtains the blockchain data and performs quality tracing based on the obtained data;

[0008] Wherein, the blockchain data includes a first block and a second block; the first block includes first data and second data; the second block includes first data, second data and third data;

[0009] The first data of the first block includes the pre-preparation data of this stage; the second data of the first block includes the starting signature data of this stage;

[0010] The first data of the second block includes the technical index data of this stage and the environmental quantization value data of this stage; the second data of the second block includes the associated value data of the first block, and the third data of the second block includes the verification matching value data, and the verification matching value data is related to the data of the first block and the first data of the second block.

[0011] Further, the associated value data is generated according to the following formula:

[0012] D i2 = M i1 ⊕ B i1

[0013] where D i2 represents the associated value data, i represents the current stage, A i1 represents the first data set of the first block, M i1 represents the first data weighted integration parameter of the first block, B i1 represents the second data of the first block, and ⊕ represents the bitwise exclusive OR operation.

[0014] Further, the first data weighted integration parameter of the first block is generated according to the following formula:

[0015]

[0016] where n represents the number of the first data of the first block, and ω ij represents the weight value of each first data.

[0017] Further, the verification matching value data is generated according to the following formula:

[0018] E i2 = (D i2 · N i2 · C) k mod(m)

[0019] where E i2 represents the verification matching value data, N i2 represents the second data weighted integration parameter of the second block, C represents the traceability reference parameter generated based on the second data of the first block, k represents the encryption key parameter, and m represents the security verification parameter.

[0020] Further, the encryption key parameter is generated according to the following formula:

[0021] k = KG(ID i , T i )

[0022] where KG represents the encryption key generation function, ID i represents the project ID to which the substation belongs, and T i represents the current timestamp;

[0023] The security verification parameter is generated according to the following formula:

[0024] m = P1·P2

[0025] Among them, P1 and P2 are two prime numbers selected through Fermat's little theorem in a specific prime number interval.

[0026] Furthermore, each stage of the substation construction includes a construction stage, an equipment installation stage, and a system commissioning stage;

[0027] In the construction stage, the first data of the first block includes soil parameters at the substation site selection, the hash value of the construction plan, and the verification code of the construction material list; the starting signature data is obtained by splicing the substation's regional code, construction start time, and random string code; the first data of the second block includes the hash value of the raw material batch report and the quantified value of the foundation construction environment.

[0028] In the equipment installation stage, the first data of the first block includes the hash value of the equipment index parameters, the quantified value of the equipment installation site conditions, and the verification code of the equipment installation personnel qualification list; the starting signature data is obtained by splicing the equipment installation project code, equipment installation start time, and random string code; the first data of the second block includes the hash value of the equipment installation process parameters and the quantified value of the installation site environment.

[0029] In the system commissioning stage, the first data of the first block includes the hash value of the system commissioning document, the hash value of the calibration report of the commissioning equipment, and the verification code of the commissioning personnel qualification list; the starting signature data is obtained by splicing the equipment commissioning project code, equipment commissioning start time, and random string code; the first data of the second block includes the hash value of the system commissioning process data and the quantified value of the commissioning site environment.

[0030] Furthermore, the method further includes:

[0031] The data participants perform homomorphic encryption on the first data of the first block and the first data of the second block, and the homomorphic encryption supports addition and multiplication homomorphic operations;

[0032] Send the public key of the homomorphic encryption to the data analysis party, and retain the private key to the data participants.

[0033] Furthermore, the dynamic permission management includes the following steps:

[0034] Based on the project progress tracking module built into the smart contract, determine the current stage and subtasks;

[0035] At the start time point of the new stage and / or subtask, update the permissions of each data participant.

[0036] Furthermore, the associated data matching includes the following steps:

[0037] Extract tag information from the first data of the first block and the first data of the second block;

[0038] Based on the label information, perform multi-dimensional association search on the blockchain to generate an associated data set;

[0039] Analyze the associated data set according to a preset association analysis model;

[0040] Perform matching processing on the uploaded blockchain data based on the analysis results.

[0041] According to another aspect of the present invention, there is provided a substation construction quality traceability system based on the blockchain, including:

[0042] A data upload module, which is located at the data participant and is used to obtain relevant data in each stage of substation construction; generate blockchain data according to preset blockchain data generation rules; and upload the blockchain data to each node of the blockchain;

[0043] A data management module, which is located at the blockchain node and performs dynamic permission management and associated data matching on the uploaded blockchain data through a smart contract;

[0044] A quality traceability module, which is located at the data analysis party and is used to obtain blockchain data and perform quality traceability based on the obtained data;

[0045] Among them, the blockchain data includes a first block and a second block; the first block includes first data and second data; the second block includes first data, second data, and third data;

[0046] The first data of the first block includes the pre-preparation data of this stage; the second data of the first block includes the starting feature code data of this stage;

[0047] The first data of the second block includes the technical index data of this stage and the environmental quantization value data of this stage; the second data of the second block includes the associated value data of the first block, and the third data of the second block includes the verification matching value data, and the verification matching value data is related to the data of the first block and the first data of the second block.

[0048] In summary, the embodiments of the present invention provide a blockchain-based substation construction quality traceability method and system. The method includes the steps: data participants obtain relevant data at each stage of substation construction; according to the preset blockchain data generation rules, generate blockchain data from the relevant data; upload the blockchain data to each node of the blockchain; the smart contract performs dynamic permission management and associated data matching on the uploaded blockchain data; the data analysis party obtains the blockchain data and performs quality traceability based on the obtained data. The technical solution provided by the embodiments of the present invention provides a blockchain data storage structure applicable to substation construction, which can accurately locate the data to the specific stages and links of substation construction. Combining the smart contract, it realizes automated data permission management and associated matching on the basis of the blockchain data structure, thereby achieving the precise positioning of the root cause of quality problems and ensuring the orderly flow and management of data according to the construction process, effectively solving the problems existing in the existing substation construction quality traceability. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 FIG. is a flowchart of the blockchain-based substation construction quality traceability method provided by the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0050] To make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below in conjunction with the specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present invention.

[0051] It should be noted that unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present invention should be the general meanings understood by those of ordinary skill in the art to which the present invention belongs. The "first", "second" and similar terms used in one or more embodiments of the present invention do not denote any order, quantity or importance, but are only used to distinguish different components. The terms such as "including" or "comprising" mean that the elements or objects appearing before this word cover the elements or objects listed after this word and their equivalents, without excluding other elements or objects. The terms such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

[0052] The technical solutions of the present invention will be described in detail below with reference to the accompanying drawings. The embodiments of the present invention provide a blockchain-based substation construction quality traceability method, Figure 1 which shows the flowchart of the blockchain-based substation construction quality traceability method of the embodiments of the present invention, as shown in Figure 1As shown, the method includes the following steps:

[0053] S12. The data participants obtain the relevant data of each stage of the substation construction; according to the preset blockchain data generation rules, generate blockchain data from the relevant data; and upload the blockchain data to each blockchain node. In the embodiments of the present invention, each stage of the substation construction is divided into a construction stage, an equipment installation stage, and a system commissioning stage. The data participants include, for example, construction units, equipment suppliers, etc., and upload relevant data to the blockchain nodes at each stage of the construction. The blockchain nodes include the nodes maintained by multiple relevant parties, such as the construction unit nodes and equipment supplier nodes as data participants, and the nodes of the power grid operator as the data analysis party. According to needs, a supervisor node can also be set up to supervise the entire process of the substation construction.

[0054] In this step, according to the preset blockchain data generation rules, generate blockchain data from the relevant data. The generated blockchain data includes a first block and a second block; the first block includes first data and second data; the second block includes first data, second data, and third data.

[0055] The first data in the first block includes the pre-preparation data of this stage; the second data in the first block includes the starting signature data of this stage. In the construction stage, the first data in the first block includes the soil parameters at the substation location, the hash value of the construction plan, and the verification code of the construction material list. The starting signature data is obtained by splicing the substation's affiliated area code, the construction start time, and a random string code. The soil parameters include, for example, soil density value, soil resistivity, etc. The construction plan includes, for example, construction processes, techniques, etc., and the SHA256 algorithm can be used to generate a hash value. The hash value has a fixed length. Regardless of the length and complexity of the construction plan document, the generated hash value is a string with a fixed number of digits. The construction material list includes a large number of detailed information such as material names, specifications, quantities, etc. Using the verification code can quickly perform a preliminary verification on the accuracy of the construction material list. The starting signature data can be obtained by splicing the substation's affiliated power grid area code (such as "GRID-01"), the construction start time (in the format of YYYYMMDDHHMMSS), and a hexadecimal random string generated by a pseudo-random number generator. After splicing, the character order can also be scrambled using simple substitution encryption to obtain the starting signature, which serves as the starting point for tracing in the construction stage.

[0056] During the equipment installation phase, the first data in the first block includes the hash value of equipment index parameters, the quantified value of equipment installation site conditions, and the verification code of the equipment installer qualification list; the starting signature data is obtained by concatenating the equipment installation project code, the equipment installation start time, and a random string code. Equipment index parameters include, for example, the technical parameters of equipment such as transformers and switchgear. Equipment installation site conditions include, for example, the spatial dimensions of the installation site, the ground flatness, cleanliness, etc., and the quantified value is calculated according to a preset algorithm and weight value, which can provide a unified measurement standard for the evaluation of complex factors. The equipment installer qualification list includes, for example, the qualifications of installers, special equipment operation qualifications, etc., and a verification algorithm can be used to generate a verification code. The starting signature data can be obtained by concatenating the equipment installation project code (such as "EQP-INST-01"), the construction start time (in the format of YYYYMMDDHHMMSS), and a hexadecimal random string generated by a pseudo-random number generator. After concatenation, a simple substitution encryption can be used to scramble the character order to obtain the starting signature, which serves as the traceability starting point for the equipment installation phase.

[0057] During the system debugging phase, the first data in the first block includes the hash value of the system debugging document, the hash value of the calibration report of the debugging equipment, and the verification code of the debugger qualification list; the starting signature data is obtained by concatenating the equipment debugging project code, the equipment debugging start time, and a random string code. The system debugging document includes, for example, documents such as the debugging process and the time schedule, and the hash value is generated by a hash algorithm. The calibration report of the debugging equipment includes, for example, the information recorded by a power quality analyzer, a relay protection tester, etc., and the hash value is generated by a hash algorithm. The debugger qualification list includes, for example, the qualifications of debuggers, etc., and a verification algorithm can be used to generate a verification code. The starting signature data can be obtained by concatenating the project code (such as "SYST-DEBUG-01"), the planned start time (in the format of YYYYMMDDHHMMSS), and a hexadecimal random string generated by a pseudo-random number generator. After concatenation, a simple substitution encryption can be used to scramble the character order to obtain the starting signature, which serves as the traceability starting point for the system debugging phase.

[0058] The first data in the second block includes the technical index data and the environmental quantified value data of this phase; the second data in the second block includes the associated value data of the first block, and the third data in the second block includes the verification and matching value data, which is related to the data in the first block and the first data in the second block.

[0059] During the construction stage, the first data of the second block includes the hash value of the raw material batch report and the quantified value of the basic construction environment. The raw material batch report includes, for example, relevant inspection reports of concrete raw materials, covering cement strength, sand and gravel aggregate gradation, etc. After summarizing into a document, a hash value is generated using the hash algorithm. The basic construction environment includes, for example, the temperature, humidity, wind force, etc. at the construction site, and the quantified value is obtained through a preset quantification formula and weight calculation. The preset quantification formula and weight can be obtained by fitting historical data.

[0060] During the equipment installation stage, the first data of the second block includes the hash value of the equipment installation process parameters and the quantified value of the installation site environment. The equipment installation process parameters include, for example, the installation angle during equipment installation, the tightening torque of the connection parts, the pressure of the internal insulating gas, etc. After recording them in an electronic log in a specific order, a hash value is generated using the hash algorithm. The installation site environment includes, for example, the temperature, humidity, dust concentration, etc. at the installation site, and the quantified value is obtained through a preset quantification formula and weight calculation. The preset quantification formula and weight can be obtained by fitting historical data.

[0061] During the system commissioning stage, the first data of the second block includes the hash value of the system commissioning process data and the quantified value of the commissioning site environment. The system commissioning process data includes, for example, the bus voltage, the action time and setting value of the relay protection device collected during the primary and secondary commissioning of the substation. After recording them in an electronic log in a specific order, a hash value is generated using the hash algorithm. The commissioning site environment includes, for example, the temperature, humidity, electromagnetic interference intensity, etc. at the commissioning site, and the quantified value is obtained through a preset quantification formula and weight calculation. The preset quantification formula and weight can be obtained by fitting historical data.

[0062] The associated value data is generated according to the following formula:

[0063] D i2 =M i1 ⊕B i1

[0064] Where D i2 represents the associated value data, i represents the current stage, A i1 represents the first data set of the first block, M i1 represents the weighted comprehensive parameter of the first data of the first block, B i1 represents the second data of the first block, and ⊕ represents the bitwise exclusive OR operation. By performing the bitwise exclusive OR operation on the weighted comprehensive parameter of the first data of the first block and the starting feature code to obtain the associated value, the coherence of the data chain can be guaranteed. The weighted comprehensive parameter of the first data of the first block can be generated according to the following formula:

[0065]

[0066] Where n represents the number of the first data of the first block, ωij Represents the weight value of each first data. The verification match value data is generated according to the following formula:

[0067] E i2 =(D i2 ·N i2 ·C) k mod(m)

[0068] Where E i2 represents the verification match value data, N i2 represents the weighted comprehensive parameter of the first data in the second block, and its calculation method is similar to that of the weighted comprehensive parameter of the first data in the first block above. C represents the traceability reference parameter, which is generated based on the second data in the first block and can be obtained by circularly shifting the second data in the first block (i.e., the starting feature code) to the left by 8 bits. k represents the encryption key parameter, which can be generated by the encryption key generator according to the project ID of the substation and the current time. m represents the security verification parameter. The encryption key parameter can be generated according to the following formula:

[0069] k = KG(ID i , T i )

[0070] Where KG represents the encryption key generation function, ID i represents the project ID of the substation, and T i represents the current timestamp

[0071] The security verification parameter can be generated according to the following formula:

[0072] m = P1·P2

[0073] Where P1 and P2 are two prime numbers selected through Fermat's little theorem in a specific prime number interval (10 10 -10 12 ). Through the above formula, the blockchain data can be traced back to the starting feature code, thus realizing a closed loop.

[0074] Generate the data of each stage of the blockchain according to the above data generation rules, and upload them to the blockchain nodes. Each blockchain node can verify the legality and integrity of the data based on the built-in verification mechanism in combination with the encryption key and the security verification number.

[0075] According to some optional embodiments, the method further includes the steps of:

[0076] The data participants perform homomorphic encryption on the first data of the first block and the first data of the second block. This homomorphic encryption supports addition and scalar multiplication homomorphic operations. The public key of the homomorphic encryption is sent to the data analysis party, and the private key is retained by the data participants. Selecting a suitable homomorphic encryption algorithm, such as the Paillier encryption algorithm, can meet the data fusion analysis requirements for substation construction, enabling the data analysis party to directly perform correlation operations on the ciphertext without decrypting the data when specific data analysis is needed.

[0077] S14. The smart contract performs dynamic permission management and associated data matching on the uploaded blockchain data. At different stages of substation construction, the data upload permissions of the data participants need to be dynamically adjusted. The smart contract can automatically grant or revoke the upload permissions of relevant parties according to the global permission configuration table. For example, during the system debugging stage, the debugging team has the permission to upload debugging data, and if the construction unit tries to upload irrelevant construction data at this time, the smart contract will intercept it, thus preventing data chaos and incorrect operations and ensuring the orderly update of blockchain data by stage. The dynamic permission management includes the following steps:

[0078] S1402. Based on the project progress tracking module built into the smart contract, determine the current stage and subtasks. The project progress tracking module can determine the current stage and subtasks by comparing with the timestamps recorded in real time on the blockchain according to the preset project schedule and key milestone nodes (such as the construction start time, equipment installation start time, system debugging start time, etc.).

[0079] S1404. At the start time point of the new stage and / or subtasks, update the permissions of each data participant. When the permission update is triggered, according to the subtask code of the current stage, obtain the standard permission configuration vector of the corresponding subtask from the preset global permission configuration table (stored in the smart contract code, covering the standard permission configurations of each data participant under all stages and subtasks), and update the permissions of each data participant.

[0080] When a data participant uploads data, the smart contract can also automatically search for the historical data associated with it on the blockchain, perform preliminary matching analysis, and determine whether it is compatible with the existing conditions. If potential conflicts are found (such as the weight of large equipment exceeding the estimated site load), promptly remind each participant to re-evaluate the plan, thereby enhancing the relevance and coherence of the data. The associated data matching includes the following steps:

[0081] S1406. Extract tag information from the first data of the first block and the first data of the second block. When generating blockchain data, multi-dimensional tags can be defined for each uploaded data. For example, in the equipment installation stage, in the data related to transformer installation, tags such as "equipment type: transformer", "installation location: distribution room 01", "stage: equipment installation", and "data nature: technical parameters" can be defined. For the uploaded blockchain data, the smart contract extracts the above tag information from the first data of the first block and the first data of the second block.

[0082] S1408. Based on the above tag information, a multi-dimensional association search is performed on the blockchain to generate an associated data set. Based on the above tag information, the smart contract creates an inverted index for the data on the blockchain. For example, after uploading multiple transformer-related data, an index item with the keyword "transformer" pointing to all related block data will be formed in the index. Using the inverted index, a multi-dimensional association search is performed on the blockchain. For each tag, a set of historical data blocks matching it is obtained from the index, and then a preliminary associated data set is obtained by intersecting all historical data blocks in turn, and the final associated data set is obtained by intersecting all historical data blocks in turn. For example, an equipment supplier uploads the technical parameters of a new type of transformer, with the tags "equipment type: transformer" and "technical parameters: winding parameters". The smart contract finds all transformer-related data and winding parameter-related data through the index, and takes the intersection to determine the most relevant historical data block for subsequent analysis.

[0083] S1410. Analyze the associated data set according to the preset association analysis model. For the above-mentioned associated data set, matching analysis can be performed by combining rule-based logical judgment with machine learning model. Rule-based logical judgment, for example, the transformer installation rule is "the installation angle deviation shall not exceed ±3 degrees", the smart contract extracts the installation angle value in the uploaded data and compares it with the site design angle value of the associated data set. If the rule is violated, an early warning is triggered. The machine learning model uses a linear regression model to preliminarily evaluate the matching degree of data trends. For example, the installation data of transformers of the same model in the construction of multiple substations in the past can be collected, including installation angle, ambient temperature, operation stability indicators, etc., to build a linear regression model. When new data is uploaded, its feature value is substituted into the linear regression model to predict the operation stability. If the stability exceeds the threshold, it indicates that there is a potential risk.

[0084] S1412: Match the uploaded blockchain data based on the analysis results. If the analysis results indicate a potential conflict, remind the data participants to re-evaluate the plan.

[0085] S16. The data analysis party obtains blockchain data and performs quality traceability based on the obtained data. When a problem occurs in the substation, the problem is first subjected to feature extraction and classification to preliminarily determine the stage where the problem is located. Further, by extracting relevant block data in the blockchain data, quality traceability is performed.

[0086] According to another aspect of the present invention, a substation construction quality traceability system based on blockchain is provided. The system includes:

[0087] A data upload module, which is located at the data participating party and is used to obtain relevant data in each stage of substation construction; generate blockchain data according to a preset blockchain data generation rule; and upload the blockchain data to each node of the blockchain.

[0088] A data management module, which is located at the blockchain node and performs dynamic permission management and associated data matching on the uploaded blockchain data through a smart contract.

[0089] A quality traceability module, which is located at the data analysis party and is used to obtain blockchain data and perform quality traceability based on the obtained data.

[0090] Among them, the blockchain data includes a first block and a second block; the first block includes first data and second data; the second block includes first data, second data, and third data. The first data of the first block includes pre-preparation data for this stage; the second data of the first block includes start feature code data for this stage; the first data of the second block includes technical index data for this stage and environmental quantification value data for this stage; the second data of the second block includes associated value data of the first block, and the third data of the second block includes verification matching value data, and the verification matching value data is related to the data of the first block and the first data of the second block.

[0091] The specific processes of each module in the substation construction quality traceability system based on blockchain provided by this embodiment of the present invention to implement functions are the same as the steps of the substation construction quality traceability method based on blockchain provided by the above embodiment of the present invention, and the repeated descriptions thereof are omitted here.

[0092] In summary, the embodiments of the present invention relate to a method and system for tracing the construction quality of a substation based on blockchain. The method includes the steps of: data participants obtaining relevant data at each stage of substation construction; generating blockchain data from the relevant data according to preset blockchain data generation rules; uploading the blockchain data to each node of the blockchain; a smart contract performing dynamic permission management and associated data matching on the uploaded blockchain data; and a data analysis party obtaining the blockchain data and performing quality tracing based on the obtained data. The technical solution provided by the embodiments of the present invention provides a blockchain data storage structure applicable to substation construction, which can accurately locate data to specific stages and links of substation construction. Combining with smart contracts, it realizes automated data permission management and associated matching on the basis of the blockchain data structure, thereby achieving precise positioning of the root cause of quality problems and ensuring the orderly flow and management of data according to the construction process, effectively solving the problems existing in the existing quality tracing of substation construction.

[0093] It should be understood that any discussion of the above embodiments is exemplary only and is not intended to imply that the scope of the present invention (including the claims) is limited to these examples; under the concept of the present invention, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of one or more embodiments of the present invention as described above, which are not provided in detail for the sake of brevity. The above specific embodiments of the present invention are only used for exemplary illustration or explanation of the principle of the present invention and do not constitute a limitation to the present invention. Therefore, any modifications, equivalent replacements, improvements, etc. made without departing from the spirit and scope of the present invention shall be included within the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all variations and modifications that fall within the scope and boundaries of the appended claims or equivalent forms of such scope and boundaries.

Claims

1. A method for tracing the construction quality of a substation based on blockchain, characterized in that: Includes steps: The data participants obtain relevant data of each stage of substation construction; generate blockchain data from the relevant data according to the preset blockchain data generation rules; and upload the blockchain data to each blockchain node; Smart contracts perform dynamic permission management and related data matching on uploaded blockchain data; The data analyst obtains blockchain data and performs quality traceability based on the obtained data; The blockchain data includes a first block and a second block; the first block includes first data and second data; the second block includes first data, second data and third data; The first data of the first block includes the pre-prepared data of the stage; the second data of the first block includes the starting feature code data of the stage; The first data of the second block includes the technical indicator data of this stage and the environmental quantitative value data of this stage; the second data of the second block includes the associated value data of the first block, and the third data of the second block includes verification matching value data, and the verification matching value data is related to the data of the first block and the first data of the second block.

2. The method according to claim 1, characterized in that The associated value data is generated according to the following formula: Among them, D i2 Represents associated value data, i represents the current stage, A i1 represents the first data set of the first block, M i1 represents the weighted comprehensive parameter of the first data of the first block, B i1 represents the second data of the first block, Represents a bitwise exclusive-or operation.

3. The method according to claim 2, characterized in that The weighted comprehensive parameter of the first data of the first block is generated according to the following formula: Where n represents the number of first data in the first block, ω ij Indicates the weight value of each first data.

4. The method according to claim 1, characterized in that: The verification matching value data is generated according to the following formula: E i2 =(D i2 ·N i2 ·C) k mod(m) Among them, E i2 Indicates verification matching value data, N i2 represents the weighted comprehensive parameter of the first data of the second block, C represents the traceability benchmark parameter, which is generated based on the second data of the first block, k represents the encryption key parameter, and m represents the security verification parameter.

5. The method according to claim 4, characterized in that The encryption key parameters are generated according to the following formula: k=KG(ID i ,T i ) Where KG represents the encryption key generation function, ID i Indicates the project ID to which the substation belongs, T i Indicates the current timestamp; The safety verification parameter is generated according to the following formula: m=P1·P2 Among them, P1 and P2 are two prime numbers selected in a specific prime number interval through Fermat's little theorem.

6. The method according to any one of claims 1 to 5, characterized in that: The various stages of substation construction include the construction stage, equipment installation stage and system commissioning stage; During the construction phase, the first data of the first block includes soil parameters at the substation site, a construction plan hash value, and a construction material list check code; The starting feature code data is obtained by concatenating the substation area code, construction start time and random string code; the first data of the second block includes the raw material batch report hash value and the basic construction environment quantification value; During the equipment installation phase, the first data of the first block includes a hash value of an equipment indicator parameter, a quantified value of equipment installation site conditions, and a check code of a list of equipment installation personnel qualifications; The initial feature code data is obtained by concatenating the equipment installation project code, the equipment installation startup time and the random string code; the first data of the second block includes the equipment installation process parameter hash value and the installation site environment quantization value; During the system debugging stage, the first data of the first block includes a system debugging document hash value, a debugging equipment calibration report hash value, and a debugging personnel qualification list verification code; The initial feature code data is obtained by concatenating the device debugging project code, the device debugging startup time and the random string code; the first data of the second block includes the system debugging process data hash value and the debugging site environment quantization value.

7. The method according to claim 6, characterized in that The method further comprises: The data participant performs homomorphic encryption on the first data of the first block and the first data of the second block, where the homomorphic encryption supports addition and multiplication homomorphic operations; The homomorphically encrypted public key is sent to the data analysis party, and the private key is retained by the data participant.

8. The method according to claim 1, characterized in that The dynamic rights management comprises the following steps: Based on the project progress tracking module built into the smart contract, determine the current stage and subtask; At the start time of a new phase and / or subtask, the permissions of each data participant are updated.

9. The method according to claim 1, characterized in that: The associated data matching comprises the following steps: extracting tag information from the first data of the first block and the first data of the second block; Based on the tag information, a multi-dimensional association search is performed on the blockchain to generate an associated data set; Analyzing the associated data set according to a preset associated analysis model; The uploaded blockchain data is matched based on the analysis results.

10. A blockchain-based substation construction quality traceability system, characterized in that: include: A data upload module, which is located at the data participant and is used to obtain relevant data at each stage of substation construction; Generate blockchain data from the relevant data according to the preset blockchain data generation rules; upload the blockchain data to each blockchain node; A data management module, which is located in the blockchain node and performs dynamic permission management and associated data matching on the uploaded blockchain data through smart contracts; The quality traceability module is located on the data analysis side and is used to obtain blockchain data and perform quality traceability based on the acquired data; The blockchain data includes a first block and a second block; the first block includes first data and second data; the second block includes first data, second data and third data; The first data of the first block includes the pre-prepared data of the stage; the second data of the first block includes the starting feature code data of the stage; The first data of the second block includes the technical indicator data of this stage and the environmental quantitative value data of this stage; the second data of the second block includes the associated value data of the first block, and the third data of the second block includes verification matching value data, and the verification matching value data is related to the data of the first block and the first data of the second block.

Citation Information

Patent Citations

  • Fabricated building construction quality tracing method, system and device based on blockchain

    CN111027826A

  • Building information management method and device, equipment and storage medium

    CN112613747A

  • Construction quality tracing system based on block chain

    CN113762752A

  • Traceable concrete quality management system based on block chain

    CN114155000A

  • Tracing ring signature data sharing method based on block chain hierarchical nodes

    CN116488804A