A data encryption transmission method for a large dam monitoring system based on quantum keys

CN122027154BActive Publication Date: 2026-06-23SICHUAN LIANGSHANSHUILUOHE ELECTRICITY DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SICHUAN LIANGSHANSHUILUOHE ELECTRICITY DEV CO LTD
Filing Date
2026-04-13
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In existing dam monitoring data encryption transmission technologies, key generation and updates are triggered at fixed intervals, which cannot be dynamically adjusted according to the monitoring data situation at different monitoring points and at different times. This results in low encryption security and makes it easy for all monitoring data to be decrypted and stolen due to key leakage.

Method used

The BB84 protocol is used to generate basic quantum keys, which are divided into multiple key fragments. Derivative keys are generated by combining the spatial coordinates, timestamps and security status characteristic factors of dam monitoring data. Multiple rounds of enhancement processing are performed through perturbation sequences and joint risk factors to generate independent encrypted keys and joint enhancement keys, thereby achieving deep binding between the keys and the real-time status of the monitoring data.

Benefits of technology

It achieves deep real-time binding between the key and the monitoring data, enhances the encryption resistance of individual values ​​and the defense capability of the encryption system, effectively prevents data from being stolen, tampered with or forged during transmission, and improves encryption security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122027154B_ABST
    Figure CN122027154B_ABST
Patent Text Reader

Abstract

The application discloses a kind of big dam monitoring system data encryption transmission methods based on quantum key, belong to data encryption technical field.The application is based on BB84 protocol first to generate basic quantum key and block to obtain key segment;Collect big dam multi-class operating state data and bind space-time information, generate security posture characteristic factor for data value;Derivative key is generated in combination with space-time binding identifier, characteristic factor and key segment, independent encrypted state key is obtained by perturbation shift, combined enhanced key is obtained by multiple rounds of enhancement;Finally, two types of keys are used to complete data encryption.The application improves the security of big dam monitoring data transmission through the layered encryption mechanism of quantum key combined with space-time and security posture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data encryption technology, specifically to a method for encrypted data transmission in a dam monitoring system based on quantum key distribution. Background Technology

[0002] As a core structure of water conservancy projects, the real-time collection, secure transmission, and reliable storage of dam operational status data are directly related to the safety of water conservancy projects, regional flood control and disaster reduction, and the protection of people's livelihoods. With the deep application of the Internet of Things and sensor network technologies in the field of water conservancy monitoring, dam monitoring has transformed from traditional manual inspection to multi-dimensional, high-precision, and real-time automatic monitoring. The monitoring data covers multiple key indicators such as dam displacement, seepage pressure, stress and strain, and water level and flow rate. This data is not only the core basis for dam operational status assessment and risk warning, but also involves core engineering parameters, placing extremely high demands on the security and confidentiality of data transmission.

[0003] Among existing dam monitoring data encryption transmission technologies, the most widely used are transmission encryption schemes based on traditional symmetric encryption algorithms (such as AES). These schemes typically generate fixed symmetric keys through a pre-deployed key management center. These keys are distributed to monitoring terminals and data receiving centers via secure channels. After collecting data, the monitoring terminals encrypt the data using this symmetric key before transmitting the encrypted data to the backend platform. The backend platform then uses the same key to decrypt the data and retrieve the original data.

[0004] The encryption keys of existing technologies are not related to the real-time status of dam monitoring data. Key generation and updates are triggered by fixed periods and cannot be dynamically adjusted according to the monitoring data situation at different monitoring points and at different times. This makes it easy for all monitoring data within the corresponding period to be decrypted and stolen due to key leakage, resulting in low encryption security. Summary of the Invention

[0005] To address the aforementioned shortcomings in existing technologies, this invention provides a quantum key-based data encryption transmission method for dam monitoring systems, which solves the problem of low encryption security in existing technologies.

[0006] To achieve the aforementioned objectives, the present invention employs the following technical solution: a data encryption transmission method for a dam monitoring system based on quantum key distribution, comprising the following steps:

[0007] S1. Generate a basic quantum key using the BB84 protocol, and divide the basic quantum key into blocks to obtain multiple types of key fragments;

[0008] S2. Collect various operational status data of the dam, and record the corresponding spatial coordinates and timestamps for each value during the collection process;

[0009] S3. Generate safety status characteristic factors for the values ​​in each type of operating status data;

[0010] S4. Obtain the spatiotemporal binding identifier based on the spatial coordinates and timestamp, and generate a derived key based on the security situation feature factor and key fragment;

[0011] S5. Based on the security situation characteristic factor of a single value, generate a perturbation sequence, perform perturbation shift processing on the derived key, and obtain an independent encrypted key;

[0012] S6. Based on the security situation characteristic factors of multiple types of operational status data, generate a joint risk factor and encryption depth, and perform multiple rounds of enhancement processing on the derived key to obtain a joint enhanced key.

[0013] S7. Use an independent encryption key and a joint enhancement key to encrypt the corresponding value to obtain encrypted data.

[0014] Furthermore, S3 includes the following sub-steps:

[0015] S31. Obtain the rate of change of the value at each moment in each type of operating status data;

[0016] S32. Based on the difference between the value at each moment in each type of operating status data and the safety benchmark value, the safety deviation is obtained;

[0017] S33. Add the rate of change and safety deviation of the same value, convert the sum into an integer and limit it to the range of [0~255] to obtain the corresponding value of the safety situation characteristic factor.

[0018] Furthermore, S4 includes the following sub-steps:

[0019] S41. Convert the spatial coordinates of the values ​​at each moment into a hash sequence;

[0020] S42. Convert the timestamp of each moment's value into a binary sequence;

[0021] S43. Perform an XOR operation between the hash sequence and the binary sequence to obtain the spatiotemporal binding identifier;

[0022] S44. Generate a derived key based on the spatiotemporal binding identifier, security situation characteristic factor, and key fragment.

[0023] Furthermore, the expression for the derived key in S44 is:

[0024] ,

[0025] in, For the first The first class in the running status data Derivation key for time value, For the first Key fragment of the class, For the first The first class in the running status data Security situation characteristic factors at specific times. Take binary, For the first The first class in the running status data The spatiotemporal binding identifier for the time value; || is used for concatenation operations. For XOR operation, For class numbering, This is the time number.

[0026] Furthermore, S5 includes the following sub-steps:

[0027] S51. Generate a perturbation sequence for the security situation characteristic factors at each time step;

[0028] S52. Perform an XOR operation on the perturbation sequence and the derived key, and then perform a cyclic shift operation on the result of the XOR operation based on the security situation characteristic factor to obtain an independent encrypted key.

[0029] Furthermore, the expression for obtaining the independent encrypted key in S52 is:

[0030] ,

[0031] in, For the first The first class in the running status data An independent encrypted key for the time value. For the first The first class in the running status data Derivation key for time value, For the first The first class in the running status data A perturbation sequence of time values. For the first The first class in the running status data Security situation characteristic factors at specific times. For XOR operation, For circular left shift, For modulo operation, For class numbering, This is the time number.

[0032] Furthermore, S6 includes the following sub-steps:

[0033] S61. Add the safety situation characteristic factors of multiple types of operational status data with the same time-time number to obtain the joint risk factor;

[0034] S62. Determine the encryption depth based on the joint risk factors;

[0035] S63. Based on the joint risk factors, an initial enhanced sequence is generated using a hash function;

[0036] S64. Based on the initial enhancement sequence and encryption depth, perform multiple rounds of enhancement processing on the derived key to obtain the joint enhancement key.

[0037] Furthermore, the formula for determining the encryption depth in S62 is:

[0038] ,

[0039] in, For the first The encryption depth of constantly combined risk factors, For the first Always consider risk factors. As the largest joint risk factor, For maximum encryption depth, To round down to the nearest integer, This is the time number.

[0040] Furthermore, the expression for obtaining the joint enhancement key in S64 is:

[0041] ,

[0042] in, For the first The first class in the running status data The first moment The joint enhancement key during the second enhancement For the first The first class in the running status data The first moment The joint enhancement key during the second enhancement For the first The first class in the running status data Derivation key for time value, For modulo operation, For XOR operation, For circular left shift, Take the initial enhancement sequence , For class numbering, Numbering for the number of times.

[0043] Furthermore, S7 includes the following sub-steps:

[0044] S71. Quantize and encode the numerical value, and obtain the corresponding binary data to get the sequence to be encrypted;

[0045] S72. Divide the sequence to be encrypted into two segments to obtain the first subsequence to be encrypted and the second subsequence to be encrypted.

[0046] S73. XOR the first subsequence to be encrypted with the independent encryption key to obtain the first encrypted subsequence;

[0047] S74. XOR the second subsequence to be encrypted with the joint enhancement key to obtain the second encrypted subsequence;

[0048] S75. Concatenate the first encrypted subsequence with the second encrypted subsequence to obtain encrypted data.

[0049] The beneficial effects of this invention are as follows:

[0050] 1. This invention abandons the fixed-period key model of traditional symmetric encryption schemes. The basic quantum key generated based on the BB84 protocol possesses inherent high security and is not cloneable. By dividing the basic quantum key into blocks to obtain key fragments, and combining them with the spatial coordinates, timestamps, and security status characteristic factors of dam monitoring data to generate derived keys, a deep real-time state binding between the key and the monitoring data is achieved. The spatiotemporal information and security status characteristic factors of each value are different, and the corresponding generated derived keys are also unique, fundamentally avoiding the risk of full-cycle data leakage caused by the leakage of fixed keys.

[0051] 2. This invention generates a perturbation sequence to perturb and shift the derived key, obtaining an independent encrypted key. This imbues the encryption key for a single value with personalized perturbation characteristics, enhancing the anti-cracking capability of individual value encryption. Simultaneously, based on the security situation characteristic factors of multiple data types, a joint risk factor and encryption depth are generated. Multiple rounds of enhancement processing are then applied to the derived key to obtain a joint enhanced key, allowing for dynamic adjustment of encryption strength according to the overall operational risk situation of the dam. The higher the risk level, the greater the encryption depth, and the stronger the defense capability of the encryption system.

[0052] 3. This invention employs a dual encryption mechanism using an independent encryption key and a joint enhancement key to achieve dual numerical protection for multiple types of operational state data. Combining the inherent security properties of quantum keys with dynamic generation logic, it effectively prevents data from being stolen, tampered with, or forged during transmission, thus improving encryption security. Attached Figure Description

[0053] Figure 1 This is a flowchart of a data encryption transmission method for a dam monitoring system based on quantum key distribution. Detailed Implementation

[0054] The specific embodiments of the present invention are described below to enable those skilled in the art to understand the present invention. However, it should be understood that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, various changes are obvious as long as they are within the spirit and scope of the present invention as defined and determined by the appended claims. All inventions utilizing the concept of the present invention are protected.

[0055] like Figure 1 As shown, a method for encrypted data transmission in a dam monitoring system based on quantum key distribution includes the following steps:

[0056] S1. Generate a basic quantum key using the BB84 protocol, and divide the basic quantum key into blocks to obtain multiple types of key fragments;

[0057] S2. Collect various operational status data of the dam, and record the corresponding spatial coordinates and timestamps for each value during the collection process;

[0058] S3. Generate safety status characteristic factors for the values ​​in each type of operating status data;

[0059] S4. Obtain the spatiotemporal binding identifier based on the spatial coordinates and timestamp, and generate a derived key based on the security situation feature factor and key fragment;

[0060] S5. Based on the security situation characteristic factor of a single value, generate a perturbation sequence, perform perturbation shift processing on the derived key, and obtain an independent encrypted key;

[0061] S6. Based on the security situation characteristic factors of multiple types of operational status data, generate a joint risk factor and encryption depth, and perform multiple rounds of enhancement processing on the derived key to obtain a joint enhanced key.

[0062] S7. Use an independent encryption key and a joint enhancement key to encrypt the corresponding value to obtain encrypted data.

[0063] The BB84 protocol is a quantum key distribution (QKD) protocol based on the principles of quantum mechanics.

[0064] In this embodiment, the various operational status data include: dam displacement, seepage pressure, stress and strain, and water level and flow rate. Therefore, the basic quantum key is divided into four 24-bit segments, each corresponding to one of the four types of operational status data.

[0065] In this embodiment, S3 includes the following sub-steps:

[0066] S31. Obtain the rate of change of the value at each moment in each type of operating status data;

[0067] S32. Based on the difference between the value at each moment in each type of operating status data and the safety benchmark value, the safety deviation is obtained;

[0068] S33. Add the rate of change and safety deviation of the same value, convert the sum into an integer and limit it to the range of [0~255] to obtain the corresponding value of the safety situation characteristic factor.

[0069] The formula for calculating the rate of change is:

[0070] ,

[0071] in, For the first The first class in the running status data Rate of change of the value at time, For the first The first class in the running status data Time value, For the first The first class in the running status data Time value, For class numbering, For time numbering, This is for absolute value operations.

[0072] The formula for safety deviation is:

[0073] ,

[0074] in, For the first The first class in the running status data Safety deviation of the value at any given time. For the first The safety baseline value for class runtime status data, To take the absolute value.

[0075] The formula for obtaining the corresponding value of the security situation characteristic factor in S33 is:

[0076] ,

[0077] in, For the first The first class in the running status data Security situation characteristic factors at specific times. This is the magnification factor. This is a modulo operation.

[0078] This invention adds the rate of change and the degree of safety deviation, thus integrating the two types of indicators to characterize the temporal fluctuation range and relative degree of safety deviation of a single value; the generated safety situation characteristic factor is strongly bound to the real-time value, historical value and safety benchmark value of the data.

[0079] In this embodiment, the magnification factor 100, used to... Convert to an integer.

[0080] In this embodiment, S4 includes the following sub-steps:

[0081] S41. Convert the spatial coordinates of the values ​​at each moment into a hash sequence;

[0082] S42. Convert the timestamp of each moment's value into a binary sequence;

[0083] S43. Perform an XOR operation between the hash sequence and the binary sequence to obtain the spatiotemporal binding identifier;

[0084] S44. Generate a derived key based on the spatiotemporal binding identifier, security situation characteristic factor, and key fragment.

[0085] The expression for the hash sequence in S41 is:

[0086] ,

[0087] in, For the first The first class in the running status data A hash sequence of spatial coordinates of time values. For hash functions, For the first The first class in the running status data The horizontal axis of the time value corresponds to a string. For the first The first class in the running status data The vertical axis of the time value corresponds to a string. For the first The first class in the running status data The vertical coordinate of the time value corresponds to the string, and || is the concatenation operation.

[0088] The expression for the spacetime binding identifier in S43 is:

[0089] ,

[0090] in, For the first The first class in the running status data The spatiotemporal binding identifier of the time value, To extract the first 8 bits of the hash sequence, For XOR operation, For the first The first class in the running status data The timestamp of the time value is converted into an 8-bit binary sequence.

[0091] In this embodiment, the expression for the derived key in S44 is:

[0092] ,

[0093] in, For the first The first class in the running status data Derivation key for time value, For the first Key fragment of the class, For the first The first class in the running status data Security situation characteristic factors at specific times. Take binary, For the first The first class in the running status data The spatiotemporal binding identifier for the time value; || is used for concatenation operations. For XOR operation, For class numbering, This is the time number.

[0094] This invention uses the SM3 hash function to convert spatial coordinates into a hash sequence, XORs it with an 8-bit binary sequence of a timestamp to generate a unique spatiotemporal binding identifier, and then XORs and concatenates the binary values ​​of a class-level key fragment and a security situation feature factor to generate a derived key bound to the spatiotemporal information of the monitored values ​​and the real-time security situation feature factor. This not only improves the complexity and anti-attack capability of the key through multi-factor fusion, but also achieves key isolation for multiple types of monitoring data by relying on class-level key fragments, adapting to the real-time encryption requirements of dam monitoring systems and fundamentally avoiding the risk of leakage from traditional fixed key cycles.

[0095] In this embodiment, middle It has 8 digits. It is 24 bits; during XOR, it will decrement the 8 bits. The loop is expanded to 24 bits (i.e., three 8-bit arrays). (Obtained by sequential splicing), ensuring that the security situation characteristic factors can evenly cover the entire 24-bit key segment, which not only guarantees bit width matching but also enhances the randomness of the derived key; subsequently, an 8-bit spatiotemporal binding identifier is spliced ​​to generate a 32-bit derived key.

[0096] In this embodiment, S5 includes the following sub-steps:

[0097] S51. Generate a perturbation sequence for the security situation characteristic factors at each time step;

[0098] S52. Perform an XOR operation on the perturbation sequence and the derived key, and then perform a cyclic shift operation on the result of the XOR operation based on the security situation characteristic factor to obtain an independent encrypted key.

[0099] In this embodiment, the expression for generating the perturbation sequence in S51 is:

[0100] ,

[0101] in, For the first The first class in the running status data A perturbation sequence of time values. For modulo operation, Take the binary representation; || is the concatenation operation. For the first The first class in the running status data Security situation characteristic factors at specific times. The first proportional parameter, This is the second proportional parameter. and Take the integer. and Different values ​​make and It has different values.

[0102] This invention uses security situation characteristic factors Convert to binary and generate a perturbation sequence, allowing the perturbation strength to adaptively adjust as the security situation changes. As the value increases, the number of effective bits and the amount of information in its corresponding binary representation increase, and the generated perturbation sequence structure becomes more complex. This introduces a wider range and stronger bit-level changes when perturbing the derived key, thereby increasing the perturbation amplitude and unpredictability of the encryption process.

[0103] The expression for obtaining the independent encrypted key in S52 is:

[0104] ,

[0105] in, For the first The first class in the running status data An independent encrypted key for the time value. For the first The first class in the running status data Derivation key for time value, For the first The first class in the running status data A perturbation sequence of time values. For the first The first class in the running status data Security situation characteristic factors at specific times. For XOR operation, For circular left shift, This is a modulo operation.

[0106] This invention in derivative keys Add perturbation sequence This ensures that the generated independent encrypted key not only inherits the randomness of the quantum key but also incorporates perturbation information derived from security situation characteristic factors. Furthermore, it also... By performing cyclic shifts, each value has a different number of bits shifted in the cycle, achieving a personalized encryption effect between the "value" and the "key," fundamentally avoiding the risk of mass leakage of traditional fixed keys.

[0107] In this embodiment, It has 8 digits. It has 8 digits. It is 16 bits; At that time, the derived key For 32 bits, it will convert 16 bits. The loop is expanded to 32 bits (that is, two 16-bit loops). 2 is obtained by splicing together.

[0108] In this embodiment, S6 includes the following sub-steps:

[0109] S61. Add the safety situation characteristic factors of multiple types of operational status data with the same time-time number to obtain the joint risk factor;

[0110] S62. Determine the encryption depth based on the joint risk factors;

[0111] S63. Based on the joint risk factors, an initial enhanced sequence is generated using a hash function;

[0112] S64. Based on the initial enhancement sequence and encryption depth, perform multiple rounds of enhancement processing on the derived key to obtain the joint enhancement key.

[0113] In this embodiment, the formula for determining the encryption depth in S62 is:

[0114] ,

[0115] in, For the first The encryption depth of constantly combined risk factors, For the first Always consider risk factors. As the largest joint risk factor, For maximum encryption depth, This is to round down to the nearest integer.

[0116] The formula for generating the initial enhancement sequence in S63 is:

[0117] ,

[0118] in, For the first The initial enhancement sequence of the combined risk factors at each moment, Take binary, For hash functions, Take the first 32 bits.

[0119] The expression for obtaining the joint enhanced key in S64 is:

[0120] ,

[0121] in, For the first The first class in the running status data The first moment The joint enhancement key during the second enhancement For the first The first class in the running status data The first moment The joint enhancement key during the second enhancement For the first The first class in the running status data Derivation key for time value, For modulo operation, For XOR operation, For circular left shift, Take the initial enhancement sequence , For class numbering, To increase the number of times, until we get That is, to enhance Second-rate.

