CN112613747A - Building information management method, device, equipment and storage medium - Google Patents

Building information management method, device, equipment and storage medium Download PDF

Info

Publication number
CN112613747A
CN112613747A CN202011554154.7A CN202011554154A CN112613747A CN 112613747 A CN112613747 A CN 112613747A CN 202011554154 A CN202011554154 A CN 202011554154A CN 112613747 A CN112613747 A CN 112613747A
Authority
CN
China
Prior art keywords
node
building
building information
block
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011554154.7A
Other languages
Chinese (zh)
Inventor
李政道
赖旭露
刘炳胜
肖冰
洪竞科
刘贵文
纪颖波
谭颖恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen University
Original Assignee
Shenzhen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen University filed Critical Shenzhen University
Priority to CN202011554154.7A priority Critical patent/CN112613747A/en
Publication of CN112613747A publication Critical patent/CN112613747A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0625Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Operations Research (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Technology Law (AREA)
  • Power Engineering (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for managing building information. The method is performed by a participating node in a federation chain, the method comprising: acquiring building information of a participant to which a participant node belongs according to a preset data encryption period; encrypting the building information according to a preset data encryption algorithm to obtain building encrypted data; sending the building encrypted data to an authorization node, and storing the building encrypted data into a first block by the authorization node; determining whether the building information meets the execution condition of the intelligent contract or not according to a preset contract execution period; and if the first block and the second block are satisfied, executing the intelligent contract, sending the execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block. The intelligent management of the building information is realized, and the information management efficiency and precision are improved.

Description

Building information management method, device, equipment and storage medium
Technical Field
The present invention relates to a block chain technology, and in particular, to a method, an apparatus, a device, and a storage medium for managing building information.
Background
The fabricated building is a building which is formed by uniformly producing building components in a factory and splicing and assembling the building components on a construction site. The method has the advantages of saving energy, reducing emission, reducing cost, improving productivity, shortening construction period and the like.
At present, a supply chain of an assembly type building is more complex than that of a traditional building, and information sharing management of the supply chain needs workers to carry out manual management and control, so that the problems of non-circulation and non-safety of information exist. The cooperative operation degree among the supply chain main bodies is low, and the production efficiency and the quality of the assembly type building are restricted. The manual management method has low management efficiency on the building information of each supply chain main body, wastes manpower and time, and cannot ensure the correctness of the building information.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for managing building information, which are used for improving the management efficiency and correctness of the building information in the building assembly process.
In a first aspect, an embodiment of the present invention provides a method for managing building information, where the method is performed by a participating node in a federation chain, and the method includes:
acquiring building information of a participant to which the participant node belongs according to a preset data encryption period;
encrypting the building information according to a preset data encryption algorithm to obtain building encrypted data;
sending the building encrypted data to an authorization node, and storing the building encrypted data into a first block by the authorization node;
determining whether the building information meets the execution condition of an intelligent contract or not according to a preset contract execution period;
and if the first block and the second block are satisfied, executing the intelligent contract, sending an execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
In a second aspect, an embodiment of the present invention further provides an apparatus for managing building information, where the apparatus is configured at a participating node in a federation chain, and the apparatus includes:
the information acquisition module is used for acquiring the building information of the participant to which the participant node belongs according to a preset data encryption period;
the information encryption module is used for encrypting the building information according to a preset data encryption algorithm to obtain building encryption data;
the data sending module is used for sending the building encrypted data to an authorization node, and the authorization node stores the building encrypted data into a first block;
the contract determining module is used for determining whether the building information meets the execution condition of the intelligent contract or not according to a preset contract execution period;
and the result sending module is used for executing the intelligent contract if the intelligent contract is met, sending an execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for managing building information according to any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform a method for managing building information according to any of the embodiments of the present invention.
The building information of the participating nodes is obtained at regular time, the building information is encrypted according to a preset encryption algorithm to obtain building encrypted data, the building encrypted data are stored in a alliance chain by an authorization node, if a plurality of participating nodes cooperate, whether executing conditions are met among the participating nodes is determined according to an intelligent contract, if the executing conditions are met, the contract executing results are stored in the alliance chain by the authorization node, and management and storage of the building information in the whole building process are achieved. The problem of among the prior art, carry out building information management by the manual work is solved, manpower and time are practiced thrift, avoid building information to be tampered at will, are favorable to tracing back building information, have guaranteed the accuracy of information through data encryption and authorized node, realize the automatic processing to the contract through intelligent contract, have improved building information's management efficiency.
Drawings
Fig. 1 is a schematic flow chart of a method for managing building information according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for managing building information according to a second embodiment of the present invention;
fig. 3 is a block diagram of a building information management apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a method for managing building information according to an embodiment of the present invention, where the embodiment is applicable to a case where prefabricated building information is managed, and the method can be executed by a device for managing building information. As shown in fig. 1, the method specifically includes the following steps:
and step 110, acquiring building information of a participant to which the participant node belongs according to a preset data encryption period.
A data encryption period is preset, and the data encryption period is the interval time between two data encryption operations. And acquiring the building information of the participating nodes once every data encryption period. The participating node is a block chain link point of a participating party in the building assembly process, and for example, the participating node may be a node in a federation chain, the federation chain is a block chain composed of different participating parties, each participating party on the chain is a node, and each node uploads its own information to the federation chain, so that the node cannot be tampered. Participating nodes may include owner nodes, design nodes, supplier nodes, shipping nodes, assembly nodes, and other nodes, among others. The building information of the participant to which the participant node belongs may be basic information and building element information of the participant, the basic information may be names and projects of the participants, and the building element information may be information of the number and state of the building elements. For example, the building information of the owner node may include information of a prefabricated building project, a target of the project, a management concept and content of the project, and the like; the building information of the design node can comprise an initial design file, a construction drawing, design change and the like; the building information of the supplier node may include prefabricated part information, supply and demand amount, unit price, and the like; the building information of the transportation node can comprise transportation vehicle information, transportation cargo information, transportation real-time location and the like; the building information of the assembly node may include assembly member information, assembly position, assembly progress, and the like; the building information of the other nodes may include maintenance information, quality inspection information, energy saving detection information, and the like. Each participant can create and confirm own participant node on the alliance chain, obtain a public key and a private key which are used as identity identifiers, and the participant node can broadcast own building information and the public key to the whole network, obtain and store the building information and the public key of other participant nodes, so that the participant node participates in a sharing management system of the assembled building information, and realizes the management of the building information. The participants may update their own building information in real time, for example, the participants may update the status of the building components from in-transit to end-of-transit. When the time reaches the preset data encryption cycle time, the participating nodes can automatically acquire the self building information, so that manual operation is reduced, and information omission is avoided.
And 120, encrypting the building information according to a preset data encryption algorithm to obtain building encryption data.
A Data Encryption Algorithm may be preset, and the Data Encryption Algorithm is used for encrypting the building information, for example, the Data Encryption Algorithm may be MD5(Message-Digest Algorithm 5) or DES (Data Encryption Standard) Algorithm, and the like. After the self building information is obtained, the building information can be encrypted by using a data encryption algorithm to obtain building encryption data, so that the building information is prevented from being leaked.
In this embodiment, optionally, the encrypting the building information according to a preset data encryption algorithm to obtain building encrypted data includes: performing first hash calculation on the building information according to a hash algorithm to obtain an initial hash value of the building information; and performing hash iteration on the initial hash value according to a preset encryption requirement to obtain the building encrypted data.
Specifically, the hash algorithm may be used to perform hash calculation on the building information to obtain a hash value of the building information, and the hash value obtained after the first hash calculation is used as the initial hash value. Because the data volume of the fabricated building information is large, in order to save space, the initial hash value can be repeatedly hashed and iterated, so that the requirement of the block on data storage is met, and the confidentiality of the data is enhanced. For example, the building information is encrypted into a 16-bit character string, and then the 16-bit character string is iterated for a plurality of times to generate an 8-bit character string as building encryption data. The hash iteration is to take the hash value obtained in the previous time as a value to be processed, and perform hash calculation on the value to be processed, namely, complete one iteration. The beneficial effects of the arrangement are that the method is beneficial to managing a large amount of building information, meets the block storage requirement, avoids the building information from being leaked or tampered by hashing for multiple times, and improves the reliability and accuracy of data.
Step 130, the building encrypted data is sent to the authorization node, and the building encrypted data is stored in the first block by the authorization node.
The authorized nodes are the participating nodes trusted by the participating nodes, and can be used for storing data of the participating nodes in the building assembly process into the block. After the building encrypted data are obtained by each participating node, the building encrypted data can be transmitted in the whole network through a set transmission protocol, before the building encrypted data are transmitted by the participating nodes, the building encrypted data can be encrypted again according to a private key of the participating nodes, other participating nodes can decrypt the building encrypted data according to a public key of the participating node which sends the data, and the identity of the participating node which sends the data is verified. The identity of the participants and the authenticity of data can be further ensured by verifying all the participating nodes, so that each participating node in the alliance chain participates in each link of block creation and information sharing, and shares the responsibility of verifying data and propagating data blocks.
In this embodiment, optionally, before sending the building encrypted data to the authorization node and storing the building encrypted data in the first block by the authorization node, the method further includes: and determining at least one authorized node from all the participating nodes according to the consensus mechanism of the block chain.
Specifically, the authorized nodes can be obtained by voting of all the participating nodes, a reliable consensus mechanism can be provided for each participating node in the alliance chain according to a consensus algorithm, and the problem of trust communication among the nodes is solved. And (4) voting to select a trusted authorization node by each participating node in the alliance chain according to the share authorization certification mechanism. The number of the authorized nodes can be multiple, for example, two authorized nodes, namely a node one and a node two, are determined, and if the node one uploads the building encrypted data of the node one, the node two can store the block of the node one data, so that the data of each participating node is stored by other participating nodes, the data is prevented from being tampered by the node as the authorized node, and the authenticity of the data is improved. The authorization node needs to be responsible for all the participating nodes, if all the participating nodes find that the authorization node does not generate a new block in time or upload false data with errors, the authorization node loses trust, and all the participating nodes can move the authorization node out of the alliance chain. The method has the advantages that the data exchange of all the participating nodes is realized by determining the authorized nodes, the conflict among the participating nodes is avoided in the data transmission process, the trust problem among the nodes is solved, and the efficiency and the precision of information management are improved.
And step 140, determining whether the building information meets the execution condition of the intelligent contract according to a preset contract execution period.
The intelligent contract is preset in the block chain and is determined by negotiation of each participant. And presetting a contract execution period, acquiring the building information in the participating node every other contract execution period, and determining whether the current building information meets the execution condition of the intelligent contract. For example, the intelligent contract signed by the transportation node and the assembly node is about, and when the transportation state is the transportation end, the assembly operation is started. And when the contract execution period is reached, the transportation node acquires the self building information and determines whether to inform the assembly node to start assembly or not according to the transportation state of the current building component.
In this embodiment, optionally, before determining whether the building information satisfies the execution condition of the intelligent contract according to a preset contract execution period, the method further includes: and sending the confirmed intelligent contracts to the authorization node, and packaging and storing the intelligent contracts into the blocks by the authorization node.
Specifically, the participating nodes confirm an intelligent contract with each other, jointly make a scheme plan and a contract of each interest-related party, and the contract defines the authority and the obligation of the participating parties and is generated after each participating node signs through a private key. The participating nodes broadcast the intelligent contracts which are respectively approved by the signatures to the whole network, and the intelligent contracts are packaged and transmitted into the blocks by the authorized nodes. When the intelligent contract is executed, the intelligent contract only needs to be acquired from the block. The intelligent contract block storage method has the advantages that each participating node makes an intelligent contract and the authorized nodes perform block storage, so that disputes caused by the intelligent contract can be avoided, contract execution efficiency is improved, and building information management efficiency is improved.
In this embodiment, optionally, determining whether the building information meets the execution condition of the intelligent contract according to a preset contract execution period includes: acquiring self-uploaded building information according to a preset contract execution period; and comparing the building information with the execution condition of the intelligent contract to determine whether the building information meets the execution condition of the intelligent contract.
Specifically, a contract execution period is preset, automatic execution of the intelligent contract can be achieved, and when the contract execution period is reached, the participating nodes acquire building information uploaded by the participating nodes and compare the building information with execution conditions of the intelligent contract. If the building information meets the intelligent contract conditions, contract operation can be carried out; and if the building information does not meet the intelligent contract condition, continuing to wait for the comparison of the execution conditions when the next contract execution period is reached. The beneficial effect who sets up like this lies in, can realize the automatic execution of intelligent contract, and need not all the time carry out the comparison of information and condition, alleviates node burden, avoids frequently leading to the data confusion among the data operation, reduces the manual operation, improves the efficiency of contract execution and the efficiency of information management.
And 150, if the first block and the second block are met, executing the intelligent contract, sending the execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
And if the building information of the participating nodes is determined to meet the intelligent contract conditions, executing the intelligent contract. In the process of executing the intelligent contract, the completion state of the task in the contract is recorded at any moment by each participating node related to the intelligent contract. After the corresponding task in the contract is completed, the participating node sends specific information of the task completion condition to the authorization node, namely, the execution result is sent to the authorization node, the authorization node packages the execution result and stores the execution result in a second block, the second block is used for storing the completion condition of the participating node on the intelligent contract, and one second block can be created every time the intelligent contract is executed. The first block and the second block can form an information chain of the building component in the whole management process, namely the building information management chain is obtained, and each participating node can manage the building information through the building information management chain, so that the information management efficiency is improved.
According to the technical scheme, building information of the participating nodes is obtained at regular time, the building information is encrypted according to a preset encryption algorithm to obtain building encrypted data, the building encrypted data are stored in a alliance chain by an authorization node, if a plurality of participating nodes cooperate, whether executing conditions are met among the participating nodes is determined according to an intelligent contract, if the executing conditions are met, a contract executing result is stored in the alliance chain by the authorization node, and management and storage of the building information in the whole building process are achieved. The problem of among the prior art, carry out building information management by the manual work is solved, manpower and time are practiced thrift, avoid building information to be tampered at will, are favorable to tracing back building information, have guaranteed the accuracy of information through data encryption and authorized node, realize the automatic processing to the contract through intelligent contract, have improved building information's management efficiency.
Example two
Fig. 2 is a flowchart illustrating a method for managing building information according to a second embodiment of the present invention, which is further optimized based on the second embodiment. As shown in fig. 2, the method specifically includes the following steps:
and step 210, acquiring building information of a participant to which the participant node belongs according to a preset data encryption period.
And step 220, encrypting the building information according to a preset data encryption algorithm to obtain building encryption data.
Step 230, the building encrypted data is sent to the authorization node, and the building encrypted data is stored in the first block by the authorization node.
And 240, determining whether the building information meets the execution condition of the intelligent contract according to a preset contract execution period.
And 250, if the first block and the second block are met, executing the intelligent contract, sending an execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
And step 260, the participating nodes sign the content to be acquired by adopting own private keys to obtain the request information.
The participating nodes can obtain their own public keys and private keys when establishing identities in the federation chain, and after determining the building information management chain, the participating nodes can inquire the building information of other participating nodes in the building information management chain. The building information of other participating nodes requested to be acquired by the participating nodes is the content to be acquired, and the participating nodes sign the content to be acquired by using the private keys of the participating nodes to obtain the encrypted content to be acquired, namely the request information.
And 270, sending the request information to the target node, decrypting the request information by the target node by using the public key of the participating node to obtain the content to be obtained, signing the target content corresponding to the content to be obtained by using the private key of the target node, and sending the signed target content to the participating node.
The participating node determines a target node, the target node is a node containing the content to be acquired, and the participating node sends the encrypted content to be acquired, namely the request information to the target node. After receiving the request message, the target node may verify the request message. Because the public key of each node is public information, the target node can decrypt the request information by using the public key of the participating node, if the decryption is successful, the identity of the participating node is determined to be correct, the target node sends target content to the participating node, the target content is specific information corresponding to the content to be acquired, for example, the content to be acquired is a transportation condition of a building component requested to be acquired, and the target content is a specific transportation condition of the building component. The target node can also adopt a private key of the target node to sign the transmitted target content, and the participating node decrypts the target content by adopting a public key of the target node after receiving the target content transmitted by the target node to obtain the specific information of the content to be acquired. The data transmission between the participating nodes and the target node can be broadcasted to the whole network, other participating nodes can know that the participating nodes send requests to the target node and can also know that the target node sends information of contents to be acquired to the participating nodes, so that the participating nodes and the target node are supervised, and the information transmission is public and transparent.
In this embodiment, optionally, after executing the intelligent contract, sending the execution result to the authorization node, and storing the execution result in the second block by the authorization node to obtain the building information management chain composed of the first block and the second block, the method further includes: the participating nodes adopt self private keys to sign the node modification requests; and sending the signed node modification request to other participating nodes except the participating node, verifying the signed node modification request by the other participating nodes through the public key of the participating node, and determining whether to modify the node according to the node modification request according to the verification result.
Specifically, the participating node may not only request other participating nodes to obtain the building information, but also modify the number of other participating nodes except itself, for example, add other participating nodes or delete other participating nodes. The participating node may send a node modification request to all other participating nodes, sign the node modification request with its own public key, and the node modification request may include a name of the node to be modified and a modification reason. After receiving the node modification request, the other participating nodes can decrypt the node modification request by using the public key of the participating node, verify the identity of the participating node, and if the verification is successful, can agree to the node modification request of the participating node. For example, if the participating node is a transit node, and the transit node is contracted with the original assembly node, the original assembly node needs to be deleted from the federation chain, and the participating node sends a deletion request to other participating nodes, and if the other participating nodes agree, the original assembly node can be deleted. The beneficial effects of the arrangement are that each participating node can manage the alliance chain, namely manage the building information management chain, so that mutual information communication is realized, the condition that information is stolen and falsified is avoided, the participating nodes are supervised with each other, the authenticity of data is realized, and the efficiency of information management is improved. The information circulation of the cooperation process of all the participants of the fabricated building can be orderly, effectively and safely carried out, the information is disclosed, the privacy is protected, the decision is made commonly, the benefits of all the participants are guaranteed, the efficiency of information sharing management of the fabricated building is improved, and unnecessary waste of time and funds in the information circulation process is reduced.
The building information of the participating nodes is obtained at regular time, the building information is encrypted according to a preset encryption algorithm to obtain building encrypted data, the building encrypted data are stored in a alliance chain by an authorization node, if a plurality of participating nodes cooperate, whether executing conditions are met among the participating nodes is determined according to an intelligent contract, if the executing conditions are met, the contract executing results are stored in the alliance chain by the authorization node, and management and storage of the building information in the whole building process are achieved. All the participants can inquire and modify the information on the chain, and the data accuracy is ensured through the verification of all the participants. The problem of among the prior art, carry out building information management by the manual work is solved, manpower and time are practiced thrift, avoid building information to be tampered at will, are favorable to tracing back building information, have guaranteed the accuracy of information through data encryption and authorized node, realize the automatic processing to the contract through intelligent contract, have improved building information's management efficiency.
EXAMPLE III
Fig. 3 is a block diagram of a building information management apparatus according to a third embodiment of the present invention, which is capable of executing a building information management method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 3, the apparatus specifically includes:
the information acquisition module 301 is configured to acquire building information of a participant to which a participant node belongs according to a preset data encryption cycle;
the information encryption module 302 is configured to encrypt the building information according to a preset data encryption algorithm to obtain building encrypted data;
the data sending module 303 is configured to send the building encrypted data to the authorization node, and the authorization node stores the building encrypted data in the first block;
a contract determining module 304, configured to determine whether the building information meets an execution condition of the intelligent contract according to a preset contract execution period;
and the result sending module 305 is configured to execute the intelligent contract if the intelligent contract is satisfied, send the execution result to the authorized node, and store the execution result in the second block by the authorized node, so as to obtain the building information management chain composed of the first block and the second block.
Optionally, the apparatus further comprises:
and the authorization node determining module is used for determining at least one authorization node from all the participating nodes according to a consensus mechanism of the block chain before the building encrypted data is sent to the authorization node and the building encrypted data is stored in the first block by the authorization node.
Optionally, the information encryption module 302 is specifically configured to:
performing first hash calculation on the building information according to a hash algorithm to obtain an initial hash value of the building information;
and performing hash iteration on the initial hash value according to a preset encryption requirement to obtain the building encrypted data.
Optionally, the apparatus further comprises:
and the contract storage module is used for sending the confirmed intelligent contract to the authorization node before determining whether the building information meets the execution condition of the intelligent contract according to the preset contract execution period, and the authorization node stores the intelligent contract into the block in a packaging manner.
Optionally, the contract determining module 304 is specifically configured to:
acquiring self-uploaded building information according to a preset contract execution period;
and comparing the building information with the execution condition of the intelligent contract to determine whether the building information meets the execution condition of the intelligent contract.
Optionally, the apparatus further comprises:
the request information determining module is used for signing the content to be acquired by the participating nodes by adopting own private keys to obtain request information;
and the request information sending module is used for sending the request information to the target node, decrypting the request information by the target node by adopting the public key of the participating node to obtain the content to be obtained, signing the target content corresponding to the content to be obtained by adopting the private key of the target node, and sending the signed target content to the participating node.
Optionally, the apparatus further comprises:
the modification request determining module is used for the participating nodes to sign the node modification request by adopting own private keys;
and the modification request sending module is used for sending the signed node modification request to other participating nodes except the participating nodes, verifying the signed node modification request by the other participating nodes through the public keys of the participating nodes, and determining whether to modify the node according to the node modification request according to the verification result.
The building information of the participating nodes is obtained at regular time, the building information is encrypted according to a preset encryption algorithm to obtain building encrypted data, the building encrypted data are stored in a alliance chain by an authorization node, if a plurality of participating nodes cooperate, whether executing conditions are met among the participating nodes is determined according to an intelligent contract, if the executing conditions are met, the contract executing results are stored in the alliance chain by the authorization node, and management and storage of the building information in the whole building process are achieved. The problem of among the prior art, carry out building information management by the manual work is solved, manpower and time are practiced thrift, avoid building information to be tampered at will, are favorable to tracing back building information, have guaranteed the accuracy of information through data encryption and authorized node, realize the automatic processing to the contract through intelligent contract, have improved building information's management efficiency.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 400 suitable for use in implementing embodiments of the present invention. The computer device 400 shown in fig. 4 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in fig. 4, computer device 400 is in the form of a general purpose computing device. The components of computer device 400 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).
Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 400 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 400 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The computer device 400 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.
The computer device 400 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), with one or more devices that enable a user to interact with the computer device 400, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 400 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Moreover, computer device 400 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 412. As shown, network adapter 412 communicates with the other modules of computer device 400 over bus 403. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 401 executes various functional applications and data processing by running a program stored in the system memory 402, for example, to implement a method for managing building information provided by an embodiment of the present invention, including:
acquiring building information of a participant to which a participant node belongs according to a preset data encryption period;
encrypting the building information according to a preset data encryption algorithm to obtain building encrypted data;
sending the building encrypted data to an authorization node, and storing the building encrypted data into a first block by the authorization node;
determining whether the building information meets the execution condition of the intelligent contract or not according to a preset contract execution period;
and if the first block and the second block are satisfied, executing the intelligent contract, sending the execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
EXAMPLE five
The fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the storage medium stores a computer program, and when the computer program is executed by a processor, the method for managing building information according to the fifth embodiment of the present invention is implemented, where the method includes:
acquiring building information of a participant to which a participant node belongs according to a preset data encryption period;
encrypting the building information according to a preset data encryption algorithm to obtain building encrypted data;
sending the building encrypted data to an authorization node, and storing the building encrypted data into a first block by the authorization node;
determining whether the building information meets the execution condition of the intelligent contract or not according to a preset contract execution period;
and if the first block and the second block are satisfied, executing the intelligent contract, sending the execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for managing building information, the method being performed by a participating node in a federation chain, the method comprising:
acquiring building information of a participant to which the participant node belongs according to a preset data encryption period;
encrypting the building information according to a preset data encryption algorithm to obtain building encrypted data;
sending the building encrypted data to an authorization node, and storing the building encrypted data into a first block by the authorization node;
determining whether the building information meets the execution condition of an intelligent contract or not according to a preset contract execution period;
and if the first block and the second block are satisfied, executing the intelligent contract, sending an execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
2. The method of claim 1, further comprising, prior to sending the building encryption data to an authorizing node, storing the building encryption data in a first block by the authorizing node:
and determining at least one authorized node from all the participating nodes according to the consensus mechanism of the block chain.
3. The method of claim 1, wherein encrypting the building information according to a preset data encryption algorithm to obtain building encryption data comprises:
performing first hash calculation on the building information according to a hash algorithm to obtain an initial hash value of the building information;
and performing hash iteration on the initial hash value according to a preset encryption requirement to obtain the building encrypted data.
4. The method of claim 1, before determining whether the building information satisfies an execution condition of an intelligent contract according to a preset contract execution period, further comprising:
and sending the confirmed intelligent contracts to an authorization node, and packaging and storing the intelligent contracts into a block by the authorization node.
5. The method of claim 1, wherein determining whether the building information satisfies an execution condition of an intelligent contract according to a preset contract execution period comprises:
acquiring self-uploaded building information according to a preset contract execution period;
and comparing the building information with the execution condition of the intelligent contract to determine whether the building information meets the execution condition of the intelligent contract.
6. The method of claim 1, wherein after executing the intelligent contract, sending an execution result to the authorized node, and saving the execution result to the second block by the authorized node to obtain a building information management chain consisting of the first block and the second block, the method further comprises:
the participating nodes adopt self private keys to sign the content to be acquired to obtain request information;
and sending the request information to a target node, decrypting the request information by the target node by adopting a public key of the participating node to obtain the content to be obtained, signing the target content corresponding to the content to be obtained by adopting a private key of the target node, and sending the signed target content to the participating node.
7. The method of claim 1, wherein after executing the intelligent contract, sending an execution result to the authorized node, and saving the execution result to the second block by the authorized node to obtain a building information management chain consisting of the first block and the second block, the method further comprises:
the participating nodes adopt self private keys to sign the node modification requests;
and sending the signed node modification request to other participating nodes except the participating node, verifying the signed node modification request by the other participating nodes through the public key of the participating node, and determining whether to modify the node according to the node modification request according to the verification result.
8. An apparatus for managing building information, the apparatus being configured to a participating node in a federation chain, the apparatus comprising:
the information acquisition module is used for acquiring the building information of the participant to which the participant node belongs according to a preset data encryption period;
the information encryption module is used for encrypting the building information according to a preset data encryption algorithm to obtain building encryption data;
the data sending module is used for sending the building encrypted data to an authorization node, and the authorization node stores the building encrypted data into a first block;
the contract determining module is used for determining whether the building information meets the execution condition of the intelligent contract or not according to a preset contract execution period;
and the result sending module is used for executing the intelligent contract if the intelligent contract is met, sending an execution result to the authorization node, and storing the execution result into the second block by the authorization node to obtain a building information management chain consisting of the first block and the second block.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of managing building information according to any one of claims 1 to 7 when executing the program.
10. A storage medium containing computer-executable instructions for performing the method of managing building information according to any one of claims 1 to 7 when executed by a computer processor.
CN202011554154.7A 2020-12-24 2020-12-24 Building information management method, device, equipment and storage medium Pending CN112613747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011554154.7A CN112613747A (en) 2020-12-24 2020-12-24 Building information management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011554154.7A CN112613747A (en) 2020-12-24 2020-12-24 Building information management method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112613747A true CN112613747A (en) 2021-04-06

Family

ID=75244863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011554154.7A Pending CN112613747A (en) 2020-12-24 2020-12-24 Building information management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112613747A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113610390A (en) * 2021-08-04 2021-11-05 深圳大学 Assembly type building quality information management system based on block chain
CN115392875A (en) * 2022-08-31 2022-11-25 广州市城市规划设计有限公司 Traditional residential protective data system and data processing method
CN116662393A (en) * 2023-06-10 2023-08-29 中建新城建设工程有限公司 Building engineering control method and system based on distributed data query

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795755A (en) * 2019-12-26 2020-02-14 深圳市建筑科学研究院股份有限公司 Building project scene type evidence storing and non-tampering method and system based on block chain
CN111027826A (en) * 2019-11-27 2020-04-17 广州大学 Block chain-based fabricated building construction quality tracing method, system and device
CN111611292A (en) * 2020-04-22 2020-09-01 淮阴工学院 Supply chain management and control method for assembly type building component
CN111626853A (en) * 2020-04-14 2020-09-04 北京交通大学 Multi-main-body information collaboration method for prefabricated supply chain of fabricated building

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111027826A (en) * 2019-11-27 2020-04-17 广州大学 Block chain-based fabricated building construction quality tracing method, system and device
CN110795755A (en) * 2019-12-26 2020-02-14 深圳市建筑科学研究院股份有限公司 Building project scene type evidence storing and non-tampering method and system based on block chain
CN111626853A (en) * 2020-04-14 2020-09-04 北京交通大学 Multi-main-body information collaboration method for prefabricated supply chain of fabricated building
CN111611292A (en) * 2020-04-22 2020-09-01 淮阴工学院 Supply chain management and control method for assembly type building component

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹洋等: "基于区块链的建筑供应链信息共享管理系统架构研究", 《建筑经济》, vol. 40, no. 5, pages 69 - 74 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113610390A (en) * 2021-08-04 2021-11-05 深圳大学 Assembly type building quality information management system based on block chain
CN113610390B (en) * 2021-08-04 2023-09-19 深圳大学 Assembled building quality information management system based on block chain
CN115392875A (en) * 2022-08-31 2022-11-25 广州市城市规划设计有限公司 Traditional residential protective data system and data processing method
CN115392875B (en) * 2022-08-31 2024-02-27 广州市城市规划设计有限公司 Traditional folk house protection data system and data processing method
CN116662393A (en) * 2023-06-10 2023-08-29 中建新城建设工程有限公司 Building engineering control method and system based on distributed data query
CN116662393B (en) * 2023-06-10 2023-12-12 中建新城建设工程有限公司 Building engineering control method and system based on distributed data query

Similar Documents

Publication Publication Date Title
CN109862041B (en) Digital identity authentication method, equipment, device, system and storage medium
CN111460453B (en) Machine learning training method, controller, device, server, terminal and medium
CN108076057B (en) Data security system and method based on block chain
CN110516474B (en) User information processing method and device in blockchain network, electronic equipment and storage medium
US11341493B2 (en) Methods and devices for providing transaction data to blockchain system for processing
CN112613747A (en) Building information management method, device, equipment and storage medium
US10911538B2 (en) Management of and persistent storage for nodes in a secure cluster
US11729175B2 (en) Blockchain folding
CN107612683B (en) Encryption and decryption method, device, system, equipment and storage medium
CA2510548A1 (en) System, apparatus, program, and method for authentication
CN110134930A (en) Electronic contract management method, device, computer equipment and storage medium
CN111798209A (en) Engineering project management method based on block chain, electronic equipment and storage medium
US11477013B2 (en) Methods and devices for cryptographic key management based on blockchain system
CN111292041A (en) Electronic contract generating method, device, equipment and storage medium
CN111651794A (en) Alliance chain-based electronic data management method and device and storage medium
US20150143107A1 (en) Data security tools for shared data
EP3793157A1 (en) Method and device for blockchain node
CN110910110B (en) Data processing method and device and computer storage medium
CN113610526A (en) Data trust method and device, electronic equipment and storage medium
CN111291420B (en) Distributed off-link data storage method based on block chain
US20190319784A1 (en) Method and system for managing centralized encryption and data format validation for secure real time multi-party data distribution
CN108846671B (en) Online secure transaction method and system based on block chain
CN110737905A (en) Data authorization method, data authorization device and computer storage medium
CN112181983B (en) Data processing method, device, equipment and medium
CN117097526A (en) Block chain-based data security sharing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination