A geotechnical engineering information monitoring method and system

Through the distributed storage system and blockchain principle, combined with the monitoring type of geotechnical engineering monitoring, appropriate network nodes are selected to store data, which solves the problem of mismatch between monitoring types and nodes, and improves the efficiency and security of geotechnical engineering information monitoring sex.

CN118449976BActive Publication Date: 2024-11-05GUIZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410894377.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-11-05
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The existing geotechnical engineering monitoring methods lack analysis of monitoring types, resulting in mismatch between network nodes and monitoring and reducing the efficiency of information monitoring.

Method used

Using a distributed storage system, it is built according to the blockchain principle, checks the security of the device by verifying the nodes, generates the root ID, and selects the corresponding service nodes according to the monitoring type to form a node tree to store monitoring data to ensure that each monitoring type has The corresponding processing node.

Benefits of technology

The matching degree between network nodes and geotechnical engineering monitoring is improved, the adaptability and processing capabilities to different monitoring types are enhanced, and the efficiency and data security of geotechnical engineering information monitoring is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449976B_ABST
    Figure CN118449976B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of data storage, and discloses a method and system for monitoring geotechnical engineering information, the method comprising: starting a distributed storage system including service nodes, selecting a root node, summarizing the monitoring types of geotechnical engineering information monitoring implemented by each mobile device, and eliminating repeated monitoring types to obtain the total number of types, selecting service nodes from multiple service nodes without duplication to obtain class nodes, performing a connection operation between the root node and each class node to obtain a node tree, and when receiving the first i When the mobile device transmits geotechnical monitoring data, the monitoring type to which the geotechnical monitoring data belongs is confirmed, and the corresponding class node is traced according to the monitoring type, and the geotechnical monitoring data is stored in the block body of the traced class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained. The present invention can improve the information monitoring efficiency of geotechnical engineering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a geotechnical engineering information monitoring method and system, belonging to the technical field of data storage. Background Art

[0002] With the continuous development of science and technology, the use of distributed network technology to realize information monitoring of geotechnical engineering has become increasingly popular. Storing geotechnical monitoring data uploaded by different mobile devices based on distributed network nodes can effectively improve the efficiency of information monitoring of geotechnical engineering, prevent the problem of inefficiency caused by the inability to store geotechnical monitoring data in time when using a single-point database in traditional methods, and solve the problem of storage pressure on a single-point database when a large amount of geotechnical monitoring data is uploaded to the single-point database in a short period of time.

[0003] Although distributed network technology has shown great potential in geotechnical engineering monitoring, the main means of most current methods is to simply select distributed network nodes, then collect the generated geotechnical monitoring data, and finally store the collected geotechnical monitoring data in the selected network nodes.

[0004] Since the existing methods lack analysis of the monitoring types involved in each geotechnical engineering monitoring, there is a mismatch between the selected network nodes and geotechnical engineering monitoring. Therefore, how to improve the matching degree between network nodes and geotechnical engineering monitoring, thereby further improving the information monitoring efficiency of geotechnical engineering, is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present invention provides a geotechnical engineering information monitoring method and system, the main purpose of which is to combine the monitoring types involved in geotechnical engineering monitoring, improve the matching degree between network nodes and geotechnical engineering monitoring, thereby improving the information monitoring efficiency of geotechnical engineering.

[0006] To achieve the above object, the present invention provides a geotechnical engineering information monitoring method, comprising:

[0007] Receiving an information monitoring instruction of a geotechnical engineering project initiated by a first mobile device, and starting a distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the principle of blockchain, including a plurality of verification nodes and a plurality of service nodes, and each service node is composed of a block header and a block body, and each verification node only includes a block header;

[0008] Using the check node to check the security of the first mobile device, when the first mobile device passes the security check, generating a root ID of the first mobile device, selecting a service node from a plurality of service nodes to obtain a root node, and storing the root ID of the first mobile device in a block header of the root node to obtain a root node including the root ID;

[0009] Generate a root node construction success instruction, and send the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ..., n mobile device;

[0010] Summarize one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and remove duplicate monitoring types to obtain the total number of types;

[0011] Selecting a service node without duplication from the plurality of service nodes to obtain a class node, wherein the number of the class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type;

[0012] Connect the root node including the root ID to each class node to obtain a node tree. i When the mobile device transmits the geotechnical monitoring data, confirm the monitoring type to which the geotechnical monitoring data belongs, and trace the corresponding class node according to the monitoring type;

[0013] The geotechnical monitoring data is stored in the block body of the traceable class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained.

[0014] Optionally, the using the verification node to verify the security of the first mobile device may include:

[0015] Receiving a registration instruction initiated by the first mobile device, wherein the registration instruction carries the MEID and SN of the first mobile device and biometric information of a user of the first mobile device;

[0016] Sending a registration instruction to a distributed storage system, parsing the registration instruction in the distributed storage system, and obtaining the MEID and SN of the first mobile device and the biometric information of the user of the first mobile device;

[0017] Selecting three verification nodes from a plurality of verification nodes in the distributed storage system, wherein a first verification node is used to store the MEID and SN of the first mobile device, and a second verification node is used to store the biometric information of the user of the first mobile device;

[0018] The first check node and the second check node are bundled to obtain a check node group and bundling information, and after storing the bundling information in a third check node, the blockID and the bundling information of the third check node are sent to the first mobile device to complete the registration of the first mobile device, wherein the first check node and the second check node are bundled to obtain a check node group and bundling information, including:

[0019] Get the blockID of the first check node block header and the blockID of the second check node block header, and get the first blockID and the second blockID respectively;

[0020] The first blockID and the second blockID are added to obtain the bundling information, and when the bundling information is successfully generated, the bundling operation of the first check node and the second check node is completed to obtain the check node group.

[0021] Optionally, the using the verification node to verify the security of the first mobile device, and generating a root ID of the first mobile device after the first mobile device passes the security verification, includes:

[0022] generating a device verification instruction according to the information monitoring instruction, and sending the device verification instruction to the first mobile device;

[0023] When the device verification instruction is successfully sent to the first mobile device, obtaining the blockID of the third verification node stored in the first mobile device;

[0024] Accessing a third check node in the distributed storage system using the blockID of the third check node stored in the first mobile device;

[0025] If the access is successful, obtaining the bundling information stored in the first mobile device, and determining whether the bundling information stored in the first mobile device is consistent with the bundling information stored in the third check node in the distributed storage system;

[0026] If the bundling information stored in the first mobile device is consistent with the bundling information stored in the third verification node in the distributed storage system, obtaining the MEID and SN of the first mobile device and the biometric information of the user of the first mobile device;

[0027] And sequentially perform consistency check on the obtained MEID, SN and biometric information with the MEID, SN stored in the first verification node and the biometric information stored in the second verification node;

[0028] Until the MEID, SN and biometric information all pass the consistency judgment, it means that the first mobile device passes the security check, and the first 6 digits of the MEID and the first 3 digits of the SN are extracted respectively and combined to obtain the root ID of the first mobile device.

