A concrete form archiving method based on Merkle tree
By using blockchain technology based on Merkle trees in concrete form archiving, the problems of high resource consumption, difficult storage and retrieval, and inconvenient transmission of concrete form archiving are solved, achieving safe and reliable storage and rapid verification of data, ensuring Strict mapping relationship of data and anti-tampering capability.
Patent Information
- Application Number
- CN202311865080.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-12-29
AI Technical Summary
Concrete form archiving has the problems of high resource consumption, difficulty in storage and retrieval, and inconvenient transmission. In particular, centralized technical flaws in electronic archives make it difficult to prevent data tampering.
Using the Merkle tree-based concrete form archiving method, through structured modular processing of the engineering data of the entire concrete production process, a blockchain transaction mechanism is generated, and a concrete engineering archive database with a Merkel tree data aggregation structure is established. And perform on-chain operation and integrity verification on the form data.
It effectively aggregates information at different stages to achieve safe and reliable storage and rapid verification of data, solves the problems of high resource consumption, difficult storage and retrieval, and inconvenient transmission, and ensures the tight mapping relationship and anti-tampering capabilities of data.
Smart Images

Figure CN117992400B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of concrete form archiving, and in particular to a concrete form archiving method based on a Merkle tree. Background Art
[0002] With the deepening of my country's modernization process, the number of infrastructure projects has continued to increase, especially the construction of a number of large-scale infrastructure projects such as water conservancy and civil engineering, and the demand for concrete materials has also increased. Concrete is a composite material that binds a variety of aggregates together. As the most important building material in infrastructure projects, it has the advantages of low cost, easy preparation, and simple structure. Although the emergence of new building materials and theories has caused a certain impact on concrete materials, it seems that concrete materials are still the most widely used building materials in the world. Unlike civil engineering, water conservancy projects are often built in rugged mountains, and they are all large-scale projects with large scales and many types of hydraulic structures. When destroyed, they are disastrous and have a wide range of impacts. Therefore, the quality of concrete is particularly critical. Precisely because of the importance of concrete to water conservancy projects, the quality control of concrete production has become a very important link. The quality control of concrete production is to record some key quality data in the production process in real time through many forms to facilitate subsequent quality certification and traceability. Traditional forms are usually paper-based and face problems such as high resource consumption, difficulty in storage and access, and inconvenient transmission. Therefore, electronic forms are the trend of future archives. However, how to solve the current technical defects of centralization in electronic archives and achieve data tamper-proofing is an urgent problem that electronic archives need to solve. Summary of the invention
[0003] The purpose of the present invention is to provide a concrete form archiving method based on Merkle tree, so as to effectively solve the problems of large resource consumption, difficult storage and retrieval, inconvenient transmission, etc. in concrete form archiving.
[0004] The technical solution of the present invention to solve the above technical problems is as follows:
[0005] The present invention provides a concrete form archiving method based on a Merkle tree, and the concrete form archiving method based on a Merkle tree comprises:
[0006] S1: Based on the engineering data characteristics generated during the entire concrete production process, the concrete engineering data is subjected to structured modular processing to obtain a processing result; wherein the concrete engineering data includes form data generated during each link of the concrete construction process; and the structured modular processing of the concrete engineering data includes data encoding of the form data;
[0007] S2: Generate a concrete engineering blockchain transaction generation mechanism according to the processing result;
[0008] S3: Based on the concrete engineering blockchain transaction generation mechanism, a concrete engineering archive database with a Merkle tree data aggregation structure is established, wherein the hash value of the form node is a leaf node of the Merkle tree data aggregation structure, and the hash value of the engineering node is a root node of the Merkle tree data aggregation structure;
[0009] S4: Uploading all the form data in the concrete engineering archive database to the chain;
[0010] S5: Perform integrity check on the target form data that has been uploaded to the chain;
[0011] S6: Concrete form archiving is completed when the integrity check of all data passes.
[0012] Optionally, in S1, the engineering data characteristics of the entire concrete production process are obtained based on data generated during the concrete production quality control process; the concrete production quality control process includes concrete raw material testing and finished concrete quality testing; the concrete raw material testing includes raw material manufacturer testing, raw material mixing plant testing and supervision unit third-party testing; the finished concrete quality testing includes finished product mixing plant testing, construction unit testing and finished product supervision unit third-party testing.
[0013] Optionally, data encoding of the form data includes engineering node encoding and form node encoding, and the engineering node encoding includes encoding according to the engineering type, and the engineering type includes single project, unit project, sub-project and unit project;
[0014] The form node encoding includes encoding according to node types, and the node types include shared nodes, process nodes, attribute nodes and form nodes.
[0015] Optionally, in S3, the concrete engineering archive database of the Merkle tree data aggregation structure includes:
[0016] Taking a form as a transaction and the form node encoding result as a hierarchy, the pairing structure of the original Merkle tree is modified to obtain a concrete engineering archive database with a Merkle tree data aggregation structure.
[0017] For nodes in the form node encoding results that have no pairable nodes between nodes at the same level, they are paired with themselves. Random pairing between nodes of different processes, attributes, and form nodes is not allowed.
[0018] Optionally, the S4 includes:
[0019] S41: Summarize and revise the data in the concrete engineering archive database;
[0020] S42: Use the consensus algorithm to upload the completed summary and correction form data to the chain.
[0021] Optionally, the S5 includes:
[0022] S51: Under the premise of the same hash algorithm, the Merkle tree is calculated for the target form data that has been uploaded to the chain;
[0023] S502: Compare the calculation result with the Merkle root of the corresponding unit project stored in the concrete engineering archive database; if the comparison results are the same, it means that all data in the unit project where the root node is located has not changed, a reminder is issued, and the verification ends; if the comparison results are different, enter S502;
[0024] S503: extract the hash value of the current process node and compare it with the hash value of the corresponding node in the database; if the comparison results are the same, proceed to S504; if the comparison results are different, proceed to S505;
[0025] S504: Determine whether the process is the last one of this unit project. If so, end the check. Otherwise, take the next process node as the current process node and return to S503.
[0026] S505: extract the hash value of the current attribute node and compare it with the hash value of the corresponding node in the concrete engineering archive database; if the comparison results are the same, proceed to S506; if the comparison results are different, proceed to S507;
[0027] S506: Determine whether the attribute is the last one in this process. If so, return to S504; otherwise, take the next attribute node as the current attribute node and return to S505;
[0028] S507: extract the hash value of the current form node and compare it with the hash value of the corresponding node in the concrete engineering archive database; if the comparison results are the same, it indicates that the form data has not changed, and enter S508; if the comparison results are different, it indicates that the form data has changed, and a reminder is issued;
[0029] S508: Determine whether the current form is the last form of the current attribute node. If not, proceed to S509; if so, record the form numbers with different hash values and return to S506.
[0030] S509: Set the next form as the current form and return to S508.
[0031] The present invention has the following beneficial effects:
[0032] The present invention archives concrete forms based on the Merkle tree, can effectively aggregate the information generated by different stages and different units in the concrete production process, and realizes the block structure design and data chain application according to the construction progress of the unit project, ensures the strict mapping relationship of the data, and through the chain, ensures the security and reliability of the data, and also provides an important technical means for the rapid verification and positioning of data tampering; furthermore, the present invention can effectively solve the problems of large resource consumption, difficult storage and retrieval, and inconvenient transmission in the archiving of concrete forms. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 Flowchart of the archiving method for a merkle tree based concrete form.
[0034] Figure 2 Approval flow chart for material request and ingredient list
[0035] Figure 3 Structural modular design diagram for concrete engineering blockchain;
[0036] Figure 4 Generate logical flow charts for transactions;
[0037] Figure 5 This is a schematic diagram of the Merkle tree structure of the present invention;
[0038] Figure 6 This is a step-by-step flow chart of S5. DETAILED DESCRIPTION
[0039] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0040] The engineering data characteristics of the entire concrete production process are obtained based on the data generated during the concrete production quality control process. The concrete production quality control process can be divided into two independent links according to the production process: concrete raw material testing and finished concrete quality testing. Each link contains its corresponding quality control requirements.
[0041] The raw materials of concrete generally include cement, fly ash, admixtures, coarse aggregate, fine aggregate, etc. Its quality control is carried out according to different testing units, including:
[0042] Raw material manufacturer testing: The raw materials used in concrete production are generally provided by different raw material manufacturers, such as cement plants, fly ash plants, admixture plants, sand and gravel aggregate plants, etc. Raw material manufacturers need to strictly control the production process in the raw material production process to ensure the production quality of raw materials, and conduct performance index testing on the produced raw materials. Raw material products can only be delivered to customers after passing the testing, and quality documents such as raw material factory qualification certificates are issued.
[0043] Raw material mixing plant inspection: The mixing plant undergoes preliminary on-site inspection and laboratory performance inspection. When the raw materials are delivered to the mixing plant, the mixing plant staff will check the quantity and appearance quality according to the raw material information issued by the raw material manufacturer. Raw materials that pass the preliminary inspection can be placed in the corresponding raw material storage warehouse.
[0044] The mixing plant experimenters conduct sampling inspection on the raw materials, take samples according to the prescribed sampling quantity and sampling range, and carry out respective performance tests according to the test methods of different raw materials. Finally, they obtain the raw material inspection report and determine whether the raw materials are qualified according to the specification requirements.
[0045] Third-party testing by the supervision unit: As a supervisory unit, the supervision unit needs to conduct sampling tests on raw materials, and its testing is generally entrusted to a third-party testing center. The supervision unit takes samples from the raw material warehouse of the mixing plant and entrusts a third-party testing center to conduct raw material performance tests, and determines whether the raw materials are qualified based on the raw material commissioned testing report issued by the latter.
[0046] After the concrete is produced, its performance indicators need to be tested in time, especially the compressive strength of concrete. Different testing units include:
[0047] Finished concrete mixing plant inspection: As a concrete production unit, the mixing plant is responsible for the quality of the concrete it produces. After the concrete is produced, it will be sampled at the outlet and sent to the mixing plant laboratory for slump, temperature, etc., to make concrete test blocks and send them to the curing room for concrete curing. Within the specified time, performance indicators such as compressive strength will be tested and inspected, and a concrete quality inspection report will be issued to determine whether the concrete materials used are of qualified quality.
[0048] Construction unit testing: The construction unit is the user of concrete. The construction unit will conduct sampling tests at the concrete outlet and concrete pouring site to ensure that the quality of the concrete put into pouring construction is qualified. The construction unit laboratory will issue a concrete quality test report in accordance with the concrete testing process and relevant regulations to determine whether the concrete materials used are of qualified quality.
[0049] Third-party testing of finished product supervision units: As a supervisory unit, the supervision unit also needs to conduct sampling tests on concrete, and its testing is generally entrusted to a third-party testing center. The supervision unit takes samples from the concrete outlet and the concrete pouring site, and entrusts a third-party testing center to conduct concrete performance tests. The quality of the concrete is determined based on the concrete commissioned testing report issued by the latter.
[0050] Based on this, the present invention provides a concrete form archiving method based on Merkle tree, referring to Figure 1As shown, the concrete form archiving method based on the Merkle tree includes:
[0051] S1: Based on the engineering data characteristics generated during the entire concrete production process, the concrete engineering data is subjected to structured modular processing to obtain a processing result; wherein the concrete engineering data includes form data generated during each link of the concrete construction process; and the structured modular processing of the concrete engineering data includes data encoding of the form data;
[0052] The data generated during the quality control process needs to be stored to achieve full process management of concrete production and subsequent quality traceability. The generation process is different from the traditional blockchain application scenario. The characteristics of traditional blockchain are high decentralization of transactions and high security of data. The generation and storage order of data are relatively random, so the blocks record some chaotic and irregular transactions, and there is almost no correlation between the data, showing chaotic and disordered characteristics.
[0053] The data to be stored in the concrete engineering blockchain are the various forms filled in during the quality control process. The data is gradually generated during the construction process and is filled in manually or collected automatically by machines. These data play an important role in the supervision of the project progress and quality control, and are also needed for the quality inspection of the project after the project is completed. Compared with traditional blockchain application scenarios, the concrete engineering blockchain pays more attention to the applicability of the project and the logic and order of data generation.
[0054] It should also be noted that the ingredient list (not shown in the article) must be generated after the material order list, and the two exist in pairs. Figure 2 This paper introduces the orderliness and complexity of file generation in concrete engineering from the perspective of material requisition and batching list in concrete production. In addition to the two properties of approval process and approval signature, it also reflects the process of form generation when data is generated.
[0055] It is precisely because of the complexity and planning of concrete engineering that the three properties of its data generation are caused: approval process, approval signature and form generation process. Therefore, its accounting method should be designed according to the established order and logic. Therefore, it is necessary to optimize and transform the blockchain structure according to its own characteristics, integrate the business in advance, and make its application in concrete engineering more efficient and convenient.
[0056] In traditional blockchain application scenarios, transactions in blocks are stored in the form of Merkle trees, where each leaf node is a transaction, and nodes are combined to form a parent node, which is repeated until a unique node, the Merkle root, is obtained. This structure helps to compress data and quickly verify data integrity. However, concrete engineering data is structured and modular. For example, different forms belong to different processes, different forms belong to different structures or have different attributes, and different forms have a certain order of precedence, so the blockchain structure should be designed according to the characteristics of different fields. Figure 3 As shown, the present invention designs the blockchain structure from top to bottom with engineering nodes, process nodes, attribute nodes, form nodes and cell nodes.
[0057] The transaction definition of concrete engineering is the form filled out at the construction site, and the form is the basis for archiving after the project is completed. Therefore, in order to improve the efficiency of archive management, clarify the attributes of the form, facilitate the rapid positioning of the form and subsequent traceability work, as well as the structured and hierarchical sorting of the blocks, the form is finely coded in blocks. The coding work is divided into two parts: project node coding and form node coding.
[0058] (1) Project node coding
[0059] According to the standard specification for water conservancy project quality inspection and evaluation, the quality inspection of construction projects should be divided into four levels: single project - unit project - sub-project - unit project, where the unit project is the block in the concrete project in this study, so the project node coding is also divided into four levels, with the unit project as the smallest unit. The specific rules for project node coding are shown in Table 1.
[0060] Table 1 Specific rules for project node coding
[0061]
[0062]
[0063] (2) Form node encoding
[0064] Because the construction processes of different concrete projects are different, the structured modular classification of archives is also different, so the form node coding rules are slightly different, mainly reflected in the process nodes and attribute nodes. Therefore, taking the concrete production and pouring construction of Dashixia Water Conservancy Project as an example, the process nodes can be divided into nine processes: raw material testing, warehouse surface inspection and evaluation, warehouse opening, mix ratio control, concrete mixing, concrete testing, warehouse pouring inspection and evaluation, concrete maintenance, and unit project acceptance. The attribute nodes can be divided into construction units, testing units, mixing plants, inspection preparation, process inspection and evaluation, hidden projects, etc. Therefore, it is necessary to further refine the form module information according to the process to which the form belongs, and perform hierarchical coding according to the form sequence. The specific coding rules are shown in Table 2.
[0065] Table 2 Specific rules for form node encoding
[0066]
[0067]
[0068] S2: Generate a concrete engineering blockchain transaction generation mechanism according to the processing result;
[0069] The three main characteristics of data generation in concrete engineering are the process of form approval, approval signature and form generation. Therefore, it is necessary to design a transaction generation process that meets the characteristics of concrete engineering. In other words, in the concrete engineering blockchain, the generation of transactions needs to flow between different nodes, and each flow is preceded by the digital signature of the corresponding node, and different transactions are generated in a certain order.
[0070] Therefore, the present invention uses the P2P network to streamline form approval and form generation, which has the advantage of being able to easily add and modify nodes in the network. Because the process of each form is inconsistent, it is necessary to compile the flow process of each form separately. After the person in charge approves and signs, the subsequent process is triggered, and the person in charge is notified through to-do, SMS notification, or WeChat applet notification. Figure 4 Shown is the transaction generation logic flow chart.
[0071] Sign in the digital signature system is a signature function, which is used for digital signatures during transaction circulation and requires the signer's private key K; while Verify is a verification function, which is used to verify digital signatures and requires the signer's public key P. Its verification includes the following two meanings:
[0072] a. The owner of the signature and the owner of the public key are the same private key;
[0073] b. The signature is to sign the transaction itself without tampering.
[0074] If and only if a and b are satisfied at the same time, True is returned, indicating that the verification is successful; otherwise, False is returned, indicating that the verification fails. After designing the transaction generation process, you only need to know the approval logic of the form to get the complete process of transaction generation. All other transactions have similar forms, but the institutions they circulate are different due to different approval logics and transaction generation processes.
[0075] S3: Based on the concrete engineering blockchain transaction generation mechanism, a concrete engineering archive database with a Merkle tree data aggregation structure is established, wherein the hash value of the form node is a leaf node of the Merkle tree data aggregation structure, and the hash value of the engineering node is a root node of the Merkle tree data aggregation structure;
[0076] In order to ensure the integrity of the data, the present invention defines a form as the smallest unit, that is, a transaction; and based on the structured modularization results of the concrete engineering data, it can be seen that since the forms in the same unit project have a certain construction process, and the forms in each process have different attributes, such a hierarchical structure is similar to the hierarchical structure of the Merkle tree. Therefore, the Merkle tree pairing structure is modified with the project node - process node - attribute node - form node as the hierarchy. The modified structure diagram is as follows Figure 5 As shown in the figure, the hash value of the form node is the leaf node, and the hash value of the project node is the root node. For nodes at the same level that do not have a pairable node, they are paired with themselves, and random pairing between different processes, attributes, and form nodes is not allowed.
[0077] The modified Merkle tree has certain concrete engineering characteristics. It can not only obtain the hash value of a form node, but also obtain the hash value of a property node and a process node, which is convenient for the location of the form and subsequent traceability work. Although the modified Merkle tree structure disrupts the original pairing order and increases the difficulty of verification to a certain extent, for example, the number of verifications for 42 forms has increased from 6 times to a maximum of 8 times, but with the computing speed of existing computers, the increased computing time can be ignored. And the Merkle tree arranged in a fixed order improves the orderliness of the data and facilitates subsequent data management. After the project is completed, the Merkle root can be further aggregated to generate the hash value of the branch project and the hash value of the unit project, and finally generate the hash value of the single project. At this time, the hash value of the single project is the final Merkle root. In the verification work, it is only necessary to verify whether the final Merkle root has changed, and it can be determined whether all the data in the project has been tampered with, which greatly increases the verification speed of the project data.
[0078] S4: Uploading all the form data in the concrete engineering archive database to the chain;
[0079] Consensus algorithms are roughly divided into two categories, Byzantine fault-tolerant and non-Byzantine fault-tolerant, depending on whether malicious nodes are considered. Non-Byzantine fault-tolerant consensus algorithms are mainly applicable to alliance chains and private chains with mutual trust between nodes, and their representative algorithms include Paxos and Raft. Byzantine fault-tolerant consensus algorithms are also applicable to public chain environments with complex nodes because they consider malicious node attacks, and the more commonly used algorithms include PoW and PBFT. There are many types of mainstream consensus algorithms at present, and resource consumption should be reduced as much as possible while ensuring security, and the consensus process should be simplified.
[0080] In the production process of concrete, the production department, supervision department, and testing department are generally involved. The departments have close exchanges and know each other. Concrete production is carried out according to a fixed process. Generally, there are no malicious nodes, so a weakly centralized alliance chain system can be selected. In the selection of consensus algorithms, it is more inclined to select non-Byzantine fault-tolerant consensus algorithms that are simple to implement and fast. If the problem of nodes being attacked and becoming malicious nodes is considered, the algorithm can be improved and upgraded or the Byzantine fault-tolerant algorithm can be directly selected.
[0081] Transactions agreed upon by the consensus algorithm will be recorded in the block through the chain operation and stored in a distributed shared database. However, transactions that have been uploaded to the chain cannot be changed. For actual concrete production, this is neither realistic nor necessary. In the actual form filling, incorrect filling and missing filling often occur. A separate summary and correction link can be set before uploading to the chain, and the form after the correction is completed can be uploaded to the chain to minimize the losses caused by human factors.
[0082] S5: Perform integrity check on the target form data that has been uploaded to the chain;
[0083] Optionally, refer to Figure 6 As shown, the S5 includes:
[0084] S51: Under the premise of the same hash algorithm, the Merkle tree is calculated for the target form data that has been uploaded to the chain;
[0085] S502: Compare the calculation result with the Merkle root of the corresponding unit project stored in the concrete engineering archive database; if the comparison results are the same, it means that all data in the unit project where the root node is located has not changed, a reminder is issued, and the verification ends; if the comparison results are different, enter S502;
[0086] S503: extract the hash value of the current process node and compare it with the hash value of the corresponding node in the database; if the comparison results are the same, proceed to S504; if the comparison results are different, proceed to S505;
[0087] S504: Determine whether the process is the last one of this unit project. If so, end the check. Otherwise, take the next process node as the current process node and return to S503.
[0088] S505: extract the hash value of the current attribute node and compare it with the hash value of the corresponding node in the concrete engineering archive database; if the comparison results are the same, proceed to S506; if the comparison results are different, proceed to S507;
[0089] S506: Determine whether the attribute is the last one in this process. If so, return to S504; otherwise, take the next attribute node as the current attribute node and return to S505;
[0090] S507: extract the hash value of the current form node and compare it with the hash value of the corresponding node in the concrete engineering archive database; if the comparison results are the same, it indicates that the form data has not changed, and enter S508; if the comparison results are different, it indicates that the form data has changed, and a reminder is issued;
[0091] S508: Determine whether the current form is the last form of the current attribute node. If not, proceed to S509; if so, record the form numbers with different hash values and return to S506.
[0092] S509: Set the next form as the current form and return to S508.
[0093] S6: Concrete form archiving is completed when the integrity check of all data passes.
[0094] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A concrete form archiving method based on Merkle tree, characterized in that: The concrete form archiving method based on the Merkle tree includes: S1: Based on the engineering data characteristics generated during the entire concrete production process, the concrete engineering data is subjected to structured modular processing to obtain a processing result; wherein the concrete engineering data includes form data generated during each link of the concrete construction process; and the structured modular processing of the concrete engineering data includes data encoding of the form data; S2: Generate a concrete engineering blockchain transaction generation mechanism according to the processing result; S3: Based on the concrete engineering blockchain transaction generation mechanism, a concrete engineering archive database with a Merkle tree data aggregation structure is established, wherein the hash value of the form node is a leaf node of the Merkle tree data aggregation structure, and the hash value of the engineering node is a root node of the Merkle tree data aggregation structure; S4: Uploading all the form data in the concrete engineering archive database to the blockchain; S5: Perform integrity check on the target form data that has been uploaded to the chain; S6: When the integrity check of all data is passed, the concrete form is archived; Data encoding of the form data includes engineering node encoding and form node encoding, wherein the engineering node encoding includes encoding according to the engineering type, and the engineering type includes single project, unit project, sub-project and unit project; The form node encoding includes encoding according to node types, and the node types include shared nodes, process nodes, attribute nodes and form nodes; In S3, the concrete engineering archive database of the Merkle tree data aggregation structure includes: Taking a form as a transaction and the form node encoding result as a hierarchy, the pairing structure of the original Merkle tree is modified to obtain a concrete engineering archive database with a Merkle tree data aggregation structure. For nodes in the encoding results of form nodes that have no pairable nodes at the same level, they are paired with themselves. Random pairing between different processes, attributes, and form nodes is not allowed. The S5 includes: S51: Under the premise of the same hash algorithm, the Merkle tree is calculated for the target form data that has been uploaded to the chain; S502: Compare the calculation result with the Merkle root of the corresponding unit project stored in the concrete engineering archive database; if the comparison results are the same, it means that all data in the unit project where the root node is located has not changed, a reminder is issued, and the verification ends; if the comparison results are different, enter S502; S503: extract the hash value of the current process node and compare it with the hash value of the corresponding node in the database; if the comparison results are the same, proceed to S504; if the comparison results are different, proceed to S505; S504: Determine whether the process is the last one of this unit project. If so, end the verification. Otherwise, take the next process node as the current process node and return to S503. S505: extract the hash value of the current attribute node and compare it with the hash value of the corresponding node in the concrete engineering archive database; if the comparison results are the same, proceed to S506; if the comparison results are different, proceed to S507; S506: Determine whether the attribute is the last one in this process. If so, return to S504; otherwise, take the next attribute node as the current attribute node and return to S505; S507: extract the hash value of the current form node and compare it with the hash value of the corresponding node in the concrete engineering archive database; if the comparison results are the same, it indicates that the form data has not changed, and enter S508; if the comparison results are different, it indicates that the form data has changed, and a reminder is issued; S508: Determine whether the current form is the last form of the current attribute node. If not, proceed to S509; if so, record the form numbers with different hash values and return to S506; S509: Set the next form as the current form and return to S508.
2. The concrete form archiving method based on Merkle tree according to claim 1 is characterized in that: In S1, the engineering data characteristics of the whole concrete production process are obtained according to the data generated in the concrete production quality control process; the concrete production quality control process includes concrete raw material testing and finished concrete quality testing; the concrete raw material testing includes raw material manufacturer testing, raw material mixing plant testing and supervision unit third-party testing; The finished concrete quality inspection includes finished mixing plant inspection, construction unit inspection and third-party inspection by the finished product supervision unit.
3. The concrete form archiving method based on Merkle tree according to claim 1 is characterized in that: The S4 includes: S41: Summarize and revise the data in the concrete engineering archive database; S42: Use the consensus algorithm to upload the completed summary and correction form data to the chain.
