Door lock illumination welcome method and device, intelligent door lock system and electronic equipment
By arranging multiple Bluetooth modules around the smart door lock, accurately positioning the user's mobile terminal, and intelligently controlling the lighting with the light sensor, the problem of users' difficulty in quickly positioning the smart door lock in dark environments is solved, and convenient sensing-free lighting services are achieved .
Patent Information
- Application Number
- CN202411619984.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-18
AI Technical Summary
In dark environments, it is difficult for users to quickly locate smart door locks, resulting in inconvenience in use.
By arranging multiple Bluetooth modules within the preset distance range of the smart door lock, using the principle of signal intensity and arrival time difference, accurately locate the user's mobile terminal, and combine it with the light sensor to detect the ambient light intensity, intelligently control the opening of welcome lighting.
It realizes the function of users to quickly locate smart door locks in dark environments, provides convenient and sensorless lighting services, and improves user experience.
Smart Images

Figure CN119479115A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and more specifically, to a door lock lighting welcoming method, device, smart door lock system and electronic equipment. Background Art
[0002] In recent years, with the rapid development of the smart home field, smart door locks, as an important part of home security, are undergoing a transformation from simple function realization to diversified and humanized services. Traditional smart door locks mainly focus on the innovation of unlocking mechanisms, such as biometric technology (fingerprint, facial recognition), electronic passwords, etc., to improve security. However, the needs of modern consumers are no longer limited to functionality. They expect smart home products to provide personalized and comfortable life experiences, as well as technological applications that are seamlessly integrated with daily life.
[0003] With the advancement of technology, users expect smart door locks to not only provide remote control and a variety of unlocking methods, but also hope to have a more convenient interactive experience. However, door locks in related technologies still have some shortcomings in user experience, including: it is difficult for users to quickly locate door locks for unlocking in low-light environments.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a door lock lighting welcome method, device, smart door lock system and electronic device to at least solve the technical problem that it is difficult for users to quickly locate the door lock in a dark environment.
[0006] According to one aspect of an embodiment of the present application, a door lock lighting welcome method is provided, comprising: when a mobile terminal is detected to enter the signal coverage range of the Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal, wherein a plurality of Bluetooth modules are arranged within a preset distance range of the smart door lock; determining the distance between the mobile terminal and each Bluetooth module based on a signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determining the terminal position of the mobile terminal based on the distance; determining the position change of the mobile terminal based on the terminal position corresponding to each moment in a continuous time series; when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold, controlling the smart door lock to turn on the welcome lighting.
[0007] Optionally, when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal includes: when the Bluetooth module receives a connection request sent by the mobile terminal, sending a permission verification message to the mobile terminal, wherein the mobile terminal is used to send a connection request when it detects a broadcast signal sent by the Bluetooth module, and the broadcast signal includes: identification information of the smart door lock; obtaining identity authentication information sent by the mobile terminal in response to the authority verification message, and determining whether the identity authentication information of the mobile terminal exists in the list of authorized devices; when the identity authentication information exists in the list of authorized devices, determining that the authority verification of the mobile terminal is passed, and establishing a communication connection between multiple Bluetooth modules and the mobile terminal.
[0008] Optionally, determining the terminal position of the mobile terminal based on the distance includes: determining the signal transmission power of the Bluetooth module and the signal reception power of the mobile terminal; determining the distance between the mobile terminal and each Bluetooth module based on the signal transmission power, the signal transmission power, and a path loss parameter, wherein the path loss parameter is used to characterize the degree of attenuation of the signal during the propagation process; calculating the distance difference between each pair of distances, and determining the coordinate position of the mobile terminal based on the coordinate position of the Bluetooth module and the distance difference, thereby obtaining the terminal position.
[0009] Optionally, determining the position change of the mobile terminal based on the terminal position corresponding to each moment in a continuous time series includes: determining the terminal position of the mobile terminal corresponding to a first moment, and the terminal position corresponding to a second moment, wherein the second moment is the next moment immediately adjacent to the first moment; determining the position change of the mobile terminal based on the position information of the smart door lock, the terminal position corresponding to the first moment, and the terminal position corresponding to the second moment, wherein the position change includes: approaching the smart door lock and moving away from the smart door lock.
[0010] Optionally, the method also includes: obtaining user behavior data and determining a behavior pattern corresponding to the user behavior data, wherein the user behavior data is used to characterize the behavior characteristics of the target object entering and exiting through the smart door lock; determining a security monitoring sensitivity parameter corresponding to the behavior pattern, wherein the security monitoring sensitivity parameter is used to adjust the sensitivity of various security warning trigger conditions, and under different behavior patterns, the security monitoring sensitivity parameters corresponding to each time period in each time cycle are different.
[0011] Optionally, before determining the behavior pattern corresponding to the user behavior data, the method also includes: obtaining a user behavior history data set, wherein the user behavior history data set includes behavior characteristics of the target object entering and exiting through the smart door lock in multiple different historical time periods, and the behavior characteristics include at least one of the following: the target object's entry and exit time and number of times, the entry and exit frequency in different time periods, and the target user's home time and away time; using a clustering algorithm to cluster the behavior characteristics corresponding to each historical time period in the historical data set to obtain multiple clustering clusters, wherein each clustering cluster corresponds to a behavior pattern, and the behavior pattern includes at least one of the following: weekday mode, weekend mode, and holiday mode; setting, under each behavior mode, the security monitoring sensitivity parameters corresponding to each time period in the time period.
[0012] Optionally, the security warning triggering condition includes at least one of the following: a stay time threshold; the method also includes: when the infrared sensing device detects that there are biometric features outside the door for a time period exceeding the stay time threshold corresponding to the time period in the behavior mode, and no authorized mobile terminal is detected approaching or moving away from the smart door lock, sending a security warning message to the mobile terminal.
[0013] According to another aspect of an embodiment of the present application, a door lock lighting welcome device is also provided, including: a connection establishment module, used to establish a communication connection between the Bluetooth module and the mobile terminal when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, wherein multiple Bluetooth modules are arranged within a preset distance range of the smart door lock; a position determination module, used to determine the distance between the mobile terminal and each Bluetooth module based on the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determine the terminal position of the mobile terminal based on the distance; a mobile monitoring module, used to determine the position change of the mobile terminal based on the terminal position corresponding to each moment in a continuous time series; a lighting welcome module, used to control the smart door lock to turn on the welcome lighting when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than the preset light intensity threshold.
[0014] According to another aspect of the embodiments of the present application, a smart door lock system is also provided, including: a processing unit, a light sensor, and multiple Bluetooth modules, wherein the light sensor is used to monitor the ambient light intensity of the environment where the smart door lock is located; the Bluetooth module is arranged within a preset distance range of the smart door lock, and is used to establish a communication connection with a mobile terminal; the processing unit is used to establish a communication connection between the Bluetooth module and the mobile terminal when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module; based on the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, the distance between the mobile terminal and each Bluetooth module is determined, and based on the distance, the terminal position of the mobile terminal is determined; based on the terminal position corresponding to each moment of the mobile terminal in a continuous time series, the position change of the mobile terminal is determined; when the position change indicates that the mobile terminal is approaching the smart door lock, and the ambient light intensity detected by the light sensor is less than the preset light intensity threshold, the smart door lock is controlled to turn on the welcome lighting.
[0015] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory and a processor, the processor being used to run a program stored in the memory, wherein the door lock lighting welcoming method is executed when the program is run.
[0016] According to another aspect of the embodiments of the present application, a non-volatile storage medium is further provided, the non-volatile storage medium including a stored computer program, wherein the device where the non-volatile storage medium is located executes the door lock lighting welcoming method by running the computer program.
[0017] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, which implements the steps of the door lock lighting welcoming method when the computer program is executed by a processor.
[0018] In an embodiment of the present application, when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, a communication connection is established between the Bluetooth module and the mobile terminal, wherein a plurality of Bluetooth modules are arranged within a preset distance range of the smart door lock; the distance between the mobile terminal and each Bluetooth module is determined based on the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and the terminal position of the mobile terminal is determined based on the distance; the position change of the mobile terminal is determined based on the terminal position corresponding to each moment in a continuous time series; when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold, the smart door lock is controlled to turn on the welcome lighting. By integrating multiple Bluetooth modules in the smart door lock and utilizing the principle of signal strength and arrival time difference, the user's mobile terminal can be accurately located, and the user's position relative to the door lock can be accurately determined, thereby achieving the purpose of being able to intelligently adjust the lighting according to environmental changes and user behavior, and providing users with convenient and imperceptible lighting services, thereby solving the technical problem that it is difficult for users to quickly locate door locks in dark environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1 It is a hardware structure block diagram of a computer terminal (or electronic device) for implementing a method for lighting a door lock to welcome guests according to an embodiment of the present application;
[0021] Figure 2 It is a schematic diagram of a method flow of a door lock lighting welcoming method provided in accordance with an embodiment of the present application;
[0022] Figure 3 It is a schematic diagram of a method flow of a smart door lock lighting welcome and environment perception based on wireless positioning provided in an embodiment of the present application;
[0023] Figure 4 It is a structural schematic diagram of a door lock lighting welcoming device provided according to an embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of a smart door lock system provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] In the related art, smart door locks only provide basic protection functions, which are insufficient in terms of user experience and security monitoring, and cannot meet users' higher demands for smart home security and convenience. Specifically, first, there is a lack of a mechanism to quickly and accurately guide users to unlock the door in low-light environments; second, the security monitoring system often uses a fixed threshold and cannot be adaptively adjusted according to user behavior habits, resulting in false alarms or missed alarms; finally, the existing system does not learn and apply users' daily entry and exit patterns enough, and cannot achieve personalized intelligent control.
[0028] In order to solve the above problems, an embodiment of the present application provides a comprehensive solution that integrates Bluetooth communication, infrared sensing, ambient light detection and user behavior learning algorithm, in order to improve the intelligence, personalization level and user satisfaction of smart door locks, which is described in detail below.
[0029] According to an embodiment of the present application, a method embodiment of a door lock lighting welcome is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1The hardware structure block diagram of a computer terminal (or electronic device) for implementing the door lock lighting welcoming method is shown. Figure 1 As shown, the computer terminal 10 (or electronic device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0031] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or electronic device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0032] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the door lock lighting welcoming method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned door lock lighting welcoming method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0033] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or electronic device).
[0035] Under the above operating environment, the embodiment of the present application provides a door lock lighting welcoming method, Figure 2 is a schematic diagram of a method flow of a door lock lighting welcome according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0036] Step S202, when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal, wherein a plurality of Bluetooth modules are arranged within a preset distance range of the smart door lock;
[0037] Step S204, determining the distance between the mobile terminal and each Bluetooth module according to the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determining the terminal position of the mobile terminal according to the distance;
[0038] Step S206, determining the position change of the mobile terminal according to the terminal position corresponding to each moment in a continuous time series of the mobile terminal;
[0039] Step S208, when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold, control the smart door lock to turn on the welcome lighting.
[0040] Through the above steps, by integrating multiple Bluetooth modules in the smart door lock and utilizing the signal strength and arrival time difference principle, the user's mobile terminal can be accurately located, and the user's position relative to the door lock can be accurately determined, thereby achieving the purpose of intelligently adjusting the lighting according to environmental changes and user behavior, and providing users with convenient and seamless lighting services, thereby solving the technical problem that it is difficult for users to quickly locate door locks in dark environments.
[0041] The door lock lighting welcoming method in steps S202 to S208 of the embodiment of the present application is further introduced below.
[0042] In an embodiment of the present application, the above-mentioned door lock lighting welcoming method can be applied to a smart door lock system, which may include: multiple Bluetooth modules, infrared sensing modules, ambient light sensors, processing units, user interfaces and other module units.
[0043] Among them, multiple Bluetooth modules can be deployed on or around the door lock to form a coverage area near the door lock to optimize signal coverage and positioning accuracy. Realize low-power communication with the user's mobile terminal device, used to verify communication permissions with the user's mobile terminal device and assist in positioning. Support BLE (Bluetooth Low Energy) standard to ensure long-lasting battery use and fast connection.
[0044] The infrared sensing module can use a high-sensitivity infrared sensor to distinguish between human bodies and other heat sources, reduce false alarms, and monitor activities in front of the door in real time to detect whether there are people or objects staying in front of the door. It can also identify whether there are unauthorized people staying or other abnormal behaviors, and has an ambient light filtering function to ensure stable operation under different lighting conditions.
[0045] The ambient light sensor can monitor the current ambient light intensity and is used to detect the light intensity of the surrounding environment to provide a decision-making basis for lighting control. It has a wide dynamic range and can adapt to changes in the environment from dim to bright.
[0046] The processing unit has the ability to process data quickly and perform complex algorithm calculations, integrates core functions such as data processing, decision-making, and task coordination, runs an embedded operating system, supports multi-tasking and real-time response, and is responsible for processing signal strength, infrared sensing, and light data, and executing security monitoring and lighting control logic.
[0047] The user interface can provide a user interaction interface for configuring system settings and viewing system status, allowing users to easily configure the system, view status and receive notifications. It can be operated through a mobile application, a web interface or physical buttons, allowing users to set security levels, lighting modes and other preferences according to personal preferences.
[0048] Through the above system, the above method flow of door lock lighting welcoming guests can be realized, such as Figure 3As shown, when the user's mobile terminal device enters the coverage range of the Bluetooth module, the system verifies the connection permission. For devices that pass the permission verification, measure the signal strength with each Bluetooth module. Determine the approximate location of the mobile terminal based on the signal strength. Evaluate the detection results of the current ambient light intensity and the mobile terminal position. When the preset conditions are met, such as insufficient light and the user is close to the door lock, turn on the welcome lighting. In addition, the door lock can also perform security detection based on the infrared sensing module and Bluetooth connection. When a security risk is detected, such as a stranger staying or not closing the door, an early warning notification can be sent through the user interface or the mobile terminal. The security risks include but are not limited to: strangers staying outside the door for a long time, not closing the door after unlocking, etc.; the embodiment of the present application can automatically adjust the security monitoring sensitivity by learning the user's daily entry and exit patterns, including time, frequency and duration, according to the user behavior learning results. A detailed introduction is given below.
[0049] First, when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, a communication connection is established between the Bluetooth module and the mobile terminal. The specific steps are as follows.
[0050] In some embodiments of the present application, when it is detected that a mobile terminal enters the signal coverage range of a Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal includes: when the Bluetooth module receives a connection request sent by the mobile terminal, sending a permission verification message to the mobile terminal, wherein the mobile terminal is used to send a connection request when a broadcast signal sent by the Bluetooth module is detected, and the broadcast signal includes: identification information of the smart door lock; obtaining identity authentication information sent by the mobile terminal in response to the permission verification message, and determining whether the identity authentication information of the mobile terminal exists in the list of authorized devices; when the identity authentication information exists in the list of authorized devices, determining that the permission verification of the mobile terminal is passed, and establishing a communication connection between multiple Bluetooth modules and the mobile terminal.
[0051] Specifically, in this embodiment, a plurality of (at least three) Bluetooth modules are arranged in or around the smart door lock, and the Bluetooth module periodically sends a broadcast signal, wherein the broadcast signal includes a door lock identifier and a broadcast period; the user's mobile terminal device turns on the Bluetooth function and monitors the surrounding broadcast signals; when the mobile terminal receives the broadcast signal, it automatically triggers a connection request with the Bluetooth module corresponding to the door lock;
[0052] Any of the multiple Bluetooth modules stores a list of devices with access rights to the door lock. When any of the Bluetooth modules receives a Bluetooth signal connection request from a user's mobile terminal, that is, detects that the user's mobile terminal device enters the coverage range of the Bluetooth module, it triggers connection permission verification and requires the mobile terminal to provide identity authentication information. The mobile terminal sends the encrypted identity authentication information to the door lock system, and the door lock system verifies the validity and authority of the identity information. For example, a password-based challenge-response protocol can be used to verify the validity of the identity information. For example, a hash function (such as SHA-256) can be used to verify the encrypted password: H (password||challenge) = response. After the identity authentication information is verified in the encrypted password (validity), permission verification is performed based on the identity information of the user device and the preset permission list: If (User_ID∈Authorized_List) then Access_Granted, that is, if the user device ID is in the authorized list, connection access permission is granted.
[0053] For mobile terminal devices that have passed the authority verification, a communication connection is established between multiple Bluetooth modules and the mobile terminal, and the terminal location of the mobile terminal is determined based on the signal strength of the connection. The specific steps are as follows.
[0054] In some embodiments of the present application, determining the terminal position of a mobile terminal based on the distance includes the following steps: determining the signal transmission power of the Bluetooth module and the signal reception power of the mobile terminal; determining the distance between the mobile terminal and each Bluetooth module based on the signal transmission power, the signal transmission power, and the path loss parameter, wherein the path loss parameter is used to characterize the degree of attenuation of the signal during the propagation process; calculating the distance difference between each pair of distances, and determining the coordinate position of the mobile terminal based on the coordinate position of the Bluetooth module and the distance difference, thereby obtaining the terminal position.
[0055] Specifically, the signal strength RSSI (Received Signal Strength Indicator) value of the Bluetooth signal between each Bluetooth module and the terminal device is obtained, and the RSSI value and timestamp of each Bluetooth module are collected and stored. In this embodiment, the time of all Bluetooth modules can be synchronized through the Network Time Protocol (NTP) or other time synchronization mechanisms; according to the RSSI value, the distance between the user mobile terminal and each Bluetooth module is determined, as shown in the following formula:
[0056] P=P0-10nlog(d)+X
[0057] Among them, P is the received power, that is, the power received by the mobile terminal, which can be converted from the RSSI value, P0 is the transmission power, that is, the transmission power of the Bluetooth module, d is the distance between the mobile terminal device and the Bluetooth module, n is the path loss index (parameter), which indicates the attenuation degree of the signal during the propagation process, and X is the noise and multipath effect.
[0058] After obtaining the distances between the multiple Bluetooth modules and the mobile terminal, the position coordinates of the Bluetooth modules with known positions and the obtained multiple distances can be used to establish a set of equations to solve the position coordinates of the mobile terminal.
[0059] In addition, the location of the user terminal device can also be solved based on the time difference of arrival (TDOA). The specific process is as follows: record the timestamp of each Bluetooth module receiving the signal; calculate the difference between each two timestamps to obtain the time difference of arrival. The time difference of arrival is converted into a distance difference, and then a set of equations is established based on the distance difference. The set of equations is solved using numerical methods, such as nonlinear least squares method, to obtain the location of the mobile terminal. The accuracy of the solution can be improved through iterative algorithms or optimization algorithms.
[0060] The following takes three Bluetooth modules as an example to illustrate the above calculation process.
[0061] Assume that there are three Bluetooth modules, denoted as B1, B2, and B3, and the times at which they receive the signals sent by the user's mobile terminal are t1, t2, and t3 respectively; then TDOA can be expressed as: Δt12 = t1-t2, Δt13 = t1-t3, and according to the speed of light c, the distance difference can be expressed as: Δd12 = c·Δt12, Δd13 = c·Δt13;
[0062] Assuming that the positions of the Bluetooth modules are (x1, y1), (x2, y2), (x3, y3), and the position of the mobile terminal is (x, y), the following equations can be obtained based on the distance difference:
[0063] The distance difference equation between the mobile terminal and Bluetooth modules 1 and 2 is as follows:
[0064] (x-x1) 2 +(y-y1) 2 -(x-x2) 2 -(y-y2) 2 =(△d 12 ) 2
[0065] The distance difference equation between the mobile terminal and Bluetooth modules 1 and 3 is as follows:
[0066] (x-x1) 2 +(y-y1) 2 -(x-x3)2 -(y - y3) 2 =(△d 13 ) 2
[0067] By solving the above equations using numerical methods, the position coordinates (x, y) of the mobile terminal device at each moment in a time series can be obtained.
[0068] After that, in combination with the current environmental conditions, based on the position coordinates (x, y) of the mobile terminal device at each moment in a time series, it is determined whether the intelligent door lock needs to turn on the welcome lighting, and when the position change indicates that the mobile terminal is approaching the intelligent door lock and the ambient light intensity detected by the light sensor is less than the preset light intensity threshold, the specific steps to control the intelligent door lock to turn on the welcome lighting are as follows.
[0069] In some embodiments of the present application, determining the position change of the mobile terminal based on the terminal positions corresponding to each moment of the mobile terminal in a continuous time series includes the following steps: determining the terminal position corresponding to the mobile terminal at the first moment and the terminal position corresponding to the mobile terminal at the second moment, where the second moment is the next moment immediately following the first moment; determining the position change of the mobile terminal based on the position information of the intelligent door lock, the terminal position corresponding to the first moment, and the terminal position corresponding to the second moment, where the position change includes: approaching the intelligent door lock, moving away from the intelligent door lock.
[0070] Specifically, first, the intelligent door lock uses an ambient light sensor to continuously monitor the ambient light intensity I of the current environment, and sets a light intensity threshold Ith, which can be determined according to environmental requirements and user preferences. Compare the monitored light intensity I with the threshold Ith. If I < Ith, it is considered that the ambient light is insufficient.
[0071] At the same time, analyze the position change of the mobile terminal device in a time series, analyze the user's moving direction, and determine whether the user is moving towards the door lock. The specific steps are as follows: Calculate the change in the user's position Δx and Δy, as shown in the following formula:
[0072] Δx = x 当前 - x 上一次
[0073] Δy = y 当前 - y 上一次
[0074] Determine the coordinates (x 门锁 , y 门锁 ) of the door lock position, calculate the coordinate differences Δx 门锁 and Δy 门锁 from the user's current position to the door lock position,
[0075] If Δx·Δx 门锁 +Δy·Δy 门锁 >0, it is determined that the user is approaching the door lock. If both "insufficient light" and "user is approaching the door lock" are met, a control signal is sent to turn on the welcome lighting. Through the above process, the smart door lock system can intelligently control the opening of the welcome lighting according to the changes in ambient light intensity and user position, providing a more humane and energy-saving user experience.
[0076] In addition, as an optional implementation, the embodiment of the present application can also automatically adjust the sensitivity of security monitoring by learning the user's daily entry and exit patterns (behavior patterns), including time, frequency and duration. And according to the infrared sensing module and Bluetooth connection status, security warnings are issued according to the current sensitivity. The specific steps are as follows.
[0077] In some embodiments of the present application, the method also includes the following steps: obtaining user behavior data and determining a behavior pattern corresponding to the user behavior data, wherein the user behavior data is used to characterize the behavior characteristics of the target object entering and exiting through the smart door lock; determining a security monitoring sensitivity parameter corresponding to the behavior pattern, wherein the security monitoring sensitivity parameter is used to adjust the sensitivity of various security warning trigger conditions, and under different behavior patterns, the security monitoring sensitivity parameters corresponding to each time period in each time cycle are different.
[0078] Specifically, define the sensitivity parameters of security monitoring for each behavior pattern. Collect door lock operation and environmental status data in real time. Match the real-time data with the identified behavior patterns. Adjust the sensitivity of the monitoring system based on the matched behavior patterns.
[0079] In this embodiment, the anomaly detection model can be trained using historical data to perform anomaly detection on real-time monitoring data, and a security warning is triggered when abnormal behavior is detected. The following is an introduction to the setting process of the behavior pattern and the corresponding security monitoring sensitivity parameters, as follows.
[0080] In some embodiments of the present application, before determining the behavior pattern corresponding to the user behavior data, the method also includes the following steps: obtaining a user behavior history data set, wherein the user behavior history data set includes the behavior characteristics of the target object entering and exiting through the smart door lock in multiple different historical time periods, and the behavior characteristics include at least one of the following: the target object's entry and exit time and number of times, the entry and exit frequency in different time periods, and the target user's home time and away time; using a clustering algorithm to cluster the behavior characteristics corresponding to each historical time period in the historical data set to obtain multiple clustering clusters, wherein each clustering cluster corresponds to a behavior pattern, and the behavior pattern includes at least one of the following: weekday mode, weekend mode, and holiday mode; setting, under each behavior mode, the security monitoring sensitivity parameters corresponding to each time period in the time period.
[0081] Specifically, data collection is first performed to record the time each time a user enters or exits the smart door lock; the number of entries and exits and the time each day, week, and month are counted, and subdivided into different time periods (morning, evening, and weekends); the frequency of users entering and exiting in different time periods (such as morning, evening, and weekends) is counted; the time difference between each time a user enters and goes out is recorded, and the duration of the user's stay at home is counted each time.
[0082] Perform data cleaning on the collected data to identify and remove abnormal data points, such as records of equipment failure or false triggering, aggregate the cleaned data by time unit (day, week, month), and convert the aggregated data into a format suitable for analysis.
[0083] Then, clustering algorithms (such as K-means, PrefixSpan) can be used to perform behavioral pattern recognition analysis on the aggregated data, identify the user behavior characteristics corresponding to the data in each cluster, and classify the behavior patterns, such as "weekday pattern", "weekend pattern", "holiday pattern", etc. Specifically, features that are helpful for behavioral pattern recognition can be extracted, such as entry and exit time, frequency, duration, etc. Select a suitable clustering algorithm based on the data characteristics, such as K-means or DBSCAN. Use the elbow rule or silhouette coefficient to determine the optimal number of clusters. Cluster the user behavior data and classify similar behaviors into one category. Analyze the characteristics of each cluster and identify the behavior pattern. According to the identified behavior pattern, classify it, such as "weekday pattern", "weekend pattern", etc.
[0084] After that, different security monitoring sensitivity parameters are set for different behavior patterns. Real-time monitoring adjustment is performed, and the sensitivity of the monitoring system is dynamically adjusted according to the currently identified behavior pattern. Anomaly detection algorithms (such as IsolationForest) are used to monitor behaviors that are inconsistent with normal patterns. In addition, security warnings are issued based on the infrared sensing module and Bluetooth connection status, including: strangers staying outside the door for a long time, not closing the door after unlocking, etc. Among them, different sensitivity parameters correspond to different monitoring thresholds, such as the threshold for staying outside the door, etc., as follows.
[0085] In some embodiments of the present application, the security warning trigger condition includes at least one of the following: a stay time threshold; the method also includes the following steps: when the infrared sensing device detects that there are biometric features outside the door for a time period exceeding the stay time threshold corresponding to the time period in the behavior mode, and no authorized mobile terminal is detected approaching or moving away from the smart door lock, a security warning message is sent to the mobile terminal.
[0086] For example, in weekday mode, users usually go out between 7 and 9 in the morning and return home between 6 and 8 in the evening. Door lock activities outside these time periods trigger a higher level of monitoring. In weekend mode, users' time of going out and returning home on weekends is more irregular, which may include nighttime activities. Sensitivity adjustment can extend the monitoring time range to accommodate more flexible entry and exit times. In holiday mode, users may be out or away from home for a long time during holidays. Sensitivity adjustment can increase monitoring of long periods of inactivity, such as not unlocking or closing the door for a long time. Abnormal behavior example: If the system detects that the user opens the door at 3 a.m. in weekday mode, this may be considered abnormal behavior. If the user returns home at night but does not close the door within the expected time, the system will trigger an alert. Alert trigger condition example: If the infrared sensor detects that someone has stayed at the door for more than 5 minutes, and the Bluetooth module does not detect the approach or departure of the user's mobile phone, the system will send a security alert notification to the user.
[0087] Through the above process, intelligent learning of user behavior can be achieved, and security monitoring strategies can be automatically adjusted according to the learning results to improve family safety. At the same time, the system can monitor abnormal behavior in real time and notify users in time to enhance family safety.
[0088] This application scheme realizes the dual functions of user positioning and permission verification by integrating multiple Bluetooth modules in the smart door lock. Communicating with the user's mobile terminal device based on periodic broadcast signals not only ensures fast connection under low power consumption conditions, but also realizes a secure identity authentication mechanism through an efficient challenge-response protocol, thereby improving the security of the door lock. In addition, by using the principle of signal strength and arrival time difference, the user's mobile terminal can be accurately located and the user's position relative to the door lock can be accurately determined, which not only optimizes the user experience, but also provides a reliable basis for the automatic control of the smart welcome lighting and the real-time adjustment of the security monitoring strategy.
[0089] By integrating ambient light sensors and user location monitoring technology, the ambient light intensity is monitored in real time, and combined with the positioning data of the user's mobile terminal, the welcome lighting is intelligently controlled. When insufficient ambient light is detected and the user is approaching the door lock, the system automatically triggers the welcome lighting to provide the user with a clear view and a warm welcome. This not only improves the user experience and ensures that the door lock can be used safely and conveniently under any lighting conditions, but also realizes the automation and energy saving of the lighting system.
[0090] In addition, by making the smart door lock adapt to and learn the user's entry and exit patterns, the sensitivity of security monitoring is automatically adjusted, which improves the performance of the security monitoring system, ensuring family safety while optimizing the user's daily life experience. In addition, combined with anomaly detection algorithms and high-sensitivity infrared sensing modules, it can monitor and identify potential security threats such as strangers staying or doors not closed in real time, and issue warnings in a timely manner through the user interface or mobile terminals, allowing users to respond quickly and take measures.
[0091] According to an embodiment of the present application, an embodiment of a door lock lighting welcoming device is also provided. Figure 4 Schematic diagram of the structure of a door lock lighting welcoming device provided according to an embodiment of the present application. Figure 4 As shown, the device comprises:
[0092] A connection establishing module 40 is used to establish a communication connection between the Bluetooth module and the mobile terminal when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, wherein a plurality of Bluetooth modules are arranged within a preset distance range of the smart door lock;
[0093] A location determination module 42, configured to determine the distance between the mobile terminal and each Bluetooth module according to the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determine the terminal location of the mobile terminal according to the distance;
[0094] A mobile monitoring module 44, used to determine the position change of the mobile terminal according to the terminal position corresponding to each moment in a continuous time sequence of the mobile terminal;
[0095] The lighting welcome module 46 is used to control the smart door lock to turn on the welcome lighting when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold.
[0096] Optionally, when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal includes: when the Bluetooth module receives a connection request sent by the mobile terminal, sending a permission verification message to the mobile terminal, wherein the mobile terminal is used to send a connection request when it detects a broadcast signal sent by the Bluetooth module, and the broadcast signal includes: identification information of the smart door lock; obtaining identity authentication information sent by the mobile terminal in response to the authority verification message, and determining whether the identity authentication information of the mobile terminal exists in the list of authorized devices; when the identity authentication information exists in the list of authorized devices, determining that the authority verification of the mobile terminal is passed, and establishing a communication connection between multiple Bluetooth modules and the mobile terminal.
[0097] Optionally, determining the terminal position of the mobile terminal based on the distance includes: determining the signal transmission power of the Bluetooth module and the signal reception power of the mobile terminal; determining the distance between the mobile terminal and each Bluetooth module based on the signal transmission power, the signal transmission power, and a path loss parameter, wherein the path loss parameter is used to characterize the degree of attenuation of the signal during the propagation process; calculating the distance difference between each pair of distances, and determining the coordinate position of the mobile terminal based on the coordinate position of the Bluetooth module and the distance difference, thereby obtaining the terminal position.
[0098] Optionally, determining the position change of the mobile terminal based on the terminal position corresponding to each moment in a continuous time series includes: determining the terminal position of the mobile terminal corresponding to a first moment, and the terminal position corresponding to a second moment, wherein the second moment is the next moment immediately adjacent to the first moment; determining the position change of the mobile terminal based on the position information of the smart door lock, the terminal position corresponding to the first moment, and the terminal position corresponding to the second moment, wherein the position change includes: approaching the smart door lock and moving away from the smart door lock.
[0099] Optionally, the door lock lighting welcome device is also used to: obtain user behavior data and determine the behavior pattern corresponding to the user behavior data, wherein the user behavior data is used to characterize the behavior characteristics of the target object entering and exiting through the smart door lock; determine the security monitoring sensitivity parameters corresponding to the behavior pattern, wherein the security monitoring sensitivity parameters are used to adjust the sensitivity of various security warning trigger conditions. Under different behavior patterns, the security monitoring sensitivity parameters corresponding to each time period in each time cycle are different.
[0100] Optionally, before determining the behavior pattern corresponding to the user behavior data, the door lock lighting welcome device is also used to: obtain a user behavior history data set, wherein the user behavior history data set contains the behavior characteristics of the target object entering and exiting through the smart door lock in multiple different historical time periods, and the behavior characteristics include at least one of the following: the target object's entry and exit time and number of times, the entry and exit frequency in different time periods, and the target user's home time and away time; use a clustering algorithm to cluster the behavior characteristics corresponding to each historical time period in the historical data set to obtain multiple cluster clusters, wherein each cluster cluster corresponds to a behavior pattern, and the behavior pattern includes at least one of the following: weekday mode, weekend mode, and holiday mode; set the security monitoring sensitivity parameters corresponding to each time period in the time period in each behavior mode.
[0101] Optionally, the security warning triggering conditions include at least one of the following: a stay time threshold; the door lock lighting welcome device is also used to: send a security warning message to the mobile terminal when the infrared sensing device detects that there are biometric features outside the door for a time period exceeding the stay time threshold corresponding to the time period in the behavior mode, and no authorized mobile terminal is detected approaching or moving away from the smart door lock.
[0102] It should be noted that the various modules in the above-mentioned door lock lighting welcome device can be program modules (for example, a set of program instructions to implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.
[0103] It should be noted that the door lock lighting welcoming device provided in this embodiment can be used to perform Figure 2 The door lock lighting welcoming method shown, therefore, the relevant explanations and instructions on the above-mentioned door lock lighting welcoming method are also applicable to the embodiments of the present application and will not be repeated here.
[0104] According to an embodiment of the present application, an embodiment of a smart door lock system is also provided. Figure 5 Schematic diagram of a smart door lock system provided according to an embodiment of the present application. Figure 5 As shown, the system includes:
[0105] Light sensor 50, used to monitor the ambient light intensity of the environment where the smart door lock is located;
[0106] A Bluetooth module 52 is provided within a preset distance range of the smart door lock and is used to establish a communication connection with a mobile terminal;
[0107] The processing unit 54 is used to establish a communication connection between the Bluetooth module and the mobile terminal when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module; determine the distance between the mobile terminal and each Bluetooth module based on the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determine the terminal position of the mobile terminal based on the distance; determine the position change of the mobile terminal based on the terminal position corresponding to each moment in a continuous time series; when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold, control the smart door lock to turn on the welcome lighting.
[0108] It should be noted that the smart door lock system provided in this embodiment can be used to perform Figure 2 The door lock lighting welcoming method shown, therefore, the relevant explanations and instructions on the above-mentioned door lock lighting welcoming method are also applicable to the embodiments of the present application and will not be repeated here.
[0109] An embodiment of the present application also provides a non-volatile storage medium, the non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the following door lock lighting welcome method by running the computer program: when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, a communication connection is established between the Bluetooth module and the mobile terminal, wherein multiple Bluetooth modules are arranged within a preset distance range of the smart door lock; based on the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, the distance between the mobile terminal and each Bluetooth module is determined, and based on the distance, the terminal position of the mobile terminal is determined; based on the terminal position corresponding to each moment of the mobile terminal in a continuous time series, the position change of the mobile terminal is determined; when the position change indicates that the mobile terminal is approaching the smart door lock, and the ambient light intensity detected by the light sensor is less than the preset light intensity threshold, the smart door lock is controlled to turn on the welcome lighting.
[0110] The embodiments of the present application also provide a computer program product, including a computer program, which, when executed by a processor, implements the steps of the door lock lighting welcome method described in each embodiment of the present application: when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal, wherein multiple Bluetooth modules are arranged within a preset distance range of the smart door lock; determining the distance between the mobile terminal and each Bluetooth module based on the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determining the terminal position of the mobile terminal based on the distance; determining the position change of the mobile terminal based on the terminal position corresponding to each moment in a continuous time series; when the position change indicates that the mobile terminal is approaching the smart door lock, and the ambient light intensity detected by the light sensor is less than the preset light intensity threshold, controlling the smart door lock to turn on the welcome lighting.
[0111] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0112] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0113] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0114] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0115] 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.
[0116] 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, in essence, 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, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0117] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A door lock lighting welcoming method, characterized in that: include: When detecting that the mobile terminal enters the signal coverage range of the Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal, wherein a plurality of the Bluetooth modules are arranged within a preset distance range of the smart door lock; Determine the distance between the mobile terminal and each of the Bluetooth modules according to the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determine the terminal position of the mobile terminal according to the distance; Determining a position change of the mobile terminal according to the terminal position corresponding to each moment in a continuous time series; When the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold, the smart door lock is controlled to turn on the welcome lighting.
2. The door lock lighting welcoming method according to claim 1, characterized in that: In the case where it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module, establishing a communication connection between the Bluetooth module and the mobile terminal includes: When the Bluetooth module receives the connection request sent by the mobile terminal, sending an authority verification message to the mobile terminal, wherein the mobile terminal is used to send the connection request when detecting a broadcast signal sent by the Bluetooth module, and the broadcast signal includes: identification information of the smart door lock; Obtaining identity authentication information sent by the mobile terminal in response to the authority verification message, and determining whether the identity authentication information of the mobile terminal exists in the authorized device list; In the case that the identity authentication information exists in the authorized device list, it is determined that the authority verification of the mobile terminal is passed, and a communication connection is established between the plurality of Bluetooth modules and the mobile terminal.
3. The door lock lighting welcoming method according to claim 1, characterized in that: Determining the terminal position of the mobile terminal according to the distance includes: Determining the signal transmission power of the Bluetooth module and the signal reception power of the mobile terminal; Determining the distance between the mobile terminal and each of the Bluetooth modules according to the signal transmission power, the signal transmission power, and a path loss parameter, wherein the path loss parameter is used to characterize the attenuation degree of the signal during propagation; The distance difference between the two distances is calculated, and the coordinate position of the mobile terminal is determined according to the coordinate position of the Bluetooth module and the distance difference to obtain the terminal position.
4. The door lock lighting welcoming method according to claim 3, characterized in that: Determining the position change of the mobile terminal according to the terminal position corresponding to each moment in a continuous time series includes: Determine the terminal position of the mobile terminal corresponding to a first moment and the terminal position corresponding to a second moment, wherein the second moment is a moment immediately next to the first moment; Based on the location information of the smart door lock, the terminal location corresponding to the first moment, and the terminal location corresponding to the second moment, the location change of the mobile terminal is determined, wherein the location change includes: approaching the smart door lock and moving away from the smart door lock.
5. The door lock lighting welcoming method according to claim 1, characterized in that: The method further comprises: Acquire user behavior data, and determine a behavior pattern corresponding to the user behavior data, wherein the user behavior data is used to characterize the behavior characteristics of the target object entering and exiting through the smart door lock; Determine the security monitoring sensitivity parameters corresponding to the behavior pattern, wherein the security monitoring sensitivity parameters are used to adjust the sensitivity of various security warning trigger conditions. Under different behavior patterns, the security monitoring sensitivity parameters corresponding to each time period in each time cycle are different.
6. The door lock lighting welcoming method according to claim 5, characterized in that: Before determining the behavior pattern corresponding to the user behavior data, the method further includes: Acquire a user behavior history data set, wherein the user behavior history data set includes behavior characteristics of a target object entering and exiting the smart door lock in multiple different historical time periods, and the behavior characteristics include at least one of the following: the target object's entry and exit time and frequency, the entry and exit frequency in different time periods, and the target user's home time and out time; Using a clustering algorithm, clustering the behavior features corresponding to each historical time period in the historical data set to obtain a plurality of clusters, wherein each cluster corresponds to a behavior pattern, and the behavior pattern includes at least one of the following: a weekday pattern, a weekend pattern, and a holiday pattern; The security monitoring sensitivity parameters corresponding to each time period in the time period are set in each of the behavior modes.
7. The door lock lighting welcoming method according to claim 5, characterized in that: The safety warning triggering condition includes at least one of the following: a stay time threshold; the method further includes: When the infrared sensing device detects the presence of biometric features outside the door for a time period exceeding the stay time threshold corresponding to the time period in the behavior mode, and does not detect the authorized mobile terminal approaching or moving away from the smart door lock, a security warning message is sent to the mobile terminal.
8. A door lock lighting welcoming device, characterized in that: include: A connection establishing module, configured to establish a communication connection between the Bluetooth module and the mobile terminal when detecting that the mobile terminal enters the signal coverage range of the Bluetooth module, wherein a plurality of the Bluetooth modules are arranged within a preset distance range of the smart door lock; a position determination module, configured to determine the distance between the mobile terminal and each of the Bluetooth modules according to the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determine the terminal position of the mobile terminal according to the distance; A mobile monitoring module, used to determine the position change of the mobile terminal according to the terminal position corresponding to each moment in a continuous time series; The lighting welcome module is used to control the smart door lock to turn on the welcome lighting when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold.
9. An intelligent door lock system, characterized in that: include: Processing unit, light sensor, multiple Bluetooth modules, among which, The light sensor is used to monitor the ambient light intensity of the environment where the smart door lock is located; The Bluetooth module is arranged within a preset distance range of the smart door lock and is used to establish a communication connection with the mobile terminal; The processing unit is used to establish a communication connection between the Bluetooth module and the mobile terminal when it is detected that the mobile terminal enters the signal coverage range of the Bluetooth module; determine the distance between the mobile terminal and each of the Bluetooth modules based on the signal strength value corresponding to the communication connection between the mobile terminal and the Bluetooth module, and determine the terminal position of the mobile terminal based on the distance; determine the position change of the mobile terminal based on the terminal position corresponding to each moment in a continuous time series; and control the smart door lock to turn on the welcome lighting when the position change indicates that the mobile terminal is approaching the smart door lock and the ambient light intensity detected by the light sensor is less than a preset light intensity threshold.
10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the door lock lighting welcoming method described in any one of claims 1 to 7 is executed when the program is run.
11. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the door lock lighting welcoming method described in any one of claims 1 to 7 by running the computer program.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the door lock lighting welcoming method described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Operation mode switching method and device of electronic equipment, electronic equipment and storage medium
CN120916149A