Search

CN-121997362-A - Block chain-based building information sharing method, device, equipment and medium

CN121997362ACN 121997362 ACN121997362 ACN 121997362ACN-121997362-A

Abstract

The invention discloses a building information sharing method based on a block chain, which comprises the steps of receiving building basic information from a plurality of data sources, formatting the building basic information, adopting an asymmetric encryption algorithm to digitally sign the formatted building basic information, broadcasting signed data packets to all relevant nodes in the block chain network, enabling the nodes to verify the data packets by adopting a consensus mechanism, storing verified data packets and corresponding hash values in a new block, when a data update request is received, verifying identity authority of a requester by adopting a multi-factor authentication mode, updating data based on preset business rules after verification is completed, and pushing an update notification to a relevant business party after the update is completed.

Inventors

  • YANG WENJIE
  • LIU YANG
  • CHEN ZHANPENG
  • DU JIANGUANG
  • LI JUE
  • XU BEIZHEN
  • MA DAWEI

Assignees

  • 广州市城市规划勘测设计研究院有限公司

Dates

Publication Date
20260508
Application Date
20251202

Claims (10)

  1. 1. A blockchain-based building information sharing method, comprising: receiving building foundation information from a plurality of data sources, and formatting the building foundation information, wherein the building foundation information comprises, but is not limited to, project names, sitting positions, construction unit names, start dates and completion dates; Carrying out digital signature operation on the formatted building foundation information by adopting an asymmetric encryption algorithm; Broadcasting the signed data packet to all relevant nodes in the block chain network, so that the nodes adopt a consensus mechanism to verify the data packet, and storing the verified data packet and a corresponding hash value into a new block; When a data update request is received, carrying out identity authority verification on a requester by adopting a multi-factor authentication mode, updating data based on a preset service rule after verification is passed, and pushing an update notification to a related service party after the update is completed, wherein the multi-factor authentication comprises a combination of at least two of biological feature identification, a hardware token and a short message verification code.
  2. 2. The blockchain-based building information sharing method of claim 1, wherein the formatting the building base information includes: Analyzing the received building foundation information, and carrying out missing value processing and abnormal value correction on the building foundation information; mapping the corrected data field into a standard field by using a pre-configured mapping rule, wherein the mapping rule is used for indicating the corresponding relation between the data field to be mapped and the standard field in the data dictionary; Filling the standard fields according to a correct hierarchical relation according to a pre-designed JSON Schema definition to obtain a JSON object conforming to the Schema specification; And calling a JSON Schema verifier to compare and verify the generated JSON object with the JSON Schema definition, reserving data passing verification, and returning and recording error logs on the data failing verification.
  3. 3. The blockchain-based building information sharing method of claim 1, wherein the performing digital signature operation on the formatted building base information by adopting an asymmetric encryption algorithm comprises: inputting the formatted building foundation information into a hash function for operation, and outputting a hash value; encrypting the hash value by adopting an asymmetric encryption algorithm to generate a digital signature; and packaging the formatted building foundation information, the digital signature, the signer certificate, the encryption algorithm identifier and the time stamp to obtain a signed data packet.
  4. 4. The blockchain-based building information sharing method of claim 1, wherein broadcasting the signed data packet to all relevant nodes in the blockchain network to enable the nodes to verify the data packet by adopting a consensus mechanism, and storing the verified data packet and the corresponding hash value into a new block comprises: broadcasting the signed data packet to all relevant nodes in the block chain network, so that a master node in the current network performs validity verification on the data packet, and after verification is passed, generating a Pre-preparation message, and broadcasting the Pre-preparation message to all backup nodes; the backup node verifies the Pre-Precure message, and broadcasts the Precure message to the whole network after the verification is successful; For any node in the network, generating a preparation certificate when 2f preparation messages of other different nodes are collected, broadcasting a Commit message to the whole network, generating a Commit certificate when 2f Commit messages of other different nodes are collected, and storing signed data packets and corresponding hash values into a new block, wherein f is the maximum number of malicious nodes which can be tolerated in the network; After the storage operation is executed, an execution success message is sent to the client corresponding to the data source, and when the client receives f+1 pieces of execution success messages from different nodes, the signed data packet is confirmed to be successfully stored in the blockchain.
  5. 5. The blockchain-based corridor information sharing method of claim 1, wherein the preset business rules include, but are not limited to, field level authority control rules, forced change explanation rules, major modification secondary validation rules, fluctuation range thresholds and manual review rules; The field level authority control rule is used for checking whether a field to be updated in the data update request has update authority, and if not, rejecting the data update request; the forced change description rule is used for checking whether the data update request contains a change reason, and if not, rejecting the data update request; The major modification secondary confirmation rule is used for confirming whether the data update request belongs to an update request to be approved or not, and if so, an approval process is automatically triggered; The fluctuation range threshold and the manual review rule are used for calculating the fluctuation range of the key field variation in the data update request relative to the original data, and automatically triggering the manual review flow when the fluctuation range exceeds a preset fluctuation range threshold.
  6. 6. The blockchain-based building information sharing method of claim 1, further comprising: After the data updating is completed, the updated data and the transaction hash, the timestamp, the operator identity and the updating reason of the update are marked as a new data version, and the data version before the updating is marked as a historical version and is stored in a historical database.
  7. 7. The blockchain-based building information sharing method of claim 1, further comprising: Randomly selecting a plurality of real estate registration data records at regular intervals; And (3) for each data record, recalculating the hash value by using the same hash algorithm as that used for the data record to be uplink, comparing the calculated hash value with the hash value stored in the block chain, generating a check report according to a comparison result, and generating alarm information when the comparison result is inconsistent.
  8. 8. A blockchain-based building information sharing device, comprising: The system comprises a data preprocessing module, a data processing module and a data processing module, wherein the data preprocessing module is used for receiving building foundation information from a plurality of data sources and formatting the building foundation information, wherein the building foundation information comprises, but is not limited to, project names, sitting positions, construction unit names, start dates and completion dates; The data encryption module is used for carrying out digital signature operation on the formatted building foundation information by adopting an asymmetric encryption algorithm; The data storage module is used for broadcasting the signed data packet to all relevant nodes in the block chain network, so that the nodes adopt a consensus mechanism to verify the data packet, and the verified data packet and the corresponding hash value are stored in a new block; The system comprises a data updating module, a data updating module and a short message authentication module, wherein the data updating module is used for carrying out identity authority verification on a requester by adopting a multi-factor authentication mode when a data updating request is received, updating data based on a preset business rule after verification is passed, and pushing an updating notification to a relevant business party after updating is completed, wherein the multi-factor authentication comprises a combination of at least two of biological feature identification, a hardware token and a short message authentication code.
  9. 9. An electronic device, comprising: A memory for storing a computer program; a processor for executing the computer program; wherein the processor, when executing the computer program, implements the blockchain-based corridor information sharing method as claimed in any one of claims 1 to 7.
  10. 10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed, implements the blockchain-based building information sharing method of any of claims 1 to 7.

Description

Block chain-based building information sharing method, device, equipment and medium Technical Field The present invention relates to the field of data sharing technologies, and in particular, to a building information sharing method, device, equipment, and medium based on a blockchain. Background In the field of real estate registration, a building table is used as a core carrier for integrating house physical information, rights information and transaction information, is a basic data support for carrying out rights identification, tax accounting, financial credit and other businesses, and along with the promotion of Internet and government service, real estate registration data sources are increasingly diversified, a plurality of departments of building, planning, tax, finance and the like are covered, however, the problems of non-uniform data formats of the departments and large semantic standard difference bring serious challenges to building and sharing of the building table. At present, a real estate registration system based on a blockchain can solve the difficult problems of data tampering and trusted sharing, but has obvious shortboards in data processing, namely, firstly, multi-source data isomerism, data format confusion and semantic ambiguity of each department, easy format conflict and common knowledge divergence, difficulty in providing a unified basis for building a building table, secondly, poor data quality, influence on building table accuracy and business safety, thirdly, missing data validity verification, structural problems, easy common knowledge failure and contract abnormality, reduction of system efficiency, and along with the improvement of the requirements of business on data, the traditional mode is hard to meet the requirements of the blockchain on high-quality data, so that building of building table construction and sharing schemes with standardization, safety, credibility and cooperativity are urgently needed, and the bottleneck of the prior art is broken. Disclosure of Invention The embodiment of the invention provides a building information sharing method based on a block chain, which can obviously improve the data quality and service reliability and provides a high-quality, standardized and credible data source for the whole real estate registration system based on the block chain. In a first aspect, an embodiment of the present invention provides a method for sharing building information based on a blockchain, including: receiving building foundation information from a plurality of data sources, and formatting the building foundation information, wherein the building foundation information comprises, but is not limited to, project names, sitting positions, construction unit names, start dates and completion dates; Carrying out digital signature operation on the formatted building foundation information by adopting an asymmetric encryption algorithm; Broadcasting the signed data packet to all relevant nodes in the block chain network, so that the nodes adopt a consensus mechanism to verify the data packet, and storing the verified data packet and a corresponding hash value into a new block; When a data update request is received, carrying out identity authority verification on a requester by adopting a multi-factor authentication mode, updating data based on a preset service rule after verification is passed, and pushing an update notification to a related service party after the update is completed, wherein the multi-factor authentication comprises a combination of at least two of biological feature identification, a hardware token and a short message verification code. Further, the formatting the building foundation information includes: Analyzing the received building foundation information, and carrying out missing value processing and abnormal value correction on the building foundation information; mapping the corrected data field into a standard field by using a pre-configured mapping rule, wherein the mapping rule is used for indicating the corresponding relation between the data field to be mapped and the standard field in the data dictionary; Filling the standard fields according to a correct hierarchical relation according to a pre-designed JSON Schema definition to obtain a JSON object conforming to the Schema specification; And calling a JSON Schema verifier to compare and verify the generated JSON object with the JSON Schema definition, reserving data passing verification, and returning and recording error logs on the data failing verification. Further, the digital signature operation is performed on the floor basic information after the formatting processing by adopting an asymmetric encryption algorithm, and the digital signature operation comprises the following steps: inputting the formatted building foundation information into a hash function for operation, and outputting a hash value; encrypting the hash value by adopting an asymmetric encryption algori