CN113127322A - Block chain-based structure monitoring method, device, equipment and storage medium - Google Patents

Block chain-based structure monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN113127322A
CN113127322A CN202110490653.2A CN202110490653A CN113127322A CN 113127322 A CN113127322 A CN 113127322A CN 202110490653 A CN202110490653 A CN 202110490653A CN 113127322 A CN113127322 A CN 113127322A
Authority
CN
China
Prior art keywords
monitoring
data
acquiring
block chain
identifier
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
CN202110490653.2A
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.)
Hangzhou Automatic Table Information Technology Co ltd
Original Assignee
Hangzhou Automatic Table Information Technology Co ltd
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 Hangzhou Automatic Table Information Technology Co ltd filed Critical Hangzhou Automatic Table Information Technology Co ltd
Priority to CN202110490653.2A priority Critical patent/CN113127322A/en
Publication of CN113127322A publication Critical patent/CN113127322A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Alarm Systems (AREA)

Abstract

The invention relates to the technical field of building monitoring, in particular to a block chain-based structure monitoring method, a block chain-based structure monitoring device, a block chain-based structure monitoring equipment and a storage medium, wherein the block chain-based structure monitoring method comprises the following steps: when a site monitoring instruction is acquired, acquiring a target to be monitored and current time information; constructing a monitoring task block according to the current time information and the target to be monitored; when the structure body monitoring data corresponding to the monitoring task blocks are obtained, generating the blocks for structure body monitoring according to the structure body monitoring data, and writing the structure body monitoring blocks into the corresponding monitoring task blocks to obtain a monitoring task block chain; and storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-checked data identifier from the data checking message when the data checking message is acquired, and acquiring corresponding monitoring data from the monitoring database. The method and the system have the effect of improving the efficiency of the decision-making of the management personnel to the building construction according to the monitoring data of the construction site.

Description