[0029] Optionally, selecting a service node from a plurality of service nodes to obtain a root node includes:

[0030] Obtain storage information of the block body of each service node, wherein the storage information includes a maximum storage value and a stored value;

[0031] The stored rate is calculated according to the maximum stored value and the stored value;

[0032] Eliminate service nodes whose storage rate is greater than or equal to a preset storage threshold, and obtain one or more storage optimization nodes;

[0033] Get the number of each storage optimization node that has participated in building other node trees;

[0034] The storage optimization node with the smallest number of participants is selected as the root node of this information monitoring instruction.

[0035] Optionally, the monitoring types mainly include: ground subsidence monitoring, crack monitoring, displacement monitoring, groundwater level monitoring, soil pressure monitoring, pore water pressure monitoring, stress and strain monitoring, vibration monitoring, slope stability monitoring, support structure monitoring, soil and rock physical properties monitoring, chemical properties monitoring, and environmental factors monitoring.

[0036] Optionally, the non-repetitively selecting a service node from a plurality of service nodes to obtain a class node includes:

[0037] Obtain the amount of data stored in the distributed storage system for each monitoring type, and obtain the type's stored amount;

[0038] All monitoring types are sorted according to the size of the stored amount of the type to obtain the monitoring type priority, where the structure of the monitoring type priority is:

[0039] ;

[0040] in, Indicates the monitoring type priority. Indicates the monitoring type with the highest priority. Indicates the priority ranking The type of monitoring, Indicates the total number of types;

[0041] Based on the following execution steps, select in order The corresponding class node:

[0042] Get each of the storage optimization nodes and the i The bandwidth value of the mobile device and the bandwidth between each storage optimization node and the i Network stability factor of mobile devices;

[0043] According to the bandwidth value and network stability factor, calculate the i The longest time for a mobile device to transmit data to a storage optimization node at a time is obtained as the single maximum time;

[0044] From all the single maximum times, select the storage optimization node corresponding to the minimum value as The class node.

[0045] Optionally, the first i The maximum time for a mobile device to transmit data to a storage optimization node at a time, including:

[0046] Obtain the maximum amount of data that the distributed storage system allows the storage optimization node to receive at one time, and obtain the maximum receivable amount, wherein each maximum receivable amount is positively correlated with the computing power and operation safety of the corresponding storage optimization node;

[0047] The maximum receiving time is calculated based on the maximum receivable amount, where the maximum receiving time is calculated as:

[0048] ;

[0049] in, Indicates the distributed storage system storage optimization nodes, the maximum receiving time when receiving the maximum receivable amount, Indicates the maximum time threshold consumed by each service node in the distributed storage system to receive data. Indicates The maximum amount of data that a storage optimization node can receive at a time. Indicates the weight factor for calculating the maximum receiving time;

[0050] Under the premise of the maximum receiving time, the first i The single maximum time for a mobile device to transmit data to a storage optimization node is obtained.

[0051] Optionally, the maximum receiving time is taken as the premise, and the first i The single maximum time for a mobile device to transmit data to a storage optimization node, including:

[0052] The maximum single time is calculated according to the following formula:

[0053] ;

[0054] in, Indicates i The mobile device transmits data to the The maximum single time for a storage optimized node, Indicates The maximum amount of data that a storage optimization node can receive at a time. Indicates storage optimized node and i Bandwidth value of mobile devices, Indicates storage optimized node and i The network stability factor of the mobile device is (0,1], Represents positive infinity.

[0055] Optionally, the step of performing a connection operation between the root node including the root ID and each class node to obtain a node tree includes:

[0056] Extract the root ID of the root node, where the root ID is obtained by the rule combination of the first 6 digits of the MEID in front and the first 3 digits of the SN in the back;

[0057] Add a root identifier before the first 6 digits of the MEID, where the root identifier is in the form of C+total number of types, where C indicates that the root node has class nodes, and the number of class nodes is the total number of types;

[0058] After the root node identifier is added, add the class identifier in the block header of each class node. The class identifier is in the form of total number of types + number + C + root ID. The number represents the number of each class node in the node tree, and the value of the number is less than or equal to the total number of types.

[0059] After the class identifier is added to the block header of each class node, the node tree is obtained.

[0060] To achieve the above object, the present invention also provides a geotechnical engineering information monitoring system, comprising:

[0061] A distributed storage system startup module, used to receive an information monitoring instruction of a geotechnical engineering project initiated by a first mobile device, and start a distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the blockchain principle, including a plurality of check nodes and a plurality of service nodes, and each service node is composed of a block header and a block body, and each check node only includes a block header;

[0062] The root node construction module is used to use the verification node to verify the security of the first mobile device. When the first mobile device passes the security check, a root ID of the first mobile device is generated, a service node is selected from multiple service nodes, a root node is obtained, and the root ID of the first mobile device is stored in the block header of the root node to obtain a root node including the root ID:

[0063] The class node construction module is used to generate a construction success instruction of the root node and send the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ...,n The mobile device summarizes one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and removes repeated monitoring types to obtain a total number of types, and selects non-repeated service nodes from multiple service nodes to obtain class nodes, wherein the number of class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type;

[0064] The geotechnical data storage module is used to connect the root node including the root ID with each class node to obtain a node tree. When the geotechnical monitoring data transmitted by the i-th mobile device is received, the monitoring type to which the geotechnical monitoring data belongs is confirmed, and the corresponding class node is traced according to the monitoring type, and the geotechnical monitoring data is stored in the block body of the traced class node until the information monitoring of the geotechnical engineering is completed, thereby obtaining a node tree that stores all the geotechnical monitoring data of this information monitoring.

[0065] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0066] at least one processor; and,

[0067] a memory communicatively connected to the at least one processor; wherein,

[0068] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the geotechnical engineering information monitoring method described above.

[0069] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned geotechnical engineering information monitoring method.

[0070] Compared with the problems described in the background technology, the present invention starts a distributed storage system by receiving an information monitoring instruction initiated by a first mobile device. Since the distributed storage system is constructed according to the principle of blockchain, it ensures the decentralization of data storage and processing, and improves data security and system reliability; secondly, the security of the first mobile device is verified by a verification node. When the first mobile device passes the security check, a root ID of the first mobile device is generated, a service node is selected from multiple service nodes to obtain a root node, and the root ID of the first mobile device is stored in a block header of the root node to obtain a root node including the root ID. The first mobile device is subjected to a security check by the verification node. Only devices that pass the check can participate in the information monitoring of geotechnical engineering, which further ensures the security and accuracy of the monitoring data; then, a successful construction instruction of the root node is generated, and the successful construction instruction is sent to the first mobile device, the second mobile device, ..., the first mobile device, the second mobile device, ..., the third mobile device ... first mobile device,i Mobile devices, ..., n The mobile device summarizes one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and removes repeated monitoring types to obtain the total number of types. Since the monitoring types involved in information monitoring of different geotechnical engineering are different, such as ground settlement monitoring, crack monitoring, displacement monitoring, groundwater level monitoring, earth pressure monitoring, pore water pressure monitoring, stress and strain monitoring, vibration monitoring, etc., if a fixed number of service nodes are directly selected without considering the monitoring type, it is very easy to cause the phenomenon of too many or too few selected service nodes, thereby causing the problem that the number of service nodes does not match the actual monitoring of geotechnical engineering. Therefore, the present invention selects a corresponding number of service nodes according to the total number of types to form class nodes, ensuring that each monitoring type has a corresponding processing node, and enhancing the adaptability and processing capacity of different monitoring types, that is, non-repeatedly selecting service nodes from multiple service nodes to obtain class nodes, wherein the number of class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type; finally, the root node including the root ID is connected to each class node to obtain a node tree. When the first i When the mobile device transmits geotechnical monitoring data, the monitoring type to which the geotechnical monitoring data belongs is confirmed, and the corresponding class node is traced according to the monitoring type to which it belongs, and the geotechnical monitoring data is stored in the block body of the traced class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained. The present invention connects the root node with the class node to form a node tree, which provides a clear storage and tracing path for the geotechnical monitoring data. When the geotechnical monitoring data is received, it can be quickly stored in the correct class node according to the monitoring type. Therefore, the geotechnical engineering information monitoring method and system proposed in the present invention mainly aims to improve the matching degree between the network node and the geotechnical engineering monitoring in combination with the monitoring types involved in the geotechnical engineering monitoring, thereby improving the information monitoring efficiency of the geotechnical engineering. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 A schematic diagram of a flow chart of a geotechnical engineering information monitoring method provided by an embodiment of the present invention;

[0072] Figure 2 A functional module diagram of a geotechnical engineering information monitoring system provided by an embodiment of the present invention;

[0073] Figure 3 A schematic diagram of the structure of an electronic device for implementing the geotechnical engineering information monitoring method provided by an embodiment of the present invention.

[0074] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0075] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0076] The embodiment of the present application provides a method for monitoring geotechnical engineering information. The execution subject of the geotechnical engineering information monitoring method includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the geotechnical engineering information monitoring method can be executed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0077] Embodiment 1:

[0078] Reference Figure 1 FIG. 1 is a flow chart of a geotechnical engineering information monitoring method provided by an embodiment of the present invention. In this embodiment, the geotechnical engineering information monitoring method includes:

[0079] S1. Receive an information monitoring instruction of a geotechnical engineering project initiated by a first mobile device, and start a distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the blockchain principle, including multiple verification nodes and multiple service nodes, and each service node is composed of a block header and a block body, and each verification node only includes a block header.

[0080] It should be explained that information monitoring of geotechnical engineering is an important branch of civil engineering, focusing on the physical, chemical and mechanical properties of soil and rock to evaluate their applicability as building foundations, mining and excavation, etc. For example, Xiao Zhang is an engineer of a geotechnical monitoring company. He has received an order from the geotechnical monitoring company to lead 9 people to form a 10-person project team to monitor the geotechnical conditions in area A. In order to complete and share the information monitoring of geotechnical engineering in a timely manner, Xiao Zhang used his mobile phone to initiate an information monitoring order. Therefore, the mobile phone used by Xiao Zhang is the first mobile device.

[0081] It should be emphasized that the distributed storage system described in the embodiment of the present invention is constructed based on the principle of blockchain. Blockchain is a distributed ledger technology that ensures the immutability and transparency of data through encryption algorithms, thereby improving the security of data storage. Blockchain is a chain data structure composed of a series of blocks arranged in chronological order. Each block is connected to the previous block based on cryptographic methods (such as hash functions) to form an immutable and irreversible chain. Therefore, the embodiment of the present invention constructs a distributed storage system based on blockchain.

[0082] The key point is that the distributed storage system includes multiple verification nodes and multiple service nodes, and the verification nodes and service nodes are essentially blocks in the blockchain, but because the service node involves the construction of the subsequent node tree and the storage of geotechnical monitoring data, the computing power of the service node is generally greater than that of the verification node, and each service node is composed of a block header and a block body. In addition, since the verification node only needs to perform verification operations, the requirements for the computing power of the verification node are not high. Therefore, in order to prevent waste of resources, the verification node in the embodiment of the present invention only includes a block header.

[0083] Furthermore, the blockchain consists of several blocks, and each block consists of a block header and a block body. In the block header, a unique identifier for distinguishing the block header is stored: blockID, where blockID is a hash value obtained by running SHA256 (SecureHash Algorithm), which has the function of distinguishing the block header. It can be seen that the block headers of the verification node and the service node both have blockID.

[0084] S2. Use the verification node to verify the security of the first mobile device. When the first mobile device passes the security check, generate a root ID of the first mobile device, select a service node from multiple service nodes, obtain a root node, and store the root ID of the first mobile device in the block header of the root node to obtain a root node including the root ID.

[0085] For example, when Xiao Zhang uses his mobile phone to initiate an information monitoring instruction, the verification node can be used to verify the security of Xiao Zhang's mobile phone. If Xiao Zhang has not registered his mobile phone in the distributed storage system before initiating the information monitoring instruction with his mobile phone, the verification node will believe that Xiao Zhang's mobile phone poses a security threat and will not pass the security check.

[0086] In other words, if the first mobile device is expected to pass the security check, the first mobile device needs to complete registration in the distributed storage system. Specifically, the security check of the first mobile device using the verification node includes:

[0087] Receiving a registration instruction initiated by the first mobile device, wherein the registration instruction carries the MEID and SN of the first mobile device and biometric information of a user of the first mobile device;

[0088] Sending a registration instruction to a distributed storage system, parsing the registration instruction in the distributed storage system, and obtaining the MEID and SN of the first mobile device and the biometric information of the user of the first mobile device;

[0089] Selecting three verification nodes from a plurality of verification nodes in the distributed storage system, wherein a first verification node is used to store the MEID and SN of the first mobile device, and a second verification node is used to store the biometric information of the user of the first mobile device;

[0090] The first check node and the second check node are bundled to obtain a check node group and bundling information, and after storing the bundling information in a third check node, the blockID and the bundling information of the third check node are sent to the first mobile device to complete the registration of the first mobile device, wherein the first check node and the second check node are bundled to obtain a check node group and bundling information, including:

[0091] Get the blockID of the first check node block header and the blockID of the second check node block header, and get the first blockID and the second blockID respectively;

[0092] The first blockID and the second blockID are added to obtain the bundling information, and when the bundling information is successfully generated, the bundling operation of the first check node and the second check node is completed to obtain the check node group.

[0093] It should be explained that MEID, also known as the Mobile Equipment Identification Code, is the device identification code of a CDMA mobile phone, usually a 16-bit hexadecimal number. In addition, SN, also known as the serial number, is a unique identifier assigned to a mobile device by a mobile device manufacturer for tracking and identifying the product. In addition, the user's biometric information includes but is not limited to facial information, fingerprint information, etc.

