Wireless communication encryption method based on adaptive frequency hopping and intelligent door lock system

By generating an adaptive frequency hopping pattern using a Caputo-type fractional-order random channel evolution model and a hash algorithm, and combining AES-256 with a double ratchet mechanism to generate a dynamic key, the problem of insufficient dynamic perception of channel quality in smart door lock wireless communication solutions is solved, thereby improving communication security, stability, and battery life.

CN121908261APending Publication Date: 2026-04-21NANJING RUIDING COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NANJING RUIDING COMM CO LTD
Filing Date
2026-01-30
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing smart door lock wireless communication solutions lack the ability to dynamically perceive and adaptively adjust channel quality, resulting in increased communication link latency jitter and higher bit error rate, failing to meet the comprehensive requirements of security, stability, and long battery life.

Method used

Channel quality is analyzed using a Caputo-type fractional-order random channel evolution model. An adaptive frequency hopping pattern is generated using a hash algorithm. A dynamic key is generated by combining AES-256 and a double ratchet mechanism. The transmit power and wake-up period are adjusted based on the channel state. Communication consistency is verified by a sliding mode control function.

Benefits of technology

It achieves security, stability, and adaptability in wireless communication, extends device battery life, improves the anti-interference capability and transmission reliability of the communication link, and meets the stringent security and battery life requirements of smart door locks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121908261A_ABST
    Figure CN121908261A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless communication encryption method based on self-adaptive frequency hopping and an intelligent door lock system, relates to the technical field of communication security, and aims to solve the problem that the technology of a current intelligent door lock wireless communication encryption scheme is backward. And verifying the communication consistency through a sliding mode control function, and terminating the communication and updating the frequency hopping pattern and the key when the communication is abnormal. By means of a Caputo type fractional order random channel evolution model and link eight-dimensional state parameter acquisition and analysis, communication quality is guaranteed, power consumption is effectively reduced, equipment endurance is prolonged, frequency hopping and key synchronization are completed based on channel reciprocity, communication consistency is verified in real time through a sliding mode control function, and the communication efficiency is improved. And communication is quickly terminated and a frequency hopping pattern and a secret key are updated in case of abnormality, so that the safety, stability and suitability of wireless communication are guaranteed in an all-around manner, and scenes such as an intelligent door lock with strict requirements on safety and endurance are perfectly adapted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication security technology, and more specifically, to a wireless communication encryption method and a smart door lock system based on adaptive frequency hopping. Background Technology

[0002] As the core entry point of a smart home security system, the security and stability of smart locks directly determine the level of home security. Currently, most mainstream smart locks on the market use wireless communication protocols such as Bluetooth, Wi-Fi, and Zigbee. While these can meet basic remote control and unlocking needs, they are susceptible to interference from other devices in the complex electromagnetic environment of a home, such as co-channel interference and non-Gaussian noise. This leads to increased communication link latency jitter, higher error rates, and in severe cases, even communication interruptions, affecting the normal use of the lock.

[0003] Existing wireless communication solutions lack dynamic perception and adaptive adjustment capabilities for channel quality. Most employ fixed frequency bands and frequency hopping patterns, failing to optimize communication strategies in real time based on link state parameters. Furthermore, encryption mechanisms are disconnected from communication states, failing to dynamically adapt encryption strength to channel stability. This leads to a contradiction: excessive encryption redundancy in highly stable channels and insufficient protection in low-stability channels. Some solutions neglect the balance between power consumption and performance; continuous high-power communication and complex encryption operations significantly shorten the lock's battery life, while excessively pursuing low power consumption sacrifices communication reliability and encryption security, making it difficult to meet users' comprehensive needs for smart locks in terms of security, stability, and long battery life. Therefore, we propose a wireless communication encryption method and smart lock system based on adaptive frequency hopping. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of the prior art, adapt to practical needs, and provide a wireless communication encryption method and smart door lock system based on adaptive frequency hopping, so as to solve the problem of the outdated technology of current smart door lock wireless communication encryption schemes.

[0005] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a wireless communication encryption method based on adaptive frequency hopping, the method comprising the following steps:

[0006] Step 1: Construct a Caputo-type fractional-order random channel evolution model, analyze the variation law of channel quality over time, collect eight-dimensional state parameters of the link and analyze stability, and trigger a frequency band switching warning when the channel quality variance exceeds the set threshold.

[0007] Step 2: Based on the channel sensing results, the state vector is mapped to a pseudo-random seed using a hash algorithm to generate an adaptive frequency hopping pattern. High-scoring frequency bands are selected to form a frequency hopping set and the hopping rate is dynamically adjusted.

[0008] Step 3: Use the timing characteristics of the frequency hopping pattern as the dynamic factor of the encryption key, and use AES-256 and a double ratchet mechanism to generate a dynamic key, and adapt different encryption modes according to the frequency band priority score;

[0009] Step 4: Combine user behavior patterns and channel conditions, and adjust the transmit power and communication wake-up period through a fractional-order adaptive control function;

[0010] Step 5: Based on channel reciprocity, complete frequency hopping and key synchronization, verify communication consistency through sliding mode control function, terminate communication and update frequency hopping pattern and key in case of abnormality.

[0011] Preferably, in step one, the random channel evolution model triggers a frequency band switching warning based on a comparison between the stability of the link state and a set threshold, and it operates based on the following formula:

[0012]

[0013] in, It is a Caputo-type fractional differential operator. Let be the order of the differential. It is an unknown random process. The noise intensity coefficient characterizes the magnitude of the disturbance to channel quality caused by non-Gaussian noise and co-channel interference in the environment. For another Caputo-type fractional derivative operator, For fractional order, This is standard Brownian motion.

[0014] Preferably, the adaptive pattern generated in step two is used to select high-scoring frequency bands to form a frequency hopping set based on the following formula:

[0015]

[0016] in, For the first The priority scoring results for each stage indicate that the higher the score, the less interference is expected in that frequency band. For the first There are 10 candidate wireless frequency bands, which are the evaluation objects of the scoring function. The symbol for definite integral is . for Historical quality data for the frequency band at any given time. It is a natural exponential function. For the current moment With historical moments The absolute value of the time difference The time delay coefficient, It is the integral variable.

[0017] Preferably, the encryption mode in step three is adaptively selected based on the frequency band score of the frequency hopping set in step two, wherein the interval data is based on the... The normalized result of the function, ranging from 0 to 10, is as follows:

[0018] Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL1, with a score ∈ [7.0, 10.0], which is a highly stable state, and the basic encryption mode is adopted.

[0019] Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL2, with a score ∈ [4.0, 7.0], which is a medium stable state. The frequency hopping factor encryption enhancement mode is adopted.

[0020] Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL3, with a score ∈ [0, 4.0], which indicates a low stability state. This triggers an early warning and switches to the backup frequency band set.

[0021] Preferably, in step five, the sliding mode control function verifies communication consistency by having the receiving end verify in real time whether the received frequency hopping sequence, encrypted data, and locally generated frequency hopping and key information match, and adjusts the communication state, frequency hopping pattern, and key based on the status information fed back from the matching status.

[0022] A smart door lock system operates based on an adaptive frequency hopping-based wireless communication encryption method described above. The system includes a smart door lock terminal and a pairing control device corresponding to the smart door lock terminal. The smart door lock terminal includes:

[0023] The fractional-order channel sensing module is connected to the main control module. It is used to collect eight-dimensional state parameters of the link, generate state vectors and frequency band scores through fractional-order model analysis and fuzzy membership analysis, and calculate channel quality variance.

[0024] An adaptive frequency hopping communication module connects the main control module and the fractional channel sensing module. It is used to generate pseudo-random seeds from the scoring data output by the fractional channel sensing module based on a hash algorithm, calculate the frequency band priority score, select high-scoring frequency bands to form a frequency hopping set, and dynamically adjust the hopping speed.

[0025] A cross-layer encryption module connects the adaptive frequency hopping communication module and the main control module. It is used to cooperate with the adaptive frequency hopping communication module to receive the timing features output by the adaptive frequency hopping communication module, generate a dynamic key based on AES-256 and a double ratchet mechanism, and adapt to the corresponding encryption mode according to the frequency band score.

[0026] The intelligent power consumption control module connects the main control module, the adaptive frequency hopping communication module, and the cross-layer encryption module. It is used to analyze user behavior patterns and input channel state data, and generate power consumption regulation strategies based on the above data.

[0027] The main control module, based on the system channel reciprocity, coordinates the adaptive frequency hopping communication module and the paired device to complete frequency hopping synchronization, and coordinates the cross-layer encryption module to complete key synchronization. The receiving end collects the frequency hopping sequence through the adaptive frequency hopping communication module and the encrypted data through the cross-layer encryption module. The main control module verifies consistency through the sliding mode control function.

[0028] Preferably, the eight-dimensional state parameters of the fractional-order channel sensing module include bit error rate, delay, number of retransmissions, signal-to-noise ratio, delay jitter, spectrum occupancy rate, phase noise, and Doppler shift.

