BIM data storage method, electronic device and storage medium
By generating the initial data fingerprint and metadata of BIM data, combined with the smart contract to automatically execute voting results and permission management, the problem of difficulty in participating in multiple parties in the existing BIM system is solved, the legality and efficiency of data review is improved, and the reasonable allocation of decision-making power and the reliability of results are ensured.
Patent Information
- Application Number
- CN202411565326.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-11-05
AI Technical Summary
The existing blockchain-based BIM system has a centralized review mechanism, which makes it difficult to achieve reasonable participation of multiple parties, resulting in high subjectivity of the audit results and a lack of a coordinated data automation audit mechanism, which leads to complex and inefficient auditing process.
By generating the initial data fingerprint and metadata of BIM data, submitting data review requests, and automatically performing voting results and permission management through smart contracts, ensuring that multiple parties reasonably allocate decision-making power at different project stages, realizing the automation and efficiency of data review.
It improves the legitimacy of data auditing and data audit efficiency, ensures the reasonable allocation of decision-making power and the reliability of decision-making results, and achieves the efficiency of multi-party collaboration.
Smart Images

Figure CN119066236B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data storage, and in particular to a storage method, electronic device and storage medium for BIM data. Background Art
[0002] With the development of digital transformation in the construction industry, Building Information Modeling (BIM) has become the core technology for data management throughout the project life cycle. BIM systems not only play an important role in the design stage, but also cover data management in the construction, operation and maintenance stages. However, traditional BIM systems usually use centralized servers to manage BIM data, which has problems such as data tampering, lax access control, and difficulty for users at different stages to collaborate effectively. In order to ensure the security, transparency and immutability of BIM data, blockchain technology has gradually been introduced into building information management. However, the existing blockchain-based BIM systems are mostly centralized review mechanisms, which make it difficult to achieve reasonable participation by multiple parties, making the audit results highly subjective and affecting the rationality of the audit results. In addition, there is a lack of an automated data audit mechanism to coordinate multiple parties, resulting in a complex and inefficient audit process. Summary of the invention
[0003] In response to the above technical problems, the present invention provides a BIM data storage method, electronic device and storage medium, which can ensure the reasonable distribution of decision-making power at different stages, and automatically execute voting results and authority management during the data review process, thereby improving the legitimacy of data review on the chain and the efficiency of data review.
[0004] According to a first aspect of the present invention, a method for storing BIM data is provided, comprising the following steps:
[0005] Process the received BIM data, generate the initial data fingerprint corresponding to the BIM data, and submit a data review request in combination with the metadata of the received BIM data.
[0006] The data sender of the data review request is verified for authority. If the verification is passed, the data review request is sent to each target user according to the preset smart contract, so that each target user can vote on two different review result options; the target user refers to a given user related to the BIM data in the current project stage of the project life cycle.
[0007] When the voting information of each target user is received, the audit result of the BIM data is determined according to the voting weight set for each target user at the current project stage, and the audit result is sent to each target user; wherein different voting weights are assigned to target users at different project stages.
[0008] When the audit result of the BIM data is passed, the current data fingerprint corresponding to the BIM data is obtained, and if the current data fingerprint is consistent with the initial data fingerprint, the current data fingerprint and the metadata of the BIM data are written into the preset blockchain, and the BIM data is stored in a given distributed storage system.
[0009] According to a second aspect of the present invention, a non-transitory computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the above-mentioned BIM data storage method.
[0010] According to a third aspect of the present invention, there is provided an electronic device comprising a processor and the above-mentioned non-transitory computer-readable storage medium.
[0011] The present invention has at least the following beneficial effects:
[0012] The storage method of BIM data described in the present invention first generates an initial data fingerprint after processing the received BIM data, and submits a data review request in combination with metadata. If the authority verification of the data sending end is passed, the data review request is sent to each target user so that each target user can review and vote. The voting results and authority management are automatically executed through smart contracts, which reduces manual intervention and improves data review and management efficiency. Then, the review result is determined according to the voting information of each target user and the voting weight of each target user in the current project stage. When the review is passed, if the current data fingerprint is consistent with the initial data fingerprint, the current data fingerprint and the metadata of the BIM data are written into a preset blockchain, and the BIM data is stored in a given distributed storage system. In this process, multiple parties participate in the voting at the same time, realizing the high efficiency of multi-party collaboration, and by introducing the voting weight of the target user in the corresponding project stage, that is, the present invention can adjust the voting weight according to the importance of different target users at different stages, ensuring the reasonable distribution of decision-making power and the reliability of decision-making results. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 A flowchart of a method for storing BIM data provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0016] The embodiment of the present invention provides a method for storing BIM data, such as Figure 1 As shown, the method comprises the following steps:
[0017] S100, processing the received BIM data, generating an initial data fingerprint corresponding to the BIM data, and submitting a data review request in combination with the metadata of the received BIM data; it can be understood that: the data review request includes the initial data fingerprint and the metadata of the BIM data.
[0018] In a specific embodiment, the received BIM data is processed through the following steps:
[0019] S101, encrypting the received BIM data using an encryption algorithm to generate a data string corresponding to the BIM data.
[0020] Furthermore, the encryption algorithm may be an AES or SA encryption algorithm.
[0021] S102, using a hash algorithm to process the data string to generate an initial data fingerprint corresponding to the BIM data. The data fingerprint is also often referred to as information fingerprint, digital fingerprint or content hash, which is a technical method for ensuring the integrity and uniqueness of information. Its working principle is to process the original data with a specific algorithm to generate a fixed-length, unique value or string.
[0022] Furthermore, the hash algorithm may be a SHA-256 algorithm.
[0023] Specifically, the metadata of the BIM data includes the identity information of the data sender, the submission time and the version information corresponding to the BIM data. The identity information of the data sender is an identity keyword, which is used to characterize the job attribute of the user corresponding to the data sender, for example, the identity keyword is designer.
[0024] S200, performs authority verification on the data sender of the data review request. If the verification is successful, the data review request is sent to each target user according to the preset smart contract, so that each target user can vote on two different review result options; it can be understood as: triggering the DAO model to initiate the voting process through the preset smart contract.
[0025] Furthermore, performing permission verification on the data sending end refers to converting the received identity keywords into noun vectors and comparing them with the noun vectors corresponding to the preset identity keywords; for example, when the vector comparison is consistent, the permission verification is passed.
[0026] Specifically, the target user refers to a given user who is related to the BIM data in the current project phase of the project life cycle.
[0027] Furthermore, the two different audit result options refer to options of audit passed and audit failed.
[0028] As mentioned above, by verifying the authority of the data sender through its identity information, the source of the data upload can be identified to supervise the compliance of the data, and the entire data review process can be controlled through smart contracts to automatically execute voting results and authority management, reducing manual intervention and improving the efficiency of data review and management.
[0029] S300, when the voting information of each target user is received, the audit result of the BIM data is determined according to the voting weight set for each target user at the current project stage, and the audit result is sent to each target user; wherein the target users are assigned different voting weights at different project stages; it can be understood that: the voting information refers to the audit result option selected by the target user.
[0030] In a specific embodiment, the method sets the voting weight for the target user through the following steps:
[0031] S001, for any project stage in the project life cycle, receives the importance score of each target user in the project stage; it can be understood that: the project life cycle includes several project stages, such as the design stage, the construction stage, the operation stage and the maintenance stage. In different project stages, different target users have different importance. For example, in the design stage, the designer is the most important, and in the construction stage, the construction party is the most important.
[0032] S002, allocates the number of voting coins to the target user himself according to the ratio of the importance score of any target user to the sum of the importance scores of all target users; it can be understood that voting coins refer to governance tokens.
[0033] Specifically, the number of voting coins D allocated to the target user meets the following conditions:
[0034] D=round(η×100), where round() is a rounding function, η is the ratio of the importance score of the target user to the sum of the importance scores of all target users, and 100 represents a percentage score.
[0035] In the specific implementation, the project party A and the regulatory agency will evaluate the weight of each target user according to the project progress stage and use it as the importance score of the target user. Target users with high importance scores, that is, target users who directly submit work products in each project stage, should be allocated more governance tokens. Target users who are not directly involved in a certain project stage but are closely related to the next step of work should be allocated more governance tokens, and target users who are not strongly related to a certain project stage should be allocated fewer governance tokens.
[0036] S003, the number of voting coins allocated to each target user is used as the voting weight of each target user.
[0037] As mentioned above, by allocating the number of voting coins according to the importance score of each target user in the project stage, the reasonable allocation of decision-making power at different stages is ensured. In this process, multiple parties are involved at the same time, achieving high efficiency of multi-party collaboration. Finally, the data is verified and then stored, avoiding delays and decision-making risks in centralized management, thereby ensuring the reliability of decision results.
[0038] In a specific embodiment, the method determines the review result of the BIM data through the following steps:
[0039] S301, based on the voting information of each target user, obtain the number of votes corresponding to the two audit result options respectively; it can be understood as: according to the voting time period preset in the smart contract, at the end of the voting time, obtain the number of votes corresponding to each audit result option, where one target user corresponds to one number of votes.
[0040] S302, for any audit result option, a weighted sum is calculated based on the number of votes corresponding to the audit result option and the voting weights of several target users corresponding to the audit result option to obtain the final voting score corresponding to the audit result option; it can be understood that: the number of votes corresponding to the audit result option is the number of target users corresponding to the audit result option.
[0041] Specifically, the final voting score S1 corresponding to any audit result option meets the following conditions:
[0042] S1=∑ N j=1 W j , where N is the number of votes corresponding to any audit result option, W j is the voting weight of the jth target user corresponding to any audit result option.
[0043] S303: When the final voting scores corresponding to the two audit result options are inconsistent, the audit result option corresponding to the larger final voting score is determined as the audit result of the BIM data.
[0044] S304: When the final voting scores corresponding to two audit result options are consistent, a weighted sum calculation is performed based on the final voting scores corresponding to each audit result option, the corresponding number of target users, and the preset voting score weights and user quantity weights to obtain the target voting scores corresponding to each audit result option, and the audit result option with the larger corresponding target voting score is determined as the audit result of the BIM data.
[0045] Specifically, the target voting score S2 corresponding to any audit result option meets the following conditions:
[0046] S2=S1×W 0 1+N×W 0 2, where W 0 1 is the preset voting score weight, W 0 2 is the preset user quantity weight.
[0047] Furthermore, W 0 1>W 0 2 and W 0 1+W 0 2=1. For example, W 0 1 is 0.8, W 0 2 is 0.2. Since the target users who directly submit work products or the target users who are closely related to the next step of work in each project stage have more decision-making weight and play an indirect decision-making role, setting the voting score weight greater than the user number weight can obtain a more reasonable review result.
[0048] As mentioned above, for each audit result option, the final voting score corresponding to the audit result option is calculated by combining the number of votes and the voting weight, so that each target user can reasonably participate in decision-making according to their importance in the project, thereby ensuring the fairness of data auditing. When the final voting scores are consistent, the number of target users for each audit result option is also taken into account, so that a more reasonable and reliable final audit result can be obtained.
[0049] S400, when the audit result of the BIM data is passed, the current data fingerprint corresponding to the BIM data is obtained, and if the current data fingerprint is consistent with the initial data fingerprint, the current data fingerprint and the metadata of the BIM data are written into the preset blockchain, and the BIM data is stored in a given distributed storage system.
[0050] In a specific embodiment, after step S400, the following steps are also included:
[0051] S500, after monitoring that the BIM data is stored in the preset blockchain, a permission adjustment request is generated through a smart contract, and the permission adjustment request is sent to each target user, so that each target user votes to confirm the permission adjustment request.
[0052] S600, based on the voting confirmation result of each target user, when the voting of the permission adjustment request is passed, the permissions of the target user corresponding to the current project stage are adjusted through the smart contract. For example, the permissions of the designer are adjusted from "modify + submit" to "view + suggest".
[0053] S700, sending the permission adjustment information to each target user, and recording the permission adjustment process on the preset blockchain.
[0054] As mentioned above, the metadata and current data fingerprint of BIM data, that is, the hash value, are stored on the preset blockchain. Only the hash value of the data is saved on the chain to ensure that the data cannot be tampered with. Large amounts of BIM data are stored off-chain in a secure and verifiable manner to ensure that the data can be retrieved and verified, thereby improving the reliability of project management.
[0055] Furthermore, the method further comprises the following steps:
[0056] S10, when the project life cycle ends, obtain the voting results of each project stage.
[0057] S20, packaging the voting results of several project stages to generate a new block, and broadcasting the new block to the entire blockchain network of the preset blockchain.
[0058] As mentioned above, by broadcasting the new block to the entire blockchain network, it can ensure that the data is distributedly stored and verified, and through the provided data query interface, the complete BIM data file can be retrieved and obtained in the distributed storage system based on the hash value, which is beneficial to each target user in subsequent data retrieval and verification operations.
[0059] In summary, the storage method of BIM data described in the present invention first generates an initial data fingerprint after encrypting and hashing the received BIM data, and submits a data review request in combination with metadata. If the authority verification of the data sending end is passed, the data review request is sent to each target user so that each target user can review and vote. The voting results and authority management are automatically executed through smart contracts, which reduces manual intervention and improves data review and management efficiency. Then, the review result is determined according to the voting information of each target user and the voting weight of each target user in the current project stage. When the review is passed, if the current data fingerprint is consistent with the initial data fingerprint, the current data fingerprint and the metadata of the BIM data are written into the preset blockchain, and the BIM data is stored in a given distributed storage system. In this process, multiple parties participate in the voting at the same time, realizing the high efficiency of multi-party collaboration, and by introducing the voting weight of the target user in the corresponding project stage, that is, the present invention can adjust the voting weight according to the importance of different target users at different stages, ensuring the reasonable distribution of decision-making power and the reliability of decision-making results.
[0060] An embodiment of the present invention also provides a non-transitory computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the BIM data storage method provided in the above embodiment.
[0061] An embodiment of the present invention further provides an electronic device, comprising a processor and the aforementioned non-transitory computer-readable storage medium.
[0062] Although some specific embodiments of the present invention have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
Claims
1. A method for storing BIM data, characterized in that: The method comprises the following steps: Process the received BIM data, generate the initial data fingerprint corresponding to the BIM data, and submit a data review request in combination with the metadata of the received BIM data; Performing authority verification on the data sender of the data review request. If the verification is successful, the data review request is sent to each target user according to the preset smart contract, so that each target user can vote on two different review result options; the target user refers to a given user related to the BIM data in the current project stage of the project life cycle; When the voting information of each target user is received, the review result of the BIM data is determined according to the voting weight set for each target user at the current project stage, and the review result is sent to each target user; wherein the target users are assigned different voting weights at different project stages; When the audit result of the BIM data is passed, the current data fingerprint corresponding to the BIM data is obtained, and if the current data fingerprint is consistent with the initial data fingerprint, the current data fingerprint and the metadata of the BIM data are written into the preset blockchain, and the BIM data is stored in a given distributed storage system.
2. The method for storing BIM data according to claim 1, characterized in that: The metadata of the BIM data includes the identity information of the data sender, the submission time and the version information corresponding to the BIM data.
3. The method for storing BIM data according to claim 1, characterized in that: Set the voting weight for the target user through the following steps: For any project stage in the project life cycle, receive the importance score of each target user in the project stage; The number of voting coins is allocated to the target user based on the proportion of the importance score of any target user to the sum of the importance scores of all target users; The number of voting coins allocated to each target user is used as the voting weight of each target user.
4. The method for storing BIM data according to claim 1, characterized in that: The review results of BIM data are determined through the following steps: According to the voting information of each target user, the number of votes corresponding to the two review result options is obtained; For any audit result option, a weighted sum is calculated based on the number of votes corresponding to the audit result option and the voting weights of several target users corresponding to the audit result option to obtain the final voting score corresponding to the audit result option; When the final voting scores corresponding to the two audit result options are inconsistent, the audit result option with the larger final voting score shall be determined as the audit result of the BIM data; When the final voting scores corresponding to two audit result options are consistent, a weighted sum calculation is performed based on the final voting scores corresponding to each audit result option, the corresponding number of target users, and the preset voting score weights and user quantity weights to obtain the target voting scores corresponding to each audit result option, and the audit result option with the larger target voting score is determined as the audit result of the BIM data.
5. The method for storing BIM data according to claim 4, characterized in that: The preset voting score weight is greater than the user quantity weight, and the sum of the voting score weight and the user quantity weight is 1.
6. The method for storing BIM data according to claim 1, characterized in that: After the step of writing the current data fingerprint and the metadata of the BIM data into the preset blockchain, the following steps are also included: After monitoring that the BIM data is stored in the preset blockchain, a permission adjustment request is generated through a smart contract, and the permission adjustment request is sent to each target user, so that each target user votes to confirm the permission adjustment request; Based on the voting confirmation result of each target user, when the vote of the permission adjustment request is passed, the permissions of the target user corresponding to the current project stage are adjusted through the smart contract; The permission adjustment information is sent to each target user, and the permission adjustment process is recorded on the preset blockchain.
7. The method for storing BIM data according to claim 1, characterized in that: The following steps are also included: When the project life cycle ends, obtain the voting results of each project stage; The voting results of several project stages are packaged to generate new blocks, and the new blocks are broadcast to the entire blockchain network of the preset blockchain.
8. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the BIM data storage method as described in any one of claims 1 to 7.
9. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 8.
Citation Information
Patent Citations
Audit group member evaluation method and device
CN110189092A
Systems, methods, and storage media for configuring a data storage and retrieval system for managing data relating to tokenized assets
US20240220964A1