[0094] It should be emphasized that the embodiment of the present invention selects 3 check nodes from multiple check nodes, and preferentially selects the check nodes that have not been subjected to the bundling operation. For example, assuming that there are 100 check nodes in the distributed storage system, preferentially select the check nodes that have not been subjected to the bundling operation from the 100 check nodes, and then select the check nodes that have been subjected to fewer bundling operations.

[0095] It is understandable that using the verification node to verify the security of the first mobile device is similar to registering the first mobile device. Specifically, using the verification node to verify the security of the first mobile device, when the first mobile device passes the security verification, generating the root ID of the first mobile device includes:

[0096] generating a device verification instruction according to the information monitoring instruction, and sending the device verification instruction to the first mobile device;

[0097] When the device verification instruction is successfully sent to the first mobile device, obtaining the blockID of the third verification node stored in the first mobile device;

[0098] Accessing a third check node in the distributed storage system using the blockID of the third check node stored in the first mobile device;

[0099] If the access is successful, obtaining the bundling information stored in the first mobile device, and determining whether the bundling information stored in the first mobile device is consistent with the bundling information stored in the third check node in the distributed storage system;

[0100] If the bundling information stored in the first mobile device is consistent with the bundling information stored in the third verification node in the distributed storage system, obtaining the MEID and SN of the first mobile device and the biometric information of the user of the first mobile device;

[0101] And sequentially perform consistency check on the obtained MEID, SN and biometric information with the MEID, SN stored in the first verification node and the biometric information stored in the second verification node;

[0102] Until the MEID, SN and biometric information all pass the consistency judgment, it means that the first mobile device passes the security check, and the first 6 digits of the MEID and the first 3 digits of the SN are extracted respectively and combined to obtain the root ID of the first mobile device.

[0103] It is understandable that if the first mobile device completes registration in the distributed storage system, and its MEID and SN information have not been tampered with after registration, and the user of the first mobile device is the person at the time of registration, then the first mobile device will pass the security check of the verification node, thereby extracting the first 6 digits of the MEID and the first 3 digits of the SN, and according to the rule that the first 6 digits of the MEID are in front and the first 3 digits of the SN are in the back, the root ID of the first mobile device is obtained by combining them.

[0104] It should be emphasized that the main function of the root ID of the first mobile device is to determine the initiator information of the information monitoring of this geotechnical engineering project. For example, Xiao Zhang, as the person in charge of 10 project teams, initiated the information monitoring instruction, so Xiao Zhang's mobile phone was confirmed as the root ID, and the person in charge of the information monitoring of this geotechnical engineering project was identified, which facilitated the later tracing and tracking.

[0105] Furthermore, after the generation of the root ID is completed, it is necessary to generate a corresponding node tree for serving the information monitoring of this geotechnical engineering project according to the root ID. The prerequisite for generating the node tree is to select a root node. Specifically, selecting a service node from multiple service nodes to obtain the root node includes:

[0106] Obtain storage information of the block body of each service node, wherein the storage information includes a maximum storage value and a stored value;

[0107] The stored rate is calculated according to the maximum stored value and the stored value;

[0108] Eliminate service nodes whose storage rate is greater than or equal to a preset storage threshold, and obtain one or more storage optimization nodes;

[0109] Get the number of each storage optimization node that has participated in building other node trees;

[0110] The storage optimization node with the smallest number of participants is selected as the root node of this information monitoring instruction.

[0111] It is understandable that the block header of each service node is used for identification, and the block body is used for storage. Therefore, the embodiment of the present invention first obtains the maximum storage value and the stored value of the block body of each service node, and calculates the stored rate according to the principle of dividing the stored value by the maximum storage value. If the stored rate is greater than or equal to the stored threshold, it means that the storage upper limit of the surface service node has been reached. In order to prevent storage anomalies in the service node, the embodiment of the present invention eliminates such service nodes. Exemplarily, assuming that there are 80 service nodes in the distributed storage system, of which 30 service nodes have a storage rate greater than or equal to the stored threshold, the remaining 50 service nodes are storage-optimized service nodes, that is, storage-optimized nodes.

[0112] The main purpose of the embodiment of the present invention is to construct a node tree for storing the geotechnical monitoring data transmitted by each mobile device. Since the node tree has the characteristics of clear logic and clear storage, it can improve storage efficiency and subsequent indexing efficiency. According to the subsequent description, the node tree needs to select multiple service nodes, so it is understandable that multiple node trees may have been constructed in the historical time period, and some service nodes may belong to different node trees at the same time. Therefore, the embodiment of the present invention obtains the number of service nodes that have participated in the construction of other node trees, so as to select the service node with the smallest number of participation as the root node of this information monitoring instruction. Exemplarily, among the remaining 50 service nodes mentioned above, assuming that there is 1 service node whose number of participation in the construction of other node trees is 0, then this service node is selected as the root node for Xiao Zhang's geotechnical information monitoring this time.

[0113] S3, generating a root node construction success instruction, and sending the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ..., n mobile device.

[0114] For example, a 10-person project team led by Xiao Zhang is responsible for monitoring the geotechnical conditions in area A. Therefore, according to the corresponding relationship of one mobile device per person, there are a total of the first mobile device, the second mobile device, ..., the i Mobile device, ..., the tenth mobile device. Therefore, the generated construction success instruction is distributed to the ten mobile devices in sequence, indicating that the geotechnical monitoring data transmitted by each mobile device is ready to be stored.

[0115] S4. Summarize one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and eliminate duplicate monitoring types to obtain the total number of types.

[0116] Importantly, information monitoring of geotechnical engineering is an important part of ensuring engineering safety, optimizing design and construction processes, and therefore involves one or more monitoring types. In an embodiment of the present invention, the monitoring types mainly include: ground subsidence monitoring, crack monitoring, displacement monitoring, groundwater level monitoring, soil pressure monitoring, pore water pressure monitoring, stress and strain monitoring, vibration monitoring, slope stability monitoring, support structure monitoring, soil and rock physical properties monitoring, chemical properties monitoring, and environmental factors monitoring.

[0117] It should be explained that ground settlement monitoring mainly measures the amount of settlement at different locations on the ground; crack monitoring mainly monitors cracks in rock and soil or cracks in construction equipment built on rock and soil; displacement monitoring mainly monitors horizontal and vertical displacements of soil or rock; groundwater level monitoring mainly involves measuring changes in groundwater levels; earth pressure monitoring mainly involves using earth pressure gauges to monitor the earth pressure on retaining structures or supporting structures; pore water pressure monitoring mainly involves measuring pore water pressure in the soil and evaluating the permeability and stability of the soil; stress and strain monitoring mainly monitors stress and strain in structures or soils and evaluates their bearing capacity and deformation characteristics; vibration monitoring mainly involves monitoring the vibration response of soil and structures; slope stability monitoring mainly monitors slope stability to analyze possible slip and instability phenomena; support structure monitoring mainly monitors the working conditions and performance of support structures such as piles, anchors, and retaining walls; soil and rock physical property monitoring involves regular testing of physical properties such as density, water content, and permeability of soil and rocks; chemical property monitoring involves evaluating the chemical composition of soil and rocks; environmental factor monitoring is responsible for monitoring the impact of environmental factors such as temperature, humidity, and rainfall on geotechnical engineering.

[0118] Obviously, different geotechnical engineering information monitoring projects have different corresponding monitoring types. For example, suppose that in the 10-person project team where Xiao Zhang is located, each person is responsible for one or more monitoring types. Therefore, each person uses a mobile device to transmit the monitoring type he is responsible for back to the distributed storage system. After eliminating duplicate monitoring types, it is assumed that there are 7 monitoring types: pore water pressure monitoring, stress and strain monitoring, vibration monitoring, slope stability monitoring, support structure monitoring, soil and rock physical properties monitoring, and chemical properties monitoring. The total number of types is 7.

[0119] S5. Select a non-repeated service node from the multiple service nodes to obtain a class node, wherein the number of class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type.

[0120] In detail, the non-repetitive selection of a service node from a plurality of service nodes to obtain a class node includes:

[0121] Obtain the amount of data stored in the distributed storage system for each monitoring type, and obtain the type's stored amount;

[0122] All monitoring types are sorted according to the size of the stored amount of the type to obtain the monitoring type priority, where the structure of the monitoring type priority is:

[0123] ;

[0124] in, Indicates the monitoring type priority. Indicates the monitoring type with the highest priority. Indicates the priority ranking The type of monitoring, Indicates the total number of types;

[0125] Based on the following execution steps, select in order The corresponding class node:

[0126] Get each of the storage optimization nodes and the i The bandwidth value of the mobile device and the bandwidth between each storage optimization node and the i Network stability factor of mobile devices;

[0127] According to the bandwidth value and network stability factor, calculate the i The longest time for a mobile device to transmit data to a storage optimization node at a time is obtained as the single maximum time;

[0128] From all the single maximum times, select the storage optimization node corresponding to the minimum value as The class node.

[0129] For example, the 10-person project team that Xiao Zhang is in has a total of 7 monitoring types: pore water pressure monitoring, stress and strain monitoring, vibration monitoring, slope stability monitoring, support structure monitoring, soil and rock physical property monitoring, and chemical property monitoring. Assuming that the amount of data related to pore water pressure monitoring has been stored in the distributed storage system is 2G (i.e., the type has been stored 2G), the type of stress and strain monitoring has been stored 4G, and the type of chemical property monitoring has been stored 5G, then the corresponding monitoring type priorities are chemical property monitoring, stress and strain monitoring, and pore water pressure monitoring.

[0130] In addition, when selecting the root node, the embodiment of the present invention has already calculated the storage rate of each service node, wherein the storage rate is the ratio of the stored value to the maximum storage value, and multiple storage optimization nodes are obtained by screening according to the storage rate. Therefore, when selecting the class node, the selection is directly performed among the previous multiple storage optimization nodes, thereby improving the selection efficiency.

[0131] Furthermore, the network stability factor represents the relationship between the storage optimization node and the i The network instability of the mobile device when performing data transmission, and in the embodiment of the present invention, according to the storage optimization node and the i The history of mobile devices can be used to solve the storage optimization node and the i The network instability value of the mobile device at different time points. For example, the storage optimization node and the i The theoretical bandwidth value of the mobile device at 8 am is 5M per second, but through historical records, it is found that when performing data transmission at 8 am, the actual bandwidth value data includes 3.4M, 3.2M, 1.8M, 4.3M per second, etc. Therefore, based on these actual bandwidth values ​​and theoretical bandwidth values, the instability of the network can be calculated, that is, the network stability factor. In the embodiment of the present invention, in order to facilitate calculation, the network stability factor is normalized, and its value is in the interval of (0,1]. The closer it is to 1, the more stable the network is.

[0132] Further, the first i The maximum time for a mobile device to transmit data to a storage optimization node at a time, including:

[0133] Obtain the maximum amount of data that the distributed storage system allows the storage optimization node to receive at one time, and obtain the maximum receivable amount, wherein each maximum receivable amount is positively correlated with the computing power and operation safety of the corresponding storage optimization node;

[0134] The maximum receiving time is calculated based on the maximum receivable amount, where the maximum receiving time is calculated as:

[0135] ;

[0136] in, Indicates the distributed storage system storage optimization nodes, the maximum receiving time when receiving the maximum receivable amount, Indicates the maximum time threshold consumed by each service node in the distributed storage system to receive data. Indicates The maximum amount of data that a storage optimization node can receive at a time. Indicates the weight factor for calculating the maximum receiving time;

[0137] Under the premise of the maximum receiving time, the first i The single maximum time for a mobile device to transmit data to a storage optimization node is obtained.

[0138] For example, assume that the distributed storage system allows The maximum amount of data that a storage optimization node can receive at a time is 100M, that is, any data exceeding 100M cannot be selected. storage optimized node receives it, and because the Because a storage optimization node adopts a safer operating mechanism and more powerful computing hardware equipment, the maximum amount of data that can be received at a time is 200M, that is, each maximum receivable amount is positively correlated with the computing power and operating safety of its corresponding storage optimization node.

[0139] Consensus, long-term data transmission will cause the risk of data transmission failure, and will also increase the risk of data leakage or theft, and will also bring greater operating pressure to the distributed storage system. Therefore, when building a distributed storage system, the maximum time threshold consumed by each service node to receive data will be pre-set. Assuming that the first The maximum time threshold for a storage optimization node to receive data is 3 minutes. The maximum time threshold consumed by a storage optimization node to receive data is 5 minutes, etc. In addition, the weight factor for calculating the maximum receiving time is generally an empirical value and can be set in advance.

[0140] Furthermore, under the premise of the maximum receiving time, the first i The single maximum time for a mobile device to transmit data to a storage optimization node, including:

[0141] The maximum single time is calculated according to the following formula:

[0142] ;

[0143] in, Indicates i The mobile device transmits data to the The maximum single time for a storage optimized node, Indicates The maximum amount of data that a storage optimization node can receive at a time. Indicates storage optimized node and i Bandwidth value of mobile devices, Indicates storage optimized node and i The network stability factor of the mobile device is (0,1], Represents positive infinity.

[0144] It is understandable that, assuming there are 20 storage optimization nodes in the distributed storage system, the calculation When the class node is The storage optimization node corresponding to the single maximum time of the 20 storage optimization nodes is selected from the single maximum time of the smallest value, which is Further, the remaining 29 storage optimization nodes are calculated with The single maximum time of , and select the storage optimization node corresponding to the single maximum time with the smallest value, which is By analogy, assuming there are 7 monitoring types in total, 7 class nodes are selected, and each class node has a one-to-one correspondence with each monitoring type.

[0145] S6, connect the root node including the root ID with each class node to obtain a node tree. i When the mobile device transmits the geotechnical monitoring data, the monitoring type to which the geotechnical monitoring data belongs is confirmed, and the corresponding class node is traced according to the monitoring type.