Block chain-based structure monitoring method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of building monitoring, in particular to a method, a device, equipment and a storage medium for monitoring a structural body based on a block chain.
Background
At present, in the process of building construction and when the construction is completed, the construction condition of a site or a finished building structure needs to be monitored, problems can be found in time during the building construction, corresponding adjustment is made, or the building structure is processed.
The existing monitoring process comprises manual monitoring and monitoring by using a corresponding instrument, when the monitoring is performed manually, measured data are uploaded to a system after a worker measures a field, and when the monitoring is performed by the instrument, the monitoring is performed in real time by the instrument, and a monitoring result is automatically uploaded to the system. Meanwhile, management personnel at the background can check the monitoring data uploaded on site in the system, and further can make corresponding decisions on building construction or process the building structure.
In view of the above-mentioned related technologies, the inventor believes that there is a possibility that a deviation may occur between the monitoring data uploaded on the site and the actual value, which affects the efficiency of the manager in making a corresponding decision, and thus there is room for improvement.
Disclosure of Invention
In order to improve the efficiency of a manager in making a decision on building construction or making a repair plan for a building in use, the application provides a block chain-based structure monitoring method, device, equipment and storage medium.
The above object of the present invention is achieved by the following technical solutions:
a method for monitoring a structure based on a block chain comprises the following steps:
when a site monitoring instruction is acquired, acquiring a target to be monitored and current time information;
constructing a monitoring task block according to the current time information and the target to be monitored;
when the structure body monitoring data corresponding to the monitoring task blocks are obtained, generating the blocks for structure body monitoring according to the structure body monitoring data, and writing the structure body monitoring blocks into the corresponding monitoring task blocks to obtain monitoring task block chains;
and storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-checked data identifier from the data checking message when the data checking message is acquired, and acquiring corresponding monitoring data from the monitoring database.
By adopting the technical scheme, when monitoring is carried out on a construction site or before repairing a building in use, after a site monitoring instruction is reached, a corresponding monitoring task block is formed, when structural body monitoring data corresponding to the site monitoring instruction is obtained, the structural body monitoring data is immediately constructed into a corresponding monitoring block, and the monitoring block is written into the monitoring task block, so that a monitoring task block chain is obtained, and further, the block chain technology can be utilized, when the monitoring data is obtained, the monitoring data can be immediately written into the block chain, so that the authenticity of the monitoring data can be ensured, the condition that deviation is generated between the uploaded monitoring data and actual data is reduced, and therefore, when relevant workers need to make corresponding decisions on the monitoring data, the real monitoring data can be seen, thereby helping to improve the efficiency of making decisions.
The present application may be further configured in a preferred example to: when the site monitoring instruction is obtained, before the target to be monitored and the current time information are obtained, the method for monitoring the structural body based on the block chain comprises the following steps:
acquiring data uploading terminal identification, wherein the uploading terminal identification comprises a personnel identification and a monitoring equipment identification;
and calculating a corresponding uploading key for each terminal identification capable of being uploaded by adopting a preset encryption algorithm.
By adopting the technical scheme, the corresponding uploading key is set for each terminal identification capable of being uploaded, so that each person or equipment capable of monitoring can write the obtained monitoring data into the corresponding block chain immediately when acquiring the monitoring data, the data can be prevented from being tampered from the source of data acquisition, and the authenticity of the data during transmission is ensured.
The present application may be further configured in a preferred example to: the acquiring of the structural body monitoring data corresponding to the monitoring task block specifically includes:
when a structure displacement monitoring message is acquired, acquiring at least three positioning target position information from the structure displacement monitoring message;
measuring and calculating measurement distance data corresponding to each positioning target position information;
and calculating the position information of the measuring point according to the measuring distance data, and acquiring a structure displacement result according to the position information of the measuring point.
By adopting the technical scheme, whether the structure body to be monitored displaces or not can be monitored by acquiring the position information of the positioning targets and measuring the distance data from each positioning target.
The present application may be further configured in a preferred example to: when the data viewing message is obtained, obtaining the identifier of the data to be viewed from the data viewing message, and obtaining the corresponding monitoring data from the monitoring database, specifically including:
acquiring a viewing personnel identifier from the data viewing message, and acquiring a corresponding decryption private key according to the viewing personnel identifier;
acquiring a monitoring data original text from the monitoring database according to the data identifier to be checked, and acquiring data security levels and data paragraphs corresponding to the data security levels in the monitoring data original text;
authenticating the checking personnel identification, comparing the authentication result with the data security level, desensitizing the corresponding data section according to the comparison result, and obtaining a data original text to be encrypted;
and after the encrypted data original text to be encrypted is encrypted by using the encryption public key corresponding to the decryption private key, the encrypted data original text to be encrypted is sent to the corresponding client according to the identifier of the viewer.
By adopting the technical scheme, because the monitoring data of the construction site has certain confidentiality, when a person needs to check the corresponding monitoring data, the corresponding original text of the data to be encrypted is matched according to the data identifier to be checked of the data requested to be checked by the person, and the encrypted data is transmitted to the client of the person after being encrypted by the encryption public key, so that the safety of the data in the transmission process can be improved; meanwhile, according to the authority of the personnel, corresponding desensitization treatment is carried out on the data, so that the corresponding personnel can check the data with the corresponding authority, and the safety of the data is further improved.
The present application may be further configured in a preferred example to: the acquiring a monitoring data original text from the monitoring database according to the data identifier to be checked, and acquiring data security levels and data paragraphs corresponding to the data security levels from the monitoring data original text specifically include:
identifying data content in the monitoring data original text, and acquiring a monitoring data type according to an identification result;
and setting the corresponding data security level according to the monitoring data types, and acquiring each monitoring data type to acquire the corresponding data paragraph.
By adopting the technical scheme, the data type and the data content of the monitoring data original text can be obtained by identifying the memorability characters of the monitoring data original text, and then the data security grade of each monitoring data original text can be divided according to the monitoring data type.
The second objective of the present invention is achieved by the following technical solutions:
a blockchain based structure monitoring apparatus, comprising:
the instruction acquisition module is used for acquiring a target to be monitored and current time information when a site monitoring instruction is acquired;
the task block construction module is used for constructing a monitoring task block according to the current time information and the target to be monitored;
the block chain generating module is used for generating a block for monitoring the structure body according to the structure body monitoring data when the structure body monitoring data corresponding to the monitoring task block is obtained, and writing the structure body monitoring block into the corresponding monitoring task block to obtain a monitoring task block chain;
and the data storage/viewing module is used for storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-viewed data identifier from the data viewing message when the data viewing message is acquired, and acquiring corresponding monitoring data from the monitoring database.
By adopting the technical scheme, when monitoring is carried out on a construction site or before repairing a building in use, after a site monitoring instruction is reached, a corresponding monitoring task block is formed, when structural body monitoring data corresponding to the site monitoring instruction is obtained, the structural body monitoring data is immediately constructed into a corresponding monitoring block, and the monitoring block is written into the monitoring task block, so that a monitoring task block chain is obtained, and further, the block chain technology can be utilized, when the monitoring data is obtained, the monitoring data can be immediately written into the block chain, so that the authenticity of the monitoring data can be ensured, the condition that deviation is generated between the uploaded monitoring data and actual data is reduced, and therefore, when relevant workers need to make corresponding decisions on the monitoring data, the real monitoring data can be seen, thereby helping to improve the efficiency of making decisions.
The third purpose of the present application is achieved by the following technical solutions:
a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above-mentioned blockchain-based structure monitoring method when executing the computer program.
The fourth purpose of the present application is achieved by the following technical solutions:
a computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned blockchain-based structure monitoring method.
In summary, the present application includes at least one of the following beneficial technical effects:
1. by utilizing the block chain technology, when the monitoring data are acquired, the monitoring data can be immediately written into the block chain, so that the authenticity of the monitoring data can be ensured, the situation that deviation occurs between the uploaded monitoring data and actual data is reduced, and therefore when relevant workers need to make corresponding decisions on the monitoring data, the real monitoring data can be seen, and the decision making efficiency is improved;
2. according to the data identification to be checked of the data requested to be checked by the personnel, the corresponding data original text to be encrypted is matched, and the encrypted data original text is encrypted by the encryption public key and then transmitted to the client of the personnel, so that the safety of the data in the transmission process can be improved; meanwhile, according to the authority of the personnel, corresponding desensitization treatment is carried out on the data, so that the corresponding personnel can check the data with the corresponding authority, and the safety of the data is further improved;
3. through carrying out character recognition on the monitoring data original text, the data type and the data content of the monitoring data original text can be obtained, and then data safety grade division can be carried out on each monitoring data original text according to the monitoring data type.
Drawings
FIG. 1 is a flow chart of a method for monitoring a structure based on a blockchain according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another implementation of a method for monitoring a structure based on a blockchain according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating an implementation of step S30 in the method for monitoring a structure based on a blockchain according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating an implementation of step S40 in the method for monitoring a structure based on a blockchain according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating an implementation of step S42 in the method for monitoring a structure based on a blockchain according to an embodiment of the present application;
FIG. 6 is a schematic block diagram of a blockchain-based structure monitoring apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an apparatus in an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the attached drawings.
In an embodiment, as shown in fig. 1, the present application discloses a method for monitoring a structure based on a block chain, which specifically includes the following steps:
s10: and when a site monitoring instruction is acquired, acquiring a target to be monitored and current time information.
In the present embodiment, the site monitoring command is a task command for monitoring a structure on a construction site. The object to be monitored refers to the type of structure that needs to be monitored. The current time information refers to the current time when the site monitoring instruction is triggered.
Particularly, in the field construction, such as bridge, tunnel, dam or house construction, the manager needs to make corresponding adjustment decisions for the situation of the construction field, such as replacing or repairing the monitoring equipment and performing rework process. When a corresponding adjustment decision is made, if the real situation or real monitoring data of the construction site cannot be obtained, the efficiency and accuracy of the adjustment decision can be affected. In the actual monitoring process, in order to avoid factors such as corresponding responsibility and the like, someone can tamper the actually monitored data, so that a manager making an adjustment decision cannot make a timely and accurate adjustment decision, and therefore the manager making the decision can acquire real monitoring data in a mode of preventing the actually monitored data from being tampered, and efficiency and accuracy of making corresponding adjustment according to a monitoring result are improved; meanwhile, when the method is applied to buildings which are subjected to construction, particularly buildings such as bridges, tunnels and dams, the service life of the buildings can reach 50 years to 100 years, even longer, however, various problems can gradually occur to the buildings along with the lapse of service time, in order to guarantee or increase the service life of the buildings, the buildings need to be monitored in real time or periodically, and by acquiring real monitoring data, relevant workers can accurately analyze the buildings in use and appoint a targeted processing scheme, so that the service life of the buildings in use is prolonged.
Therefore, when the site monitoring instruction is acquired, the target to be monitored and the time when the site monitoring instruction is acquired are acquired from the site monitoring instruction. The site monitoring instruction can be triggered according to a preset monitoring task by related management personnel, and the received site monitoring instruction can be personnel going to the site to carry out actual monitoring and can also be monitoring equipment arranged on a construction site.
S20: and constructing a monitoring task block according to the current time information and the target to be monitored.
In this embodiment, the monitor task block refers to a block for storing monitor data of a single monitor task in the blockchain network.
Specifically, a federation chain of the construction project is constructed in an intelligent contract mode according to the content of the construction project, and in the federation chain, a corresponding block chain is constructed for each object to be monitored according to a related monitoring standard.
Further, when a target to be monitored of the site monitoring instruction is obtained, a corresponding block chain is obtained according to the target to be monitored, the target to be monitored and the current time information are used in the block chain, a hash algorithm is adopted to calculate the block to be monitored, and the task block to be monitored is written into the block chain.
S30: and when the structure body monitoring data corresponding to the monitoring task blocks are acquired, generating the blocks for structure body monitoring according to the structure body monitoring data, and writing the structure body monitoring blocks into the corresponding monitoring task blocks to obtain a monitoring task block chain.
In the present embodiment, the structure body monitoring data is data obtained when monitoring the attribute of the structure body in the building construction. The monitoring task block chain refers to a block obtained by calculating the monitoring data of the structure.
Specifically, after monitoring the target to be monitored through monitoring equipment or monitoring personnel, the structure monitoring data is obtained, the structure monitoring data and the time when the structure monitoring data is obtained are used for generating a block for structure monitoring, and the block is written into a monitoring task block, so that a monitoring task block chain for the target to be monitored is formed.
S40: and storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-checked data identifier from the data checking message when the data checking message is acquired, and acquiring corresponding monitoring data from the monitoring database.
In this embodiment, the monitoring database refers to a database established when monitoring is performed on the construction project, and is used for storing monitoring data corresponding to the building construction project. The data identification to be viewed refers to characters or character strings used for distinguishing each monitored data file.
Specifically, when a person triggers a data viewing message, a to-be-viewed data identifier requested to be viewed by the person is acquired from the data viewing message. It can be understood that when the monitoring data is stored in the monitoring database, each piece of monitoring data is marked by using a unique character or character string, where the mark may include a structural body of the corresponding monitoring data and a time when the monitoring data is acquired. When the staff inputs the data identification to be checked, the type of the corresponding structural body and the corresponding time or the corresponding time period can be input as the data identification to be checked, so that the corresponding monitoring data can be matched and inquired from the monitoring database, and whether the corresponding structural body is monitored in the specified time can be checked by inputting the data identification to be checked.
In this embodiment, when monitoring is performed on a construction site or before repairing a building in use, after a site monitoring instruction is reached, a corresponding monitoring task block is obtained, and when structure monitoring data corresponding to the site monitoring instruction is obtained, the structure monitoring data is immediately constructed into a corresponding monitoring block, and the monitoring block is written into the monitoring task block, so as to obtain a monitoring task block chain, and further, a block chain technology can be used, when monitoring data is obtained, monitoring data can be immediately written into the block chain, so that authenticity of the monitoring data can be ensured, and thus, a situation that deviation occurs between uploaded monitoring data and actual data is reduced, and therefore, when relevant workers need to make a corresponding decision for the monitoring data, real monitoring data can be seen, and decision making efficiency is improved, meanwhile, when the technical scheme of the application is applied to monitoring the building in use, the method and the system can also help the staff to accurately analyze the relevant monitoring data of the building in use by acquiring the real monitoring data, so that the pertinence of the staff to the processing scheme appointed by the building according to the analysis result is improved, and the service life of the building is prolonged.
In an embodiment, as shown in fig. 2, before step S10, the method for monitoring a structure based on a blockchain includes:
s101: and acquiring data uploading terminal identification, wherein the uploading terminal identification comprises personnel identification and monitoring equipment identification.
In this embodiment, the uploadable terminal identifier refers to an identifier of a terminal used for uploading monitoring data. The person identification refers to identification for distinguishing each person who can upload the monitoring data. The monitoring equipment identification refers to the identification of equipment which is installed on a construction site and used for monitoring the construction site.
Specifically, after devices for monitoring, such as a vibrating wire sensor, an optical fiber sensor, an electromagnetic sensor, an MEMS sensor, and the like, are installed on a construction site, a unique monitoring device identifier is set for each device.
Further, the person identification is set according to the monitoring person registered in advance.
S102: and calculating a corresponding uploading key for each terminal identifier capable of being uploaded by adopting a preset encryption algorithm.
Specifically, an intelligent contract mode is adopted, and each terminal identifier capable of being uploaded is calculated by using a corresponding encryption algorithm, so that an uploading key uniquely corresponding to each terminal identifier capable of being uploaded is obtained. When the monitoring data is uploaded manually or by the monitoring device, that is, when the block to be monitored by the structure is generated in step S30, the monitoring data is encrypted by using the corresponding upload key.
In an embodiment, as shown in fig. 3, in step S30, the acquiring the structural body monitoring data corresponding to the monitoring task block specifically includes:
s31: and when the structure displacement monitoring message is acquired, acquiring at least three positioning target position information from the structure displacement monitoring message.
In this embodiment, the structure displacement monitoring message refers to a monitoring type in the site monitoring command, and is used for monitoring whether the structure displaces from the earth surface. The target location information refers to the location of a device, in particular a satellite in this embodiment, for locating the position of the structure.
Specifically, when the structure of the building needs to be monitored whether displacement occurs, a ranging signal and a navigation message are transmitted through a satellite, and the navigation message contains target position information of the satellite.
S32: and measuring distance data corresponding to the position information of each positioning target.
In the present embodiment, the measured distance data refers to a distance between a device installed at a monitoring point in a construction site and each positioning satellite.
Specifically, the distance between each monitoring point and the satellite is obtained through the received signals of the satellite, so that the measured distance data is obtained.
S33: and calculating the position information of the measuring point according to the measuring distance data, and acquiring the displacement result of the structure according to the position information of the measuring point.
Specifically, according to the measured distance data, the position information of the measuring point of each monitoring point is calculated through a distance intersection method, and the current position information of the measuring point is compared with the historical position information of the measuring point, so that the structure displacement structure of whether the structure generates displacement or not is obtained. Therefore, only if the position information of the measuring point of the history and the position information of the measuring point of the current time are real enough, the corresponding structure displacement result can be correctly compared.
In an embodiment, as shown in fig. 4, in step S40, that is, when the data viewing message is acquired, acquiring the identifier of the data to be viewed from the data viewing message, and acquiring corresponding monitoring data from the monitoring database specifically include:
s41: and acquiring the identifier of the viewer from the data viewing message, and acquiring a corresponding decryption private key according to the identifier of the viewer.
In this embodiment, the viewing person identifier refers to an identifier of a person who triggers the data viewing message. The decryption key is a key uniquely corresponding to each person and used for decrypting the encrypted file related to the construction project.
Specifically, the identifier of the viewer is obtained from the terminal that triggers the data viewing message, and the decryption key is obtained by using a corresponding encryption algorithm according to the identifier of the viewer. The encryption algorithm can be adjusted according to actual conditions, and the adjustment timing can be adjusted correspondingly according to different types of data to be viewed and the change of the authority of the person, so that the person can view corresponding data according to actual conditions.
S42: and acquiring a monitoring data original text from the monitoring database according to the data identifier to be checked, and acquiring data security levels and data paragraphs corresponding to the data security levels in the monitoring data original text.
In this embodiment, the original monitoring data text refers to the original monitoring data stored in the monitoring database. The data security level refers to hierarchical data for restricting the view of persons with different rights. The data section refers to the content of the monitoring data corresponding to different data security levels in the monitoring data original text.
Specifically, according to the data identifier to be checked, a corresponding monitoring data original text is matched from the monitoring database. Further, according to the result of performing security level classification on the monitored data when the monitoring data original text is obtained, the corresponding data security level and the data paragraph corresponding to each data security level are obtained.
S43: and authenticating the identifier of the checking person, comparing the authentication result with the data security level, desensitizing the corresponding data paragraph according to the comparison result, and obtaining the original text of the data to be encrypted.
Specifically, the identifier of the person to be checked is authenticated to determine the authority level of the person to check the data, and the authority level is compared with the data security level according to the authority level, for example, the authority level of the person is five, and the highest data security level in the original text of the monitoring data is six, so that the person cannot check the data paragraph corresponding to the data security level of six.
Furthermore, a data paragraph which the person does not have the right to view can be desensitized by adopting modes of coding, blacking or cutting and the like, so that a data original text with a high price can be obtained.
S44: and after the data original text to be encrypted is encrypted by using the encryption public key corresponding to the decryption private key, sending the encrypted data original text to be encrypted to the corresponding client according to the identifier of the viewer.
Specifically, after the encrypted data original text is encrypted by the encryption public key matched with the decryption private key of the person, the encrypted data original text is transmitted and sent to the client corresponding to the identifier of the viewing person, so that the person can view the data matched with the authority of the person.
In an embodiment, as shown in fig. 5, in step S42, that is, acquiring a monitoring data text from the monitoring database according to the to-be-viewed data identifier, and acquiring the data security levels and data paragraphs corresponding to each data security level in the monitoring data text, specifically include:
s421: and identifying the data content in the monitoring data original text, and acquiring the type of the monitoring data according to the identification result.
In the present embodiment, the monitoring data type refers to the type of each monitored data.
Specifically, an OCR character recognition technology may be adopted to recognize the data content of the monitoring data original, so as to obtain the monitoring data types included in the monitoring data original and the data content corresponding to each data type.
S422: and setting a corresponding data security level according to the monitoring data types, and acquiring each monitoring data type to acquire a corresponding data paragraph.
Specifically, a rule of the data security level of each data type may be preset, and the monitored data type obtained by identification may be matched with the rule, so as to set a corresponding data security level, and each monitored data type may be associated with the corresponding data segment, so that when desensitization is required on the monitored data type, the corresponding data segment may be matched according to the data monitoring type required to be armored and extinguished, and corresponding desensitization processing may be performed.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In an embodiment, a structure monitoring device based on a block chain is provided, and the structure monitoring device based on the block chain corresponds to the structure monitoring method based on the block chain in the above embodiment one to one. As shown in fig. 6, the blockchain-based structure monitoring apparatus includes an instruction obtaining module, a task block constructing module, a blockchain generating module, and a data storing/viewing module. The functional modules are explained in detail as follows:
the instruction acquisition module is used for acquiring a target to be monitored and current time information when a site monitoring instruction is acquired;
the task block construction module is used for constructing a monitoring task block according to the current time information and the target to be monitored;
the block chain generating module is used for generating a block for monitoring the structure body according to the structure body monitoring data when the structure body monitoring data corresponding to the monitoring task block is obtained, and writing the structure body monitoring block into the corresponding monitoring task block to obtain a monitoring task block chain;
and the data storage/viewing module is used for storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-viewed data identifier from the data viewing message when the data viewing message is acquired, and acquiring corresponding monitoring data from the monitoring database.
Optionally, the block chain-based structure monitoring apparatus further includes:
the terminal identification acquisition module is used for acquiring data uploading terminal identifications, wherein the uploading terminal identifications comprise personnel identifications and monitoring equipment identifications;
and the key generation module is used for calculating a corresponding uploading key for each terminal identifier capable of being uploaded by adopting a preset encryption algorithm.
Optionally, the block chain generating module includes:
the positioning target position obtaining submodule is used for obtaining at least three pieces of positioning target position information from the structural body displacement monitoring information when the structural body displacement monitoring information is obtained;
the distance measuring submodule is used for measuring and calculating measuring distance data corresponding to the position information of each positioning target;
and the result output submodule is used for calculating the position information of the measuring point according to the measuring distance data and acquiring the displacement result of the structure according to the position information of the measuring point.
Optionally, the data storage/viewing module includes:
the identification obtaining submodule is used for obtaining an identifier of a viewing person from the data viewing message and obtaining a corresponding decryption private key according to the identifier of the viewing person;
the data grade acquisition submodule is used for acquiring a monitoring data original text from the monitoring database according to the data identifier to be checked and acquiring data security grades and data paragraphs corresponding to the data security grades from the monitoring data original text;
the authentication submodule is used for authenticating the identifier of the checking person, comparing the authentication result with the data security level and desensitizing the corresponding data paragraph according to the comparison result to obtain a data original text to be encrypted;
and the encryption transmission submodule is used for encrypting the data original text to be encrypted by using the encryption public key corresponding to the decryption private key and then sending the encrypted data original text to be encrypted to the corresponding client according to the identifier of the viewer.
Optionally, the data level obtaining sub-module includes:
the content identification unit is used for identifying the data content in the monitoring data original text and acquiring the type of the monitoring data according to the identification result;
and the grade division unit is used for setting a corresponding data security grade according to the monitoring data types and acquiring each monitoring data type to acquire a corresponding data paragraph.
For specific definition of the structure monitoring device based on the block chain, reference may be made to the above definition of the structure monitoring method based on the block chain, and details are not described here. All or part of each module in the block chain-based structure monitoring device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing monitoring data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a blockchain-based structure monitoring method.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
when a site monitoring instruction is acquired, acquiring a target to be monitored and current time information;
constructing a monitoring task block according to the current time information and the target to be monitored;
when the structure body monitoring data corresponding to the monitoring task blocks are obtained, generating the blocks for structure body monitoring according to the structure body monitoring data, and writing the structure body monitoring blocks into the corresponding monitoring task blocks to obtain a monitoring task block chain;
and storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-checked data identifier from the data checking message when the data checking message is acquired, and acquiring corresponding monitoring data from the monitoring database.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
when a site monitoring instruction is acquired, acquiring a target to be monitored and current time information;
constructing a monitoring task block according to the current time information and the target to be monitored;
when the structure body monitoring data corresponding to the monitoring task blocks are obtained, generating the blocks for structure body monitoring according to the structure body monitoring data, and writing the structure body monitoring blocks into the corresponding monitoring task blocks to obtain a monitoring task block chain;
and storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-checked data identifier from the data checking message when the data checking message is acquired, and acquiring corresponding monitoring data from the monitoring database.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for monitoring a structure based on a block chain is characterized by comprising the following steps:
when a site monitoring instruction is acquired, acquiring a target to be monitored and current time information;
constructing a monitoring task block according to the current time information and the target to be monitored;
when the structure body monitoring data corresponding to the monitoring task blocks are obtained, generating the blocks for structure body monitoring according to the structure body monitoring data, and writing the structure body monitoring blocks into the corresponding monitoring task blocks to obtain monitoring task block chains;
and storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-checked data identifier from the data checking message when the data checking message is acquired, and acquiring corresponding monitoring data from the monitoring database.
2. The method for monitoring the structure based on the block chain according to claim 1, wherein before the target to be monitored and the current time information are acquired when the site monitoring instruction is acquired, the method for monitoring the structure based on the block chain comprises the following steps:
acquiring data uploading terminal identification, wherein the uploading terminal identification comprises a personnel identification and a monitoring equipment identification;
and calculating a corresponding uploading key for each terminal identification capable of being uploaded by adopting a preset encryption algorithm.
3. The method according to claim 1, wherein the acquiring of the structure monitoring data corresponding to the monitoring task block specifically includes:
when a structure displacement monitoring message is acquired, acquiring at least three positioning target position information from the structure displacement monitoring message;
measuring and calculating measurement distance data corresponding to each positioning target position information;
and calculating the position information of the measuring point according to the measuring distance data, and acquiring a structure displacement result according to the position information of the measuring point.
4. The method for monitoring a structural body based on a block chain according to claim 1, wherein when a data viewing message is obtained, obtaining a to-be-viewed data identifier from the data viewing message, and obtaining corresponding monitoring data from the monitoring database specifically includes:
acquiring a viewing personnel identifier from the data viewing message, and acquiring a corresponding decryption private key according to the viewing personnel identifier;
acquiring a monitoring data original text from the monitoring database according to the data identifier to be checked, and acquiring data security levels and data paragraphs corresponding to the data security levels in the monitoring data original text;
authenticating the checking personnel identification, comparing the authentication result with the data security level, desensitizing the corresponding data section according to the comparison result, and obtaining a data original text to be encrypted;
and after the encrypted data original text to be encrypted is encrypted by using the encryption public key corresponding to the decryption private key, the encrypted data original text to be encrypted is sent to the corresponding client according to the identifier of the viewer.
5. The method for monitoring a structure based on a block chain according to claim 4, wherein the acquiring a monitoring data text from the monitoring database according to the data identifier to be checked, and acquiring data security levels and data paragraphs corresponding to each data security level in the monitoring data text specifically includes:
identifying data content in the monitoring data original text, and acquiring a monitoring data type according to an identification result;
and setting the corresponding data security level according to the monitoring data types, and acquiring each monitoring data type to acquire the corresponding data paragraph.
6. A blockchain-based structure monitoring apparatus, comprising:
the instruction acquisition module is used for acquiring a target to be monitored and current time information when a site monitoring instruction is acquired;
the task block construction module is used for constructing a monitoring task block according to the current time information and the target to be monitored;
the block chain generating module is used for generating a block for monitoring the structure body according to the structure body monitoring data when the structure body monitoring data corresponding to the monitoring task block is obtained, and writing the structure body monitoring block into the corresponding monitoring task block to obtain a monitoring task block chain;
and the data storage/viewing module is used for storing the monitoring task block chain into a preset monitoring database, acquiring a to-be-viewed data identifier from the data viewing message when the data viewing message is acquired, and acquiring corresponding monitoring data from the monitoring database.
7. The blockchain-based structure monitoring device according to claim 6, further comprising:
the terminal identification acquisition module is used for acquiring data uploading terminal identifications, wherein the uploading terminal identifications comprise personnel identifications and monitoring equipment identifications;
and the key generation module is used for calculating a corresponding uploading key for each terminal identifier capable of being uploaded by adopting a preset encryption algorithm.
8. The blockchain-based structure monitoring device according to claim 6, wherein the data storage/viewing module includes:
the identification obtaining submodule is used for obtaining an identifier of a viewer from the data viewing message and obtaining a corresponding decryption private key according to the identifier of the viewer;
the data grade acquisition submodule is used for acquiring a monitoring data original text from the monitoring database according to the data identifier to be checked and acquiring data security grades and data paragraphs corresponding to the data security grades from the monitoring data original text;
the authentication submodule is used for authenticating the identifier of the checking person, comparing the authentication result with the data security level and desensitizing the corresponding data section according to the comparison result to obtain a data original text to be encrypted;
and the encryption transmission submodule is used for encrypting the to-be-encrypted data original text by using the encryption public key corresponding to the decryption private key and then sending the encrypted to-be-encrypted data original text to a corresponding client according to the identifier of the viewer.
9. A computer arrangement comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the blockchain based structure monitoring method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the blockchain-based structure monitoring method according to any one of claims 1 to 5.
CN202110490653.2A 2021-05-06 2021-05-06 Block chain-based structure monitoring method, device, equipment and storage medium Pending CN113127322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110490653.2A CN113127322A (en) 2021-05-06 2021-05-06 Block chain-based structure monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110490653.2A CN113127322A (en) 2021-05-06 2021-05-06 Block chain-based structure monitoring method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113127322A true CN113127322A (en) 2021-07-16

Family

ID=76781154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110490653.2A Pending CN113127322A (en) 2021-05-06 2021-05-06 Block chain-based structure monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113127322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115147015A (en) * 2022-09-01 2022-10-04 深圳市房帮帮互联网科技有限公司 Method and system for generating house historical record based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143874A (en) * 2019-12-16 2020-05-12 广州粤建三和软件股份有限公司 Hoisting equipment monitoring method and system based on block chain and storage medium
CN112000043A (en) * 2020-08-28 2020-11-27 广州粤建三和软件股份有限公司 High formwork real-time monitoring method, device, equipment and medium based on block chain
CN112152815A (en) * 2020-09-22 2020-12-29 广州粤建三和软件股份有限公司 Block chain-based deep foundation pit monitoring method, system, equipment and storage medium
CN112163040A (en) * 2020-09-22 2021-01-01 广州珠江建设发展有限公司 Block chain-based complex structure construction monitoring method, system, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143874A (en) * 2019-12-16 2020-05-12 广州粤建三和软件股份有限公司 Hoisting equipment monitoring method and system based on block chain and storage medium
CN112000043A (en) * 2020-08-28 2020-11-27 广州粤建三和软件股份有限公司 High formwork real-time monitoring method, device, equipment and medium based on block chain
CN112152815A (en) * 2020-09-22 2020-12-29 广州粤建三和软件股份有限公司 Block chain-based deep foundation pit monitoring method, system, equipment and storage medium
CN112163040A (en) * 2020-09-22 2021-01-01 广州珠江建设发展有限公司 Block chain-based complex structure construction monitoring method, system, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115147015A (en) * 2022-09-01 2022-10-04 深圳市房帮帮互联网科技有限公司 Method and system for generating house historical record based on block chain

Similar Documents

Publication Publication Date Title
CN115309940B (en) Intelligent construction data analysis method and system based on building site law enforcement recorder
CN107561968B (en) Method for updating process objects in an engineering system
CN108363929B (en) System and method for generating information elimination report of storage device and preventing tampering
CN111630812A (en) Remote service system
CN113642039B (en) Configuration method and device of document template, computer equipment and storage medium
CN111460404A (en) Double-recording data processing method and device, computer equipment and storage medium
CN111597424A (en) Crawler identification method and device, computer equipment and storage medium
CN112152815A (en) Block chain-based deep foundation pit monitoring method, system, equipment and storage medium
CN113127322A (en) Block chain-based structure monitoring method, device, equipment and storage medium
JP2013239036A (en) Control system, control device and program execution method
JP2020095444A (en) Construction data management system and manufacturing method thereof
CN112217868A (en) Water environment automatic monitoring and analysis evaluation method based on block chain
CN106446761A (en) Image reconstruction
CN110675150A (en) Federation chain-based compliance management and supervision method and device
JP2020095445A (en) Construction management server, management system for construction data, program for construction management server
Alenazi et al. A novel approach to tracing safety requirements and state-based design models
CN109086621B (en) Electric energy meter verification report data tamper-proof method and system and storage medium
CN112613747A (en) Building information management method, device, equipment and storage medium
CN115885228A (en) System and method for digital authentication of usage data of an automation installation
CN113672654A (en) Data query method and device, computer equipment and storage medium
CN113159248A (en) Pile foundation construction management method and system based on two-dimensional code
JP2012178074A (en) Plant operation/maintenance terminal and record management method for plant operation/maintenance
CN111899000A (en) Engineering data management method, device, computer equipment and storage medium
CN115001700B (en) Ecological environment supervision method and system based on blockchain
KR102304237B1 (en) compliance management system through automatic diagnosis of infrastructure asset threat and method therefor

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210716