[0029] Preferably, the adaptive frequency hopping communication module is compatible with the Bluetooth 5.3 / Matter protocol, supports adaptive frequency hopping in the 2.4GHz band, outputs the frequency hopping pattern in step two, and feeds back the status of the frequency hopping pattern to the main control module.

[0030] Preferably, the cross-layer encryption module is further configured with a key timeliness monitoring unit, which is used to verify the dynamic key lifecycle in real time. Specifically, when the key usage time exceeds a preset threshold or the communication link is interrupted and reconnected, a double ratchet key update mechanism is automatically triggered to complete the key rotation, and the RS forward error correction code is linked to dynamically adjust the encoding efficiency.

[0031] Preferably, the main control module has a built-in abnormal linkage processing unit. After receiving the key verification abnormality signal from the cross-layer encryption module and the frequency band interference signal from the adaptive frequency hopping communication module, it can trigger a three-level emergency response within 1ms, specifically:

[0032] Level 1: Update frequency hopping pattern and key;

[0033] Level 2: Disconnect the current link and switch to the backup frequency band set;

[0034] Level 3: Activate the audible and visual alarm and lock the door. When any of the above states are triggered, abnormal event characteristic data will be recorded and uploaded to the cloud.

[0035] Compared with the prior art, the beneficial effects of the present invention are:

[0036] 1. This invention utilizes a Caputo-type fractional-order random channel evolution model and eight-dimensional link state parameter acquisition and analysis to accurately analyze the temporal variation patterns of channel quality, triggering early warnings for frequency band switching. A hash algorithm maps the state vector to a pseudo-random seed to generate an adaptive frequency hopping pattern, dynamically adjusting the hopping rate and frequency hopping set. Simultaneously, it integrates AES-256 and a double ratchet mechanism to generate a dynamic key and adapts the encryption mode based on frequency band priority scoring, achieving precise matching between encryption strength and channel state. Furthermore, it adjusts the transmit power and wake-up cycle based on user behavior patterns and channel state, effectively reducing power consumption and extending device battery life while ensuring communication quality. Frequency hopping and key synchronization are completed based on channel reciprocity. A sliding mode control function verifies communication consistency in real time, quickly terminating communication and updating the frequency hopping pattern and key in case of anomalies. This comprehensively ensures the security, stability, and adaptability of wireless communication, perfectly adapting to scenarios with stringent security and battery life requirements, such as smart door locks.

[0037] 2. This invention also utilizes a Caputo-type fractional-order random channel evolution model and a dedicated operating formula. By leveraging a double fractional-order differential operator and standard Brownian motion, it accurately captures the impact of random disturbances such as non-Gaussian noise and co-channel interference on channel quality, achieving refined analysis of channel quality change patterns. Its noise intensity coefficient can quantify the interference amplitude. Combined with link state stability and threshold comparison, it can trigger frequency band switching warnings in advance, avoiding sudden interruptions of communication links due to channel deterioration. This provides accurate channel state data support for subsequent adaptive frequency hopping pattern generation and encryption mode adaptation, further solidifying the foundation for communication stability and anti-interference, and ensuring the continuous reliability of wireless communication links.

[0038] 3. This invention also achieves highly adaptable frequency hopping set screening through a proprietary scoring formula. By integrating historical frequency band quality data through definite integral operations and combining it with time-attenuation weighting logic using a natural exponential function, recent high-quality channel data receives higher weight, accurately screening out frequency bands with low interference and high stability. This formula flexibly adjusts the influence of historical data through a time delay coefficient, ensuring that the frequency band score closely matches the real-time channel state. This provides a scientific basis for adaptive frequency hopping pattern generation and dynamic adjustment of hopping rate, effectively avoiding invalid frequency band occupation, improving communication link utilization, and simultaneously laying a solid channel foundation for subsequent encryption mode adaptation, further enhancing the anti-interference capability and transmission reliability of wireless communication.

[0039] 4. This invention also constructs an intelligent door lock system through modular collaborative design. The fractional-order channel perception module provides accurate channel data, the adaptive frequency hopping communication module and the cross-layer encryption module implement the core logic of the encryption method, the intelligent power consumption control module balances performance and battery life, and the main control module coordinates synchronization and verification based on channel reciprocity. This architecture enables the adaptive frequency hopping encryption method to be stably implemented, realizing closed-loop collaboration of communication, encryption, and power consumption control. It not only ensures the security and stability of wireless communication, but also improves the system's operational reliability and scalability through module division of labor, perfectly adapting to the scenario requirements of intelligent door locks. Attached Figure Description

[0040] Figure 1 This is a schematic diagram of the process structure of the present invention;

[0041] Figure 2 This is a schematic diagram of the system connection structure of the present invention. Detailed Implementation

