Bridge operation and maintenance data storage system based on block chain technology
By introducing blockchain technology into the bridge operation and maintenance data storage system, distributed storage and encryption protection of data are realized, the problems of bridge operation and maintenance data security and storage efficiency are solved, and the overall security and reliability of data are improved .
Patent Information
- Application Number
- CN202411516150.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-02-14
AI Technical Summary
The existing technology has problems such as huge data volume in the storage and protection of bridge operation and maintenance data, resulting in server downtime and insufficient data security, especially during the operation and maintenance process of cross-sea bridges, which require timely extraction and protection of operation and maintenance data. outliers of .
A bridge operation and maintenance data storage system based on blockchain technology is designed, and distributed storage and encryption protection of data are realized through multiple sets of blockchain data storage nodes and data burden reduction modules. The system includes modules such as data acquisition, preprocessing, encryption and decoding, and uses blockchain network to improve data security and storage efficiency.
Through distributed storage and encryption protection, the security and storage efficiency of bridge operation and maintenance data are improved, server downtime caused by uploading a single node is avoided, and outliers in operation and maintenance data are timely identified and recorded.
Smart Images

Figure CN119442275A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer network technology, and in particular to a bridge operation and maintenance data storage system based on blockchain technology. Background Art
[0002] Bridge operation and maintenance data protection refers to the protection of data collected, stored and transmitted during the bridge operation and maintenance process to ensure the integrity, confidentiality and availability of the data. With the rapid development of information technology, the amount and types of bridge operation and maintenance data are increasing, so data protection is particularly important.
[0003] The current existing technology still has the following problems:
[0004] 1. Currently, for super projects such as cross-sea bridges, each bridge section is generally equipped with a set of operation and maintenance data detection systems to detect the deformation, vibration and displacement of the bridge section, and it is necessary to extract abnormal values in the data in a timely manner;
[0005] 2. The amount of bridge operation and maintenance data is huge. If a single node is used to upload it to the server, it is easy to cause server downtime;
[0006] 3. Bridge operation and maintenance data involves bridge safety and even state secrets, so it needs to be encrypted and protected to improve its security.
[0007] Based on this, the present invention designs a bridge operation and maintenance data storage system based on blockchain technology to solve the above problems. Summary of the invention
[0008] In view of the above-mentioned shortcomings of the prior art, the present invention provides a bridge operation and maintenance data storage system based on blockchain technology.
[0009] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0010] A bridge operation and maintenance data storage system based on blockchain technology, comprising a plurality of groups of blockchain data storage nodes, wherein the blockchain data storage nodes are connected to a data load reduction module, and the data load reduction module is connected to a plurality of groups of bridge data acquisition systems;
[0011] The blockchain data storage nodes are all wirelessly connected to each other and form a blockchain network, and the blockchain data storage nodes are connected to a bridge data preprocessing module and a bridge data encryption system;
[0012] The bridge data collection system is used to collect bridge operation and maintenance data of each section of the bridge and send it to the data burden reduction module, which sends it to the blockchain data storage node;
[0013] The data load reduction module is used to control and adjust the data acquisition frequency of the bridge data acquisition system;
[0014] The bridge data preprocessing module is used to fill in the missing values in the bridge operation and maintenance data using an interpolation method for abnormal values in the bridge operation and maintenance data stored in the blockchain data storage node, so as to obtain preprocessed bridge operation and maintenance data;
[0015] The bridge data encryption system is used to encrypt and protect the bridge operation and maintenance data preprocessed by the bridge data preprocessing module, and store it in the blockchain data storage node;
[0016] The blockchain data storage node is used to broadcast the encrypted bridge operation and maintenance data stored in the node to other blockchain data storage nodes.
[0017] Furthermore, the bridge data encryption system includes a data encoding module, a data encryption module, a data decoding module and an encoding and decoding network training module;
[0018] The data encoding module is used to obtain compressed data of bridge operation and maintenance data by using the encoding part of the encoding and decoding network;
[0019] The data encryption module is used to generate a private key and a public key based on a fully homomorphic encryption method;
[0020] The data decryption module is used to encrypt the compressed data using the generated public key and decrypt the compressed data using the private key;
[0021] The data decoding module is used to decode the compressed data using the decoder part of the encoding and decoding network and obtain the complete bridge operation and maintenance data;
[0022] The encoding and decoding network training module is used for the encoding and decoding network constructed based on deep learning.
[0023] Furthermore, the bridge data acquisition system includes a wireless data collector, a strain sensor, a displacement sensor and an acceleration sensor;
[0024] The wireless data collector is electrically connected to the strain sensor, the displacement sensor and the acceleration sensor;
[0025] The strain sensor is used to collect the deformation data of the bridge and send it to the wireless data collector;
[0026] The displacement sensor is used to collect the displacement data of the bridge and send it to the wireless data collector;
[0027] The accelerometer is used to collect vibration data of the bridge and send it to the wireless data collector.
[0028] The data load reduction module is connected to the wireless data collector by wireless communication, and the data load reduction module controls the data collection frequency of the wireless data collector.
[0029] In order to better achieve the purpose of the present invention, the present invention also provides a bridge operation and maintenance data protection method based on blockchain technology, comprising the following steps:
[0030] The data load reduction module controls the data collection frequency of the wireless data collector and adopts the following steps S:
[0031] Step S1, the data load reduction module identifies the current weather data;
[0032] If the wind speed data in the weather data is greater than or equal to 36KM / h and less than or equal to 54KM / h, execute step S2;
[0033] If the wind speed data in the weather data is less than 36KM / h, execute step S3;
[0034] If the wind speed data in the weather data is greater than 54KM / h, execute step S4;
[0035] Step S2: The data load reduction module adjusts the data collection frequency of the wireless data collector to once every 30 minutes;
[0036] Step S3, the data load reduction module adjusts the data collection frequency of the wireless data collector to once every 15 minutes;
[0037] Step S4: the data load reduction module adjusts the data collection frequency of the wireless data collector to once every 5 minutes.
[0038] The outlier detection and interpolation method of the bridge data preprocessing module to fill missing values includes the following stepsA:
[0039] Step A1: The bridge data preprocessing module detects and processes outliers in the bridge operation and maintenance data based on the Z-Score method. The calculation formula of the Z-Score method is:
[0040]
[0041] Among them, X represents the value of bridge operation and maintenance data, μ and σ represent the mean value and standard deviation of the sensor data respectively; the threshold value |Z|>3 is set to identify the abnormal values that exceed the range and mark them;
[0042] Step A2: The bridge data preprocessing module uses Lagrange interpolation to fill in the missing bridge operation and maintenance data. The formula of Lagrange interpolation is:
[0043]
[0044] in, It represents the result after filling the missing data of the wireless data collector at time t′, where t′ represents the time when the missing data is located; Indicates bridge operation and maintenance i Data at time t i is the i-th moment closest to moment t′, i=1, 2,…, n; Indicates t i The Lagrangian basis function relative to t′ is defined as:
[0045]
[0046] Where j = 1, 2, ..., n and j ≠ i; after filling all missing values, the preprocessed bridge operation and maintenance data is obtained.
[0047] The construction of the encoding and decoding network of the encoding and decoding network training module includes the following steps B:
[0048] Step B1, the encoding and decoding network training module is based on the symmetric structure of U-Net. The encoder is used to reduce the dimension of the input data, obtain the compressed representation of the data, and the decoder is used to restore the original dimension of the compressed data. The expression of the encoding and decoding network is:
[0049] Among them, Enc represents the encoder, θ encode is the encoder parameter; Z represents the input pre-processed bridge operation and maintenance data The compression representation; Dec represents the decoder, θ decode is the decoder parameter; Indicates the bridge operation and maintenance data decoded by the decoder;
[0050] Step B2: The encoding and decoding network training module uses the reconstruction error as the loss function for training the encoding and decoding network. The loss function The expression is: Use the gradient descent method to update the network parameters until the loss function converges to obtain a trained encoding and decoding network;
[0051] The reconstruction error is used as the loss function for training the encoding and decoding network. The loss function The expression is: Use the gradient descent method to update the network parameters until the loss function converges to obtain a trained encoding and decoding network;
[0052] Step B3: The data encoding module uses the trained encoder network to encode the pre-processed bridge operation and maintenance data. Convert to compressed representation Z.
[0053] The data encryption module generates private keys and public keys based on the fully homomorphic encryption method, including the following steps C:
[0054] Step C1, the private key s is a p-dimensional vector. For d = 1, 2, ..., p, generate s d as follows: in, Indicates randomly selecting an element; q is a prime number;
[0055] The private key s can be expressed as: s = (s 1 ,s 2 ,…,s p );
[0056] Step C2, generate m p-dimensional vectors a r and the corresponding scalar b r , r=1,2,…,m,a r =(a r1 , a r2 , …, a rp ) is generated as follows:
[0057] where d = 1, 2, ..., p; the error term e is generated from the distribution χ r : Where χ is a discrete Gaussian distribution centered at 0; b r The calculation formula is:
[0058]
[0059] Among them, mod is the modulus operation, and the public key is A collection of .
[0060] The data encryption of the data encryption module includes the following steps D:
[0061] Data encryption module uses public key Encrypt the data; select a random subset Calculate the encryption vector c 0 : Among them, ρ is the element in Set; a ρ for The ρth element in the set; encrypted scalar c 1 The calculation method is:
[0062]
[0063] Where, ω∈byte(Z), byte(Z) represents the binary serialized bridge operation and maintenance data compression representation Z; b ρ for The ρth element in the set; the encrypted message is (c 0 , c 1 ).
[0064] The data decryption of the data decryption module includes the following steps E:
[0065] The data decryption module uses the private key s to decrypt the data, calculate the difference and restore the serialized data: ω′=(c 1 ― <c 0 , s>modq);
[0066] Among them, <·, ·> represents the dot product; ω′ represents the recovered serialized data. If ω′ is close to Then ω′=1; otherwise ω′=0; deserialization is used based on the serialized data to obtain the decrypted bridge operation and maintenance data compression representation Z.
[0067] The decoding of compressed data by the data decoding module includes the following steps F:
[0068] The data decoding module uses the trained decoder to convert the decrypted bridge operation and maintenance data compression representation Z into complete data:
[0069] The present invention has the following technical effects:
[0070] When the present invention is used, the operation and maintenance data of each section is collected through the bridge data collection system and stored in the blockchain data storage node, and the abnormal values in the bridge operation and maintenance data are identified and marked through the bridge data preprocessing module, so as to facilitate the maintenance personnel to record the abnormal values;
[0071] The bridge data encryption system encrypts the bridge operation and maintenance data preprocessed by the bridge data preprocessing module to improve the security of the bridge operation and maintenance data;
[0072] The blockchain data storage node integrates the encrypted bridge operation and maintenance data into the blockchain network composed of multiple blockchain data storage nodes, improving data storage efficiency while further enhancing the security of bridge operation and maintenance data.
[0073] The data burden reduction module dynamically adjusts the data collection frequency of the wireless data collector according to the wind speed in the weather data, thereby reducing the burden of bridge operation and maintenance data. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0075] Figure 1 It is a block diagram of a bridge operation and maintenance data storage system based on blockchain technology of the present invention;
[0076] Figure 2 A block diagram of the connection between the blockchain data storage nodes of the present invention;
[0077] Figure 3 A block diagram of a bridge data encryption system according to the present invention;
[0078] Figure 4 It is a block diagram of the bridge data acquisition system of the present invention.
[0079] The numbers in the figure represent:
[0080] 1. Blockchain data storage node 2. Bridge data preprocessing module 3. Bridge data encryption system 31. Data encoding module 32. Data encryption module 33. Data decryption module 34. Data decoding module 35. Encoding and decoding network training module 4. Bridge data acquisition system 41. Wireless data collector 42. Strain sensor 43. Displacement sensor 44. Acceleration sensor 5. Data load reduction module. DETAILED DESCRIPTION
[0081] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0082] The present invention will be further described below in conjunction with the embodiments.
[0083] The terms “left”, “right”, “front”, “back”, “up” and “down” mentioned in the following description are oriented in the viewing direction of the front view.
[0084] Example 1: Please refer to the attached manual Figure 1-Figure 4, a bridge operation and maintenance data storage system based on blockchain technology, comprising a plurality of groups of blockchain data storage nodes 1, the blockchain data storage nodes 1 are connected to a data load reduction module 5, and the data load reduction module 5 is connected to a plurality of groups of bridge data acquisition systems 4;
[0085] The blockchain data storage nodes 1 are all wirelessly connected to each other and form a blockchain network. The blockchain data storage node 1 is connected to a bridge data preprocessing module 2 and a bridge data encryption system 3;
[0086] The bridge data collection system 4 is used to collect bridge operation and maintenance data of each section of the bridge and send it to the data burden reduction module 5, and the data burden reduction module 5 sends it to the blockchain data storage node 1;
[0087] The data load reduction module 5 is used to control and adjust the data acquisition frequency of the bridge data acquisition system 4;
[0088] The bridge data preprocessing module 2 is used to fill in the missing values in the bridge operation and maintenance data stored in the blockchain data storage node 1 using an interpolation method to obtain preprocessed bridge operation and maintenance data;
[0089] The bridge data encryption system 3 is used to encrypt and protect the bridge operation and maintenance data preprocessed by the bridge data preprocessing module 2, and store it in the blockchain data storage node 1;
[0090] The blockchain data storage node 1 is used to broadcast the encrypted bridge operation and maintenance data stored in the node to other blockchain data storage nodes 1.
[0091] When the present invention is used, the operation and maintenance data of each section is collected through the bridge data collection system 4 and stored in the blockchain data storage node 1, and the abnormal values in the bridge operation and maintenance data are identified and marked through the bridge data preprocessing module 2, so as to facilitate the maintenance personnel to record the abnormal values;
[0092] The bridge data encryption system 3 encrypts the bridge operation and maintenance data preprocessed by the bridge data preprocessing module 2 to improve the security of the bridge operation and maintenance data;
[0093] The blockchain data storage node 1 integrates the encrypted bridge operation and maintenance data into the blockchain network composed of multiple blockchain data storage nodes 1, thereby improving the data storage efficiency and further enhancing the security of the bridge operation and maintenance data.
[0094] Example 2: Figure 1-Figure 4 As shown, as a preferred embodiment of the present invention, the bridge operation and maintenance data includes deformation, displacement and vibration data of the bridge.
[0095] The bridge data encryption system 3 includes a data encoding module 31, a data encryption module 32, a data decoding module 34 and an encoding and decoding network training module 35;
[0096] The data encoding module 31 is used to obtain compressed data of bridge operation and maintenance data by using the encoding part of the encoding and decoding network;
[0097] The data encryption module 32 is used to generate a private key and a public key based on a fully homomorphic encryption method;
[0098] The data decryption module 33 is used to encrypt the compressed data using the generated public key and decrypt the compressed data using the private key;
[0099] The data decoding module 34 is used to decode the compressed data using the decoder part of the encoding and decoding network and obtain the complete bridge operation and maintenance data;
[0100] The encoding and decoding network training module 35 is used for the encoding and decoding network constructed based on deep learning;
[0101] The bridge data acquisition system 4 includes a wireless data collector 41, a strain sensor 42, a displacement sensor 43 and an acceleration sensor 44;
[0102] The wireless data collector 41 is electrically connected to the strain sensor 42 , the displacement sensor 43 and the acceleration sensor 44 ;
[0103] The strain sensor 42 is used to collect deformation data of the bridge and send it to the wireless data collector 41;
[0104] The displacement sensor 43 is used to collect the displacement data of the bridge and send it to the wireless data collector 41;
[0105] The acceleration sensor 44 is used to collect vibration data of the bridge and send it to the wireless data collector 41.
[0106] The data load reduction module 5 is connected to the wireless data collector 41 by wireless communication, and the data load reduction module 5 controls the data collection frequency of the wireless data collector 41 through weather data.
[0107] When the present invention is used, the data load reduction module 5 dynamically adjusts the data collection frequency of the wireless data collector 41 according to the wind speed in the weather data, thereby reducing the load of bridge operation and maintenance data.
[0108] Example 3: Figure 1-Figure 4 As shown, as a preferred embodiment of the present invention, the present invention also provides a bridge operation and maintenance data protection method based on blockchain technology, comprising the following steps:
[0109] The data load reduction module 5 controls the data collection frequency of the wireless data collector 41 and adopts the following steps S:
[0110] Step S1, the data load reduction module 5 identifies the current weather data;
[0111] If the wind speed data in the weather data is greater than or equal to 36KM / h and less than or equal to 54KM / h, execute step S2;
[0112] If the wind speed data in the weather data is less than 36KM / h, execute step S3;
[0113] If the wind speed data in the weather data is greater than 54KM / h, execute step S4;
[0114] Step S2: The data load reduction module 5 adjusts the data collection frequency of the wireless data collector 41 to once every 30 minutes;
[0115] Step S3, the data load reduction module 5 adjusts the data collection frequency of the wireless data collector 41 to once every 15 minutes;
[0116] Step S4, the data load reduction module 5 adjusts the data collection frequency of the wireless data collector 41 to once every 5 minutes.
[0117] The outlier detection and interpolation method of bridge data preprocessing module 2 to fill missing values includes the following steps A:
[0118] Step A1, the bridge data preprocessing module 2 detects and processes abnormal values in the bridge operation and maintenance data based on the Z-Score method. The calculation formula of the Z-Score method is:
[0119]
[0120] Among them, X represents the value of bridge operation and maintenance data, μ and σ represent the mean value and standard deviation of the sensor data respectively; the threshold value |Z|>3 is set to identify the abnormal values that exceed the range and mark them;
[0121] Step A2: the bridge data preprocessing module 2 uses Lagrangian interpolation to fill in the missing bridge operation and maintenance data. The formula of the Lagrangian interpolation is:
[0122]
[0123] in, represents the result after filling the missing data of the wireless data collector 41 at time t′, where t′ represents the time at which the missing data is located; Indicates bridge operation and maintenance i Data at time t i is the i-th moment closest to moment t′, i=1, 2,…, n; Indicates ti The Lagrangian basis function relative to t′ is defined as:
[0124]
[0125] Where j = 1, 2, ..., n and j ≠ i; after filling all missing values, the preprocessed bridge operation and maintenance data is obtained.
[0126] Step B1, the encoding and decoding network training module (35) is based on the symmetric structure of U-Net, uses an encoder to reduce the dimension of the input data, obtains a compressed representation of the data, and uses a decoder to restore the original dimension of the compressed data. The expression of the encoding and decoding network is:
[0127] Among them, Enc represents the encoder, θ encode is the encoder parameter; Z represents the input pre-processed bridge operation and maintenance data The compression representation; Dec represents the decoder, θ decode is the decoder parameter; Indicates the bridge operation and maintenance data decoded by the decoder;
[0128] Step B2, the encoding and decoding network training module (35) uses the reconstruction error as the loss function for training the encoding and decoding network. The loss function The expression is: Use the gradient descent method to update the network parameters until the loss function converges to obtain a trained encoding and decoding network;
[0129] The reconstruction error is used as the loss function for training the encoding and decoding network. The loss function The expression is: Use the gradient descent method to update the network parameters until the loss function converges to obtain a trained encoding and decoding network;
[0130] Step B3, the data encoding module 31 uses the trained encoder network to encode the pre-processed bridge operation and maintenance data Convert to compressed representation Z.
[0131] The data encryption module 32 generates a private key and a public key based on a fully homomorphic encryption method, including the following steps C:
[0132] Step C1, the private key s is a p-dimensional vector. For d = 1, 2, ..., p, generate s d as follows: in, Indicates randomly selecting an element; q is a prime number;
[0133] The private key s can be expressed as: s = (s1 ,s 2 ,…,s p );
[0134] Step C2, generate m p-dimensional vectors a r and the corresponding scalar b r , r=1,2,…,m,a r =(a r1 , a r2 , …, a rp ) is generated as follows:
[0135] where d = 1, 2, ..., p; the error term e is generated from the distribution χ r : Where χ is a discrete Gaussian distribution centered at 0; b r The calculation formula is:
[0136]
[0137] Among them, mod is the modulus operation, and the public key is A collection of .
[0138] The data encryption of the data encryption module 32 includes the following steps D:
[0139] The data encryption module (32) uses the public key Encrypt the data; select a random subset Calculate the encryption vector c 0 : Among them, ρ is the element in Set; a ρ for The ρth element in the set; encrypted scalar c 1 The calculation method is:
[0140]
[0141] Where, ω∈byte(Z), byte(Z) represents the binary serialized bridge operation and maintenance data compression representation Z; b ρ for The ρth element in the set; the encrypted message is (c 0 , c 1 ).
[0142] The data decryption of the data decryption module 33 includes the following steps E:
[0143] The data decryption module 33 uses the private key s to decrypt the data, calculate the difference and restore the serialized data: ω′=(c 1 ― <c 0 , s>modq);
[0144] Among them, <·, ·> represents the dot product; ω′ represents the recovered serialized data. If ω′ is close to Then ω′=1; otherwise ω′=0; deserialization is used based on the serialized data to obtain the decrypted bridge operation and maintenance data compression representation Z.
[0145] The decoding of compressed data by the data decoding module 34 includes the following steps F:
[0146] The data decoding module 34 uses the trained decoder to convert the decrypted bridge operation and maintenance data compression representation Z into complete data:
[0147] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A bridge operation and maintenance data storage system based on blockchain technology, characterized by: It comprises a plurality of groups of blockchain data storage nodes (1), wherein the blockchain data storage nodes (1) are connected to a data load reduction module (5), and the data load reduction module (5) is connected to a plurality of groups of bridge data acquisition systems (4); The blockchain data storage nodes (1) are all wirelessly connected to each other and form a blockchain network, and the blockchain data storage nodes (1) are connected to a bridge data preprocessing module (2) and a bridge data encryption system (3); The bridge data collection system (4) is used to collect bridge operation and maintenance data of each section of the bridge and send it to the data load reduction module (5), and the data load reduction module (5) sends it to the blockchain data storage node (1); The data load reduction module (5) is used to control and adjust the data collection frequency of the bridge data collection system (4); The bridge data preprocessing module (2) is used to fill in the missing values in the bridge operation and maintenance data using an interpolation method for abnormal values in the bridge operation and maintenance data stored in the blockchain data storage node (1), thereby obtaining preprocessed bridge operation and maintenance data; The bridge data encryption system (3) is used to encrypt and protect the bridge operation and maintenance data preprocessed by the bridge data preprocessing module (2), and store it in the blockchain data storage node (1); The blockchain data storage node (1) is used to broadcast the encrypted bridge operation and maintenance data stored in the node to other blockchain data storage nodes (1).
2. The bridge operation and maintenance data storage system based on blockchain technology according to claim 1 is characterized in that: The bridge data encryption system (3) comprises a data encoding module (31), a data encryption module (32), a data decoding module (34) and an encoding and decoding network training module (35); The data encoding module (31) is used to obtain compressed data of bridge operation and maintenance data by using the encoding part of the encoding and decoding network; The data encryption module (32) is used to generate a private key and a public key based on a fully homomorphic encryption method; The data decryption module (33) is used to encrypt the compressed data using the generated public key and decrypt the compressed data using the private key; The data decoding module (34) is used to decode the compressed data using the decoder part of the encoding and decoding network, and obtain the complete bridge operation and maintenance data; The encoding and decoding network training module (35) is used for an encoding and decoding network constructed based on deep learning.
3. The bridge operation and maintenance data storage system based on blockchain technology according to claim 2 is characterized in that: The bridge data acquisition system (4) comprises a wireless data acquisition device (41), a strain sensor (42), a displacement sensor (43) and an acceleration sensor (44); The wireless data collector (41) is electrically connected to the strain sensor (42), the displacement sensor (43) and the acceleration sensor (44); The strain sensor (42) is used to collect deformation data of the bridge and send it to the wireless data collector (41); The displacement sensor (43) is used to collect the displacement data of the bridge and send it to the wireless data collector (41); The acceleration sensor (44) is used to collect vibration data of the bridge and send it to the wireless data collector (41). The data load reduction module (5) is wirelessly connected to the wireless data collector (41), and the data load reduction module (5) controls the data collection frequency of the wireless data collector (41).
4. A method for protecting bridge operation and maintenance data based on blockchain technology, using a bridge operation and maintenance data storage system based on blockchain technology according to claim 3, characterized in that: The data load reduction module (5) controls the data collection frequency of the wireless data collector (41) and adopts the following steps S: Step S1, the data load reduction module (5) identifies the current weather data; If the wind speed data in the weather data is greater than or equal to 36KM / h and less than or equal to 54KM / h, execute step S2; If the wind speed data in the weather data is less than 36KM / h, execute step S3; If the wind speed data in the weather data is greater than 54KM / h, execute step S4; Step S2: the data load reduction module (5) adjusts the data collection frequency of the wireless data collector (41) to once every 30 minutes; Step S3, the data load reduction module (5) adjusts the data collection frequency of the wireless data collector (41) to once every 15 minutes; Step S4, the data load reduction module (5) adjusts the data collection frequency of the wireless data collector (41) to once every 5 minutes.
5. The bridge operation and maintenance data protection method based on blockchain technology according to claim 5 is characterized in that: The outlier detection and interpolation method of the bridge data preprocessing module (2) to fill missing values includes the following steps A: Step A1, the bridge data preprocessing module (2) detects and processes abnormal values in the bridge operation and maintenance data based on the Z-Score method. The calculation formula of the Z-Score method is: Among them, X represents the value of bridge operation and maintenance data, μ and σ represent the mean value and standard deviation of the sensor data respectively; the threshold value |Z|>3 is set to identify the abnormal values that exceed the range and mark them; Step A2: The bridge data preprocessing module (2) uses Lagrangian interpolation to fill in the missing bridge operation and maintenance data. The formula of the Lagrangian interpolation is: in, represents the result after filling the missing data of the wireless data collector (41) at time t′, where t′ represents the time at which the missing data is located; Indicates bridge operation and maintenance i Data at time t i is the i-th moment closest to moment t′, i=1, 2,…, n; Indicates t i The Lagrangian basis function relative to t′ is defined as: Where j = 1, 2, ..., n and j ≠ i; after filling all missing values, the preprocessed bridge operation and maintenance data is obtained.
6. The method for protecting bridge operation and maintenance data based on blockchain technology according to claim 5 is characterized in that: The construction of the encoding and decoding network of the encoding and decoding network training module (35) includes the following steps B: Step B1, the encoding and decoding network training module (35) is based on the symmetric structure of U-Net, uses an encoder to reduce the dimension of the input data, obtains a compressed representation of the data, and uses a decoder to restore the original dimension of the compressed data. The expression of the encoding and decoding network is: Among them, Enc represents the encoder, θ encode is the encoder parameter; Z represents the input pre-processed bridge operation and maintenance data The compression representation; Dec represents the decoder, θ decode is a decoder parameter; it indicates the bridge operation and maintenance data decoded by the decoder; Step B2, the encoding and decoding network training module (35) uses the reconstruction error as the loss function for training the encoding and decoding network. The loss function The expression is: Use the gradient descent method to update the network parameters until the loss function converges to obtain a trained encoding and decoding network; The reconstruction error is used as the loss function for training the encoding and decoding network. The loss function The expression is: Use the gradient descent method to update the network parameters until the loss function converges to obtain a trained encoding and decoding network; Step B3, the data encoding module (31) uses the trained encoder network to convert the pre-processed bridge operation and maintenance data Convert to compressed representation Z.
7. The method for protecting bridge operation and maintenance data based on blockchain technology according to claim 6 is characterized in that: The data encryption module (32) generates a private key and a public key based on a fully homomorphic encryption method, including the following steps C: Step C1, the private key s is a p-dimensional vector. For d = 1, 2, ..., p, generate s d as follows: in, Indicates randomly selecting an element; q is a prime number; The private key s can be expressed as: s = (s1, s2, ..., s p ); Step C2, generate m p-dimensional vectors a r and the corresponding scalar b r , r=1,2,…,m,a r =(a r1 , a r2 , …, a rp ) is generated as follows: where d = 1, 2, ..., p; the error term e is generated from the distribution χ r : Where χ is a discrete Gaussian distribution centered at 0; b r The calculation formula is: Among them, mod is the modulus operation, and the public key is A collection of .
8. The bridge operation and maintenance data protection method based on blockchain technology according to claim 7 is characterized in that: The data encryption of the data encryption module (32) includes the following steps D: The data encryption module (32) uses the public key Encrypt the data; select a random subset Calculate the encryption vector c0: Among them, ρ is the element in Set; a ρ for The ρth element in the set; the encrypted scalar c1 is calculated as: Where ω∈byte(Z), byte(Z) represents the binary serialized bridge operation and maintenance data compression representation Z; b ρ for The ρth element in the set; the encrypted message is (c0, c1).
9. The method for protecting bridge operation and maintenance data based on blockchain technology according to claim 8 is characterized in that: The data decryption of the data decryption module (33) includes the following steps E: The data decryption module (33) uses the private key s to decrypt the data, calculate the difference and restore the serialized data: ω′=(c1-<c0,s> modq); Among them, <·, ·> represents the dot product; ω′ represents the recovered serialized data. If ω′ is close to Then ω′=1; otherwise ω′=0; deserialization is used based on the serialized data to obtain the decrypted bridge operation and maintenance data compression representation Z.
10. The method for protecting bridge operation and maintenance data based on blockchain technology according to claim 9 is characterized in that: The data decoding module (34) decodes the compressed data including the following steps F: The data decoding module (34) uses the trained decoder to convert the decrypted bridge operation and maintenance data compression representation Z into complete data: