Construction data storage sharing method and system based on BIM + GIS

By encrypting construction data in the IPFS network and using blockchain technology and smart contract verification, data silos and security problems in construction data management are solved, and efficient and secure data sharing and storage are achieved.

CN118965452AInactive Publication Date: 2024-11-15HUIZHOU JINHUITOU DIGITAL INTELLIGENCE TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410995516.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing construction data management methods have problems of data silos, insufficient storage efficiency and security, especially in large-scale or cross-regional engineering projects, resulting in complex data sharing and high cost, and the risk of data leakage.

Method used

By encrypting the construction data and storing it in the IPFS network, and using blockchain technology to record the hash value and content identifier of the data block, combined with smart contract verification permissions, the security and integrity of the data can be ensured, and only authorized users can access it and decrypt data.

Benefits of technology

Significantly improve the security and integrity of construction data, prevent unauthorized access and data leakage, and optimize storage efficiency and access performance through data classification and hierarchical compression.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965452A_ABST
    Figure CN118965452A_ABST
Patent Text Reader

Abstract

The invention relates to the field of data sharing, in particular to a construction data storage sharing method and system based on BIM + GIS. The BIM + GIS-based construction data storage and sharing system comprises a construction data acquisition module, a construction data compression module, a construction data partitioning module, a construction data encryption module, an IPFS network module, a block chain module and a target data acquisition module. According to the method, the construction data is encrypted and then stored in the IPFS network, and the hash value and the content identifier of the data block are recorded by using the block chain technology, so that the security of the data is remarkably improved; according to the method for combining distributed storage and block chain verification, not only is the non-tampering property of the data ensured, but also the integrity of the data is ensured through hash value comparison; when the data requester accesses the data, the intelligent contract verifies the authority of the requester and ensures that only the authorized user can access and decrypt the data, so that unauthorized access and data leakage are effectively prevented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data sharing, and in particular to a construction data storage and sharing method and system based on BIM+GIS. Background Art

[0002] With the rapid development of the construction industry, Building Information Modeling (BIM) and Geographic Information System (GIS) have become key technologies to improve the efficiency and accuracy of engineering project management; BIM technology realizes multi-dimensional information integration in the design, construction and operation and maintenance processes by creating digital models of construction projects; GIS technology focuses on the collection, storage, analysis and display of geographic spatial data, providing strong support for the geographic environment analysis of project sites.

[0003] However, existing construction data management methods have some limitations; first, BIM and GIS data are usually stored and managed independently, lacking an effective integration mechanism, which leads to data silos and complicates data sharing and collaborative work; second, the storage efficiency and security of construction data have not yet reached an ideal state, especially in large-scale or cross-regional engineering projects; in addition, the compression and encryption technology of construction data has not yet been fully developed, resulting in high data transmission and storage costs, and the risk of data leakage. Summary of the invention

[0004] The present invention significantly improves the security of data by encrypting the construction data and storing it in the IPFS network, and using blockchain technology to record the hash value and content identifier of the data block. This method of combining distributed storage and blockchain verification not only ensures the data’s immutability, but also ensures the data’s integrity through hash value comparison. When a data requester accesses the data, the smart contract verifies the requester’s authority and ensures that only authorized users can access and decrypt the data, thereby effectively preventing unauthorized access and data leakage.

[0005] A construction data storage and sharing method based on BIM+GIS, comprising:

[0006] S1: Acquire building information data and geographic information data, integrate the building information data and geographic information data, and obtain a complete construction data set;

[0007] Performing importance evaluation on the data in the complete construction data set to obtain importance evaluation results; dividing the complete construction data set into core data, important data and common data based on the importance evaluation results; compressing the core data, important data and common data using a low-ratio compression algorithm, a medium-ratio compression algorithm and a high-ratio compression algorithm respectively to obtain compressed core data, compressed important data and compressed common data;

[0008] S2: performing block operations on the compressed core data, the compressed important data and the compressed common data respectively, obtaining a number of compressed core data blocks, compressed important data blocks and compressed common data blocks, and adding a unique number to each of the compressed core data blocks, compressed important data blocks and compressed common data blocks according to the arrangement order;

[0009] Encrypting all the obtained compressed core data blocks, compressed important data blocks and compressed common data blocks respectively to obtain a number of encrypted core data blocks, encrypted important data blocks and encrypted common data blocks;

[0010] S3: Create an IPFS network and blockchain, write a smart contract, and deploy the written smart contract to the blockchain; upload all encrypted core data blocks, encrypted important data blocks, and encrypted common data blocks, collectively referred to as encrypted data blocks, to the IPFS network, calculate the hash values ​​of all encrypted data blocks respectively, and generate a unique content identifier based on the content of the encrypted data block and the corresponding hash value; for any encrypted data block, the user calls the smart contract, passes the hash value and content identifier of the encrypted data block to the smart contract, and the smart contract verifies the hash value and content identifier of the encrypted data block. After the verification is passed, the hash value and content identifier of the encrypted data block are recorded in the blockchain;

[0011] S4: When an access request from a data requester is received, the authority of the data requester is verified through a smart contract. After the verification is passed, the smart contract provides a content identifier of the target data block according to the access request of the data requester. The data requester uses the obtained content identifier to retrieve the required target data block in the IPFS network, and recalculates the hash value of the obtained target data block, and compares the calculated hash value with the hash value recorded in the blockchain. If the calculated hash value is consistent with the hash value recorded in the blockchain, it means that the target data block is complete, the target data block is decrypted, the data block to be decompressed is obtained, the data block to be decompressed is decompressed, and the target data is obtained; if they are inconsistent, it means that the data is damaged, and error response measures are executed.

[0012] Preferably, the specific operation steps of integrating the building information data and the geographic information data in step S1 are:

[0013] A1: Determine whether the formats of the building information data and the geographic information data are consistent. If so, directly execute step A2; if not, convert the building information data into the same format as the geographic information data, and then execute step A2;

[0014] A2: Take the coordinate system of geographic information data as the target coordinate system, calculate and obtain the transformation matrix according to the coordinate system of building information data and the coordinate system of geographic information data, and apply the transformation matrix to building information data; integrate the converted building information data and geographic information data to obtain a complete construction data set.

[0015] Preferably, the specific operation steps of dividing the complete construction data set into core data, important data and common data in step S1 are as follows:

[0016] According to the data type and purpose of all the data in the complete construction data set, all the data in the complete construction data set are classified to obtain n data sets F i , i=1,2,…,n;

[0017] Obtain historical construction data sets, classify all data in the historical construction data sets, and obtain n historical data sets H i ; For any data set F i , get the current data set F i The corresponding historical data set H i The number of visits in the historical period T is obtained as the current data set F i The importance evaluation result of the dataset F is set; the important standard threshold and the core standard threshold are set. i The importance evaluation result of is greater than the core standard threshold, then the current dataset F i Classified as core data; if the current data set F i The importance evaluation result of is greater than the important standard threshold and less than the core standard threshold, then the current data set F i Classified as important data; if the current data set F i The importance evaluation result of is less than the important standard threshold, then the current data set F i Classified as normal data.

[0018] Preferably, in step S2, the specific operations of dividing the compressed core data, the compressed important data and the compressed common data into blocks are as follows:

[0019] For the compressed core data, the first-level byte number range is set to (e, f), a value a is selected within the first-level byte number range, and the compressed core data is divided into a number of compressed core data blocks with a byte number;

[0020] For compressed important data, the secondary byte number range is set to (r, s), a value b is selected within the secondary byte number range, and the compressed important data is divided into a number of compressed important data blocks with a byte number of b;

[0021] For compressed common data, set the third-level byte number range to (v, w), select a value c within the third-level byte number range, and divide the compressed common data into several compressed common data blocks with a byte number of c; where e <r<v,f<s<w。

[0022] Preferably, the values ​​of a, b, and c are optimized and selected by a particle swarm optimization algorithm.

[0023] Preferably, the specific operation of encrypting all the obtained compressed core data blocks, compressed important data blocks and compressed common data blocks in step S2 is:

[0024] For all compressed core data blocks, a 256-bit AES key is generated, and the compressed core data blocks are encrypted using the AES algorithm and the generated 256-bit AES key to obtain a number of encrypted core data blocks;

[0025] For all compressed important data blocks, a 192-bit AES key is generated, and the compressed important data blocks are encrypted using the AES algorithm and the generated 192-bit AES key to obtain a plurality of encrypted important data blocks;

[0026] A 128-bit AES key is generated for all compressed common data blocks, and the compressed core data blocks are encrypted using the AES algorithm and the generated 128-bit AES key to obtain a number of encrypted common data blocks.

[0027] Preferably, the specific operations of decrypting the target data block and decompressing the data block to be decompressed in step S4 are:

[0028] If the target data block is an encrypted core data block, the encrypted core data block is decrypted using the AES algorithm and a 256-bit AES key to obtain the core data block to be decompressed; the core data block to be decompressed is decompressed using a low-ratio compression algorithm to obtain the target data;

[0029] If the target data block is an encrypted important data block, the encrypted important data block is decrypted using the AES algorithm and a 192-bit AES key to obtain the important data block to be decompressed; the important data block to be decompressed is decompressed using a medium ratio compression algorithm to obtain the target data;

[0030] If the target data block is an encrypted common data block, the encrypted common data block is decrypted using the AES algorithm and a 128-bit AES key to obtain the common data block to be decompressed; the common data block to be decompressed is decompressed using a high-ratio compression algorithm to obtain the target data.

[0031] Preferably, a construction data storage and sharing system based on BIM+GIS includes:

[0032] The construction data acquisition module is used to acquire building information data and geographic information data, and integrate the building information data and geographic information data to obtain a complete construction data set;

[0033] The construction data compression module is used to divide the complete construction data set into core data, important data and ordinary data based on the importance assessment result; the core data, important data and ordinary data are compressed using a low-ratio compression algorithm, a medium-ratio compression algorithm and a high-ratio compression algorithm respectively to obtain compressed core data, compressed important data and compressed ordinary data;

[0034] The construction data block module is used to perform block operations on the compressed core data, compressed important data and compressed common data respectively, obtain a number of compressed core data blocks, compressed important data blocks and compressed common data blocks, and add a unique number to each compressed core data block, compressed important data block and compressed common data block according to the arrangement order;

[0035] The construction data encryption module is used to encrypt all compressed core data blocks, compressed important data blocks and compressed common data blocks respectively, and obtain a number of encrypted core data blocks, encrypted important data blocks and encrypted common data blocks;

[0036] IPFS network module, used to store the acquired encrypted core data blocks, encrypted important data blocks and encrypted common data blocks;

[0037] The blockchain module is used to verify the hash value and content identifier of the encrypted data block using the smart contract. After the verification is passed, the hash value and content identifier of the encrypted data block are recorded in the blockchain. When an access request from a data requester is received, the authority of the data requester is verified through the smart contract. After the verification is passed, the smart contract provides the content identifier of the target data block according to the access request of the data requester. The data requester uses the obtained content identifier to retrieve the required target data block in the IPFS network.

[0038] The target data acquisition module is used to recalculate the hash value of the acquired target data block, compare the calculated hash value with the hash value recorded in the blockchain, and if the calculated hash value is consistent with the hash value recorded in the blockchain, decrypt the target data block to obtain the data block to be decompressed, decompress the data block to be decompressed, and obtain the target data.

[0039] The present invention has the following advantages:

[0040] 1. The present invention significantly improves the security of data by encrypting the construction data and storing it in the IPFS network, and using blockchain technology to record the hash value and content identifier of the data block; this method of combining distributed storage and blockchain verification not only ensures the immutability of the data, but also ensures the integrity of the data through hash value comparison; when the data requester accesses the data, the smart contract verifies the requester's authority and ensures that only authorized users can access and decrypt the data, thereby effectively preventing unauthorized access and data leakage.

[0041] 2. The present invention achieves effective use of storage space and rapid response to data access by classifying construction data according to its importance and compressing it with compression algorithms of different ratios; low, medium and high ratio compression algorithms are used for core data, important data and ordinary data respectively, which not only ensures rapid access to key data but also optimizes storage efficiency; in addition, hierarchical protection of data is achieved by adopting encryption algorithms of different strengths for data of different levels; this hierarchical strategy enables key data to be encrypted with higher strength, thus achieving a balance between security and performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 This is a structural diagram of a construction data storage and sharing system based on BIM+GIS adopted in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to enable persons skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0044] Embodiment 1, a construction data storage and sharing method based on BIM+GIS, comprising:

[0045] S1: Obtain building information data and geographic information data. Building information data is BIM data, which usually includes the three-dimensional model of the building, component information, material properties, construction progress, etc. BIM data digitally expresses the physical characteristics and functional requirements of the building; geographic information data is GIS data, including the geographic coordinates, topography, surrounding environment and other spatial data of the project site; GIS data provides the geographic spatial background for the construction project; integrate building information data and geographic information data to obtain a complete construction data set; the purpose of integration is to simultaneously reflect the detailed information of the building and the background information of its geographic environment in the same data set;

[0046] The importance of the data in the complete construction data set is evaluated to obtain the importance evaluation results; based on the importance evaluation results, the complete construction data set is divided into core data, important data and ordinary data; core data is crucial to the construction process, usually including key structural information, design parameters, safety standards, etc.; important data has a greater impact on the construction process, but its importance is slightly lower than that of core data, and may include construction progress, material list, etc.; ordinary data has a certain impact on the construction process, but it is not critical information, such as some auxiliary documents or non-critical construction details; low-ratio compression algorithms, medium-ratio compression algorithms and high-ratio compression algorithms are used to compress core data, important data and ordinary data respectively; the low-ratio compression algorithm is used to ensure the high recovery quality of core data, and the integrity and accuracy of the data can be maintained even after compression; the medium-ratio compression algorithm is used to balance the compression rate and data recovery quality, and is suitable for important data that has certain requirements for data quality but does not require the highest level; the high-ratio compression algorithm is used for ordinary data, because ordinary data has relatively low requirements for quality, and a higher ratio of compression can be used to save storage space; obtain compressed core data, compressed important data and compressed ordinary data;

[0047] S2: performing block operations on the compressed core data, compressed important data and compressed common data respectively, obtaining a number of compressed core data blocks, compressed important data blocks and compressed common data blocks, and adding a unique number to each compressed core data block, compressed important data block and compressed common data block according to the arrangement order; the block operation is to divide the compressed data into smaller data units, i.e., data blocks; this can improve the efficiency of data storage and retrieval, and reduce the delay caused by large data volume in network transmission; according to the importance of the data, the compressed core data block is divided into smaller blocks for fast access and recovery; and the compressed important data block and the compressed common data block may adopt a larger block size to optimize the storage space;

[0048] All the obtained compressed core data blocks, compressed important data blocks and compressed common data blocks are encrypted respectively to obtain several encrypted core data blocks, encrypted important data blocks and encrypted common data blocks; to ensure the security of the data, the encryption process will adopt encryption algorithms of different strengths according to the importance of the data;

[0049] S3: Create an IPFS network and blockchain, write smart contracts, and deploy the written smart contracts to the blockchain;

[0050] IPFS (InterPlanetary File System) is a distributed file storage system that stores and accesses files through content addressing, ensuring data persistence and accessibility;

[0051] Blockchain technology provides a decentralized, tamper-proof data storage platform suitable for recording transactions and verifying the integrity of data;

[0052] A smart contract is a program that runs on a blockchain and can automatically execute contract terms. In the present invention, smart contracts are used to manage data access rights and verify data integrity. A written smart contract needs to be deployed on the blockchain so that it can be called and executed in the blockchain network.

[0053] All encrypted core data blocks, encrypted important data blocks and encrypted common data blocks are collectively referred to as encrypted data blocks and uploaded to the IPFS network. The hash values ​​of all encrypted data blocks are calculated respectively, and a unique content identifier is generated based on the content of the encrypted data block and the corresponding hash value. This content identifier is used to identify and reference the data block on the blockchain. For any encrypted data block, the user calls the smart contract and passes the hash value and content identifier of the encrypted data block to the smart contract. The smart contract verifies the hash value and content identifier of the encrypted data block. After the verification is passed, the hash value and content identifier of the encrypted data block are recorded in the blockchain. Any unauthorized modification of the data will be detected because any modification will change the hash value of the data.

[0054] S4: When an access request is received from a data requester, the access request triggers the execution of the smart contract. The smart contract verifies the authority of the data requester. After the verification is passed, the smart contract provides the content identifier of the target data block according to the access request of the data requester. The data requester uses the obtained content identifier to retrieve the required target data block in the IPFS network, and recalculates the hash value of the obtained target data block, and compares the calculated hash value with the hash value recorded in the blockchain. If the calculated hash value is consistent with the hash value recorded in the blockchain, it indicates that the data block has not been tampered with during the transmission and storage process and is complete; decrypt the target data block, obtain the data block to be decompressed, decompress the data block to be decompressed, and obtain the target data; if it is inconsistent, it may mean that the data has been damaged or tampered with during the transmission or storage process, and execute error response measures, such as denying the access request, recording the security incident, and notifying the system administrator for further investigation.

[0055] Preferably, the specific operation steps of integrating the building information data and the geographic information data in step S1 are:

[0056] A1: Determine whether the formats of the building information data and the geographic information data are consistent. If so, directly execute step A2; if not, convert the building information data into the same format as the geographic information data, and then execute step A2;

[0057] A2: Take the coordinate system of geographic information data as the target coordinate system, and calculate the conversion matrix according to the coordinate system of building information data and the coordinate system of geographic information data. This matrix is ​​used to convert the coordinates of BIM data into the coordinate system of GIS data. The converted building information data and geographic information data are integrated to obtain a complete construction data set. This data set will contain detailed information on the building and background information on the geographic environment, providing a comprehensive perspective for construction project management.

[0058] Preferably, the specific operation steps of dividing the complete construction data set into core data, important data and common data in step S1 are as follows:

[0059] According to the data type and purpose of all the data in the complete construction data set, all the data in the complete construction data set are classified to obtain n data sets F i , i=1,2,…,n;

[0060] Obtain historical construction data sets, classify all data in the historical construction data sets, and obtain n historical data sets H i ; For any data set F i , get the current data set F i The corresponding historical data set H i The number of visits in the historical period T is obtained as the current data set F i The importance evaluation result of the dataset F is set; the important standard threshold and the core standard threshold are set. i The importance evaluation result of is greater than the core standard threshold, then the current dataset F i Classified as core data; if the current data set F i The importance evaluation result of is greater than the important standard threshold and less than the core standard threshold, then the current data set F i Classified as important data; if the current data set F i The importance evaluation result of is less than the important standard threshold, then the current data set F i Classified as normal data;

[0061] In the above operation, professionals can also evaluate the importance of each data set, and then distinguish different importance levels based on the access frequency;

[0062] Preferably, in step S2, the specific operations of dividing the compressed core data, the compressed important data and the compressed common data into blocks are as follows:

[0063] For the compressed core data, the first-level byte number range is set to (e, f), a value a is selected within the first-level byte number range, and the compressed core data is divided into a number of compressed core data blocks with a byte number;

[0064] For compressing important data, set the range of the secondary byte count to (r, s), select a value b within the range of the secondary byte count, and divide the compressed important data into several compressed important data blocks with a byte count of b;

[0065] For compressing ordinary data, set the range of the tertiary byte count to (v, w), select a value c within the range of the tertiary byte count, and divide the compressed ordinary data into several compressed ordinary data blocks with a byte count of c; where e < r < v and f < s < w, ensuring that the size of the compressed core data block is smaller than that of the compressed important data block, and the size of the important data block is smaller than that of the ordinary data block.

[0066] Preferably, the values of a, b, and c are optimized and selected through the particle swarm optimization algorithm, which is an optimization technique that simulates the behavior of bird flocks or fish schools to find the optimal solution. The particle swarm algorithm finds the best values of a, b, and c through iterative search, and these values can balance the size of the data blocks, storage efficiency, and access speed to achieve optimal storage and access performance.

[0067] Preferably, the specific operations for encrypting all the obtained compressed core data blocks, compressed important data blocks, and compressed ordinary data blocks in step S2:

[0068] For all compressed core data blocks, since the core data contains the most critical information and thus requires the highest level of protection, generate a 256-bit AES key, and use the AES algorithm and the generated 256-bit AES key to encrypt the compressed core data blocks to obtain several encrypted core data blocks;

[0069] For all compressed important data blocks, generate a 192-bit AES key, and use the AES algorithm and the generated 192-bit AES key to encrypt the compressed important data blocks to obtain several encrypted important data blocks;

[0070] For all compressed ordinary data blocks, generate a 128-bit AES key, and use the AES algorithm and the generated 128-bit AES key to encrypt the compressed core data blocks to obtain several encrypted ordinary data blocks; Encryption consumes computing resources and power, and different intensities of encryption consume different amounts of resources; By using different intensities of encryption for different levels of data, the cost-effectiveness can be optimized while meeting the security requirements.

[0071] Preferably, the specific operations for decrypting the target data block and decompressing the data block to be decompressed in step S4:

[0072] If the target data block is an encrypted core data block, the encrypted core data block is decrypted using the AES algorithm and a 256-bit AES key to obtain the core data block to be decompressed; the core data block to be decompressed is decompressed using a low-ratio compression algorithm to obtain the target data;

[0073] If the target data block is an encrypted important data block, the encrypted important data block is decrypted using the AES algorithm and a 192-bit AES key to obtain the important data block to be decompressed; the important data block to be decompressed is decompressed using a medium ratio compression algorithm to obtain the target data;

[0074] If the target data block is an encrypted common data block, the encrypted common data block is decrypted using the AES algorithm and a 128-bit AES key to obtain the common data block to be decompressed; the common data block to be decompressed is decompressed using a high-ratio compression algorithm to obtain the target data.

[0075] Example 2: A construction data storage and sharing system based on BIM+GIS, such as Figure 1 As shown, including:

[0076] The construction data acquisition module is used to acquire building information data and geographic information data, and integrate the building information data and geographic information data to obtain a complete construction data set;

[0077] The construction data compression module is used to divide the complete construction data set into core data, important data and ordinary data based on the importance assessment result; the core data, important data and ordinary data are compressed using a low-ratio compression algorithm, a medium-ratio compression algorithm and a high-ratio compression algorithm respectively to obtain compressed core data, compressed important data and compressed ordinary data;

[0078] The construction data block module is used to perform block operations on the compressed core data, compressed important data and compressed common data respectively, obtain a number of compressed core data blocks, compressed important data blocks and compressed common data blocks, and add a unique number to each compressed core data block, compressed important data block and compressed common data block according to the arrangement order;

[0079] The construction data encryption module is used to encrypt all compressed core data blocks, compressed important data blocks and compressed common data blocks respectively, and obtain a number of encrypted core data blocks, encrypted important data blocks and encrypted common data blocks;

[0080] IPFS network module, used to store the acquired encrypted core data blocks, encrypted important data blocks and encrypted common data blocks;

[0081] The blockchain module is used to verify the hash value and content identifier of the encrypted data block using the smart contract. After the verification is passed, the hash value and content identifier of the encrypted data block are recorded in the blockchain. When an access request from a data requester is received, the authority of the data requester is verified through the smart contract. After the verification is passed, the smart contract provides the content identifier of the target data block according to the access request of the data requester. The data requester uses the obtained content identifier to retrieve the required target data block in the IPFS network.

[0082] The target data acquisition module is used to recalculate the hash value of the acquired target data block, compare the calculated hash value with the hash value recorded in the blockchain, and if the calculated hash value is consistent with the hash value recorded in the blockchain, decrypt the target data block to obtain the data block to be decompressed, decompress the data block to be decompressed, and obtain the target data.

[0083] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all such improvements and changes should fall within the scope of protection of the appended claims of the present invention. Parts not described in detail in this specification belong to the prior art known to those skilled in the art.

Claims

