Smart lock anti-interference method, electronic device and computer-readable storage medium

By adjusting the detection distance and operating frequency band of the smart lock's radar module, the high power consumption problem caused by frequent radar triggering of the smart lock device is solved, the service life is extended and the stability is improved.

CN119068577BActive Publication Date: 2025-09-12HANGZHOU HUACHENG NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410970299.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2025-09-12
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

Existing smart lock devices have high radar detection frequency, which leads to increased power consumption and shortened service life.

Method used

By configuring the radar module's detection parameters, including multiple detection distances and frequencies, and adjusting the detection distance and operating frequency band, frequent triggering of the radar module and interference from external devices can be reduced, thereby lowering power consumption.

Benefits of technology

It extends the service life of smart lock equipment, reduces power consumption, and improves the stability and flexibility of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119068577B_ABST
    Figure CN119068577B_ABST
Patent Text Reader

Abstract

This application discloses a smart lock anti-interference method, electronic device, and computer-readable storage medium. The smart lock corresponds to a radar module. The method includes: in response to the radar module being activated, configuring the radar module's detection parameters; wherein the detection parameters include multiple detection distances and a detection frequency matching each detection distance; in response to obtaining a first frequency detection result sent by the radar module, adjusting the radar module's detection distance based on the first frequency detection result; in response to the radar module's detection distance meeting a preset distance condition and obtaining a second frequency detection result sent by the radar module, adjusting the radar module's operating frequency band based on the second frequency detection result. The above scheme can reduce the power consumption of the smart lock device and extend its service life.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart lock devices, and in particular to a smart lock anti-interference method, electronic device, and computer-readable storage medium. Background Art

[0002] As a high-tech device, smart locks typically use radar to detect the presence of a target. Radar detection is based on the Doppler effect, emitting microwaves and receiving reflected microwaves to determine the presence of a target. Existing radar detection methods are rigid, and the high trigger frequency often causes the smart lock to wake up frequently, affecting the power consumption and lifespan of the smart lock device. Therefore, reducing the power consumption of smart lock devices and extending their lifespan has become an urgent issue. Summary of the Invention

[0003] The main technical problem solved by this application is to provide an intelligent lock anti-interference method, electronic device and computer-readable storage medium, which can reduce the power consumption of the intelligent lock device and extend the service life.

[0004] To solve the above technical problems, the first aspect of the present application provides an anti-interference method for a smart lock, wherein the smart lock corresponds to a radar module, and the method includes: in response to the startup of the radar module, configuring the detection parameters of the radar module; wherein the detection parameters include multiple detection distances, and a detection frequency matching each detection distance; in response to obtaining a first frequency detection result sent by the radar module, adjusting the detection distance of the radar module based on the first frequency detection result; in response to the detection distance of the radar module satisfying a preset distance condition and obtaining a second frequency detection result sent by the radar module, adjusting the working frequency band of the radar module based on the second frequency detection result.

[0005] In order to solve the above technical problems, the second aspect of this application provides an electronic device, including a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the smart lock anti-interference method described in the first aspect above.

[0006] In order to solve the above technical problems, the third aspect of this application provides a computer-readable storage medium, which stores program data that can be run by a processor, and the program data is used to implement the smart lock anti-interference method described in the first aspect above.

[0007] In the above scheme, after the smart lock device is started, it will control the radar module to power on and start, and configure the detection parameters of the radar module at the same time; wherein, the detection parameters include multiple detection distances and detection frequencies matching each detection distance. When the smart lock obtains the first frequency detection result sent by the radar module, it will adjust and shorten the detection distance of the radar module to reduce the frequent triggering of the radar module, which causes the smart lock device to be frequently awakened and the battery power to drop rapidly. When the detection distance of the radar module meets the preset distance condition, that is, the detection distance of the radar module has been adjusted to the minimum, and the second frequency detection result sent by the radar module is obtained, the working frequency band of the radar module is adjusted to reduce the mutual interference caused by other external devices and the radar module in the same working frequency band, resulting in frequent triggering of the radar module, causing the smart lock device to be frequently awakened and the battery power to drop rapidly, thereby reducing the power consumption of the smart lock device and extending the service life. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without inventive efforts. Among them:

