Memory data encryption system based on HPLC dual-mode carrier communication

By real-time monitoring and calculation of parameters such as the bit error rate, carrier frequency, and signal-to-noise ratio of HPLC dual-mode carrier communication, the encryption algorithm is dynamically adjusted, solving the problem of difficulty in achieving the optimal encryption strategy in existing technologies and improving the security and stability of communication data.

CN120602197APending Publication Date: 2025-09-05NANJING HUASHEYUN INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510920903.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

The existing memory data encryption system based on HPLC dual-mode carrier communication has difficulty in analyzing the real-time communication quality of communication data according to factors such as bit error rate, carrier frequency and signal-to-noise ratio during data communication, and it is difficult to implement the optimal encryption strategy under limited memory resources.

Method used

The data collection module monitors parameters such as bit error rate, carrier frequency, signal-to-noise ratio and noise power spectrum density in real time. The communication data risk value algorithm unit, data storage security value algorithm unit and dynamic time security value algorithm unit of the calculation and processing module are used to dynamically adjust the encryption algorithm and parameters to optimize the encryption strategy.

Benefits of technology

It achieves optimal encryption of communication data under limited memory resources, improves the robustness and flexibility of the system, and can dynamically adjust the encryption strategy according to the real-time communication quality, enhancing anti-attack capabilities and communication stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602197A_ABST
    Figure CN120602197A_ABST
Patent Text Reader

Abstract

The invention discloses a memory data encryption system based on HPLC (High Performance Liquid Chromatography) dual-mode carrier communication, and relates to the technical field of communication data security. Three groups of algorithm units are matched with one another to jointly form a core architecture of the memory data encryption system based on the HPLC dual-mode carrier communication; a communication data risk value is calculated through the communication data risk value algorithm unit, the transmission quality of a current communication channel can be visually reflected, a data storage security value is calculated through the data storage security value algorithm unit according to encrypted information, the security of data storage can be comprehensively reflected, and the security of data storage is improved. By analyzing the transmission quality of the current communication channel and the security of data storage, the memory data encryption system for dual-mode carrier communication can obtain the real-time communication quality of the current communication data, and can adjust the encryption strategy of the data according to the real-time communication quality. Optimal encryption of communication data can be realized under limited memory resources of a memory data encryption system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication data security, in particular to a memory data encryption system based on HPLC dual-mode carrier communication. Background Art

[0002] High-speed power line carrier (HPLC) is a broadband power line carrier technology for data transmission on low-voltage power lines. It has the advantages of large bandwidth and high transmission rate to meet the requirements of low-voltage power line carrier. In combination with dual-mode communication technology, it can effectively solve the communication "island" problem that may exist when using a single communication technology. The simultaneous transmission and reception of dual channels expands the communication bandwidth, greatly improving the stability of the network and the real-time performance of communications.

[0003] For example, the memory data encryption method based on HPLC dual-mode carrier communication disclosed in Chinese invention CN202310524145.0 solves the problem that the traditional Arnold transform encryption method only uses staggered transform for the distribution of data without changing the statistical characteristics of the data, so that the data still has large analyzable features, thereby ensuring data storage security.

[0004] As shown in the above-mentioned referenced documents, the current memory data encryption system based on HPLC dual-mode carrier communication has difficulty in analyzing the real-time communication quality of communication data based on influencing factors such as the bit error rate, carrier frequency, and signal-to-noise ratio during data communication, and has difficulty in adjusting the encryption strategy of the data based on the real-time communication quality of the communication data. It is also difficult to implement the optimal encryption strategy for the communication data in the memory data encryption system with limited memory resources.

[0005] Therefore, there is an urgent need for a memory data encryption system based on HPLC dual-mode carrier communication to solve the above problems. Summary of the Invention

[0006] The purpose of the present invention is to provide a memory data encryption system based on HPLC dual-mode carrier communication to solve the problems raised in the above background technology.

[0007] To achieve the above object, the present invention provides the following technical solution: a memory data encryption system based on HPLC dual-mode carrier communication, comprising:

[0008] The data collection module is used to collect communication information and encrypted information during dual-mode communication. The collected communication information and encrypted information include:

[0009] Bit error rate Ber, carrier frequency Cf, signal-to-noise ratio Snr, noise power spectrum density Npd, encryption algorithm key length Bkl, encryption round number base Rnd, system running memory usage Rmu and encryption time E;

[0010] The data preprocessing module decodes and preprocesses the collected communication information and encrypted information to obtain the calculation parameters in the calculation processing module;

[0011] Computing and processing module, including:

[0012] The communication data risk value algorithm unit is used to calculate the communication data risk value Cdr based on the three real-time communication information of bit error rate Ber, carrier frequency Cf and signal-to-noise ratio Snr to form a comprehensive communication signal quality impact factor, combined with the noise power spectrum density Npd, and adjust the encryption algorithm based on the communication data risk value Cdr;

[0013] The data storage security value algorithm unit is used to calculate the data storage security value Dss by taking the communication data risk value Cdr as an input parameter and combining it with the encryption algorithm's key length Bkl, the encryption round number base Rnd, and the system's running memory usage Rmu. This provides a quantitative indicator for the memory data encryption system to comprehensively reflect the security of data storage in the memory.

[0014] The dynamic time-sensitive security value algorithm unit is used to take the data storage security value Dss as an input parameter, and calculate the dynamic time-sensitive security value Dst in combination with the encryption time Et and the system running memory usage Rmu. The communication data risk value algorithm unit is then used to adjust the parameters according to the dynamic time-sensitive security value Dst to increase the communication data risk value Cdr in the next round of calculation, prompting the system to take stricter encryption measures to avoid the loss of communication data.

[0015] Optionally, the data collection specifically includes:

[0016] The bit error rate Ber is obtained by real-time monitoring and calculation through the demodulator;

[0017] Obtain the carrier frequency Cf through spectrum analyzer monitoring;

[0018] The noise power spectral density Npd and signal-to-noise ratio Snr are measured and calculated using a spectrum analyzer;

[0019] Obtain the encryption algorithm's key length Bkl, encryption round number base Rnd, and encryption time Et from the algorithm design document of the encryption algorithm;

[0020] The system running memory usage Rmu is obtained through real-time monitoring of the built-in manager of the storage data encryption system.

[0021] Optionally, the encryption algorithm adjustment specifically includes:

[0022] Set the danger threshold Y1 of the communication data risk value Cdr to 2.0 and the safety threshold Y2 to 0.5;

[0023] When the communication data risk value Cdr>Y1, it means that the current dual-mode carrier communication is in a high-risk scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to AES-256 to enhance the anti-attack capability of dual-mode carrier communication.

[0024] When the communication data risk value Cdr is 2≤Cdr≤Y1, the currently used AES-128 encryption algorithm is maintained, indicating that the risk of the current dual-mode carrier communication is at a medium level. The AES-128 encryption algorithm can achieve a relatively balanced state in terms of security and computational complexity, ensuring data security without incurring an excessive computational burden like AES-256. It also provides better security than RC4.

[0025] When the communication data risk value Cdr is less than Y2, it means that the current dual-mode carrier communication is in a safe scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to RC4 algorithm to reduce the computational complexity of the encryption algorithm and increase the data communication speed.

[0026] Optionally, the parameter adjustment specifically includes:

[0027] The adjustment threshold Y4 of the dynamic time-sensitive security value Dst is set to 1.5. When the dynamic time-sensitive security value Dst is less than Y4, it means that the memory data encryption system is in a high-risk and high-load state. The noise adjustment factor α in the communication data risk value algorithm unit is adjusted to 1.2 times the original value, thereby increasing the communication data risk value Cdr in the next round of calculation.

[0028] Optionally, the calculation logic of the communication data risk value algorithm unit is as follows:

[0029] S11, the signal-to-noise ratio Snr, obtained by multiplying the bit error rate Ber by the carrier frequency Cf and dividing by the square root, represents the comprehensive quality impact factor of the communication signal. It is used to quantify the positive impact of the bit error rate Ber on the communication data risk value Cdr under a specific frequency and noise environment;

[0030] S12: Divide the noise power spectrum density Npd by the noise threshold Thd to obtain the multiple of the actual noise power spectrum density relative to the system's allowable threshold. Add the division constant 1 to the multiple of the actual noise power spectrum density relative to the system's allowable threshold, and use this as the logarithmic part of the logarithmic function. This is used to suppress the instantaneous noise fluctuations caused by the extreme values ​​of the multiple of the actual noise power spectrum density relative to the system's allowable threshold, which can cause severe fluctuations in the risk value. At the same time, when the noise power spectrum density Npd is low, the impact on the communication data risk value Cdr is amplified.

[0031] Optionally, a square root process is performed on the signal-to-noise ratio Snr in the calculation of the communication data risk value algorithm unit to amplify the impact of a low signal-to-noise ratio Snr on the communication data risk value Cdr, while avoiding an excessive impact on the communication data risk value Cdr when the signal-to-noise ratio Snr takes an extreme value;

[0032] The comprehensive quality impact factor of the communication signal is taken as the exponential part of the natural constant e, and the risk level classification is formed through the threshold effect of the exponential function.

[0033] Optionally, the calculation logic of the data storage security value algorithm unit is as follows:

[0034] S21: Normalize the communication data risk value Cdr by its security threshold Y2, then raise it to a negative exponential power and multiply it by the encryption algorithm's key length Bkl. This represents the coupling effect of communication risk and algorithm strength. As the encryption algorithm's key length Bkl increases, the calculated data storage security value Dss increases to reflect the improvement in data communication security achieved with longer keys. As the communication data risk value Cdr increases, the risk of data communication increases, and the calculated data storage security value Dss decreases.

[0035] S22, by subtracting the system running memory usage rate Rmu from 100%, represents the remaining usage rate of the system running memory, and maps the impact value of this part of the remaining usage rate of the system running memory on the data storage safety value Dss to a numerical range of 0 to 1 through the variant of the Sigmoid function. As the remaining usage rate of the system running memory increases, the calculated data storage safety value Dss increases.

[0036] Optionally, the calculation logic of the dynamic time safety value algorithm unit is as follows:

[0037] S31, by dividing the ideal transmission time Et0 by the encryption time Et, is used to reflect the time loss introduced by the algorithm encryption of the communication data. The closer the encryption time Et is to the ideal transmission time Et0, the closer this part of the value is to 1, indicating high encryption efficiency. Conversely, when the encryption time Et increases, The smaller the value of this part, the lower the encryption efficiency, which reduces the calculated dynamic time security value Dst;

[0038] S32, the impact of system running memory usage Rmu on dynamic time safety value is reflected through the Sgn function. Specifically:

[0039] When the memory usage Rmu is less than 0.7, it means that the system still has more than 30% of the running memory and the system load is at a safe value. mu) The value of this part of the Sgn function is 1, which increases the calculated dynamic time safety value Dst;

[0040] When the memory usage Rmu>0.7, it means that the system's running memory is less than 30%, and the system load is at a dangerous value. mu ) The value of this part of the Sgn function is -1, which reduces the calculated dynamic time safety value Dst.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] 1. The present invention forms the core architecture of a memory data encryption system based on HPLC dual-mode carrier communication through the mutual cooperation of three groups of algorithm units. The communication data risk value algorithm unit comprehensively considers influencing factors such as bit error rate Ber, carrier frequency Cf and signal-to-noise ratio Snr to calculate the communication data risk value Cdr, which can intuitively reflect the transmission quality of the current communication channel. The data storage security value algorithm unit calculates the data storage security value Dss according to the encrypted information, which can comprehensively reflect the security of data storage. By analyzing the transmission quality of the current communication channel and the security of data storage, the memory data encryption system of dual-mode carrier communication can more intuitively analyze the real-time communication quality of the current communication data, and can adjust the data encryption strategy according to the real-time communication quality of the communication data, so as to achieve optimal encryption of the communication data in the memory data encryption system with limited memory resources.

[0043] 2. The present invention uses a dynamic time-sensitive security value algorithm unit to comprehensively consider the data storage security value Dss, encryption time Et, ideal transmission time Et0, and system running memory usage Rmu to calculate a dynamic time-sensitive security value Dst, which can reflect the security status and operating efficiency of the memory data encryption system at a specific time point. When the dynamic time-sensitive security value Dst is low, it indicates that the system is in a high-risk or high-load state, and measures need to be taken to adjust the parameters. By setting the adjustment threshold Y4, the system can automatically trigger the adjustment mechanism when the Dst value is lower than the adjustment threshold Y4, and increase the value of the noise adjustment factor α in the communication data risk value algorithm unit to increase the communication data risk value Cdr in the next round of calculation. This will prompt the system to take more stringent encryption measures to avoid communication data loss, further enhancing the security of the memory data encryption system of dual-mode carrier communication, and this dynamic adjustment method of parameters helps the system better adapt to the ever-changing communication environment and security requirements, thereby improving the robustness and flexibility of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 The overall schematic diagram of the memory data encryption system based on HPLC dual-mode carrier communication. DETAILED DESCRIPTION

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only 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 making creative efforts are within the scope of protection of the present invention.

[0046] See also Figure 1 This embodiment provides a memory data encryption system based on HPLC dual-mode carrier communication, including:

[0047] The data collection module is used to collect communication information and encrypted information during dual-mode communication. The data collection specifically includes:

[0048] The bit error rate Ber is obtained by real-time monitoring and calculation through the demodulator;

[0049] Obtain the carrier frequency Cf through spectrum analyzer monitoring;

[0050] The noise power spectral density Npd and signal-to-noise ratio Snr are measured and calculated using a spectrum analyzer;

[0051] Obtain the encryption algorithm's key length Bkl, encryption round number base Rnd, and encryption time Et from the algorithm design document of the encryption algorithm;

[0052] The system running memory usage Rmu is obtained through the built-in manager of the storage data encryption system in real time monitoring;

[0053] The data preprocessing module decodes and preprocesses the collected communication information and encrypted information to obtain the calculation parameters in the calculation processing module;

[0054] Computing and processing module, including:

[0055] The communication data risk value algorithm unit is used to calculate the communication signal comprehensive quality impact factor based on the three real-time communication information: bit error rate Ber, carrier frequency Cf, and signal-to-noise ratio Snr. It is combined with the noise power spectrum density Npd to calculate the communication data risk value Cdr, and adjust the encryption algorithm based on the communication data risk value Cdr. The encryption algorithm adjustment specifically includes:

[0056] Set the danger threshold Y1 of the communication data risk value Cdr to 2.0 and the safety threshold Y2 to 0.5;

[0057] When the communication data risk value Cdr>Y1, it means that the current dual-mode carrier communication is in a high-risk scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to AES-256 to enhance the anti-attack capability of dual-mode carrier communication.

[0058] When the communication data risk value Cdr is 2≤Cdr≤Y1, the currently used AES-128 encryption algorithm is maintained, indicating that the risk of the current dual-mode carrier communication is at a medium level. The AES-128 encryption algorithm can achieve a relatively balanced state in terms of security and computational complexity, ensuring data security without incurring an excessive computational burden like AES-256. It also provides better security than RC4.

[0059] When the communication data risk value Cdr is less than Y2, it means that the current dual-mode carrier communication is in a safe scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to RC4 algorithm to reduce the calculation amount of the encryption algorithm and improve the data communication speed.

[0060] The data storage security value algorithm unit is used to calculate the data storage security value Dss by taking the communication data risk value Cdr as an input parameter and combining it with the encryption algorithm's key length Bkl, the encryption round number base Rnd, and the system's running memory usage Rmu. This provides a quantitative indicator for the memory data encryption system to comprehensively reflect the security of data storage in the memory.

[0061] The dynamic time-sensitive security value algorithm unit is used to take the data storage security value Dss as an input parameter, and calculate the dynamic time-sensitive security value Dst in combination with the encryption time Et and the system running memory usage Rmu. The communication data risk value algorithm unit is then parameterized based on the dynamic time-sensitive security value Dst. The parameter adjustment specifically includes:

[0062] The adjustment threshold Y4 of the dynamic time-sensitive security value Dst is set to 1.5. When the dynamic time-sensitive security value Dst is less than Y4, it means that the memory data encryption system is in a high-risk and high-load state. The noise adjustment factor α in the communication data risk value algorithm unit is adjusted to 1.2 times the original value, and the communication data risk value Cdr in the next round of calculation is increased to increase the communication data risk value Cdr in the next round of calculation, prompting the system to take more stringent encryption measures to avoid communication data loss.

[0063] In this embodiment:

[0064] The present invention forms the core architecture of a memory data encryption system based on HPLC dual-mode carrier communication through the mutual cooperation of multiple groups of algorithm units. By comprehensively considering the bit error rate Ber, carrier frequency Cf, noise power spectrum density Npd, noise threshold Thd and signal-to-noise ratio Snr, the communication data risk value Cdr is calculated, which can intuitively understand the transmission quality of the current communication channel. The data storage security value Dss is calculated based on the encrypted information through the data storage security value algorithm unit, which can fully reflect the security of data storage. By analyzing the transmission quality of the current communication channel and the security of data storage, the memory data encryption system of dual-mode carrier communication can more intuitively analyze the real-time communication quality of the current communication data, and can adjust the data encryption strategy according to the real-time communication quality of the communication data (when the communication data risk value Cdr is high, the encryption algorithm is enhanced to enhance the anti-attack capability during dual-mode carrier communication; when the communication data risk value Cdr is low, the encryption algorithm is reduced to reduce the computational complexity of the encryption algorithm and improve the data communication speed). Therefore, the memory data encryption system can implement the optimal encryption strategy for communication data under limited memory resources.

[0065] See also Figure 1 , the communication data risk value algorithm unit is as follows:

[0066]

[0067] in:

[0068] Cdr represents the communication data risk value;

[0069] Ber stands for bit error rate, which reflects the reliability of communication signal transmission. A higher value indicates worse channel quality. It is obtained by real-time statistics of the demodulator on the ratio of the number of bit errors to the total number of code elements.

[0070] Cf represents the carrier frequency, which is the center frequency of the current modulated signal and is obtained by monitoring with a spectrum analyzer;

[0071] Npd stands for noise power spectral density, which is the noise power spectral density of the power line in dual-mode carrier communication. It is used to reflect the energy distribution of noise on the power line at different frequencies. It is measured and calculated using a spectrum analyzer. Specifically:

[0072] The noise signal data is acquired through a spectrum analyzer, and the noise signal is Fourier transformed to obtain a complex spectrum in the frequency domain. Finally, the square of the modulus of the complex spectrum is calculated to obtain the power spectral density Nps of the noise. This is a relatively mature existing technology in the field of spectrum analyzers and will not be described in detail here.

[0073] Thd stands for noise threshold, which refers to the maximum allowable noise power spectrum density threshold preset for the dual-mode carrier communication system. The preset value is -120 and the unit is dBm / Hz.

[0074] α represents the noise adjustment factor, and the default value is 0.8;

[0075] Snr stands for signal-to-noise ratio, which reflects the clarity of signal transmission in the power line medium. In dual-mode carrier communication, it refers to the ratio of the signal power to the noise power at the receiving end. The specific calculation formula is as follows:

[0076]

[0077] in:

[0078] Ps represents the useful signal power, which is measured by a spectrum analyzer;

[0079] Pn represents the noise power, which is measured by a spectrum analyzer;

[0080] This part is the signal-to-noise ratio Snr after the square root processing, which is the bit error rate Ber multiplied by the carrier frequency Cf and divided by the square root processing. It represents the comprehensive quality impact factor of the communication signal and is used to quantify the positive impact of the bit error rate Ber on the communication data risk value Cdr under a specific frequency and noise environment. Here, the square root processing of the signal-to-noise ratio Snr is used to amplify the impact of low signal-to-noise ratio Snr on the communication data risk value Cdr, while avoiding excessive impact on the communication data risk value Cdr when the low signal-to-noise ratio Snr reaches an extreme value;

[0081] Taking this part of the comprehensive quality impact factor of the communication signal as the exponential part of the natural constant e, the threshold effect of the exponential function can be used to form a risk level classification. Specifically:

[0082] when When the value of the comprehensive quality impact factor of this part of the communication signal decreases, the index part tends to 0 and the risk value tends to 1, indicating that the risk of the communication data is low, and the calculated communication data risk value Cdr is low;

[0083] when When the value of the comprehensive quality impact factor of this part of the communication signal increases, the exponential part increases, indicating that the risk of the communication data is high, and the calculated communication data risk value Cdr increases exponentially;

[0084] By dividing the noise power spectral density Npd by the noise threshold Thd, we can get the multiple of the actual noise power spectral density relative to the system allowable threshold. Specifically:

[0085] when It means that the noise has just reached the threshold and the system is in a critical working state;

[0086] when Indicates that the noise exceeds the standard, the system performance is degraded, and the calculated communication data risk value Cdr is increased;

[0087] when This means that the noise is within a safe range, the system performance is stable, and the calculated communication data risk value Cdr is reduced;

[0088] The logarithmic part of the logarithmic function is calculated by adding a division constant of 1 to the multiple of the actual noise power spectrum density relative to the system's allowable threshold. This is used to suppress the instantaneous noise fluctuations caused by extreme values ​​of the actual noise power spectrum density relative to the system's allowable threshold, which can lead to sharp fluctuations in the risk value. At the same time, when the noise power spectrum density Npd is low, the impact on the communication data risk value Cdr is amplified.

[0089] In this embodiment, the communication data risk value algorithm unit calculates the communication data risk value Cdr by comprehensively considering the bit error rate Ber, carrier frequency Cf, noise power spectrum density Npd, noise threshold Thd and signal-to-noise ratio Snr. The bit error rate Ber reflects the reliability of communication signal transmission. By real-time counting the ratio of the number of bit errors to the total number of code elements, the transmission quality of the current communication channel can be intuitively understood. The higher the bit error rate Ber value, the worse the channel quality and the lower the reliability of data transmission. The signal-to-noise ratio Snr reflects the transmission clarity of the communication signal in the power line medium. The higher the signal-to-noise ratio Snr value, the better the signal quality and the higher the clarity of data transmission. By comprehensively incorporating the bit error rate Ber and the signal-to-noise ratio Snr into the communication data risk value algorithm unit, the memory data encryption system can evaluate the communication quality in real time and provide an important basis for subsequent data encryption. Specifically:

[0090] Set the danger threshold Y1 of the communication data risk value Cdr to 2.0 and the safety threshold Y2 to 0.5;

[0091] When the communication data risk value Cdr>Y1, it means that the current dual-mode carrier communication is in a high-risk scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to AES-256 to enhance the anti-attack capability of dual-mode carrier communication.

[0092] When the communication data risk value Cdr is less than Y2, it means that the current dual-mode carrier communication is in a safe scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to RC4 algorithm to reduce the calculation amount of the encryption algorithm and improve the data communication speed.

[0093] The carrier frequency Cf represents the center frequency of the current modulation signal and has a significant impact on communication performance. Different carrier frequencies may be subject to varying degrees of noise interference and attenuation. The noise power spectrum density Npd reflects the energy distribution of noise on the power line at different frequencies. By measuring and calculating Npd with a spectrum analyzer, we can understand the noise level at the current carrier frequency. By incorporating the carrier frequency Cf and the noise power spectrum density Npd into the calculation of the communication data risk value algorithm unit, the memory data encryption system can optimize the carrier frequency based on the relationship between the power spectrum density Npd and the carrier frequency Cf, avoid frequency bands with severe noise interference, and improve communication reliability and stability.

[0094] See also Figure 1 , the data storage security value algorithm unit is as follows:

[0095]

[0096] in:

[0097] Dss stands for data storage security value;

[0098] Bkl represents the key length of the encryption algorithm, which can be obtained from the algorithm design document of the encryption algorithm;

[0099] Cdr represents the communication data risk value, which is calculated by the communication data risk value algorithm unit;

[0100] Y2 represents the safety threshold of the communication data risk value, and the default value is 0.5;

[0101] Rnd represents the encryption round number base, which is the encryption round number of the encryption algorithm and can be obtained from the algorithm design document of the encryption algorithm;

[0102] Rmu represents the system's operating memory usage, which is monitored in real time by the built-in manager of the memory data encryption system;

[0103] This part normalizes the communication data risk value Cdr by the security threshold Y2 of the communication data risk value, takes a negative exponential power, and then multiplies it by the key length Bkl of the encryption algorithm. It represents the coupling influence term of communication risk and algorithm strength. Specifically:

[0104] This section scales the impact of the encryption algorithm's key length Bkl on the data storage security value Dss by a constant of 100, to avoid excessive impact on the data storage security value Dss caused by an excessively large value of the encryption algorithm's key length Bkl. As the encryption algorithm's key length Bkl increases, the calculated data storage security value Dss is directly enhanced to reflect the improvement in data communication security brought about by longer keys.

[0105] As the communication data risk value Cdr increases, the risk of data communication increases. This part of the value increases, This part is reduced as a whole, reducing the calculated data storage safety value Dss; 100% - R mu This part is calculated by subtracting the system memory usage Rmu from 100%, which represents the remaining usage of the system memory. The larger the value is, the more sufficient the system memory is to strengthen the encryption algorithm. This part is a deformation of the Sigmoid function, which converts 100% -R mu The impact of the remaining usage rate of this part of the system running memory on the data storage safety value Dss is mapped to a numerical range of 0 to 1. As the remaining usage rate of the system running memory increases, the calculated data storage safety value Dss increases;

[0106] In this embodiment:

[0107] By incorporating multiple key factors such as the encryption algorithm's key length Bkl, communication data risk value Cdr, encryption round base Rnd, and system running memory usage Rmu into the calculation of the data storage security value algorithm unit, the data storage security value Dss is calculated, providing a quantitative indicator that can comprehensively reflect the security of data storage. By comparing the data storage security values ​​Dss at different time points and under different encryption algorithm configurations, we can intuitively understand the changes in data storage security and evaluate the real-time security status of data storage.

[0108] The remaining usage rate obtained by subtracting the actual Rmu from 100% reflects the memory resources available for encryption operations in the system. The system can provide data support for the adjustment of the data encryption algorithm in the communication data risk value algorithm unit based on the change of the Dss value, thereby avoiding waste of memory resources while ensuring the efficient execution of encryption operations. That is, the data storage security value Dss calculated by the data storage security value algorithm unit helps the memory data encryption system to achieve the optimal encryption effect for communication data with limited memory resources.

[0109] See also Figure 1 , the dynamic time safety value algorithm unit is as follows:

[0110]

[0111] in:

[0112] Dst represents the dynamic time safety value;

[0113] Dss represents the data storage security value, which is calculated by the data storage security value algorithm unit;

[0114] Y3 represents the safety threshold of data storage security value, and the default value is 3.0;

[0115] Et represents encryption time, which is the algorithm encryption time of communication data;

[0116] Et0 represents the ideal transmission time, which is the transmission time of dual-mode carrier communication data without encryption and without being attacked;

[0117] Rmu represents the system running memory usage;

[0118] This part measures whether the current storage security level meets the standard by dividing the dynamic time-based security value Dst by the security threshold Y3 of the data storage security value. Specifically:

[0119] When Dss>Y3, The value of this part is greater than 1, indicating that the current communication and data storage security level exceeds the benchmark;

[0120] When Dss<Y3, If the value of this part is less than 1, it means that the current communication and data storage security level is insufficient, which reduces the calculated dynamic time security value Dst;

[0121] This part is obtained by dividing the ideal transmission time Et0 by the encryption time Et, which is used to reflect the time loss introduced by the algorithm encryption of the communication data. The closer the encryption time Et is to the ideal transmission time Et0, the closer this part value is to 1, which means the encryption efficiency is high. On the contrary, when the encryption time Et increases, The smaller the value of this part, the lower the encryption efficiency, which reduces the calculated dynamic time security value Dst;

[0122] sgn(0.7-R mu ) This part uses the Sgn function to reflect the impact of the system running memory usage Rmu on the dynamic time safety value. Specifically:

[0123] When the memory usage Rmu is less than 0.7, it means that the system still has more than 30% of the running memory and the system load is at a safe value. mu ) The value of this part of the Sgn function is 1, which increases the calculated dynamic time safety value Dst;

[0124] When the memory usage Rmu>0.7, it means that the system's running memory is less than 30%, and the system load is at a dangerous value. mu ) The value of this part of the Sgn function is -1, which reduces the calculated dynamic time safety value Dst;

[0125] Set the adjustment threshold Y4 of the dynamic time-sensitive security value Dst to 1.5. When the dynamic time-sensitive security value Dst is less than Y4, it indicates that the memory data encryption system is in a high-risk and high-load state. Adjust the noise adjustment factor α in the communication data risk value algorithm unit to 1.2 times the original value to increase the communication data risk value Cdr in the next round of calculation.

[0126] And set the convergence conditions, the convergence process is as follows;

[0127] Convergence condition 1: The maximum number of iterations is N, which is set to 15;

[0128] Convergence condition 2: The rate of change of the dynamic time-sensitive safety value Dst before and after the iteration. The calculation formula is as follows:

[0129]

[0130] When any one of the convergence conditions 1 and 2 is met, the parameter adjustment stops immediately.

[0131] in:

[0132] DST i Refers to the dynamic time-effectiveness safety value after the i-th iteration;

[0133] DST i-1 Refers to the dynamic time-effectiveness safety value after the i-1th iteration;

[0134] DSQS refers to the convergence threshold, which is set to 0.01;

[0135] After N consecutive iterations, the calculated rate of change of the dynamic time-effectiveness safety value Dst is less than a preset convergence threshold DSQS, which indicates that the system's security status and operating efficiency have stabilized after multiple adjustments and no further adjustments are needed;

[0136] And when the number of adjustments to the noise adjustment factor α reaches N times, the adjustment is stopped regardless of whether the iterative convergence condition 2 is met. This can prevent the system from falling into an infinite loop adjustment due to some special circumstances.

[0137] In this embodiment:

[0138] The dynamic time-sensitive security value algorithm unit comprehensively considers the data storage security value Dss, encryption time Et, ideal transmission time Et0, and system operating memory usage Rmu to calculate the dynamic time-sensitive security value Dst. This value comprehensively reflects the security status and operating efficiency of the storage data encryption system at a specific point in time. This comprehensive evaluation method helps system administrators or algorithm units more accurately understand the current status of the system and make more reasonable decisions. Specifically:

[0139] When the dynamic time-sensitive security value Dst is low, it indicates that the system is in a high-risk or high-load state and measures need to be taken to adjust it. By setting the adjustment threshold Y4, the system can automatically trigger the adjustment mechanism when the Dst value is lower than the adjustment threshold Y4, and increase the value of the noise adjustment factor α in the communication data risk value algorithm unit to increase the communication data risk value Cdr in the next round of calculation. This will prompt the system to take more stringent encryption measures to avoid communication data loss, thereby improving the security of the memory data encryption system. This dynamic adjustment method of parameters helps the memory data encryption system better adapt to the ever-changing communication environment and security requirements, and improves the robustness and flexibility of the system.

[0140] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A memory data encryption system based on HPLC dual-mode carrier communication, characterized in that: include: The data collection module is used to collect communication information and encrypted information during dual-mode communication. The collected communication information and encrypted information include: Bit error rate Ber, carrier frequency Cf, signal-to-noise ratio Snr, noise power spectrum density Npd, encryption algorithm key length Bkl, encryption round number base Rnd, system running memory usage Rmu and encryption time E; The data preprocessing module decodes and preprocesses the collected communication information and encrypted information to obtain the calculation parameters in the calculation processing module; Computing and processing module, including: The communication data risk value algorithm unit is used to calculate the communication data risk value Cdr based on the three real-time communication information of bit error rate Ber, carrier frequency Cf and signal-to-noise ratio Snr to form a comprehensive communication signal quality impact factor, combined with the noise power spectrum density Npd, and adjust the encryption algorithm based on the communication data risk value Cdr; The data storage security value algorithm unit is used to calculate the data storage security value Dss by taking the communication data risk value Cdr as an input parameter and combining it with the encryption algorithm's key length Bkl, the encryption round number base Rnd, and the system's running memory usage Rmu. This provides a quantitative indicator for the memory data encryption system to comprehensively reflect the security of data storage in the memory. The dynamic time-sensitive security value algorithm unit is used to take the data storage security value Dss as an input parameter, and calculate the dynamic time-sensitive security value Dst in combination with the encryption time Et and the system running memory usage Rmu. The communication data risk value algorithm unit is then used to adjust the parameters according to the dynamic time-sensitive security value Dst to increase the communication data risk value Cdr in the next round of calculation, prompting the system to take stricter encryption measures to avoid the loss of communication data.

2. The memory data encryption system based on HPLC dual-mode carrier communication according to claim 1, characterized in that: The data collection specifically includes: The bit error rate Ber is obtained by real-time monitoring and calculation through the demodulator; Obtain the carrier frequency Cf through spectrum analyzer monitoring; The noise power spectral density Npd and signal-to-noise ratio Snr are measured and calculated using a spectrum analyzer; Obtain the encryption algorithm's key length Bkl, encryption round number base Rnd, and encryption time Et from the algorithm design document of the encryption algorithm; The system running memory usage Rmu is obtained through real-time monitoring of the built-in manager of the storage data encryption system.

3. The memory data encryption system based on HPLC dual-mode carrier communication according to claim 1, characterized in that: The encryption algorithm adjustment specifically includes: Set the danger threshold Y1 of the communication data risk value Cdr to 2.0 and the safety threshold Y2 to 0.5; When the communication data risk value Cdr>Y1, it means that the current dual-mode carrier communication is in a high-risk scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to AES-256 to enhance the anti-attack capability of dual-mode carrier communication. When the communication data risk value Cdr is 2≤Cdr≤Y1, the currently used AES-128 encryption algorithm is maintained, indicating that the risk of the current dual-mode carrier communication is at a medium level. The AES-128 encryption algorithm can achieve a relatively balanced state in terms of security and computational complexity, ensuring data security without incurring an excessive computational burden like AES-256. It also provides better security than RC4. When the communication data risk value Cdr is less than Y2, it means that the current dual-mode carrier communication is in a safe scenario. In the memory data encryption system, the communication data encryption algorithm is switched from AES-128 to RC4 algorithm to reduce the computational complexity of the encryption algorithm and increase the data communication speed.

4. The memory data encryption system based on HPLC dual-mode carrier communication according to claim 3, characterized in that: The parameter adjustment specifically includes: The adjustment threshold Y4 of the dynamic time-sensitive security value Dst is set to 1.

5. When the dynamic time-sensitive security value Dst is less than Y4, it means that the memory data encryption system is in a high-risk and high-load state. The noise adjustment factor α in the communication data risk value algorithm unit is adjusted to 1.2 times the original value, thereby increasing the communication data risk value Cdr in the next round of calculation. Based on the convergence conditions one and two, the iteration is terminated.

5. The memory data encryption system based on HPLC dual-mode carrier communication according to claim 1, characterized in that: The calculation logic of the communication data risk value algorithm unit is as follows: S11, the signal-to-noise ratio Snr, obtained by multiplying the bit error rate Ber by the carrier frequency Cf and dividing by the square root, represents the comprehensive quality impact factor of the communication signal. It is used to quantify the positive impact of the bit error rate Ber on the communication data risk value Cdr under a specific frequency and noise environment; S12: Divide the noise power spectrum density Npd by the noise threshold Thd to obtain the multiple of the actual noise power spectrum density relative to the system's allowable threshold. Add the division constant 1 to the multiple of the actual noise power spectrum density relative to the system's allowable threshold, and use this as the logarithmic part of the logarithmic function. This is used to suppress the instantaneous noise fluctuations caused by the extreme values ​​of the multiple of the actual noise power spectrum density relative to the system's allowable threshold, which can cause severe fluctuations in the risk value. At the same time, when the noise power spectrum density Npd is low, the impact on the communication data risk value Cdr is amplified.

6. The memory data encryption system based on HPLC dual-mode carrier communication according to claim 5, characterized in that: In the calculation of the communication data risk value algorithm unit, the signal-to-noise ratio Snr is subjected to square root processing to amplify the impact of low signal-to-noise ratio Snr on the communication data risk value Cdr, while avoiding excessive impact on the communication data risk value Cdr when the signal-to-noise ratio Snr takes an extreme value; The comprehensive quality impact factor of the communication signal is taken as the exponential part of the natural constant e, and the risk level classification is formed through the threshold effect of the exponential function.

7. The memory data encryption system based on HPLC dual-mode carrier communication according to claim 1, characterized in that: The calculation logic of the data storage security value algorithm unit is as follows: S21: Normalize the communication data risk value Cdr by its security threshold Y2, then raise it to a negative exponential power and multiply it by the encryption algorithm's key length Bkl. This represents the coupling effect of communication risk and algorithm strength. As the encryption algorithm's key length Bkl increases, the calculated data storage security value Dss increases to reflect the improvement in data communication security achieved with longer keys. As the communication data risk value Cdr increases, the risk of data communication increases, and the calculated data storage security value Dss decreases. S22, by subtracting the system running memory usage rate Rmu from 100%, represents the remaining usage rate of the system running memory, and maps the impact value of this part of the remaining usage rate of the system running memory on the data storage safety value Dss to a numerical range of 0 to 1 through the variant of the Sigmoid function. As the remaining usage rate of the system running memory increases, the calculated data storage safety value Dss increases.

8. The memory data encryption system based on HPLC dual-mode carrier communication according to claim 1, characterized in that: The calculation logic of the dynamic time safety value algorithm unit is as follows: S31, by dividing the ideal transmission time Et0 by the encryption time Et, is used to reflect the time loss introduced by the algorithm encryption of the communication data. The closer the encryption time Et is to the ideal transmission time Et0, the closer this part of the value is to 1, indicating high encryption efficiency. Conversely, when the encryption time Et increases, The smaller the value of this part, the lower the encryption efficiency, which reduces the calculated dynamic time security value Dst; S32, the impact of system running memory usage Rmu on dynamic time safety value is reflected through the Sgn function. Specifically: When the memory usage Rmu is less than 0.7, it means that the system still has more than 30% of the running memory and the system load is at a safe value. mu ) The value of this part of the Sgn function is 1, which increases the calculated dynamic time safety value Dst; When the memory usage Rmu>0.7, it means that the system's running memory is less than 30%, and the system load is at a dangerous value. mu ) The value of this part of the Sgn function is -1, which reduces the calculated dynamic time safety value Dst.

Citation Information

Patent Citations

  • Memory Data Encryption Method Based on HPLC Dual-Mode Carrier Communication

    CN116319069B