[0146] It should be explained that, assuming that Xiao Zhang's 10-person project team has a total of 7 monitoring types, there is 1 root node including the root ID and 7 class nodes, that is, the 7 class nodes are connected to the 1 root node including the root ID to construct a node tree. The main function of the node tree is to serve Xiao Zhang's 10-person project team without interference. No one can access the data of the corresponding node tree without the authorization of the root node including the root ID, which greatly improves the security of the project during implementation. In detail, the root node including the root ID is connected to each class node to obtain a node tree, including:

[0147] Extract the root ID of the root node, where the root ID is obtained by the rule combination of the first 6 digits of the MEID in front and the first 3 digits of the SN in the back;

[0148] Add a root identifier before the first 6 digits of the MEID, where the root identifier is in the form of C+total number of types, where C indicates that the root node has class nodes, and the number of class nodes is the total number of types;

[0149] After the root node identifier is added, add the class identifier in the block header of each class node. The class identifier is in the form of total number of types + number + C + root ID. The number represents the number of each class node in the node tree, and the value of the number is less than or equal to the total number of types.

[0150] After the class identifier is added to the block header of each class node, the node tree is obtained.

[0151] For example, assuming there are 7 class nodes, the class identifier of the first class node is 7+1+C+root ID, the class identifier of the second class node is 7+2+C+root ID, ..., and the class identifier of the seventh class node is 7+7+C+root ID.

[0152] Importantly, the form of the root node + class node formed by the class node with the class identifier added and the root node with the root identifier added is the node tree described in the embodiment of the present invention.

[0153] Further, when the node tree is constructed, once the first mobile device, the second mobile device, ..., the i Mobile devices, ..., n When any mobile device among the mobile devices has geotechnical monitoring data to be transmitted, it is necessary to first confirm the monitoring type to which the geotechnical monitoring data belongs, and then trace the corresponding class node according to the monitoring type.

[0154] S7. The geotechnical monitoring data is stored in the block body of the traceable class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained.

[0155] For example, if i When geotechnical monitoring data related to chemical property monitoring is generated in the mobile device, the geotechnical monitoring data is stored in the block body of the class node corresponding to the chemical property monitoring. After Xiao Zhang's project is completed, a node tree storing all the geotechnical monitoring data of the project can be obtained, thereby realizing information monitoring of geotechnical engineering based on distributed network technology.

[0156] Compared with the problems described in the background technology, the present invention starts a distributed storage system by receiving an information monitoring instruction initiated by a first mobile device. Since the distributed storage system is constructed according to the principle of blockchain, it ensures the decentralization of data storage and processing, and improves data security and system reliability; secondly, the security of the first mobile device is verified by a verification node. When the first mobile device passes the security check, a root ID of the first mobile device is generated, a service node is selected from multiple service nodes to obtain a root node, and the root ID of the first mobile device is stored in a block header of the root node to obtain a root node including the root ID. The first mobile device is subjected to a security check by the verification node. Only devices that pass the check can participate in the information monitoring of geotechnical engineering, which further ensures the security and accuracy of the monitoring data; then, a successful construction instruction of the root node is generated, and the successful construction instruction is sent to the first mobile device, the second mobile device, ..., the first mobile device, the second mobile device, ..., the third mobile device ... first mobile device, i Mobile devices, ..., n The mobile device summarizes one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and removes repeated monitoring types to obtain the total number of types. Since the monitoring types involved in information monitoring of different geotechnical engineering are different, such as ground settlement monitoring, crack monitoring, displacement monitoring, groundwater level monitoring, earth pressure monitoring, pore water pressure monitoring, stress and strain monitoring, vibration monitoring, etc., if a fixed number of service nodes are directly selected without considering the monitoring type, it is very easy to cause the phenomenon of too many or too few selected service nodes, thereby causing the problem that the number of service nodes does not match the actual monitoring of geotechnical engineering. Therefore, the present invention selects a corresponding number of service nodes according to the total number of types to form class nodes, ensuring that each monitoring type has a corresponding processing node, and enhancing the adaptability and processing capacity of different monitoring types, that is, non-repeatedly selecting service nodes from multiple service nodes to obtain class nodes, wherein the number of class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type; finally, the root node including the root ID is connected to each class node to obtain a node tree. When the first iWhen the mobile device transmits geotechnical monitoring data, the monitoring type to which the geotechnical monitoring data belongs is confirmed, and the corresponding class node is traced according to the monitoring type to which it belongs, and the geotechnical monitoring data is stored in the block body of the traced class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained. The present invention connects the root node with the class node to form a node tree, which provides a clear storage and tracing path for the geotechnical monitoring data. When the geotechnical monitoring data is received, it can be quickly stored in the correct class node according to the monitoring type. Therefore, the geotechnical engineering information monitoring method and system proposed in the present invention mainly aims to improve the matching degree between the network node and the geotechnical engineering monitoring in combination with the monitoring types involved in the geotechnical engineering monitoring, thereby improving the information monitoring efficiency of the geotechnical engineering.

[0157] Embodiment 2:

[0158] like Figure 2 , which is a functional module diagram of a geotechnical engineering information monitoring system provided by an embodiment of the present invention.

[0159] The geotechnical engineering information monitoring system 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the geotechnical engineering information monitoring system 100 may include a distributed storage system startup module 101, a root node construction module 102, a class node construction module 103 and a geotechnical data storage module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0160] The distributed storage system startup module 101 is used to receive the information monitoring instruction of the geotechnical engineering initiated by the first mobile device, and start the distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the blockchain principle, including multiple verification nodes and multiple service nodes, and each service node is composed of a block header and a block body, and each verification node only includes a block header;

[0161] The root node construction module 102 is used to use the verification node to verify the security of the first mobile device. When the first mobile device passes the security verification, a root ID of the first mobile device is generated, a service node is selected from multiple service nodes to obtain a root node, and the root ID of the first mobile device is stored in the block header of the root node to obtain a root node including the root ID;

[0162] The class node construction module 103 is used to generate a construction success instruction of the root node, and send the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ..., nThe mobile device summarizes one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and removes repeated monitoring types to obtain a total number of types, and selects non-repeated service nodes from multiple service nodes to obtain class nodes, wherein the number of class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type;

[0163] The geotechnical data storage module 104 is used to connect the root node including the root ID with each class node to obtain a node tree. i When the mobile device transmits the geotechnical monitoring data, the monitoring type to which the geotechnical monitoring data belongs is confirmed, and the corresponding class node is traced according to the monitoring type, and the geotechnical monitoring data is stored in the block body of the traced class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained.

[0164] In detail, each module in the geotechnical engineering information monitoring system 100 in the embodiment of the present invention is used in the same manner as described above. Figure 1 The technical means are the same as the geotechnical engineering information monitoring method described in, and can produce the same technical effects, so they will not be repeated here.

[0165] Embodiment 3:

[0166] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a method for monitoring geotechnical engineering information provided by an embodiment of the present invention.

[0167] The electronic device 1 may include a processor 10, a memory 11, a bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as an information monitoring program for geotechnical engineering based on distributed network technology.

[0168] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the information monitoring program for geotechnical engineering based on distributed network technology, but also be used to temporarily store data that has been output or is to be output.

[0169] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, information monitoring programs for geotechnical engineering based on distributed network technology, etc.), and calls data stored in the memory 11, so as to execute various functions of the electronic device 1 and process data.

[0170] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0171] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 2The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0172] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0173] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0174] Optionally, the electronic device 1 may further include a user interface, which may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0175] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0176] The information monitoring program for geotechnical engineering based on distributed network technology stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0177] Receiving an information monitoring instruction of a geotechnical engineering project initiated by a first mobile device, and starting a distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the principle of blockchain, including a plurality of verification nodes and a plurality of service nodes, and each service node is composed of a block header and a block body, and each verification node only includes a block header;

[0178] Using the check node to check the security of the first mobile device, when the first mobile device passes the security check, generating a root ID of the first mobile device, selecting a service node from a plurality of service nodes to obtain a root node, and storing the root ID of the first mobile device in a block header of the root node to obtain a root node including the root ID;

[0179] Generate a root node construction success instruction, and send the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ..., n mobile device;

[0180] Summarize one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and remove duplicate monitoring types to obtain the total number of types;

[0181] Selecting a service node without duplication from the plurality of service nodes to obtain a class node, wherein the number of the class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type;

[0182] Connect the root node including the root ID to each class node to obtain a node tree. i When the mobile device transmits the geotechnical monitoring data, confirm the monitoring type to which the geotechnical monitoring data belongs, and trace the corresponding class node according to the monitoring type;

[0183] The geotechnical monitoring data is stored in the block body of the traceable class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained.

[0184] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figure 1 to Figure 2 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0185] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0186] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0187] Receiving an information monitoring instruction of a geotechnical engineering project initiated by a first mobile device, and starting a distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the principle of blockchain, including a plurality of verification nodes and a plurality of service nodes, and each service node is composed of a block header and a block body, and each verification node only includes a block header;

[0188] Using the check node to check the security of the first mobile device, when the first mobile device passes the security check, generating a root ID of the first mobile device, selecting a service node from a plurality of service nodes to obtain a root node, and storing the root ID of the first mobile device in a block header of the root node to obtain a root node including the root ID;

[0189] Generate a root node construction success instruction, and send the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ..., n mobile device;

[0190] Summarize one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and remove duplicate monitoring types to obtain the total number of types;

[0191] Selecting a service node without duplication from the plurality of service nodes to obtain a class node, wherein the number of the class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type;

[0192] Connect the root node including the root ID to each class node to obtain a node tree. i When the mobile device transmits the geotechnical monitoring data, confirm the monitoring type to which the geotechnical monitoring data belongs, and trace the corresponding class node according to the monitoring type;

[0193] The geotechnical monitoring data is stored in the block body of the traceable class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained.

[0194] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0195] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0196] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0197] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A geotechnical engineering information monitoring method, characterized in that: The method comprises: Receiving an information monitoring instruction of a geotechnical engineering project initiated by a first mobile device, and starting a distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the principle of blockchain, including a plurality of verification nodes and a plurality of service nodes, and each service node is composed of a block header and a block body, and each verification node only includes a block header; Before using the verification node to verify the security of the first mobile device, the method further includes: Receiving a registration instruction initiated by the first mobile device, wherein the registration instruction carries the MEID and SN of the first mobile device and biometric information of a user of the first mobile device; Sending a registration instruction to a distributed storage system, parsing the registration instruction in the distributed storage system, and obtaining the MEID and SN of the first mobile device and the biometric information of the user of the first mobile device; Selecting three verification nodes from a plurality of verification nodes in the distributed storage system, wherein a first verification node is used to store the MEID and SN of the first mobile device, and a second verification node is used to store the biometric information of the user of the first mobile device; The first check node and the second check node are bundled to obtain a check node group and bundling information, and after storing the bundling information in a third check node, the blockID and the bundling information of the third check node are sent to the first mobile device to complete the registration of the first mobile device, wherein the first check node and the second check node are bundled to obtain a check node group and bundling information, including: Get the blockID of the first check node block header and the blockID of the second check node block header, and get the first blockID and the second blockID respectively; Adding the first blockID and the second blockID to obtain bundling information, and when the bundling information is successfully generated, completing the bundling operation of the first check node and the second check node to obtain a check node group; Then, the security of the first mobile device is verified by using the verification node. When the first mobile device passes the security verification, a root ID of the first mobile device is generated, a service node is selected from a plurality of service nodes, a root node is obtained, and the root ID of the first mobile device is stored in a block header of the root node to obtain a root node including the root ID; The step of using the verification node to verify the security of the first mobile device, and generating a root ID of the first mobile device after the first mobile device passes the security verification, includes: generating a device verification instruction according to the information monitoring instruction, and sending the device verification instruction to the first mobile device; When the device verification instruction is successfully sent to the first mobile device, obtaining the blockID of the third verification node stored in the first mobile device; Accessing a third check node in the distributed storage system using the blockID of the third check node stored in the first mobile device; If the access is successful, obtaining the bundling information stored in the first mobile device, and determining whether the bundling information stored in the first mobile device is consistent with the bundling information stored in the third check node in the distributed storage system; If the bundling information stored in the first mobile device is consistent with the bundling information stored in the third verification node in the distributed storage system, obtaining the MEID and SN of the first mobile device and the biometric information of the user of the first mobile device; and sequentially performing consistency checks on the obtained MEID, SN and biometric information with the MEID, SN stored in the first verification node and the biometric information stored in the second verification node; Until the MEID, SN and biometric information are all judged to be consistent, it means that the first mobile device has passed the security check, and the first 6 digits of the MEID and the first 3 digits of the SN are extracted respectively and combined to obtain the root ID of the first mobile device; Generate a root node construction success instruction, and send the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ..., n mobile device; Summarize one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and remove duplicate monitoring types to obtain the total number of types; Selecting a service node without duplication from the plurality of service nodes to obtain a class node, wherein the number of the class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type; The step of selecting a non-repeated service node from a plurality of service nodes to obtain a class node includes: Obtain the amount of data stored in the distributed storage system for each monitoring type, and obtain the type's stored amount; All monitoring types are sorted according to the size of the stored amount of the type to obtain the monitoring type priority, where the structure of the monitoring type priority is: ; in, Indicates the monitoring type priority. Indicates the monitoring type with the highest priority. Indicates the priority ranking The type of monitoring, Indicates the total number of types; Based on the following execution steps, select in order The corresponding class node: Get each of the storage optimization nodes and the i The bandwidth value of the mobile device and the bandwidth between each storage optimization node and the i Network stability factor of mobile devices; According to the bandwidth value and network stability factor, calculate the i The longest time for a mobile device to transmit data to a storage optimization node at a time is obtained as the single maximum time; From all the single maximum times, select the storage optimization node corresponding to the minimum value as Class node of Connect the root node including the root ID to each class node to obtain a node tree. i When the mobile device transmits the geotechnical monitoring data, confirm the monitoring type to which the geotechnical monitoring data belongs, and trace the corresponding class node according to the monitoring type; The geotechnical monitoring data is stored in the block body of the traceable class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained.