[0122] This invention obtains a joint risk factor by summing multiple security situation characteristic factors, and then determines the encryption depth through a proportional mapping formula. This achieves an adaptive encryption mechanism where "the higher the risk, the more encryption rounds," ensuring that the key protection strength is precisely matched to the real-time risk level of the data. This invention generates an initial enhancement sequence using a hash function, integrates it into the process of constructing the joint enhancement key, and then adds a cyclic shift in each round. This completely disrupts the generation process of the joint enhanced key, increasing key security.

[0123] In this embodiment, S7 includes the following sub-steps:

[0124] S71. Quantize and encode the numerical value, and obtain the corresponding binary data to get the sequence to be encrypted;

[0125] S72. Divide the sequence to be encrypted into two segments to obtain the first subsequence to be encrypted and the second subsequence to be encrypted.

[0126] S73, Combine the first subsequence to be encrypted with the independent encryption key. XOR operation yields the first encrypted subsequence;

[0127] S74. Combine the second subsequence to be encrypted with the joint enhancement key. XOR operation yields the second encrypted subsequence;

[0128] S75. Concatenate the first encrypted subsequence with the second encrypted subsequence to obtain encrypted data.

[0129] In this embodiment, the formula for quantizing and encoding the numerical value in S71 is as follows:

[0130] ,

[0131] in, For the first The first class in the running status data Quantization encoding of time values, For the first The first class in the running status data Time value, To quantify the precision coefficient, This is to round down to the nearest integer.

[0132] Quantization accuracy coefficient It is a positive integer, and its value satisfies the quantization encoding. The binary width is 64 bits.

[0133] In this embodiment, the sequence to be encrypted is 64 bits, and the first and second sub-sequences to be encrypted are both 32 bits. They are XORed with the independent encryption key and the joint enhancement key, respectively, so that the personalized characteristics of a single data of a single type and the joint risk characteristics of multiple data types are applied to different data segments, forming a two-layer encryption architecture of "personalized protection + joint enhancement protection", which greatly improves the data's resistance to cracking. Attackers need to crack both types of keys at the same time to restore the complete data.

[0134] This invention generates a fundamental quantum key with inherent high security and non-cloning properties using the BB84 protocol, and divides it into key fragments. It then generates a spatiotemporal binding identifier by combining the spatial coordinates and timestamps synchronously recorded during the acquisition of various dam operation status data. This identifier is further linked to the security situation characteristic factors of each data type to generate a derived key deeply bound to the real-time data status, breaking the limitation of fixed-period keys that are unrelated to data status in existing technologies. Simultaneously, it generates a perturbation sequence using a single data security situation characteristic factor to perturb and shift the derived key, obtaining an independent encrypted key. Combining multiple data security situation characteristic factors to generate a joint risk factor and encryption depth, it performs multiple rounds of enhancement to obtain a joint enhanced key. This achieves dynamic key adjustment based on the data status at different monitoring points and time periods, with each data set corresponding to a unique personalized encryption key. This solves the problems of traditional fixed keys being easily leaked, leading to the decryption and theft of all data within the corresponding period, and low encryption security.

[0135] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for encrypted data transmission in a dam monitoring system based on quantum key distribution, characterized in that, Includes the following steps: S1. Generate a basic quantum key using the BB84 protocol, and divide the basic quantum key into blocks to obtain multiple types of key fragments; S2. Collect various operational status data of the dam, and record the corresponding spatial coordinates and timestamps for each value during the collection process; S3. Generate safety status characteristic factors for the values ​​in each type of operating status data; S4. Obtain the spatiotemporal binding identifier based on the spatial coordinates and timestamp, and generate a derived key based on the security situation feature factor and key fragment; S5. Based on the security situation characteristic factor of a single value, generate a perturbation sequence, perform perturbation shift processing on the derived key, and obtain an independent encrypted key; S6. Based on the security situation characteristic factors of multiple types of operational status data, generate a joint risk factor and encryption depth, and perform multiple rounds of enhancement processing on the derived key to obtain a joint enhanced key. S7. Encrypt the corresponding values ​​using an independent encryption key and a joint enhancement key to obtain encrypted data; S3 includes the following steps: S31. Obtain the rate of change of the value at each moment in each type of operating status data; S32. Based on the difference between the value at each moment in each type of operating status data and the safety benchmark value, the safety deviation is obtained; S33. Add the rate of change and safety deviation of the same value, convert the sum to an integer and limit it to the range of [0~255] to obtain the corresponding value of the safety situation characteristic factor; S4 includes the following steps: S41. Convert the spatial coordinates of the values ​​at each moment into a hash sequence; S42. Convert the timestamp of each moment's value into a binary sequence; S43. Perform an XOR operation between the hash sequence and the binary sequence to obtain the spatiotemporal binding identifier; S44. Generate a derived key based on the spatiotemporal binding identifier, security situation characteristic factor, and key fragment; S5 includes the following steps: S51. Generate a perturbation sequence for the security situation characteristic factors at each time step; S52. Perform an XOR operation on the perturbation sequence and the derived key, and then perform a cyclic shift operation on the result of the XOR operation based on the security situation characteristic factor to obtain an independent encrypted key. S6 includes the following steps: S61. Add the safety situation characteristic factors of multiple types of operational status data with the same time-time number to obtain the joint risk factor; S62. Determine the encryption depth based on the joint risk factors; S63. Based on the joint risk factors, an initial enhanced sequence is generated using a hash function; S64. Based on the initial enhancement sequence and encryption depth, perform multiple rounds of enhancement processing on the derived key to obtain the joint enhancement key; The formula for determining the encryption depth in S62 is: , in, For the first The encryption depth of constantly combined risk factors, For the first Always consider risk factors. As the largest joint risk factor, For maximum encryption depth, To round down to the nearest integer, This is the time number.

2. The data encryption and transmission method for a dam monitoring system based on quantum key distribution according to claim 1, characterized in that, The expression for the derived key in S44 is: , in, For the first The first class in the running status data Derivation key for time value, For the first Key fragment of the class, For the first The first class in the running status data Security situation characteristic factors at specific times. Take binary, For the first The first class in the running status data The spatiotemporal binding identifier for the time value; || is used for concatenation operations. For XOR operation, For class numbering, This is the time number.

3. The data encryption and transmission method for a dam monitoring system based on quantum key distribution according to claim 1, characterized in that, The expression for obtaining the independent encryption key in S52 is: , in, For the first The first class in the running status data An independent encrypted key for the time value. For the first The first class in the running status data Derivation key for time value, For the first The first class in the running status data A perturbation sequence of time values. For the first The first class in the running status data Security situation characteristic factors at specific times. For XOR operation, For circular left shift, For modulo operation, For class numbering, This is the time number.

4. The data encryption and transmission method for a dam monitoring system based on quantum key distribution according to claim 1, characterized in that, The expression for obtaining the joint enhancement key in S64 is: , in, For the first The first class in the running status data The first moment The joint enhancement key during the second enhancement For the first The first class in the running status data The first moment The joint enhancement key during the second enhancement For the first The first class in the running status data Derivation key for time value, For modulo operation, For XOR operation, For circular left shift, Take the initial enhancement sequence , For class numbering, To enhance the numbering of times, in equal At that time, the enhancement process ends.

5. The data encryption transmission method for a dam monitoring system based on quantum key distribution according to claim 1, characterized in that, S7 includes the following sub-steps: S71. Quantize and encode the numerical value, and obtain the corresponding binary data to get the sequence to be encrypted; S72. Divide the sequence to be encrypted into two segments to obtain the first subsequence to be encrypted and the second subsequence to be encrypted. S73. XOR the first subsequence to be encrypted with the independent encryption key to obtain the first encrypted subsequence; S74. XOR the second subsequence to be encrypted with the joint enhancement key to obtain the second encrypted subsequence; S75. Concatenate the first encrypted subsequence with the second encrypted subsequence to obtain encrypted data.