[0042] like Figures 1 to 2 As shown, the present invention relates to a wireless communication encryption method based on adaptive frequency hopping, the method comprising the following steps:

[0043] Step 1: Construct a Caputo-type fractional-order random channel evolution model, analyze the variation law of channel quality over time, collect eight-dimensional state parameters of the link and analyze stability, and trigger a frequency band switching warning when the channel quality variance exceeds the set threshold.

[0044] Step 2: Based on the channel sensing results, the state vector is mapped to a pseudo-random seed using a hash algorithm to generate an adaptive frequency hopping pattern. High-scoring frequency bands are selected to form a frequency hopping set and the hopping rate is dynamically adjusted.

[0045] Step 3: Use the timing characteristics of the frequency hopping pattern as the dynamic factor of the encryption key, and use AES-256 and a double ratchet mechanism to generate a dynamic key, and adapt different encryption modes according to the frequency band priority score;

[0046] Step 4: Combine user behavior patterns and channel conditions, and adjust the transmit power and communication wake-up period through a fractional-order adaptive control function;

[0047] Step 5: Based on channel reciprocity, complete frequency hopping and key synchronization, verify communication consistency through sliding mode control function, terminate communication and update frequency hopping pattern and key in case of abnormality.

[0048] This invention utilizes a Caputo-type fractional-order random channel evolution model and eight-dimensional link state parameter acquisition and analysis to accurately analyze the temporal variation patterns of channel quality, triggering early warnings for frequency band switching. A hash algorithm maps the state vector to a pseudo-random seed to generate an adaptive frequency hopping pattern, dynamically adjusting the hopping rate and frequency hopping set. Simultaneously, it integrates AES-256 and a double ratchet mechanism to generate a dynamic key and adapts the encryption mode based on frequency band priority scoring, achieving precise matching between encryption strength and channel state. Furthermore, it adjusts the transmit power and wake-up cycle based on user behavior patterns and channel state, effectively reducing power consumption and extending device battery life while ensuring communication quality. Frequency hopping and key synchronization are completed based on channel reciprocity, and communication consistency is verified in real time through a sliding mode control function. In case of an anomaly, communication is quickly terminated and the frequency hopping pattern and key are updated, comprehensively ensuring the security, stability, and adaptability of wireless communication. It is perfectly suited for scenarios with stringent security and battery life requirements, such as smart door locks.

[0049] Specifically, in step one, the random channel evolution model triggers a frequency band switching warning based on a comparison between the stability of the link state and a set threshold, and it operates based on the following formula:

[0050]

[0051] in, It is a Caputo-type fractional differential operator. Let be the order of the differential. It is an unknown random process, that is Channel quality parameters at time 10:00 The channel state attenuation coefficient is a real constant that reflects the rate at which channel quality naturally degrades over time. There is a gain effect when <0, when When the value is greater than 0, the channel quality degrades over time. The noise intensity coefficient characterizes the magnitude of the disturbance to channel quality caused by non-Gaussian noise and co-channel interference in the environment. For another Caputo-type fractional derivative operator, For fractional order, As a standard Brownian motion, it serves as a random disturbance term, simulating the instantaneous fluctuations in channel quality caused by random factors such as environmental noise and multipath fading. Its increment satisfies the characteristics of an independent and identically distributed normal distribution.

[0052] This invention also utilizes a Caputo-type fractional-order random channel evolution model and a dedicated operating formula. By leveraging a double fractional-order differential operator and standard Brownian motion, it accurately captures the impact of random disturbances such as non-Gaussian noise and co-channel interference on channel quality, achieving refined analysis of channel quality change patterns. Its noise intensity coefficient can quantify the interference amplitude. Combined with link state stability and threshold comparison, it can trigger early warning of frequency band switching, avoiding sudden interruptions of communication links due to channel deterioration. This provides accurate channel state data support for subsequent adaptive frequency hopping pattern generation and encryption mode adaptation, further solidifying the foundation of communication stability and anti-interference, and ensuring the continuous reliability of wireless communication links.

[0053] More specifically, the adaptive pattern generated in step two selects high-scoring frequency bands to form a frequency hopping set based on the following formula:

[0054]

[0055] in, For the first The priority scoring results for each stage indicate that the higher the score, the less interference is expected in that frequency band. For the first There are 10 candidate wireless frequency bands, which are the evaluation objects of the scoring function. The symbol is definite integral, and the integration interval is [tT, t], representing the integral with respect to the current time. Previously, duration was The frequency band quality data within the "historical period" is used for integral calculation. For historical data collection duration, for The historical quality data of the frequency band at time s corresponds to the fusion and normalization result of the eight-dimensional link status parameters (bit error rate, signal-to-noise ratio, etc.) in step one, reflecting the communication status of the frequency band at historical time s. This is a natural exponential function used to apply time-decay weighting to historical data, reflecting the logic that "recent data has a greater impact on the current score." For the current moment With historical moments The absolute value of the time difference is used to ensure that the time difference is non-negative, thus avoiding deviations in the weighted logic. The time delay coefficient is used to adjust the decay rate of historical data. The smaller the value, the faster the weight of historical data decays, and the more the scoring focuses on recent channel conditions. The higher the value, the better the retention of historical data from a distant period. The default value is 0.1-0.3 seconds. The variable is the integral variable, corresponding to a tiny increment in the time dimension. It is used to traverse all historical moments within the interval [tT,t] to complete the integration operation.

[0056] This invention also achieves highly adaptable frequency hopping set selection through a proprietary scoring formula. By integrating historical frequency band quality data through definite integral operations and combining it with time-attenuation weighting logic using a natural exponential function, recent high-quality channel data receives higher weight, accurately selecting frequency bands with low interference and high stability. This formula flexibly adjusts the influence of historical data through a time delay coefficient, ensuring that the frequency band score closely matches the real-time channel state. This provides a scientific basis for adaptive frequency hopping pattern generation and dynamic adjustment of hopping rate, effectively avoiding invalid frequency band occupation, improving communication link utilization, and simultaneously laying a solid channel foundation for subsequent encryption mode adaptation, further enhancing the anti-interference capability and transmission reliability of wireless communication.

[0057] Furthermore, the encryption mode in step three is adaptively selected based on the frequency band score of the frequency hopping set in step two, wherein the interval data is based on the... The normalized result of the function, ranging from 0 to 10, is as follows:

[0058] Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL1, with a score ∈ [7.0, 10.0], which is a highly stable state, and the basic encryption mode is adopted.

[0059] Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL2, with a score ∈ [4.0, 7.0], which is a medium stable state. The frequency hopping factor encryption enhancement mode is adopted.

[0060] Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL3, with a score ∈ [0, 4.0], which is a low stability state. This triggers an early warning and switches to the backup frequency band set. At the same time, forward error correction (RS(255,223)) code is enabled to improve anti-interference capability.

[0061] Furthermore, in step five, the sliding mode control function verifies communication consistency by having the receiving end verify in real time whether the received frequency hopping sequence, encrypted data, and locally generated frequency hopping and key information match, and adjusts the communication state, frequency hopping pattern, and key based on the status information fed back from the matching status.

[0062] A smart door lock system operates based on an adaptive frequency hopping-based wireless communication encryption method described above. The system includes a smart door lock terminal and a pairing control device corresponding to the smart door lock terminal. The smart door lock terminal includes:

[0063] The fractional-order channel sensing module is connected to the main control module. It is used to collect eight-dimensional state parameters of the link, generate state vectors and frequency band scores through fractional-order model analysis and fuzzy membership analysis, calculate channel quality variance Var(a(t)), and send a frequency band switching warning to the main control module when the threshold K1 is exceeded, thus completing the core task of step 1.

[0064] The fractional-order channel sensing module is the upstream data input module. It has a one-way data output connection with the adaptive frequency hopping communication module and the cross-layer encryption module, and it also has a two-way linkage with the main control module. The channel state data collected and parsed by this module, including the state vector and frequency band score, is directly sent to the adaptive frequency hopping communication module and the cross-layer encryption module as the basis for decision-making. At the same time, the data is synchronized to the main control module for record-keeping.

[0065] An adaptive frequency hopping communication module connects the main control module and the fractional channel sensing module. It is used to generate pseudo-random seeds from the scoring data output by the fractional channel sensing module based on a hash algorithm, calculate the frequency band priority score, select high-scoring frequency bands to form a frequency hopping set, and dynamically adjust the hopping speed.

[0066] It has a bidirectional data interaction connection with the fractional-order channel sensing module and the cross-layer encryption module, and a bidirectional linkage with the main control module. It receives the frequency band scoring data from the channel sensing module to generate a frequency hopping pattern, receives the dynamic key from the cross-layer encryption module and loads it into the communication link, and feeds back the frequency hopping status (hopping rate, frequency band set) to the main control module, and receives the synchronization verification command from the main control module.

[0067] A cross-layer encryption module connects the adaptive frequency hopping communication module and the main control module. It is used to cooperate with the adaptive frequency hopping communication module to receive the timing features output by the adaptive frequency hopping communication module, generate a dynamic key based on AES-256 and a double ratchet mechanism, and adapt to the corresponding encryption mode according to the frequency band score.

[0068] It has a one-way data reception and two-way collaborative connection with the fractional-order channel sensing module and the adaptive frequency hopping communication module, and a two-way linkage with the main control module. It receives the frequency band security level score from the channel sensing module and adapts the encryption mode; it receives the frequency hopping timing characteristics from the adaptive frequency hopping communication module to generate a dynamic key, and feeds back the key status to the main control module, and receives the key update command from the main control module.

[0069] The intelligent power consumption control module connects the main control module, the adaptive frequency hopping communication module, and the cross-layer encryption module. It is used to analyze user behavior patterns and input channel state data, and generate power consumption regulation strategies based on the above data.

[0070] It works in two-way linkage with the main control module, and simultaneously outputs control signals to the adaptive frequency hopping communication module and the cross-layer encryption module. It receives user behavior data and channel status data synchronized by the main control module, generates power consumption control strategies, including power and wake-up period, and sends them to the frequency hopping communication module and encryption module to adjust the working parameters. At the same time, it feeds back the power consumption status to the main control module.

[0071] The main control module, based on the system channel reciprocity, coordinates the adaptive frequency hopping communication module and the paired device to complete frequency hopping synchronization, and coordinates the cross-layer encryption module to complete key synchronization. The receiving end collects the frequency hopping sequence through the adaptive frequency hopping communication module and the encrypted data through the cross-layer encryption module. The main control module verifies consistency through the sliding mode control function. When the deviation exceeds the tolerance limit JD1, it immediately instructs to terminate communication, update the frequency hopping pattern and key, and execute the synchronization and verification task in step 5.

[0072] The main control module, acting as the "central nervous system" of the entire system, maintains bidirectional communication connections with the other four modules, undertaking functions such as command issuance, data aggregation, coordinated scheduling, and anomaly handling. It receives data from each module and sends control commands to them, ensuring synchronized progress throughout the entire process.

[0073] The main control module coordinates the overall situation, the fractional-order channel sensing module provides basic data support, the adaptive frequency hopping communication module and the cross-layer encryption module achieve communication and encryption collaboration based on sensing data, and the intelligent power consumption control module adapts to the scenario to optimize resource allocation, forming a closed-loop linkage.

[0074] The pairing control device is a mobile phone or a smart home gateway. It completes frequency hopping and key synchronization with the door lock terminal through channel reciprocity information, and the frequency hopping and key synchronization error is ≤1μs.

[0075] The smart lock system is built through a modular and collaborative design, with five core modules that each perform their specific functions and work together efficiently: the fractional-order channel sensing module provides accurate channel data; the adaptive frequency-hopping communication module and cross-layer encryption module implement the core logic of the encryption method; the intelligent power consumption control module balances performance and battery life; and the main control module coordinates synchronization and verification based on channel reciprocity. This architecture enables the adaptive frequency-hopping encryption method to be stably implemented, achieving closed-loop collaboration between communication, encryption, and power consumption control. It not only ensures the security and stability of wireless communication but also improves the system's operational reliability and scalability through module division of labor, perfectly adapting to the needs of smart lock scenarios.

[0076] It is worth noting that the eight-dimensional state parameters of the fractional-order channel sensing module include bit error rate, delay, number of retransmissions, signal-to-noise ratio, delay jitter, spectrum occupancy rate, phase noise, and Doppler shift.

[0077] It is worth mentioning that the adaptive frequency hopping communication module is compatible with Bluetooth 5.3 / Matter protocol, supports adaptive frequency hopping in the 2.4GHz band, outputs the frequency hopping pattern in step two, and feeds back the status of the frequency hopping pattern to the main control module.

[0078] It is worth mentioning that the cross-layer encryption module is also equipped with a key timeliness monitoring unit, which is used to verify the life cycle of dynamic keys in real time. Specifically, when the key usage time exceeds a preset threshold or the communication link is interrupted and reconnected, the double ratchet key update mechanism is automatically triggered to complete the key rotation. At the same time, the RS forward error correction code is linked to dynamically adjust the encoding efficiency. The preset threshold is 30 minutes by default and supports custom configuration.

[0079] It is worth noting that the main control module has a built-in abnormal linkage processing unit. After receiving the key verification abnormality signal from the cross-layer encryption module and the frequency band interference signal from the adaptive frequency hopping communication module, it can trigger a three-level emergency response within 1ms, specifically:

[0080] Level 1: Update frequency hopping pattern and key;

[0081] Level 2: Disconnect the current link and switch to the backup frequency band set;

[0082] Level 3: Activate the audible and visual alarm and lock the door. When any of the above states are triggered, abnormal event characteristic data will be recorded and uploaded to the cloud.

[0083] Example

[0084] Software implementation process:

[0085] 1. System Initialization: After the door lock is powered on, the channel sensing module starts a self-test, collects initial channel data, and estimates model parameters using fractional least squares method. , , , Generate the initial frequency hopping set and the basic key.

[0086] 2. Normal communication phase: Channel quality is monitored in real time, and the frequency band score is updated every 100ms. The frequency hopping pattern and encryption mode are dynamically adjusted based on the score. For example, when Wi-Fi interference is detected, the hopping rate is increased from 300 hops / second to 800 hops / second, and the frequency hopping factor encryption enhancement mode is enabled.

[0087] 3. Anomaly Handling Phase: When the sliding surface function value |f(x)| < JD1 (set to 0.05), the current communication link is immediately cut off, the pseudo-random seed is updated to generate a new frequency hopping pattern and key, and the user is alerted by an audible and visual alarm. At the same time, the anomaly log is recorded and uploaded to the cloud. JD1 is the deviation tolerance value for communication consistency verification.

[0088] 4. Low-power sleep phase: From 0:00 to 6:00 at night, if there is no operation within 1 hour, the system switches to low-power mode, the wake-up cycle is extended to 5 minutes, the jump rate is reduced to 100 jumps / second, the encryption mode is switched to the basic version, and only the core unlocking command encryption is retained.

[0089] Performance test data:

[0090] The performance indicators of this solution are as follows, tested under complex electromagnetic environments (2.4GHz band with simultaneous interference from Wi-Fi, Bluetooth, and microwave ovens):

[0091] 1. Anti-interference capability: Interference suppression ratio reaches 20dB, and the bit error rate is reduced to 10%. -9 The communication interruption rate is below 0.5%.

[0092] 2. Security Performance: The key is 10% more difficult to crack than traditional fixed encryption. 6 It supports forward confidentiality and backward security.

[0093] 3. Power consumption performance: Standby power consumption ≤5μA, power consumption ≤10mAh after 100 consecutive door openings, and battery life up to 20 months (based on a typical usage scenario of opening the door an average of 3 times per day).

[0094] 4. Synchronization performance: Frequency hopping synchronization time <50μs, key update delay <1ms.

[0095] The embodiments disclosed in this invention are preferred embodiments, but are not limited thereto. Those skilled in the art can easily understand the spirit of this invention based on the above embodiments and make different extensions and variations, but as long as they do not depart from the spirit of this invention, they are all within the protection scope of this invention.

Claims

1. A wireless communication encryption method based on adaptive frequency hopping, characterized in that, The method includes the following steps: Step 1: Construct a Caputo-type fractional-order random channel evolution model, analyze the variation law of channel quality over time, collect eight-dimensional state parameters of the link and analyze stability, and trigger a frequency band switching warning when the channel quality variance exceeds the set threshold. Step 2: Based on the channel sensing results, the state vector is mapped to a pseudo-random seed using a hash algorithm to generate an adaptive frequency hopping pattern. High-scoring frequency bands are selected to form a frequency hopping set and the hopping rate is dynamically adjusted. Step 3: Use the timing characteristics of the frequency hopping pattern as the dynamic factor of the encryption key, and use AES-256 and a double ratchet mechanism to generate a dynamic key, and adapt different encryption modes according to the frequency band priority score; Step 4: Combine user behavior patterns and channel conditions, and adjust the transmit power and communication wake-up period through a fractional-order adaptive control function; Step 5: Based on channel reciprocity, complete frequency hopping and key synchronization, verify communication consistency through sliding mode control function, terminate communication and update frequency hopping pattern and key in case of abnormality.

2. The wireless communication encryption method based on adaptive frequency hopping according to claim 1, characterized in that, In step one, the random channel evolution model triggers a frequency band switching warning based on a comparison between the stability of the link state and a set threshold. It operates based on the following formula:

3. Among them, It is a Caputo-type fractional differential operator. Let be the order of the differential. It is an unknown random process. The noise intensity coefficient characterizes the magnitude of the disturbance to channel quality caused by non-Gaussian noise and co-channel interference in the environment. For another Caputo-type fractional derivative operator, For fractional order, This is standard Brownian motion.

4. The wireless communication encryption method based on adaptive frequency hopping according to claim 2, characterized in that, The adaptive pattern generated in step two selects high-scoring frequency bands to form a frequency hopping set based on the following formula:

