An abnormality monitoring method of an intelligent door lock
By dynamically evaluating the status and connection quality of multiple terminal devices through the intelligent door lock system, and dynamically selecting the main communication device and switching to the auxiliary device, the problems of untimely response to abnormal events and unreliable alarms in the existing technology are solved, and efficient and reliable abnormal monitoring is achieved.
Patent Information
- Application Number
- CN202511403847.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2045-09-29
AI Technical Summary
Existing smart lock systems suffer from untimely and unreliable user alarm notifications and response management after abnormal events occur. Especially in multi-terminal device environments, the failure of a single device or the user's failure to respond in a timely manner can easily lead to the omission of abnormal information or delayed feedback, affecting the effectiveness of security protection.
By establishing communication connections with multiple user terminal devices, the system obtains information on device type, online status, and network connection quality, calculates a comprehensive evaluation value, dynamically determines the primary and secondary communication devices, and pushes alarm information through the primary communication device when an abnormal event occurs. If there is no response, the system switches to the secondary device until a response is completed.
This ensures that alarm information is pushed to users in a timely and effective manner, improves the reliability of abnormal response and system stability, enhances security and flexibility in multi-terminal environments, and avoids response delays or alarm failures caused by the failure of a single device.
Smart Images

Figure CN120897223B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of door lock monitoring, and in particular to an abnormal monitoring method for an intelligent door lock. BACKGROUND
[0002] Existing intelligent door lock systems generally have remote alarm functions, but there are certain limitations in user alarm notification and response management after abnormal events occur. On the one hand, due to the variety of user terminal devices, some devices may be offline, have weak signals, or be not connected to a network, resulting in that abnormal event information cannot be timely and accurately conveyed to the user, causing a problem of untimely response. On the other hand, when the user terminal device fails to timely receive and feed back abnormal information when an abnormal event occurs, it is easy to cause abnormal alarm transmission failure or delay, affecting the safety protection effect. In addition, some intelligent door lock systems can only rely on a single device to push alarms after an abnormal event occurs, lack backup push protection in the case that the main communication device fails or the user does not respond in time, and further increase the risk of abnormal information leakage or feedback delay. Therefore, the abnormal event response capability and alarm information transmission timeliness of the existing intelligent door lock in a multi-terminal device environment have been difficult to meet the actual application requirements of high reliability, fast response and continuous protection of smart home safety management. SUMMARY
[0003] In order to solve the problems of untimely response and unreliable alarm information transmission of the intelligent door lock in an abnormal event, the application provides an abnormal monitoring method for an intelligent door lock.
[0004] An abnormal monitoring method for an intelligent door lock, the abnormal monitoring method for an intelligent door lock comprising:
[0005] establishing a communication connection with a plurality of user terminal devices and obtaining terminal information of each user terminal device, the terminal information at least including device type information, online state information and network connection quality information, wherein the device type information is used to determine whether the user terminal device is a user personal device;
[0006] According to the terminal information, a comprehensive evaluation value corresponding to each user terminal device is calculated, the comprehensive evaluation value being a calculation result generated by at least weighting the online state information corresponding weight and the network connection quality information corresponding weight;
[0007] Based on the comprehensive evaluation value and a preset compensation mechanism, a current main communication device and an auxiliary communication device are determined;
[0008] When an abnormal event is detected, the current main communication device is used to push corresponding abnormal alarm information to the user, and whether the abnormal alarm information is completed is monitored;
[0009] If the abnormal alarm information does not complete the response within the preset time, a new main communication device is re-determined in the auxiliary communication device, and the corresponding abnormal alarm information is pushed through the new main communication device until the abnormal alarm information completes the response.
[0010] By using the above technical solution, through real-time state perception and comprehensive evaluation of multiple user terminal devices, the optimal main communication device and auxiliary communication device can be dynamically determined, so that the alarm information can be timely and effectively pushed to the user when an abnormal event occurs, the reliability and intelligence of abnormal response are improved, and the stability and security of the system in a multi-terminal environment are significantly improved.
[0011] Preferably, in the step of determining the current main communication device and auxiliary communication device based on the comprehensive evaluation value and the preset compensation mechanism, the preset compensation mechanism is used to determine the first compensation factor and the second compensation factor, and the step includes:
[0012] According to the device type information, it is determined whether there is a user's body-worn device;
[0013] If the user's body-worn device does not exist, the current main communication device is determined according to the comprehensive evaluation value of each user terminal device;
[0014] If there is only one user's body-worn device, the user's body-worn device is determined as the current main communication device;
[0015] If there are multiple user's body-worn devices, the first compensation factor of each user's body-worn device is calculated, and the current main communication device is determined according to the first compensation factor and the comprehensive evaluation value of each user's body-worn device;
[0016] The user terminal devices other than the current main communication device are determined as auxiliary communication devices, and the corresponding push order sequence is generated according to the comprehensive evaluation value and the second compensation factor of each auxiliary communication device, wherein the second compensation factor is calculated according to the distance relationship between the auxiliary communication device and the current main communication device, and the push order sequence is used to re-determine a new main communication device.
[0017] By using the above technical solution, by introducing a compensation mechanism, the main communication device and the auxiliary communication device are optimized and selected in combination with the device type information, the device priority can be more scientifically and reasonably determined, the selection error of the device is avoided, the rationality and stability of the abnormal alarm push path are improved, and the adaptability of the system to the multi-device environment and the complex communication scene is effectively enhanced.
[0018] Preferably, the step of calculating the first compensation factor of each user-wearable device comprises:
[0019] obtaining historical response information of each user-wearable device within a preset time period, and extracting a plurality of response success time stamps corresponding to each user-wearable device;
[0020] performing time distribution analysis on each response success time stamp and a current time period, and structurally generating time behavior data of the corresponding user-wearable device, wherein the time behavior data at least includes a success response proportion within the preset time period and a longest unresponsive time;
[0021] determining a response state category corresponding to each user-wearable device based on a preset multi-level decision rule, and generating a corresponding first compensation factor based on the response state category, wherein the response state category at least includes an active state, a medium state, and a failure state.
[0022] By using the above technical solution, by obtaining historical response information of user-wearable devices and analyzing time distribution rules, a personalized first compensation factor can be generated based on the past response performance of the devices, thereby realizing intelligent evaluation and dynamic adjustment of the response capability of the devices, and further improving the accuracy of selection of the main communication device and the response efficiency of the system to abnormal events.
[0023] Preferably, the step of determining a response state category corresponding to each user-wearable device based on a preset multi-level decision rule comprises:
[0024] determining at least a first response threshold and a second response threshold, and a first unresponsive time threshold and a second unresponsive time threshold in the multi-level decision rule;
[0025] if the success response proportion within the preset time period is greater than the first response threshold and the longest unresponsive time does not exceed the first unresponsive time threshold, then determining that the corresponding user-wearable device is in an active state;
[0026] if the success response proportion within the preset time period is between the first response threshold and the second response threshold, then determining that the corresponding user-wearable device is in a medium state;
[0027] if the success response proportion within the preset time period is less than the second response threshold and the longest unresponsive time exceeds the second unresponsive time threshold, then determining that the corresponding user-wearable device is in a failure state.
[0028] By adopting the technical scheme, the device is automatically divided into different response state categories by combining the success response proportion and the time behavior data such as the non-response time through the preset multi-level judgment rule, and different compensation weights are given based on different categories, so that the fine management of the device response activity is realized, and the accuracy and dynamic nature of the abnormal alarm pushing path are enhanced.
[0029] Preferably, the calculation step of the second compensation factor of each auxiliary communication device comprises:
[0030] obtaining a first signal strength of a current main communication device and a second signal strength of the auxiliary communication device;
[0031] calculating a first relative distance value of the first signal strength and a second relative distance value of the second signal strength based on a path loss model;
[0032] calculating a distance difference value Δd between the first relative distance value and the second relative distance value;
[0033] generating a corresponding second compensation factor according to the distance difference value Δd.
[0034] By adopting the technical scheme, the relative distance difference value between devices is calculated by obtaining the signal strengths of the current main communication device and each auxiliary communication device in combination with the path loss model, and the second compensation factor is generated accordingly, which can effectively reflect the spatial relationship between devices, thereby improving the rationality of the auxiliary communication device sorting and the timeliness of the alarm pushing switching, and guaranteeing the continuity and reliability of the abnormal information transmission.
[0035] Preferably, in the step of calculating the first relative distance value of the first signal strength and the second relative distance value of the second signal strength based on the path loss model, the calculation formula of the first relative distance value and the second relative distance value is:
[0036] ;
[0037] wherein A is a signal strength calibration value per meter, RSSI is the first signal strength or the second signal strength, and n is a path loss index of a signal propagation environment.
[0038] By adopting the technical scheme, the relative distance between devices is quantitatively evaluated through the distance value calculation formula based on the path loss model, which does not depend on complex hardware or accurate positioning, but can efficiently calculate the device distance relationship through the existing signal strength, thereby improving the feasibility, low cost and real-time performance of the system implementation.
[0039] Preferably, in the step of generating a corresponding push order sequence according to the comprehensive evaluation value of each auxiliary communication device and a second compensation factor, the step comprises:
[0040] Multiplying the comprehensive evaluation value corresponding to each auxiliary communication device and the second compensation factor to calculate a corresponding compensated evaluation value;
[0041] Arranging each compensated evaluation value according to the size relationship of the compensated evaluation value to generate a corresponding push order sequence.
[0042] By adopting the above technical solution, by multiplying the comprehensive evaluation value of the auxiliary communication device and the second compensation factor to form a unified compensated evaluation value, and generating a push order based on the size of the compensated evaluation value, the scientific ordering and dynamic adjustment of multiple auxiliary communication devices can be realized, and the decision rationality and abnormal response speed during alarm push switching are improved.
[0043] Preferably, after the step of continuously monitoring whether the abnormal alarm information is responded, the step comprises:
[0044] When the abnormal alarm information is waiting for response, according to the arrangement relationship of the push order sequence and the preset wake-up time interval, a wake-up instruction is sent to the corresponding auxiliary communication device in turn;
[0045] Real-time receiving of the wake-up instruction confirmation information sent back by the auxiliary communication device;
[0046] If the wake-up instruction confirmation information is not received within a preset confirmation time, the wake-up instruction is sent to the next auxiliary communication device, and the preset confirmation time is less than the preset wake-up time interval;
[0047] If the abnormal alarm information has been responded, the door lock state is synchronously sent to all auxiliary communication devices.
[0048] By adopting the above technical solution, by actively sending a wake-up instruction to the auxiliary communication device in turn when the abnormal alarm information is waiting for response, and realizing dynamic adjustment of the push path based on the confirmation feedback of the auxiliary device, the problem of alarm interruption caused by single device failure can be effectively avoided, and the continuity of abnormal information transmission and the high availability of the system are improved.
[0049] Preferably, in the step of when detecting an abnormal event, the current main communication device pushes the corresponding abnormal alarm information to the user, and continuously monitors whether the abnormal alarm information is responded, the step specifically comprises:
[0050] When detecting that the abnormal event occurs, the current main communication device pushes the corresponding abnormal alarm information to the user, and starts the corresponding response waiting timer at the same time, and continuously monitors whether the response waiting timer receives the user's confirmation operation within the preset time;
[0051] The judgment of whether the abnormal alarm information is completed response is based on the user's confirmation operation on the current main communication device, or when it is detected that the door lock state has returned to normal, it can be automatically determined that the abnormal alarm information has completed response.
[0052] By adopting the above technical scheme, by starting the response waiting timer at the same time of pushing the abnormal alarm information, and automatically judging whether the alarm is completed response based on the user's confirmation operation or the door lock state recovery, the intelligent monitoring of the abnormal event processing state can be realized, and the automation level of alarm information processing and the real-time of system security protection are improved.
[0053] Preferably, in the step of pushing the corresponding abnormal alarm information to the user through the current main communication device when detecting that the abnormal event occurs, the step comprises:
[0054] When detecting that the abnormal event occurs, triggering the lock state of the door lock;
[0055] According to the lock state, the corresponding abnormal alarm information is associated and generated, and the abnormal alarm information at least includes lock state indication information, abnormal event type information and abnormal event occurrence time information.
[0056] By adopting the above technical scheme, by automatically triggering the door lock to enter the lock state when detecting that the abnormal event occurs, and generating the associated abnormal alarm information based on the lock state, the safety protection effect can be improved synchronously in two aspects of hardware protection and information prompt, so that the user can know the abnormal state of the door lock in time, and the safety and reliability of the intelligent door lock in abnormal scene are effectively improved.
[0057] In summary, the present application includes at least one of the following beneficial technical effects:
[0058] The application introduces a dynamic evaluation and selection mechanism for multi-terminal devices in the intelligent door lock system. Specifically, by establishing communication connections with multiple user terminal devices, the device type information, online state information, and network connection quality information of each terminal device are obtained in real time, and the comprehensive evaluation value of each terminal device is calculated based on the above terminal information, so as to dynamically determine the current main communication device and the corresponding auxiliary communication device among multiple possible terminal devices. In the event of an abnormal event, the intelligent door lock system can first push abnormal alarm information to the user through the current main communication device, and continuously monitor whether the information is responded within the preset time after pushing. During the monitoring process, if it is detected that the main communication device fails to feedback effective response within the specified time, the system can immediately select a new main communication device according to the predetermined auxiliary communication device pushing order, and continue to complete the pushing of abnormal alarm information, so as to ensure that the alarm information can be continuously, reliably and uninterruptedly conveyed to the user. During the working process, the communication device selection result can be continuously optimized according to the multi-dimensional dynamic parameters such as whether the device is a user's personal device, whether the device is currently online, and whether the network condition is good, effectively solving the problem of response delay or alarm failure caused by communication failure of a single terminal device in the prior art. At the same time, the determination mechanism of the pushing order can also reasonably allocate the notification priority of each device in the multi-terminal environment, improve the flexibility of abnormal event response and the stability of system communication, so as to realize more efficient, safer and more reliable intelligent door lock abnormal monitoring effect. BRIEF DESCRIPTION OF DRAWINGS
[0059] Figure 1 is a flowchart of an abnormal monitoring method of an intelligent door lock in an embodiment of the application.
[0060] Figure 2 is a specific demonstration block diagram of the distance difference in the abnormal monitoring method of the intelligent door lock in an embodiment of the application. DETAILED DESCRIPTION
[0061] The application will be further described in detail below in combination with the drawings.
[0062] In an embodiment, as shown in Figure 1 , the application discloses an abnormal monitoring method of an intelligent door lock, and the abnormal monitoring method of the intelligent door lock comprises the following steps.
[0063] S10, establish a communication connection with a plurality of user terminal devices, and obtain terminal information of each user terminal device, the terminal information at least including device type information, online state information and network connection quality information, wherein the device type information is used to determine whether the user terminal device is a user's personal device; the user terminal device refers to a smart terminal device capable of establishing a communication connection with the intelligent door lock and having information interaction capability, usually including but not limited to the user's smart phone, tablet computer, smart watch, household control terminal and the like, which can be used to receive the abnormal alarm information pushed by the intelligent door lock and complete the corresponding confirmation operation; the device type information refers to data capable of representing the attribute characteristics of the user terminal device in the actual use scene, which is used to identify whether the device belongs to the personal device carried by the user in daily life, such as a mobile phone or a smart watch, compared with a fixed terminal device, such devices have higher accessibility and timely response capability. The online state information refers to data reflecting whether the user terminal device is in a networked or active communication state in real time, which can represent whether the device has the basic condition of receiving and responding to abnormal alarm information at the current time, thereby avoiding sending invalid alarm to the device which cannot communicate. The network connection quality information refers to the communication stability, signal strength or transmission quality and the like evaluated based on the current network environment of the device, which is used to further judge whether the device can efficiently and reliably complete the alarm pushing and feedback communication under the current environment.
[0064] S20, according to the terminal information, calculating the comprehensive evaluation value corresponding to each user terminal device, the comprehensive evaluation value is the calculation result generated by at least weighting the online state information corresponding weight and the network connection quality information corresponding weight; the comprehensive evaluation value is the data result reflecting the degree of optimization of the device generated by a certain calculation method based on the above various terminal information of the user terminal device, which can be used as an important decision basis for dynamically screening the main communication device and the auxiliary communication device.
[0065] S30, determine the current main communication device and auxiliary communication device based on the comprehensive evaluation value and the preset compensation mechanism; the preset compensation mechanism refers to an adjustment strategy set for further improving the device optimization accuracy, taking into account historical behavior, distance relationship and other factors. This mechanism optimizes the comprehensive evaluation value by introducing different dimension compensation factors, making the device screening result more scientific and reasonable. The current main communication device refers to the user terminal device with the highest priority in the device screening and evaluation process, which is used to push abnormal alarm information, and is the main communication node in the entire abnormal alarm response process. The auxiliary communication device refers to other candidate devices arranged in order of priority in addition to the current main communication device, which is used to undertake the pushing task when the main communication device fails to complete the alarm response, which can improve the redundancy and reliability of the system abnormal response. The abnormal event refers to the abnormal state or abnormal operation detected by the intelligent door lock in the actual operation process, which usually includes illegal unlocking, forced disassembly, abnormal vibration, illegal intrusion, etc. These events need to be notified to the user in the first time through the communication system to take necessary safety measures.
[0066] S40, when detecting the occurrence of an abnormal event, push the corresponding abnormal alarm information to the user through the current main communication device, and continuously monitor whether the abnormal alarm information is completed; the abnormal alarm information refers to the information content generated by the intelligent door lock after detecting the occurrence of an abnormal event and pushed to the user terminal through the main communication device. The information contains key elements such as abnormal type, occurrence time, and door lock state, which is used to prompt the user to identify risks and respond.
[0067] S50, if the abnormal alarm information is not completed within a preset time, a new main communication device is determined in the auxiliary communication device, and the corresponding abnormal alarm information is pushed through the new main communication device until the abnormal alarm information is completed.
[0068] Specifically, the system first performs numerical processing on the online state information of each user terminal device, and maps the online state to the corresponding online state weight. The online state weight can be assigned according to whether the device is in the current communicable state, for example, the online state is assigned a value of 1, and the offline state is assigned a value of 0.1 or 0, ensuring that devices that cannot communicate immediately have a lower weight in the comprehensive evaluation. Next, the system obtains the network connection quality information of each user terminal device, which can be calculated based on signal strength, network delay, data transmission rate and other indicators. The system also maps this information to network connection quality weight, and the weight value can be set according to the actual network performance, for example, a high-quality network is assigned a value of 1, an ordinary network is assigned a value of 0.7, and a poor network is assigned a value of 0.4.
[0069] After obtaining and standardizing the two weight values, the system performs a weighted calculation on each user terminal device. The calculation method of the comprehensive evaluation value can adopt a weighted product, a weighted average, or other commonly used multi-index fusion methods. In the present embodiment, a weighted product model is preferably adopted, that is, the online state weight and the network connection quality weight are directly multiplied to obtain the comprehensive evaluation value of each user terminal device. This calculation method can fully reflect the joint influence of the two indexes on the availability of the device. For example, when the device is in an offline state, even if the network quality is good, the comprehensive evaluation value will be significantly lowered, and vice versa.
[0070] Further, in the step of determining the current primary communication device and the auxiliary communication device based on the comprehensive evaluation value and the preset compensation mechanism, the preset compensation mechanism is used to determine the first compensation factor and the second compensation factor, and the step includes:
[0071] S301, determining whether there is a user personal device according to the device type information; the user personal device refers to a device that is carried by the user daily, has a high reach rate and a timely response capability, and is typically a smart phone or a smart watch.
[0072] S302, if the user personal device does not exist, determining the current primary communication device according to the comprehensive evaluation value of each user terminal device;
[0073] S303, if the user personal device is only one, determining the user personal device as the current primary communication device;
[0074] S303, if there are multiple user personal devices, calculating a first compensation factor of each user personal device, and determining the current primary communication device according to the first compensation factor and the comprehensive evaluation value of each user personal device; the generation of the first compensation factor can be based on historical response performance information of the user personal device in a preset period of time in the past, and specifically includes but is not limited to the number of successful responses to historical abnormal alarm information, the longest unresponsive time, and other dimensional data.
[0075] S304, determining other user terminal devices except the current primary communication device as auxiliary communication devices, and generating a corresponding push order sequence according to the comprehensive evaluation value of each auxiliary communication device and a second compensation factor, wherein the second compensation factor is calculated according to the distance relationship between the auxiliary communication device and the current primary communication device, and the push order sequence is used to determine a new primary communication device; the generation of the first compensation factor can be based on historical response performance information of the user personal device in a preset period of time in the past, and specifically includes but is not limited to the number of successful responses to historical abnormal alarm information, the longest unresponsive time, and other dimensional data.
[0076] Further, the step of calculating the first compensation factor of each user's body device includes:
[0077] S3031, obtain the historical response information of each user's body device in a preset time period, and extract a plurality of response success time stamps corresponding to each user's body device; the intelligent door lock system calls the historical response database associated with the device to obtain the historical response information of each user's body device in a preset time period, which can be set according to actual needs, such as the last 7 days, the last 30 days or other time length, to ensure the timeliness and representativeness of the response behavior.
[0078] S3032, time distribution analysis is performed on each response success time stamp and the current time period, and time behavior data of the corresponding user's body device is generated in a structured manner, the time behavior data at least including the success response proportion in the preset time period and the longest unresponsive time;
[0079] S3033, based on the preset multi-level decision rule, the time behavior data is determined, the response state category corresponding to each user's body device is determined, and the corresponding first compensation factor is generated based on the response state category, the response state category at least including the active state, the medium state and the invalid state.
[0080] Further, based on the preset multi-level decision rule, the step of determining the response state category corresponding to each user's body device includes:
[0081] S30331, at least determining the first response threshold and the second response threshold in the multi-level decision rule, and the first unresponsive time threshold and the second unresponsive time threshold;
[0082] S30332, if the success response proportion in the preset time period is greater than the first response threshold and the longest unresponsive time does not exceed the first unresponsive time threshold, the corresponding user's body device is determined to be in the active state;
[0083] S30333, if the success response proportion in the preset time period is between the first response threshold and the second response threshold, the corresponding user's body device is determined to be in the medium state;
[0084] S30334, if the success response proportion in the preset time period is less than the second response threshold and the longest unresponsive time exceeds the second unresponsive time threshold, the corresponding user's body device is determined to be in the invalid state.
[0085] Specifically, after obtaining the historical response information, the system extracts from the historical response information a plurality of response success time stamps of each user's personal device in response to the abnormal alarm information in the time period. Each response success time stamp corresponds to an effective confirmation response of the user to the abnormal alarm information through the device, and these time stamps reflect the actual response capability of the device when the abnormal event occurs. Subsequently, the system compares and analyzes the response success time stamps with the current time period, counts the number of successful responses of the device in the current time period, and calculates the successful response ratio of the device in combination with the total response number of the device in the entire preset time period. The successful response ratio can effectively reflect the activity and reliability of the device.
[0086] On this basis, the system further calculates the longest non-response time of the device in the preset time period, which is used to represent whether the device has been unused or has not participated in the abnormal event response for a long time. This indicator can effectively avoid that a long-inactive device is mistakenly selected as the current main communication device.
[0087] According to the response state category, the system generates a corresponding first compensation factor for each user's personal device. Specifically, the system can assign a higher first compensation factor value to an active state device to improve the priority of the device in the main communication device selection process; for a medium state device, a medium compensation factor value is assigned; and for a failed state device, the lowest compensation factor or no value is assigned, so that such devices are excluded or downgraded in the main device selection. The generation method and determination rule of the first compensation factor can be preset in the system configuration and can be continuously optimized and adjusted through big data analysis to adapt to the actual use habits and scene needs of different users.
[0088] Based on the above two key data of the successful response ratio and the longest non-response time, the system generates time behavior data of the user's personal device, which at least contains these two dimensions, and of course other auxiliary indicators can be introduced according to actual needs in actual implementation. Subsequently, the system analyzes and determines the time behavior data based on the preset multi-level determination rule to determine the response state category corresponding to the device. The response state category at least includes active state, medium state and failed state, wherein the active state usually means that the device has recently responded actively and performed well; the medium state means that the device has a general response capability; and the failed state means that the device has not responded for a long time or has a too low response ratio.
[0089] Further, the calculation step of the second compensation factor of each auxiliary communication device includes:
[0090] S30401. Obtain the first signal strength with the current main communication device and the second signal strength with the auxiliary communication device; the first signal strength and the second signal strength can be obtained by real-time RSSI (Received Signal Strength Indication) measurement of wireless communication modules such as Bluetooth, Wi-Fi, and ZigBee, which has the advantages of simple implementation and strong real-time performance.
[0091] S30402. Based on the path loss model, calculate the first relative distance value of the first signal strength and the second relative distance value of the second signal strength.
[0092] S30403, Calculate the distance difference ∆d between the first relative distance value and the second relative distance value; as follows: Figure 2 As shown, a physical spatial relationship is formed between the door lock and multiple user terminal devices, including the current main communication device and at least two auxiliary communication devices. The system obtains the signal strength between the door lock and each user terminal device, and calculates the first relative distance between the current main communication device and the door lock, and the second relative distance between the auxiliary communication devices and the door lock, based on the path loss model. Subsequently, using the current main communication device as a reference point, the system further calculates the distance difference ∆d between the main communication device and each auxiliary communication device, as shown by ∆d1 and ∆d2 in the figure. The figure visually demonstrates the relative proximity of different auxiliary communication devices to the main communication device in physical space. The distance difference between auxiliary communication device 2 and the main communication device is smaller, while the distance difference between auxiliary communication device 1 and auxiliary communication device 2 is larger, thus reflecting that auxiliary communication device 2 is relatively closer to the main communication device in space. By calculating the distance difference, the system can provide a scientific basis for the order of subsequent push notifications, enabling it to prioritize auxiliary communication devices that are closer in space and have a higher probability of being reached by the user when the main communication device does not respond to abnormal alarm information, thereby improving the reliability and efficiency of the system's abnormal response.
[0093] More specifically, the distance difference value can be used as a reference for the distance between the current main communication device and the auxiliary communication device because the difference value is calculated based on the relative distance between the door lock and each device, and the door lock is in a relatively fixed position in the entire system. The distance between each device and the door lock can indirectly reflect the relative distribution relationship of the devices in the physical space. When the relative distance values of the door lock and the main communication device and the door lock and the auxiliary communication device are similar, it means that the two devices are close to each other in space, and vice versa. Therefore, by calculating the difference between the first relative distance value and the second relative distance value, the relative closeness between the main communication device and the auxiliary communication device can be effectively inferred. This judgment does not require direct measurement of the absolute distance between the devices, but relies on the relative distance to the common reference - the door lock - for indirect estimation, which is both feasible and meets the actual needs of push path optimization.
[0094] S30404、According to the distance difference value ∆d, a corresponding second compensation factor is generated. After obtaining the distance difference value Δd, the system generates a corresponding second compensation factor based on a preset mapping relationship or rule. The second compensation factor can use linear mapping, hierarchical mapping or other function relationships to ensure that different distance difference values can correspond to different compensation weights in actual application. For example, when the distance difference value is less than a set threshold, a higher second compensation factor is given; when the distance difference value is larger, a lower compensation factor is given, so as to ensure that the push priority is more reasonable and accurate.
[0095] Further, in the step of calculating the first relative distance value of the first signal strength and the second relative distance value of the second signal strength based on the path loss model, the calculation formula of the first relative distance value and the second relative distance value is:
[0096] ;
[0097] Wherein, A is the signal strength calibration value per meter, RSSI is the first signal strength or the second signal strength, and n is the path loss index of the signal propagation environment.
[0098] Specifically, the relative distance between devices is quantitatively evaluated by the distance value calculation formula based on the path loss model, which does not depend on complex hardware or accurate positioning, but can efficiently calculate the distance relationship between devices by using existing signal strength, thereby improving the feasibility, low cost and real-time performance of the system.
[0099] Further, in the step of generating a corresponding push order sequence according to the comprehensive evaluation value of each auxiliary communication device and the second compensation factor, it includes:
[0100] S3041, multiply the comprehensive evaluation value corresponding to each auxiliary communication device and the second compensation factor to calculate the corresponding compensated evaluation value; after obtaining the comprehensive evaluation value and the second compensation factor, the system multiplies them to obtain the corresponding compensated evaluation value of each auxiliary communication device. The compensated evaluation value is used as a numerical representation of the comprehensive optimal capability of each auxiliary communication device in this embodiment, which can establish an effective balance between the device communication capability and the device distance relationship, avoiding the imbalance of priority caused by relying solely on a certain factor. For example, one device has a higher comprehensive evaluation value but is far away, while another device has a slightly lower comprehensive evaluation value but is very close. Through the calculation of the compensated evaluation value, the optimal auxiliary device sequence can be dynamically reflected.
[0101] S3042, arrange the compensated evaluation values according to the size relationship of the compensated evaluation values to generate a corresponding push sequence; after the calculation of the compensated evaluation values of all auxiliary communication devices is completed, the system arranges them in descending order based on the calculation results to generate a push sequence. The push sequence clearly specifies the order of the auxiliary communication devices participating in the abnormal alarm information push in the case of failure or timeout of the main communication device, thereby ensuring that the abnormal information can be quickly and reliably transmitted to the user in a multi-device environment.
[0102] Specifically, by multiplying the comprehensive evaluation value of the auxiliary communication device with the second compensation factor to form a unified compensated evaluation value, and generating a push sequence based on the size of the compensated evaluation value, the scientific ordering and dynamic adjustment of multiple auxiliary communication devices can be achieved, and the decision-making rationality and abnormal response speed during alarm push switching can be improved.
[0103] Further, after the step of continuously monitoring whether the abnormal alarm information is responded, it includes:
[0104] S41, when the abnormal alarm information is waiting for response, according to the arrangement relationship of the push sequence and the preset wake-up time interval, a wake-up instruction is sent to the corresponding auxiliary communication device in sequence; the wake-up instruction is a control instruction sent by the intelligent door lock system to the auxiliary communication device in sequence according to the preset push sequence when the abnormal alarm information cannot be responded by the main communication device, which is used to activate or remind the auxiliary communication device to enter the state of receiving and processing the abnormal alarm information. The design of this wake-up instruction is mainly to solve the situation that some auxiliary communication devices may not respond in time due to hibernation, network disconnection or background running, etc., and to improve the response success rate of the auxiliary device through active wake-up. The sending of the wake-up instruction is usually realized based on wireless communication, for example, sending a simple message or instruction package to the target device through Bluetooth, Wi-Fi or cellular network to prompt the device to pop up a notification, turn on the screen, start an application program or perform a corresponding response action.
[0105] S42, real-time receiving of the wake-up instruction confirmation information sent back by the auxiliary communication device; the wake-up instruction confirmation information is a response feedback returned by the auxiliary communication device to the intelligent door lock system after receiving the wake-up instruction, and is used to confirm that the device has successfully received the wake-up instruction and is in a standby state for receiving abnormal alarm information. The confirmation information is generally a system-level short message or an application-level data packet, and can include device identification, receiving time stamp, current communication state and the like. Through the confirmation information, the system can determine whether the auxiliary communication device has been effectively activated in real time, so as to decide whether to continue to push the abnormal alarm information on the device or jump to the next auxiliary device in the case of timeout without confirmation.
[0106] S43, if the wake-up instruction confirmation information is not received within a preset confirmation time length, then jump to send the wake-up instruction to the next auxiliary communication device, wherein the preset confirmation time length is less than the preset wake-up time interval; the preset wake-up time interval is a time interval between two adjacent wake-up instructions set in advance by the system in the process of sending the wake-up instruction to multiple auxiliary communication devices, in order to avoid instruction overlapping, network congestion or device simultaneous response causing resource waste. The time interval can be set to several hundred milliseconds to several seconds according to the actual scene, for optimizing the balance between the system push efficiency and response speed, and preventing excessive frequent device switching from affecting the system stability. The preset confirmation time length is the maximum allowed time window for the system to wait for the wake-up instruction confirmation information returned by the auxiliary communication device after sending the wake-up instruction to the device. The setting of the time length is usually less than the preset wake-up time interval, so as to ensure that when a device response is timed out, the wake-up instruction can be sent to the next auxiliary device in time and seamlessly, thereby improving the continuity and timeliness of the abnormal alarm information transmission.
[0107] S44, if the abnormal alarm information has been responded, then synchronously send the door lock state to all auxiliary communication devices; the synchronous sending of the door lock state is that after the abnormal alarm information is confirmed by the user or the abnormal state is removed, the system actively broadcasts the latest running state information of the current door lock to all auxiliary communication devices, so as to ensure that all terminal devices can synchronously monitor the door lock safety state in real time, and avoid misjudgment or redundant push caused by different device states. The door lock state information can include locking state, alarm state, abnormal state removal state and the like, and is used to prompt the device or the user of the current door lock safety condition and the next step operable suggestion.
[0108] Further, when the abnormal event is detected, the corresponding abnormal alarm information is pushed to the user through the current main communication device, and in the step of continuously monitoring whether the abnormal alarm information is responded, specifically:
[0109] When an abnormal event is detected, the corresponding abnormal alarm information is pushed to the user through the current main communication device, and a corresponding response waiting timer is started. The system continuously monitors whether the user's confirmation operation is received within the preset time.
[0110] The judgment of whether the abnormal alarm information is completed is based on the user's confirmation operation on the current main communication device, or when it is detected that the door lock state has returned to normal, it is automatically determined that the abnormal alarm information has completed the response.
[0111] Specifically, when the intelligent door lock detects an abnormal event, the system will immediately push the corresponding abnormal alarm information to the user through the current main communication device, and start the response waiting timer associated with the abnormal alarm information. The start of the response waiting timer is usually based on milliseconds or seconds as the time reference, controlled by the system's internal timer module, to limit the upper limit of the user's response operation within a certain time window.
[0112] During the process of pushing the abnormal alarm information, the alarm information can be conveyed to the user terminal through message push service, SMS, in-application pop-up window, etc., to ensure that the user can receive the alarm reminder in time in different scenarios. At the same time, the system monitors the response waiting timer state in real time, and continuously judges whether the user's confirmation operation is received during the timing process. The user's confirmation operation can include clicking the confirmation button on the mobile phone, responding through the smart watch interaction interface, confirming the operation in the application program, or explicitly indicating that the abnormal alarm information is known through other interaction methods.
[0113] In this embodiment, in addition to the user's explicit confirmation operation as the basis for judging whether the abnormal alarm information has completed the response, the system further introduces door lock state monitoring as an auxiliary judgment condition. Specifically, the intelligent door lock system will monitor the working state of the door lock in real time. When it is detected that the door lock has returned to the normal working state, such as the physical lock cylinder is not disturbed, the lock body has no abnormal vibration, and the door lock control circuit is in the normal opening and closing mode, the system can automatically determine that the abnormal event has been resolved, and consider that the abnormal alarm information has completed the response. In this way, the device state can automatically realize the abnormal release confirmation without user's active operation, improving the intelligence level and user experience of the system.
[0114] When the system confirms that the abnormal alarm information has completed the response through any of the above methods, the response waiting timer will be terminated immediately, and other subsequent operations will be performed synchronously as needed, such as sending the latest door lock state information to all auxiliary communication devices, closing the unprocessed abnormal push request, etc., to ensure the integrity and consistency of the alarm processing process.
[0115] Through the embodiment, the system can ensure the support for the user's active confirmation behavior after the abnormal event occurs, and realize automatic response judgment in combination with the state change of the door lock itself, thereby effectively improving the real-time performance, intelligence and safety of the abnormal event processing, and ensuring that the user can timely learn and properly handle the abnormal situation of the door lock.
[0116] Further, when detecting that the abnormal event occurs, in the step of pushing the corresponding abnormal alarm information to the user through the current main communication device, the following steps are included:
[0117] S401, when detecting that the abnormal event occurs, triggering the lock state of the door lock;
[0118] S402, according to the lock state, the corresponding abnormal alarm information is associated and generated, and the abnormal alarm information at least includes lock state indication information, abnormal event type information and abnormal event occurrence time information.
[0119] Specifically, when the intelligent door lock detects that the abnormal event occurs, the system will immediately trigger the door lock to enter the lock state to enhance the physical security protection effect. The lock state is a security control state directly executed by the intelligent door lock body, which is usually manifested by means of power failure, mechanical locking, electronic control, etc., so that the door lock cannot be opened under abnormal conditions through normal instructions or illegal means, thereby preventing the security risk from further expanding. In actual application, the lock state can be realized by controlling the internal motor drive of the door lock, disconnecting the lock core control loop, or cutting off the door lock switch signal, and the specific implementation scheme can be adjusted according to the hardware structure and control circuit design of the door lock.
[0120] When the lock state is activated, the intelligent door lock system will automatically associate and generate the corresponding abnormal alarm information, which is used to timely notify the user that the current door lock has entered the lock state, and prompt the user to identify and handle the abnormal risk. The generation of the abnormal alarm information is based on the triggering result of the lock state, and the message content is dynamically constructed in combination with the related information of the abnormal event. Specifically, the abnormal alarm information at least includes lock state indication information, which is used to explicitly inform the user that the door lock has been forcibly locked; the abnormal event type information is used to explain the specific reason for this abnormal trigger, such as illegal unlocking, violent disassembly, abnormal vibration, etc.; and the abnormal event occurrence time information is used to provide the specific time point of the event occurrence, which is convenient for the user to judge and trace the abnormal situation in time.
[0121] In actual implementation, the abnormal alarm information can be sent to the user through communication connection with the main communication device in multiple ways such as message push, short message, in-application pop-up window, etc. The system can also present the lock state to the user in the form of graphical, textual or sound prompt in combination with the display capability and interactive interface of the user terminal device, thereby improving the readability and timeliness of the alarm information.
[0122] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit the present application; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. An abnormality monitoring method of an intelligent door lock, characterized by, The abnormality monitoring method of the intelligent door lock comprises: establishing a communication connection with a plurality of user terminal devices and obtaining terminal information of each user terminal device, the terminal information at least including device type information, online state information and network connection quality information; calculating a comprehensive evaluation value corresponding to each user terminal device according to the terminal information, the comprehensive evaluation value being a calculation result generated based on at least weighting of the online state information corresponding weight and the network connection quality information corresponding weight; determining a current main communication device and an auxiliary communication device based on the comprehensive evaluation value and a preset compensation mechanism; when an abnormal event is detected, pushing corresponding abnormal alarm information to the user through the current main communication device and continuously monitoring whether the abnormal alarm information is responded to; if the abnormal alarm information is not responded to within a preset time, determining a new main communication device in the auxiliary communication device and pushing corresponding abnormal alarm information through the new main communication device until the abnormal alarm information is responded to; in the step of determining the current main communication device and the auxiliary communication device based on the comprehensive evaluation value and the preset compensation mechanism, the preset compensation mechanism is used to determine a first compensation factor and a second compensation factor, and the step comprises: determining whether there is a user body device according to the device type information; if the user body device does not exist, determining the current main communication device according to the comprehensive evaluation value of each user terminal device; if there is only one user body device, determining the user body device as the current main communication device; if there are a plurality of user body devices, calculating a first compensation factor of each user body device and determining the current main communication device according to the first compensation factor and the comprehensive evaluation value of each user body device; determining other user terminal devices except the current main communication device as auxiliary communication devices and generating a corresponding push order sequence according to the comprehensive evaluation value and a second compensation factor of each auxiliary communication device, wherein the second compensation factor is calculated according to the distance relationship between the auxiliary communication device and the current main communication device, and the push order sequence is used to determine a new main communication device; in the step of calculating the first compensation factor of each user body device, comprising: obtaining historical response information of each user body device in a preset time period, extracting a plurality of response success time stamps corresponding to each user body device; performing time distribution analysis on each response success time stamp and a current time period, and structurally generating time behavior data corresponding to the user body device, the time behavior data at least including a successful response proportion in a preset time period and a longest unresponsive time; determining a response state category corresponding to each user body device based on a preset multi-level judgment rule and generating a corresponding first compensation factor based on the response state category, the response state category at least including an active state, a medium state and a failure state. 2.The method of claim 1, wherein The second compensation factor of each auxiliary communication device is calculated by: Obtaining the first signal strength of the current main communication device and the second signal strength of the auxiliary communication device; Based on the path loss model, the first relative distance value of the first signal strength and the second relative distance value of the second signal strength are calculated; The distance difference value ∆d between the first relative distance value and the second relative distance value is calculated; According to the distance difference value ∆d, the corresponding second compensation factor is generated. 3.The method of claim 2, wherein The step of generating the corresponding push order sequence according to the comprehensive evaluation value and the second compensation factor of each auxiliary communication device includes: The comprehensive evaluation value and the second compensation factor corresponding to each auxiliary communication device are multiplied to calculate the corresponding compensated evaluation value. According to the size relationship of the compensated evaluation value, the compensated evaluation value is arranged to generate the corresponding push order sequence. 4.The method of claim 1, wherein After the step of continuously monitoring whether the abnormal alarm information is completed, it includes: When the abnormal alarm information is waiting for response, according to the arrangement relationship of the push order sequence and the preset wake-up time interval, the wake-up instruction is sent to the corresponding auxiliary communication device in turn; Real-time receive the wake-up instruction confirmation information sent back by the auxiliary communication device; If the wake-up instruction confirmation information is not received within the preset confirmation time, the wake-up instruction is sent to the next auxiliary communication device, and the preset confirmation time is less than the preset wake-up time interval; If the abnormal alarm information has been completed, the door lock state is sent to all auxiliary communication devices. 5.The method of claim 1, wherein When detecting an abnormal event, the current main communication device pushes the corresponding abnormal alarm information to the user, and continuously monitors whether the abnormal alarm information is completed, which includes: When detecting an abnormal event, the current main communication device pushes the corresponding abnormal alarm information to the user, and starts the corresponding response waiting timer, and continuously monitors whether the response waiting timer receives the user's confirmation operation within the preset time. The judgment of whether the abnormal alarm information is completed is based on the user's confirmation operation on the current main communication device, or when the door lock state is detected to be restored to normal, it can be automatically determined that the abnormal alarm information has been completed. 6.The method of claim 1, wherein, When detecting an abnormal event, the current main communication device pushes the corresponding abnormal alarm information to the user, which includes: When detecting an abnormal event, trigger the lock state of the door lock; According to the lock state, the corresponding abnormal alarm information is associated to generate, and the abnormal alarm information at least includes lock state indication information, abnormal event type information and abnormal event occurrence time information.
Citation Information
Patent Citations
Method and system for switching faults of main node of distributed cluster and medium
CN113162797A
FTTR-based home security monitoring method, system, medium and equipment
CN117831247A