2. The geotechnical engineering information monitoring method according to claim 1, characterized in that: The step of selecting a service node from a plurality of service nodes to obtain a root node includes: Obtain storage information of the block body of each service node, wherein the storage information includes a maximum storage value and a stored value; The stored rate is calculated according to the maximum stored value and the stored value; Eliminate service nodes whose storage rate is greater than or equal to a preset storage threshold, and obtain one or more storage optimization nodes; Get the number of each storage optimization node that has participated in building other node trees; The storage optimization node with the smallest number of participants is selected as the root node of this information monitoring instruction.

3. The geotechnical engineering information monitoring method according to claim 2, characterized in that: The monitoring types mainly include: ground subsidence monitoring, crack monitoring, displacement monitoring, groundwater level monitoring, soil pressure monitoring, pore water pressure monitoring, stress and strain monitoring, vibration monitoring, slope stability monitoring, support structure monitoring, soil and rock physical properties monitoring, chemical properties monitoring, and environmental factors monitoring.

4. The geotechnical engineering information monitoring method according to claim 3, characterized in that: The bandwidth value and the network stability factor are used to calculate the i The maximum time for a mobile device to transmit data to a storage optimization node at a time, including: Obtain the maximum amount of data that the distributed storage system allows the storage optimization node to receive at one time, and obtain the maximum receivable amount, wherein each maximum receivable amount is positively correlated with the computing power and operation safety of the corresponding storage optimization node; The maximum receiving time is calculated based on the maximum receivable amount, where the maximum receiving time is calculated as: ; in, Indicates the distributed storage system storage optimization nodes, the maximum receiving time when receiving the maximum receivable amount, Indicates the maximum time threshold consumed by each service node in the distributed storage system to receive data. Indicates The maximum amount of data that a storage optimization node can receive at a time. Indicates the weight factor for calculating the maximum receiving time; Under the premise of the maximum receiving time, the first i The single maximum time for a mobile device to transmit data to a storage optimization node is obtained.

5. The geotechnical engineering information monitoring method according to claim 4, characterized in that: The maximum receiving time is taken as the premise, and the first i The single maximum time for a mobile device to transmit data to a storage optimization node, including: The maximum single time is calculated according to the following formula: ; in, Indicates i The mobile device transmits data to the The maximum single time for a storage optimized node, Indicates storage optimized node and i Bandwidth value of mobile devices, Indicates storage optimized node and i The network stability factor of the mobile device is (0,1], Represents positive infinity.

6. The geotechnical engineering information monitoring method according to claim 5, characterized in that: The root node including the root ID is connected to each class node to obtain a node tree, including: Extract the root ID of the root node, where the root ID is obtained by the rule combination of the first 6 digits of the MEID in front and the first 3 digits of the SN in the back; Add a root identifier before the first 6 digits of the MEID, where the root identifier is in the form of C+total number of types, where C indicates that the root node has class nodes, and the number of class nodes is the total number of types; After the root node identifier is added, add the class identifier in the block header of each class node. The class identifier is in the form of total number of types + number + C + root ID. The number represents the number of each class node in the node tree, and the value of the number is less than or equal to the total number of types. After the class identifier is added to the block header of each class node, the node tree is obtained.

7. A geotechnical engineering information monitoring system, characterized in that: The system comprises: A distributed storage system startup module, used to receive an information monitoring instruction of a geotechnical engineering project initiated by a first mobile device, and start a distributed storage system according to the information monitoring instruction, wherein the distributed storage system is constructed according to the blockchain principle, including a plurality of check nodes and a plurality of service nodes, and each service node is composed of a block header and a block body, and each check node only includes a block header; The root node construction module is used to use the verification node to verify the security of the first mobile device. When the first mobile device passes the security check, a root ID of the first mobile device is generated, a service node is selected from multiple service nodes, a root node is obtained, and the root ID of the first mobile device is stored in the block header of the root node to obtain a root node including the root ID: The step of using the verification node to verify the security of the first mobile device, and generating a root ID of the first mobile device after the first mobile device passes the security verification, includes: generating a device verification instruction according to the information monitoring instruction, and sending the device verification instruction to the first mobile device; When the device verification instruction is successfully sent to the first mobile device, obtaining the blockID of the third verification node stored in the first mobile device; Accessing a third check node in the distributed storage system using the blockID of the third check node stored in the first mobile device; If the access is successful, obtaining the bundling information stored in the first mobile device, and determining whether the bundling information stored in the first mobile device is consistent with the bundling information stored in the third check node in the distributed storage system; If the bundling information stored in the first mobile device is consistent with the bundling information stored in the third verification node in the distributed storage system, obtaining the MEID and SN of the first mobile device and the biometric information of the user of the first mobile device; and sequentially performing consistency checks on the obtained MEID, SN and biometric information with the MEID, SN stored in the first verification node and the biometric information stored in the second verification node; Until the MEID, SN and biometric information are all judged to be consistent, it means that the first mobile device has passed the security check, and the first 6 digits of the MEID and the first 3 digits of the SN are extracted respectively and combined to obtain the root ID of the first mobile device; The class node construction module is used to generate a construction success instruction of the root node and send the construction success instruction to the first mobile device, the second mobile device, ..., the i Mobile devices, ..., n The mobile device summarizes one or more monitoring types of information monitoring of geotechnical engineering implemented by each mobile device, and removes repeated monitoring types to obtain a total number of types, and selects non-repeated service nodes from multiple service nodes to obtain class nodes, wherein the number of class nodes is the same as the total number of types, and each class node has a one-to-one correspondence with each monitoring type; The step of selecting a non-repeated service node from a plurality of service nodes to obtain a class node includes: Obtain the amount of data stored in the distributed storage system for each monitoring type, and obtain the type's stored amount; All monitoring types are sorted according to the size of the stored amount of the type to obtain the monitoring type priority, where the structure of the monitoring type priority is: ; in, Indicates the monitoring type priority. Indicates the monitoring type with the highest priority. Indicates the priority ranking The type of monitoring, Indicates the total number of types; Based on the following execution steps, select in order The corresponding class node: Get each of the storage optimization nodes and the i The bandwidth value of the mobile device and the bandwidth between each storage optimization node and the i Network stability factor of mobile devices; According to the bandwidth value and network stability factor, calculate the i The longest time for a mobile device to transmit data to a storage optimization node at a time is obtained as the single maximum time; From all the single maximum times, select the storage optimization node corresponding to the minimum value as Class node of The geotechnical data storage module is used to connect the root node including the root ID with each class node to obtain a node tree. i When the mobile device transmits the geotechnical monitoring data, the monitoring type to which the geotechnical monitoring data belongs is confirmed, and the corresponding class node is traced according to the monitoring type, and the geotechnical monitoring data is stored in the block body of the traced class node until the information monitoring of the geotechnical engineering is completed, and a node tree storing all the geotechnical monitoring data of this information monitoring is obtained.