5. Among them, For the first The priority scoring results for each stage indicate that the higher the score, the less interference is expected in that frequency band. For the first There are 10 candidate wireless frequency bands, which are the evaluation objects of the scoring function. The symbol for definite integral is . for Historical quality data for the frequency band at any given time. It is a natural exponential function. For the current moment With historical moments The absolute value of the time difference The time delay coefficient, It is the integral variable.

6. The wireless communication encryption method based on adaptive frequency hopping according to claim 3, characterized in that, The encryption mode in step three is adaptively selected based on the frequency band score of the frequency hopping set in step two, wherein the interval data is based on the... The normalized result of the function, ranging from 0 to 10, is as follows: Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL1, with a score ∈ [7.0, 10.0], which is a highly stable state, and the basic encryption mode is adopted. Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL2, with a score ∈ [4.0, 7.0], which is a medium stable state. The frequency hopping factor encryption enhancement mode is adopted. Based on the high-scoring frequency band output formula in step two, the output score result is located in the interval LL3, with a score ∈ [0, 4.0], which indicates a low stability state. This triggers an early warning and switches to the backup frequency band set.

7. The wireless communication encryption method based on adaptive frequency hopping according to claim 4, characterized in that, In step five, the sliding mode control function verifies communication consistency by having the receiving end verify in real time whether the received frequency hopping sequence, encrypted data, and locally generated frequency hopping and key information match. Based on the status information fed back from the matching status, the receiving end adjusts the communication status, frequency hopping pattern, and key.

8. An intelligent door lock system, characterized in that, This system operates based on an adaptive frequency hopping-based wireless communication encryption method according to any one of claims 1-5. The system includes a smart lock terminal and a pairing control device corresponding to the smart lock terminal. The smart lock terminal includes: The fractional-order channel sensing module is connected to the main control module. It is used to collect eight-dimensional state parameters of the link, generate state vectors and frequency band scores through fractional-order model analysis and fuzzy membership analysis, and calculate channel quality variance. An adaptive frequency hopping communication module connects the main control module and the fractional channel sensing module. It is used to generate pseudo-random seeds from the scoring data output by the fractional channel sensing module based on a hash algorithm, calculate the frequency band priority score, select high-scoring frequency bands to form a frequency hopping set, and dynamically adjust the hopping speed. A cross-layer encryption module connects the adaptive frequency hopping communication module and the main control module. It is used to cooperate with the adaptive frequency hopping communication module to receive the timing features output by the adaptive frequency hopping communication module, generate a dynamic key based on AES-256 and a double ratchet mechanism, and adapt to the corresponding encryption mode according to the frequency band score. The intelligent power consumption control module connects the main control module, the adaptive frequency hopping communication module, and the cross-layer encryption module. It is used to analyze user behavior patterns and input channel state data, and generate power consumption regulation strategies based on the above data. The main control module, based on the system channel reciprocity, coordinates the adaptive frequency hopping communication module and the paired device to complete frequency hopping synchronization, and coordinates the cross-layer encryption module to complete key synchronization. The receiving end collects the frequency hopping sequence through the adaptive frequency hopping communication module and the encrypted data through the cross-layer encryption module. The main control module verifies consistency through the sliding mode control function.

9. The intelligent door lock system according to claim 6, characterized in that, The eight-dimensional state parameters of the fractional-order channel sensing module include bit error rate, delay, number of retransmissions, signal-to-noise ratio, delay jitter, spectrum occupancy rate, phase noise, and Doppler shift.

10. The intelligent door lock system according to claim 6, characterized in that, The adaptive frequency hopping communication module is compatible with Bluetooth 5.3 / Matter protocol and supports adaptive frequency hopping in the 2.4GHz band. It outputs the frequency hopping pattern in step two and feeds back the status of the frequency hopping pattern to the main control module.

11. The intelligent door lock system according to claim 6, characterized in that, The cross-layer encryption module is also configured with a key timeliness monitoring unit, which is used to verify the dynamic key lifecycle in real time. Specifically, when the key usage time exceeds a preset threshold or the communication link is interrupted and reconnected, the double ratchet key update mechanism is automatically triggered to complete the key rotation, and the RS forward error correction code is linked to dynamically adjust the encoding efficiency.

12. The intelligent door lock system according to claim 6, characterized in that, The main control module has a built-in abnormal linkage processing unit. After receiving the key verification abnormality signal from the cross-layer encryption module and the frequency band interference signal from the adaptive frequency hopping communication module, it can trigger a three-level emergency response within 1ms, specifically: Level 1: Update frequency hopping pattern and key; Level 2: Disconnect the current link and switch to the backup frequency band set; Level 3: Activate the audible and visual alarm and lock the door. When any of the above states is triggered, abnormal event characteristic data will be recorded and uploaded to the cloud.