Intelligent lock anti-interference method, electronic equipment and computer readable storage medium

By configuring and adjusting the detection parameters and working frequency bands of the smart lock radar module, the frequent wake-up problem of smart lock equipment due to the high radar detection frequency is solved, extending the use cycle and reducing power consumption.

CN119068577AActive Publication Date: 2024-12-03HANGZHOU HUACHENG NETWORK TECH CO LTD

Patent Information

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

Smart Images

  • Figure CN119068577A_ABST
    Figure CN119068577A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent lock anti-interference method, electronic equipment and a computer readable storage medium, an intelligent lock corresponds to a radar module, and the method comprises the following steps: responding to starting of the radar module, and configuring detection parameters of the radar module; wherein the detection parameters comprise a plurality of detection distances and a detection frequency matched with each detection distance; in response to the obtained first frequency detection result sent by the radar module, the detection distance of the radar module is adjusted based on the first frequency detection result; and responding to the condition that the detection distance of the radar module meets a preset distance condition, obtaining a second frequency detection result sent by the radar module, and adjusting the working frequency band of the radar module based on the second frequency detection result. According to the scheme, the power consumption of the intelligent lock equipment can be reduced, and the service cycle is prolonged.
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 usually use radar to detect whether a target appears. The radar detection principle is based on the Doppler effect, which determines whether a target appears by emitting microwaves and receiving reflected microwaves. In the prior art, the radar detection mode is fixed, and the smart lock is often frequently awakened due to the high radar triggering frequency, which affects the power consumption and service life of the smart lock device. In view of this, how to reduce the power consumption of smart lock devices and extend the service life has become an urgent problem to be solved. Summary of the invention

[0003] The main technical problem solved by the present application is to provide an intelligent lock anti-interference method, an electronic device and a 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-mentioned 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 comprises: in response to the radar module being started, configuring the detection parameters of the radar module; wherein the detection parameters include multiple 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 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 the present 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 the present application provides a computer-readable storage medium, which stores program data that can be executed 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, resulting in the smart lock device being frequently awakened and the battery power decreasing 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 frequent awakening of the smart lock device and the rapid decrease in battery power due to the mutual interference caused by other external devices and the radar module in the same working frequency band, thereby reducing the frequent triggering of the radar module, 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 use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

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

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

[0011] Figure 3 It is a structural schematic diagram of an implementation method 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 the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments, and different implementation methods can be adaptively combined. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0013] See also Figure 1 , Figure 1 It is a flow chart of an implementation method of an 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 a plurality of 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 configure the detection parameters of the radar module at the same time; among them, the detection parameters include multiple detection distances and detection frequencies 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, adjusting 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 obtains 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 usage cycle.

[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 is constantly hovering within the detection distance, the radar module records the triggering times as one. When a target is hovering near the detection distance, that is, sometimes smaller than the detection distance and sometimes larger than the detection distance, the radar module will be continuously triggered and accumulate the times.

[0024] S103: 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, adjust the working 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 frequent triggering of the radar module due to interference between other external devices and the radar module in the same operating frequency band, resulting in frequent awakening of the smart lock device and rapid power consumption decrease, thereby reducing the power consumption of the smart lock device and extending the usage cycle.

[0026] In one application mode, after the smart lock obtains the second frequency detection result, it will dynamically adjust the working frequency band of the radar module according to the electromagnetic wave interference in the surrounding environment. In this application scenario, when the radar module is interfered by external devices in this working frequency band, the smart lock will automatically adjust the working frequency band of the radar module to distinguish it from the working frequency band of the external device to ensure the normal operation of the radar module and improve the stability of the smart lock device.

[0027] In another application, after the smart lock obtains the second frequency detection result, it uses artificial intelligence technology to evaluate the surrounding environment and selects the optimal operating frequency band of the radar module based on the evaluation result. In this application scenario, after the smart lock is installed, it will continuously learn the surrounding wireless environment to improve the evaluation 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, resulting in the smart lock device being frequently awakened and the battery power decreasing 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 frequent awakening of the smart lock device and the rapid decrease in battery power due to the mutual interference caused by other external devices and the radar module in the same working frequency band, thereby reducing the frequent triggering of the radar module, 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. When 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, based on the first frequency detection result, adjusting the detection distance of the radar module 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, it 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, 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 step is based on the first frequency detection result, and the target adjustment mode is determined from multiple working modes. Specifically, based on the first frequency detection result, the working mode corresponding to the next detection distance after the mode to be adjusted is used as the target adjustment mode until it is adjusted to the working mode with the smallest detection distance.

[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, thereby reducing the time for switching the working mode and improving the efficiency of mode switching.

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

[0038] In another implementation scenario, the detection frequency of each working mode is negatively correlated with the detection distance; the step is based on the first frequency detection result, determining the target adjustment mode from multiple working modes, specifically including: based on the first frequency detection result, and the detection frequency corresponding to each working mode, determining the target adjustment mode from multiple working modes; 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 the target adjustment mode can be quickly determined, thereby improving 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, it is triggered 20 times within 3 minutes. At this time, the smart lock determines that the first frequency detection result is between the high-end mode and the mid-range mode, and takes 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, it is triggered 100 times within 3 minutes. At this time, the smart lock determines that the first frequency detection result is higher than the detection frequency corresponding to any working mode, and takes 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 working 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 working 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, and the working frequency band of the radar module is adjusted based on the interference coefficient to reduce the frequent triggering of the radar module due to mutual interference between other external devices and the radar module in the same working frequency band, resulting in the smart lock device being frequently awakened and the battery power decreasing faster, thereby reducing the power consumption of the smart lock device and extending the usage cycle.

[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.8 GHz, that is, both operate in the operating frequency range of 5725 MHz-5850 MHz. The detection distance corresponding to the low-speed mode of the radar module is 1 m, and the detection frequency is triggered 30 times within 1 minute. If the specific operating frequency range of the radar module is 5750 MHz-5775 MHz, and the specific operating frequency range of the external device is 5760 MHz-5785 MHz, then the operating frequency band of the radar module partially overlaps with the operating frequency band of the external device, and the second frequency detection result is triggered 40 times within 1 minute. The smart lock determines that the interference of the external device to 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 5750 MHz-5775 MHz to 5740 MHz-5765 MHz. At this time, the triggering 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 working range of the radar module is 5750MHz-5775MHz, and the specific working frequency range of the external device is also 5750MHz-5775MHz, at this time, the working frequency band of the radar module completely overlaps with the working 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 working frequency band of the radar module needs to be greatly adjusted. For example, the specific working frequency range of the radar module is adjusted from 5750MHz-5775MHz to 5775MHz-5800MHz to completely distinguish the working frequency band of the radar module from the working frequency band of the external device. At this time, the triggering frequency of the radar module is reduced to 15 times within 1 minute, which means that the working 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 working time of the radar module in the target adjustment mode meets the preset time condition, the target adjustment mode is switched to the working 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, the working mode of the radar module will continue to be switched 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 a 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 triggering times of the radar module in unit time is greater than the adjusted working frequency band and the detection frequency matched at the minimum detection distance. When the smart lock obtains the third frequency detection result, based on the third frequency detection result, fault information is generated to prompt 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 notify the relevant maintenance object for repair by checking the fault information on the display module, 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 the target traffic is high, the detection distance of the radar module is configured to the minimum, and in the afternoon when the target traffic is low, 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 use cycle.

[0052] See also Figure 2 , Figure 21 is a schematic diagram of the structure of an embodiment of an electronic device of the present application, wherein the electronic device 20 comprises a memory 201 and a processor 202 coupled to each other, wherein the memory 201 stores program instructions (not shown), and the processor 202 calls the program instructions to implement the method in any of the above embodiments, and the description of the relevant contents can be found in 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 may also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. In addition, the processor 202 may be implemented by an integrated circuit chip.

[0053] See also Figure 3 , Figure 3 It is a structural diagram of an implementation method 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 a 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 separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present implementation scheme.

[0055] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of 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 to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[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 present application specification and drawings, or directly or indirectly used 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 a 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, the working frequency band of the radar module is adjusted based on the second frequency detection result.

2. The anti-interference method for smart locks according to claim 1, characterized in that: The radar module matches each detection distance to correspond to a plurality of working modes, and when 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 working modes; wherein the detection distance corresponding to the to-be-adjusted mode is greater than the detection distance corresponding to the target adjustment mode; The to-be-adjusted mode 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 working mode corresponding to the next detection distance after the to-be-adjusted mode is used as the target adjustment mode until the working mode with the smallest detection distance is adjusted.

4. The smart lock anti-interference method 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 of the operating modes; 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 shortest detection distance is used as the target adjustment mode.

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

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

7. The smart lock anti-interference method 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 a user; wherein the radar module is in the initial mode after startup, and the initial mode corresponds to an initial detection distance.

8. The smart lock anti-interference method according to claim 1, characterized in that: After adjusting the working 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 indicate 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 described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that: Program data that can be executed 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

  • Target detection method and system, computer equipment, and readable storage medium

    CN114036988A

  • Self-adaptive anti-interference method and device based on radar equipment

    CN115639529A

  • Lock awakening method, device and equipment based on radar technology and medium

    CN116434394A

Cited By

  • Radar detection equipment, radar detection adjusting method, electronic equipment and lamp

    CN120742293A