1. A construction data storage and sharing method based on BIM+GIS, It is characterized in that include: S1: Acquire building information data and geographic information data, integrate the building information data and geographic information data, and obtain a complete construction data set; Perform importance assessment on the data in the complete construction data set to obtain importance assessment results; divide the complete construction data set into core data, important data and common data based on the importance assessment results; The core data, important data and common data are compressed using a low-ratio compression algorithm, a medium-ratio compression algorithm and a high-ratio compression algorithm respectively to obtain compressed core data, compressed important data and compressed common data; S2: performing block operations on the compressed core data, the compressed important data and the compressed common data respectively, obtaining a number of compressed core data blocks, compressed important data blocks and compressed common data blocks, and adding a unique number to each of the compressed core data blocks, compressed important data blocks and compressed common data blocks according to the arrangement order; Encrypting all the obtained compressed core data blocks, compressed important data blocks and compressed common data blocks respectively to obtain a number of encrypted core data blocks, encrypted important data blocks and encrypted common data blocks; S3: Create an IPFS network and blockchain, write a smart contract, and deploy the written smart contract to the blockchain; upload all encrypted core data blocks, encrypted important data blocks, and encrypted common data blocks, collectively referred to as encrypted data blocks, to the IPFS network, calculate the hash values ​​of all encrypted data blocks respectively, and generate a unique content identifier based on the content of the encrypted data block and the corresponding hash value; for any encrypted data block, the user calls the smart contract, passes the hash value and content identifier of the encrypted data block to the smart contract, and the smart contract verifies the hash value and content identifier of the encrypted data block. After the verification is passed, the hash value and content identifier of the encrypted data block are recorded in the blockchain; S4: When an access request from a data requester is received, the authority of the data requester is verified through a smart contract. After the verification is passed, the smart contract provides a content identifier of the target data block according to the access request of the data requester. The data requester uses the obtained content identifier to retrieve the required target data block in the IPFS network, and recalculates the hash value of the obtained target data block, and compares the calculated hash value with the hash value recorded in the blockchain. If the calculated hash value is consistent with the hash value recorded in the blockchain, it means that the target data block is complete, the target data block is decrypted, the data block to be decompressed is obtained, the data block to be decompressed is decompressed, and the target data is obtained; if they are inconsistent, it means that the data is damaged, and error response measures are executed.

2. According to the BIM+GIS-based construction data storage and sharing method of claim 1, It is characterized in that The specific operation steps of integrating the building information data and the geographic information data in step S1 are as follows: A1: Determine whether the formats of the building information data and the geographic information data are consistent. If so, directly execute step A2; if not, convert the building information data into the same format as the geographic information data, and then execute step A2; A2: Taking the coordinate system of geographic information data as the target coordinate system, calculate and obtain the transformation matrix according to the coordinate system of building information data and the coordinate system of geographic information data, and apply the transformation matrix to the building information data; Integrate the converted building information data and geographic information data to obtain a complete construction data set.

3. According to the BIM+GIS-based construction data storage and sharing method of claim 2, It is characterized in that Specific operation steps for dividing the complete construction data set into core data, important data and common data in step S1: According to the data type and purpose of all the data in the complete construction data set, all the data in the complete construction data set are classified to obtain n data sets F i , i=1,2,…,n; Obtain historical construction data sets, classify all data in the historical construction data sets, and obtain n historical data sets H i ; For any data set F i , get the current data set F i The corresponding historical data set H i The number of visits in the historical period T is obtained as the current data set F i The results of the importance assessment; Set important standard thresholds and core standard thresholds. If the current dataset F i The importance evaluation result of is greater than the core standard threshold, then the current dataset F i Classified as core data; if the current data set F i The importance evaluation result of is greater than the important standard threshold and less than the core standard threshold, then the current data set F i Classified as important data; if the current data set F i The importance evaluation result of is less than the important standard threshold, then the current data set F i Classified as normal data.

4. According to the BIM+GIS-based construction data storage and sharing method of claim 3, It is characterized in that In step S2, the specific operations of dividing the compressed core data, compressed important data and compressed common data into blocks are as follows: For the compressed core data, the first-level byte number range is set to (e, f), a value a is selected within the first-level byte number range, and the compressed core data is divided into a number of compressed core data blocks with a byte number; For compressed important data, the secondary byte number range is set to (r, s), a value b is selected within the secondary byte number range, and the compressed important data is divided into a number of compressed important data blocks with a byte number of b; For compressed common data, the third-level byte number range is set to (v, w), a value c is selected within the third-level byte number range, and the compressed common data is divided into a number of compressed common data blocks with a byte number of c; where e <r<v,f<s<w。 5. According to the BIM+GIS-based construction data storage and sharing method of claim 4, It is characterized in that The values ​​of a, b, and c are optimized and selected using the particle swarm optimization algorithm.