[0009] Figure 1 This is a flow chart of an implementation method of an anti-interference method for a smart lock of the present application;

[0010] Figure 2 This is a schematic structural diagram of an embodiment of the electronic device of the present application;

[0011] Figure 3 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them, and different implementation methods can be adaptively combined. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0013] See also Figure 1 , Figure 1 This is a flow chart of an embodiment of the anti-interference method for a smart lock of the present application. The smart lock corresponds to a radar module. The method includes:

[0014] S101: In response to the radar module being started, configuring detection parameters of the radar module; wherein the detection parameters include multiple detection distances and a detection frequency matching each detection distance.

[0015] Specifically, after the smart lock device is started, it will control the radar module to power on and start, and at the same time configure the detection parameters of the radar module; among them, the detection parameters include multiple detection distances and the detection frequency matching each detection distance.

[0016] In one application mode, when the radar module is started, the smart lock will automatically configure the detection parameters of the radar module.

[0017] In another application mode, when the radar module is started, the smart lock will obtain the detection parameters of the radar module pre-configured by the user.

[0018] S102: In response to obtaining a first frequency detection result sent by the radar module, adjust the detection distance of the radar module based on the first frequency detection result.

[0019] Specifically, the first frequency detection result of the radar module is that the trigger frequency of the radar module is higher than the detection frequency matched at the detection distance. When the smart lock receives the first frequency detection result sent by the radar module, it will adjust to shorten the detection distance of the radar module to reduce the frequent triggering of the radar module, resulting in the smart lock device being frequently awakened and the battery power decreasing rapidly, thereby reducing the power consumption of the smart lock device and extending the service life.

[0020] In one application, the smart lock sequentially adjusts and shortens the detection distance of the radar module based on the first frequency detection result until it is adjusted to a suitable detection distance.

[0021] In another application, the smart lock selects the most appropriate detection distance from multiple detection distances based on the first frequency detection result.

[0022] It is understandable that as the detection distance of the radar module continues to shorten, the corresponding detection frequency will increase accordingly, which will increase the power consumption of the radar module.

[0023] It should be noted that when a target constantly wanders within the detection distance, the radar module records the triggering times as one. When a target wanders near the detection distance, that is, sometimes smaller than the detection distance and sometimes larger than the detection distance, the radar module will continuously trigger and accumulate the times.

[0024] S103: In response to the detection distance of the radar module meeting a preset distance condition and obtaining a second frequency detection result sent by the radar module, adjust the operating frequency band of the radar module based on the second frequency detection result.

[0025] Specifically, the second frequency detection result is that the trigger frequency of the radar module is higher than the detection frequency matched at the minimum detection distance. When the detection distance of the radar module meets the preset distance condition, that is, the detection distance of the radar module has been adjusted to the minimum and the second frequency detection result sent by the radar module is obtained, the operating frequency band of the radar module is adjusted to reduce the interference between other external devices and the radar module in the same operating frequency band, resulting in frequent triggering of the radar module, causing the smart lock device to be frequently awakened and the battery power to drop faster, thereby reducing the power consumption of the smart lock device and extending the service life.

[0026] In one application, after receiving the second frequency detection result, the smart lock dynamically adjusts the radar module's operating frequency based on the electromagnetic interference in the surrounding environment. In this application scenario, if the radar module is interfered with by external devices within this operating frequency band, the smart lock automatically adjusts the radar module's operating frequency band to distinguish it from the external device's operating frequency band, ensuring the normal operation of the radar module and improving the stability of the smart lock device.

[0027] In another application, after receiving the second frequency detection result, the smart lock uses artificial intelligence technology to evaluate the surrounding environment and select the optimal operating frequency band for the radar module based on the evaluation results. In this application scenario, once the smart lock is installed, it will continuously learn about the surrounding wireless environment to improve the assessment accuracy of the smart lock.

[0028] It should be noted that the operating frequency band of home smart locks is generally 5.8GHz.

[0029] In the above scheme, after the smart lock device is started, it will control the radar module to power on and start, and configure the detection parameters of the radar module at the same time; wherein, the detection parameters include multiple detection distances and detection frequencies matching each detection distance. When the smart lock obtains the first frequency detection result sent by the radar module, it will adjust and shorten the detection distance of the radar module to reduce the frequent triggering of the radar module, which causes the smart lock device to be frequently awakened and the battery power to drop rapidly. When the detection distance of the radar module meets the preset distance condition, that is, the detection distance of the radar module has been adjusted to the minimum, and the second frequency detection result sent by the radar module is obtained, the working frequency band of the radar module is adjusted to reduce the mutual interference caused by other external devices and the radar module in the same working frequency band, resulting in frequent triggering of the radar module, causing the smart lock device to be frequently awakened and the battery power to drop rapidly, thereby reducing the power consumption of the smart lock device and extending the service life.

[0030] In one embodiment, the radar module matches a plurality of working modes corresponding to each detection distance. After the radar module sends a first frequency detection result, the current working mode of the radar module corresponds to the mode to be adjusted. In step S102, adjusting the detection distance of the radar module based on the first frequency detection result includes: determining a target adjustment mode from a plurality of working modes based on the first frequency detection result; wherein the detection distance corresponding to the mode to be adjusted is greater than the detection distance corresponding to the target adjustment mode; and switching the mode to be adjusted to the target adjustment mode.

[0031] Specifically, the radar module is pre-configured with multiple working modes, and each working mode corresponds to its own detection distance and detection frequency. When the radar module sends the first frequency detection result to the smart lock, the current working mode of the radar module is the adjustment mode that needs to be modified. When the smart lock obtains the first frequency detection result, it determines the target adjustment mode from multiple working modes and switches to the target adjustment mode.

[0032] In one implementation scenario, before configuring the detection parameters of the radar module in step S101, the process also includes: initializing the radar module and obtaining an initial mode configured by the user; wherein, the radar module is in the initial mode after startup, and the initial mode corresponds to an initial detection distance.

[0033] Specifically, when the smart lock control radar module is powered on and started, the radar module will be initialized and the initial mode corresponding to the initial detection distance configured by the user will be obtained.

[0034] In a specific implementation scenario, when the smart lock controls the radar module to be powered on and started, the registers inside the radar module will be initialized, and the smart lock will obtain the initial mode configured by the user so that the radar module can be in the initial mode after startup, and the corresponding initial detection distance in the initial mode is the largest.

[0035] In one implementation scenario, the detection duration of each working mode is positively correlated with the detection distance. The steps are based on the first frequency detection result to determine the target adjustment mode from multiple working modes, specifically including: based on the first frequency detection result, taking the working mode corresponding to the next detection distance after the mode to be adjusted as the target adjustment mode until the working mode with the smallest detection distance is adjusted.

[0036] Specifically, the greater the detection distance corresponding to the working mode of the radar module, the longer the detection time will be. After the smart lock obtains the first frequency detection result sent by the radar module, it will use the working mode corresponding to the next detection distance after the mode to be adjusted as the target adjustment mode to be switched based on the first frequency detection result, until the smart lock adjusts the working mode of the radar module to the working mode with the smallest detection distance. As the detection distance becomes smaller and smaller, the corresponding detection time will also become shorter and shorter, thereby reducing the time for switching the working mode and improving the efficiency of mode switching.

[0037] In one specific implementation scenario, the radar module is pre-configured with three operating modes: high-range mode, mid-range mode, and low-range mode. The corresponding detection distances and detection times decrease in sequence. For example, the detection distance corresponding to high-range mode is 3 meters and the detection time is 5 minutes. The detection distance corresponding to mid-range mode is 2 meters and the detection time is 2 minutes. The detection distance corresponding to low-range mode is 1 meter and the detection time is 1 minute. When the smart lock receives the first frequency detection result sent by the radar module in high-range mode, it will use mid-range mode as the target adjustment mode to be switched and switch the radar module from high-range mode to mid-range mode. If the smart lock continues to receive the first frequency detection result sent when the radar module is in mid-range mode, it will switch the radar module from mid-range mode to low-range mode.

[0038] In another implementation scenario, the detection frequency of each working mode is negatively correlated with the detection distance; the step of determining the target adjustment mode from multiple working modes based on the first frequency detection result specifically includes: determining the target adjustment mode from multiple working modes based on the first frequency detection result and the detection frequency corresponding to each working mode; wherein, when the first frequency detection result is between two adjacent detection frequencies, the working mode corresponding to the larger detection frequency of the two adjacent detection frequencies is used as the target adjustment mode, and when the first frequency detection result is higher than any detection frequency, the working mode with the smallest detection distance is used as the target adjustment mode.

[0039] Specifically, the greater the detection distance corresponding to the working mode of the radar module, the lower the detection frequency will be. After the smart lock obtains the first frequency detection result sent by the radar module, it will compare the first frequency detection result with the detection frequency corresponding to each working mode, so that it can quickly determine the target adjustment mode and improve the efficiency of mode switching.

[0040] In a specific implementation scenario, the radar module is pre-configured with three working modes: high-end mode, mid-range mode and low-range mode. Among them, the detection distance corresponding to the high-end mode is 3m, and the detection frequency is triggered 18 times within 3 minutes. The detection distance corresponding to the mid-range mode is 2m, and the detection frequency is triggered 20 times within 2 minutes. The detection distance corresponding to the low-range mode is 1m, and the detection frequency is triggered 30 times within 1 minute. When the smart lock obtains the first frequency detection result sent by the radar module in the high-end mode and is triggered 20 times within 3 minutes, the smart lock determines that the first frequency detection result is between the high-end mode and the mid-range mode, and uses the mid-range mode as the target adjustment mode. When the smart lock obtains the first frequency detection result sent by the radar module in the high-end mode and is triggered 100 times within 3 minutes, the smart lock determines that the first frequency detection result is higher than the detection frequency corresponding to any working mode, and uses the low-range mode as the target adjustment mode.

[0041] In one implementation scenario, the preset distance condition is that the detection distance of the radar module has been adjusted to the minimum; in step S103, adjusting the operating frequency band of the radar module based on the second frequency detection result specifically includes: determining the interference coefficient based on the second frequency detection result and the detection frequency corresponding to the working mode with the minimum detection distance; and adjusting the operating frequency band of the radar module based on the interference coefficient.

[0042] Specifically, when the detection distance of the radar module has been adjusted to the minimum, but the smart lock still obtains the second frequency detection result sent by the radar module, the interference coefficient that interferes with the triggering of the radar module is determined based on the second frequency detection result and the detection frequency corresponding to the working mode with the minimum detection distance. Based on the interference coefficient, the working frequency band of the radar module is adjusted to reduce the frequent triggering of the radar module due to interference between other external devices and the radar module in the same working frequency band, resulting in frequent awakening of the smart lock device and a faster decrease in power, thereby reducing the power consumption of the smart lock device and extending the service life.

[0043] Optionally, when the second frequency detection result is higher than the detection frequency corresponding to the working mode with the smallest detection distance, the interference coefficient is greater.

[0044] In a specific implementation scenario, the radar module and external device corresponding to the smart lock both operate in the same operating frequency band of 5.8GHz, that is, the operating frequency range is between 5725MHz-5850MHz. The detection distance corresponding to the low-speed mode of the radar module is 1m, and the detection frequency is triggered 30 times within 1 minute. If the specific operating frequency range of the radar module is 5750MHz-5775MHz, and the specific operating frequency range of the external device is 5760MHz-5785MHz, at this time, the operating frequency band of the radar module partially overlaps with the operating frequency band of the external device. The second frequency detection result is triggered 40 times within 1 minute. The smart lock determines that the interference of the external device on the radar module is small at this time, that is, the interference coefficient is small, and the operating frequency band of the radar module needs to be slightly adjusted. For example, the specific operating frequency range of the radar module is adjusted from 5750MHz-5775MHz to 5740MHz-5765MHz. At this time, the trigger frequency of the radar module is reduced to 20 times within 1 minute, indicating that the operating frequency band of the radar module has been adjusted. If the specific operating range of the radar module is 5750MHz-5775MHz, and the specific operating frequency range of the external device is also 5750MHz-5775MHz, at this time, the operating frequency band of the radar module completely overlaps with the operating frequency band of the external device, and the second frequency detection result is triggered 120 times within 1 minute. The smart lock determines that the external device has a large interference with the radar module at this time, that is, the interference coefficient is large, and the operating frequency band of the radar module needs to be significantly adjusted. For example, the specific operating frequency range of the radar module is adjusted from 5750MHz-5775MHz to 5775MHz-5800MHz to completely distinguish the operating frequency band of the radar module from the operating frequency band of the external device. At this time, the trigger frequency of the radar module is reduced to 15 times within 1 minute, indicating that the operating frequency band of the radar module has been adjusted. By adaptively adjusting the working frequency band, the mutual interference between the radar module and the external device is avoided, thereby improving the stability of the smart lock device.

[0045] In one implementation scenario, the smart lock anti-interference method of the present application also includes: in response to the working time of the radar module in the target adjustment mode meeting the preset time condition, switching the target adjustment mode to the working mode corresponding to the previous detection distance.

[0046] Specifically, when the operating time of the radar module in the target adjustment mode meets the preset time condition, the target adjustment mode is switched to the operating mode corresponding to the previous detection distance to further reduce the power consumption of the radar module.

[0047] In a specific implementation scenario, when the radar module works in mid-range mode for more than one hour, the smart lock will switch the radar module from mid-range mode to high-range mode. At this time, if the smart lock does not receive the first frequency detection result sent when the radar module is in high-range mode, the radar module will work in high-range mode. If the smart lock receives the first frequency detection result sent when the radar module is in high-range mode, it will continue to switch the working mode of the radar module back to mid-range mode, thereby further improving the flexibility of the radar module's working mode switching and reducing the power consumption of the radar module.

[0048] In one application scenario, after adjusting the working frequency band of the radar module based on the second frequency detection result in step S103, it can also include: in response to obtaining the third frequency detection result sent by the radar module, generating fault information based on the third frequency detection result; wherein the fault information is used to indicate that a fault has occurred in the smart lock.

[0049] Specifically, the third frequency detection result is that the number of times the radar module is triggered per unit time is greater than the detection frequency that has been adjusted to the working frequency band and matched at the minimum detection distance. When the smart lock obtains the third frequency detection result, it generates fault information based on the third frequency detection result to indicate that the smart lock has a fault.

[0050] In a specific application scenario, the smart lock is equipped with a display module, such as an OLED display or other types of LCD screens. When the smart lock receives the third frequency detection result, it generates fault information based on the third frequency detection result and displays it on the display module to prompt the user that the smart lock device has failed. The user can check the fault information on the display module to notify the relevant maintenance object for repair, thereby improving the security of the smart lock device.

[0051] In other application scenarios, the smart lock device also has corresponding application software, and users can directly set the detection parameters of the radar module through the application software, so that different detection parameters can be configured according to different time periods. For example, in the morning and evening when there is more target traffic, the detection distance of the radar module is configured to the minimum, and in the afternoon when there is less target traffic, the detection distance of the radar module is configured to the maximum, which improves the application flexibility of the smart lock device, and can also reduce the power consumption of the smart lock device and extend the service life.

[0052] See also Figure 2 , Figure 2This is a schematic diagram of the structure of an embodiment of an electronic device of the present application. The electronic device 20 includes a memory 201 and a processor 202 coupled to each other, wherein the memory 201 stores program instructions (not shown in the figure), and the processor 202 calls the program instructions to implement the method in any of the above embodiments. For a description of the relevant content, please refer to the detailed description of the above method embodiments, which will not be repeated here. Specifically, the electronic device 20 includes but is not limited to: a desktop computer, a laptop computer, a tablet computer, a server, etc., which are not limited here. In addition, the processor 202 can also be referred to as a CPU (Center Processing Unit). The processor 202 may be an integrated circuit chip with signal processing capabilities. The processor 202 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. In addition, the processor 202 can be implemented by an integrated circuit chip.

[0053] See also Figure 3 , Figure 3 This is a structural diagram of an embodiment of a computer-readable storage medium of the present application. The computer-readable storage medium 30 stores program data 300. When the program data 300 is executed by the processor, the method in any of the above embodiments is implemented. For an explanation of the relevant content, please refer to the detailed description of the above method embodiments, which will not be repeated here.

[0054] It should be noted that the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of this embodiment.

[0055] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0056] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the various implementation methods of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0057] The above description is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A smart lock anti-interference method, characterized in that: The smart lock corresponds to a radar module, and the method includes: In response to the radar module being started, configuring detection parameters of the radar module; wherein the detection parameters include a plurality of detection distances and a detection frequency matching each of the detection distances; In response to obtaining a first frequency detection result sent by the radar module, adjusting the detection range of the radar module based on the first frequency detection result; wherein the first frequency detection result is that the trigger frequency of the radar module is higher than the detection frequency matched at the current detection range; In response to the detection distance of the radar module satisfying a preset distance condition and obtaining a second frequency detection result sent by the radar module, the operating frequency band of the radar module is adjusted based on the second frequency detection result; wherein, the second frequency detection result is that the trigger frequency of the radar module is higher than the detection frequency matched at the minimum detection distance, and the preset distance condition is that the detection distance of the radar module has been adjusted to the minimum.

2. The anti-interference method for smart locks according to claim 1, characterized in that: The radar module is matched with a plurality of working modes corresponding to each detection distance. After the radar module sends the first frequency detection result, the current working mode of the radar module corresponds to the to-be-adjusted mode. The adjusting the detection distance of the radar module based on the first frequency detection result includes: Based on the first frequency detection result, determining a target adjustment mode from the plurality of operating modes; wherein the detection distance corresponding to the mode to be adjusted is greater than the detection distance corresponding to the target adjustment mode; The mode to be adjusted is switched to the target adjustment mode.

3. The anti-interference method for smart locks according to claim 2, characterized in that: The detection time of each working mode is positively correlated with the detection distance; The determining a target adjustment mode from the plurality of operating modes based on the first frequency detection result includes: Based on the first frequency detection result, the operating mode corresponding to the next detection distance after the mode to be adjusted is used as the target adjustment mode until the operating mode with the minimum detection distance is adjusted.

4. The anti-interference method for smart locks according to claim 2, characterized in that: The detection frequency of each working mode is negatively correlated with the detection distance; The determining a target adjustment mode from the plurality of operating modes based on the first frequency detection result includes: Determining the target adjustment mode from the plurality of operating modes based on the first frequency detection result and the detection frequency corresponding to each operating mode; Among them, when the first frequency detection result is between two adjacent detection frequencies, the working mode corresponding to the higher detection frequency of the two adjacent detection frequencies is used as the target adjustment mode; when the first frequency detection result is higher than any detection frequency, the working mode with the smallest detection distance is used as the target adjustment mode.

5. The anti-interference method for smart locks according to claim 2, characterized in that: The adjusting the operating frequency band of the radar module based on the second frequency detection result includes: determining an interference coefficient based on the second frequency detection result and the detection frequency corresponding to the working mode with the minimum detection distance; Based on the interference coefficient, the operating frequency band of the radar module is adjusted.

6. The anti-interference method for smart locks according to claim 2, characterized in that: Also includes: In response to the radar module operating time in the target adjustment mode meeting a preset time condition, the target adjustment mode is switched to the operating mode corresponding to the previous detection distance.

7. The anti-interference method for smart locks according to claim 1, characterized in that: Before configuring the detection parameters of the radar module, the method includes: Initialize the radar module and obtain an initial mode configured by the user; wherein, the radar module is in the initial mode after startup, and the initial mode corresponds to an initial detection distance.

8. The anti-interference method for smart locks according to claim 1, characterized in that: After adjusting the operating frequency band of the radar module based on the second frequency detection result, the method further includes: In response to obtaining the third frequency detection result sent by the radar module, fault information is generated based on the third frequency detection result; wherein, the fault information is used to prompt that the smart lock has a fault.

9. An electronic device, characterized in that: It includes a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the smart lock anti-interference method according to any one of claims 1-8.

10. A computer-readable storage medium, characterized in that Program data that can be run by a processor is stored, and the program data is used to implement the smart lock anti-interference method described in any one of claims 1-8.

Citation Information

Patent Citations

  • Vehicle latch with integrated radar module

    CN110344678A

  • Radar control method, electronic equipment and storage medium

    CN113721512A