6. A construction data storage and sharing method based on BIM+GIS according to claim 5, It is characterized in that The specific operation of encrypting all the obtained compressed core data blocks, compressed important data blocks and compressed common data blocks in step S2 is as follows: For all compressed core data blocks, a 256-bit AES key is generated, and the compressed core data blocks are encrypted using the AES algorithm and the generated 256-bit AES key to obtain a number of encrypted core data blocks; For all compressed important data blocks, a 192-bit AES key is generated, and the compressed important data blocks are encrypted using the AES algorithm and the generated 192-bit AES key to obtain a plurality of encrypted important data blocks; A 128-bit AES key is generated for all compressed common data blocks, and the compressed core data blocks are encrypted using the AES algorithm and the generated 128-bit AES key to obtain a number of encrypted common data blocks.

7. A construction data storage and sharing method based on BIM+GIS according to claim 6, It is characterized in that The specific operations of decrypting the target data block and decompressing the data block to be decompressed in step S4 are: If the target data block is an encrypted core data block, the encrypted core data block is decrypted using the AES algorithm and a 256-bit AES key to obtain the core data block to be decompressed; the core data block to be decompressed is decompressed using a low-ratio compression algorithm to obtain the target data; If the target data block is an encrypted important data block, the encrypted important data block is decrypted using the AES algorithm and a 192-bit AES key to obtain the important data block to be decompressed; the important data block to be decompressed is decompressed using a medium ratio compression algorithm to obtain the target data; If the target data block is an encrypted common data block, the encrypted common data block is decrypted using the AES algorithm and a 128-bit AES key to obtain the common data block to be decompressed; the common data block to be decompressed is decompressed using a high-ratio compression algorithm to obtain the target data.

8. A construction data storage and sharing system based on BIM+GIS, It is characterized in that The system is applied to a BIM+GIS-based construction data storage and sharing method as described in any one of claims 1 to 7, including: The construction data acquisition module is used to acquire building information data and geographic information data, and integrate the building information data and geographic information data to obtain a complete construction data set; The construction data compression module is used to divide the complete construction data set into core data, important data and ordinary data based on the importance assessment result; the core data, important data and ordinary data are compressed using a low-ratio compression algorithm, a medium-ratio compression algorithm and a high-ratio compression algorithm respectively to obtain compressed core data, compressed important data and compressed ordinary data; The construction data block module is used to perform block operations on the compressed core data, compressed important data and compressed common data respectively, obtain a number of compressed core data blocks, compressed important data blocks and compressed common data blocks, and add a unique number to each compressed core data block, compressed important data block and compressed common data block according to the arrangement order; The construction data encryption module is used to encrypt all compressed core data blocks, compressed important data blocks and compressed common data blocks respectively, and obtain a number of encrypted core data blocks, encrypted important data blocks and encrypted common data blocks; The IPFS network module is used to store the encrypted core data blocks, encrypted important data blocks and encrypted common data blocks; the blockchain module is used to verify the hash value and content identifier of the encrypted data block using the smart contract. After the verification is passed, the hash value and content identifier of the encrypted data block are recorded in the blockchain; when an access request from a data requester is received, the authority of the data requester is verified through the smart contract. After the verification is passed, the smart contract provides the content identifier of the target data block according to the access request of the data requester, and the data requester uses the obtained content identifier to retrieve the required target data block in the IPFS network; The target data acquisition module is used to recalculate the hash value of the acquired target data block, compare the calculated hash value with the hash value recorded in the blockchain, and if the calculated hash value is consistent with the hash value recorded in the blockchain, decrypt the target data block to obtain the data block to be decompressed, decompress the data block to be decompressed, and obtain the target data.

Citation Information

Patent Citations

  • Data replicating method and data storing system

    CN103220367A

  • File management method, fie management device and file management system

    CN106294362A

  • File fragmentation encryption storage method, acquisition method and system based on block chain

    CN111917720A

  • Food material traceability data security access control method based on smart contract

    CN113743955A

  • Water conservancy project multi-user collaborative management system and method based on GIS and BIM

    CN114399406A

Cited By

  • Information transmission method and system based on engineering supervision platform

    CN119865381A

  • An information transmission method and system based on an engineering supervision platform

    CN119865381B

  • Multi-dimensional construction data storage system and method

    CN122018825A

  • A multi-dimensional construction data storage system and method

    CN122018825B