Intelligent door lock network connection method

By dynamically evaluating and selecting local area network devices, a multi-path redundancy alarm mechanism for smart door locks is established, which solves the security risks of the single connection mode of smart door locks, realizes reliable alarm transmission in abnormal scenarios, and improves anti-attack capability and system adaptability.

CN121077819BActive Publication Date: 2026-03-03ZHONGKE CHUANGYUAN (SHANXI) INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511612266.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-06
Publication Date
2026-03-03
Estimated Expiration
2045-11-06

AI Technical Summary

Technical Problem

The existing single network connection mode of smart door locks has significant security vulnerabilities. When attackers intrude or cut off the router connection, abnormal alarm signals cannot be uploaded in time, causing security failure.

Method used

By acquiring information about local area network devices, screening and evaluating security and communication performance, dynamically selecting auxiliary connection devices, establishing short-range wireless communication links, and implementing a multi-path redundancy alarm mechanism, abnormal alarm signals are ensured to be relayed through auxiliary devices.

Benefits of technology

Even if the router connection is maliciously cut off, alarm signals can still be relayed through auxiliary equipment, improving anti-attack capabilities and alarm reliability, reducing deployment costs and energy consumption, and adapting to dynamic network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121077819B_ABST
    Figure CN121077819B_ABST
Patent Text Reader

Abstract

The application discloses a kind of intelligent door lock network connection method, it is related to network connection technical field, comprising: obtaining all equipment information in the local area network of router belonging to which intelligent door lock accesses;Filter out selected auxiliary connection equipment;All selected auxiliary connection equipment is carried out security performance score;Selected auxiliary connection equipment is attached to communication performance score;Set a dynamic auxiliary period, in each dynamic auxiliary period, at least one selected auxiliary connection equipment is selected as target auxiliary connection equipment from all selected auxiliary connection equipment based on auxiliary election algorithm;Realize the auxiliary connection between intelligent door lock and target auxiliary connection equipment;When intelligent door lock detects abnormal behavior, simultaneously send abnormal alarm signal to router and target auxiliary connection equipment.The application has the advantages that: it realizes the multi-path redundant alarm mechanism of intelligent door lock under abnormal scene, effectively resists single-point communication failure risk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network connectivity technology, specifically to a network connectivity method for smart door locks. Background Technology

[0002] With the rapid development of IoT technology, smart locks, as core security devices, have attracted much attention regarding the reliability and security of their network connections. Currently, smart locks typically connect directly to a router to access the network and rely on a single communication link for remote control and alarm functions. However, this single-connection mode presents significant security vulnerabilities: when an attacker technically compromises the lock or maliciously disconnects it from the router, the lock completely loses its network communication capability, preventing alarm signals from being promptly uploaded to the cloud or user terminal, thus causing security failure.

[0003] To address these issues, some technical solutions attempt to introduce redundant network connection mechanisms, such as multi-router switching or cellular network backup. However, such solutions suffer from limitations such as high cost, high energy consumption, and complex configuration, and do not fully consider the dynamic coordination of security and communication performance between devices. Therefore, there is an urgent need for a smart lock network connection method that can dynamically select the optimal auxiliary device within the local area network to construct multi-path redundant communication links while ensuring security. This would allow reliable transmission of abnormal alarm signals through auxiliary devices even when the connection between the lock and the router is severed, thereby improving the smart lock's resistance to attacks. Summary of the Invention

[0004] To address the aforementioned technical issues, a smart door lock network connection method is provided. This technical solution resolves the significant security vulnerabilities inherent in the single connection mode: when an attacker uses technical means to intrude into the door lock or maliciously disconnects it from the router, the door lock will completely lose its network communication capability, resulting in abnormal alarm signals failing to be uploaded to the cloud or user terminal in a timely manner, thus causing security failure.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0006] A method for connecting a smart door lock to a network, comprising:

[0007] Obtain information on all devices within the local area network to which the router to which the smart door lock is connected. The device information includes at least whether the device supports short-range wireless communication and the types of short-range wireless communication it supports.

[0008] Devices that support short-range wireless communication were selected as candidate auxiliary connection devices;

[0009] Based on the safety performance of the candidate auxiliary connection devices, a safety performance score is given for all candidate auxiliary connection devices.

[0010] Based on the connection status of the candidate auxiliary connection device with the router and the short-range wireless communication connection status with the smart door lock, an additional communication performance score is given to the candidate auxiliary connection device.

[0011] A dynamic assistance period is set. In each dynamic assistance period, based on the security performance score and the additional communication performance score of the candidate auxiliary connection device, and based on the auxiliary election algorithm, at least one candidate auxiliary connection device is selected as the target auxiliary connection device from all candidate auxiliary connection devices.

[0012] Based on the built-in short-range wireless communication module, a short-range wireless communication connection is established between the smart lock and the target auxiliary connection device, thereby realizing the auxiliary connection between the smart lock and the target auxiliary connection device;

[0013] When the smart lock detects abnormal behavior, it simultaneously sends an abnormal alarm signal to the router and the target auxiliary connection device.

[0014] Preferably, the step of scoring the safety performance of all candidate auxiliary connection devices based on their safety performance specifically includes:

[0015] A comprehensive security performance assessment of a device is conducted based on multiple dimensions, including its hardware encryption capabilities, the communication encryption protocols it employs, and access control, to obtain a security performance score for the device.

[0016] The safety performance score range of the device is [0, 1]. The closer the safety performance score of the device is to 1, the higher the safety performance of the device.

[0017] Preferably, the additional communication performance score for the candidate auxiliary connection device based on its connection status with the router and its short-range wireless communication connection status with the smart door lock specifically includes:

[0018] The signal strength, signal-to-noise ratio, communication delay, and packet loss rate of the candidate auxiliary connection device and the router are evaluated respectively. After normalizing the above signal strength, signal-to-noise ratio, communication delay, and packet loss rate, the weighted sum is obtained to obtain the connection status score of the candidate auxiliary connection device and the router.

[0019] All candidate auxiliary connection devices are connected to the smart lock via short-range wireless communication. The communication latency between the smart lock and each candidate auxiliary connection device is tested and normalized to obtain an initial score for the short-range wireless communication connection status between the candidate auxiliary connection devices and the smart lock.

[0020] Based on the historical auxiliary connection records of the candidate auxiliary connection devices and the smart door lock, the ratio of disconnection time to total auxiliary time is calculated to obtain the stability correction value.

[0021] Multiply the stability correction value by the initial score of the short-range wireless communication connection status to obtain the real-time score of the short-range wireless communication connection status between the candidate auxiliary connection device and the smart door lock.

[0022] The communication performance score of the candidate auxiliary connection device is obtained by normalizing and weighting the connection status scores of the candidate auxiliary connection device with the router and the real-time short-range wireless communication connection status scores of the candidate auxiliary connection device with the smart door lock.

[0023] Preferably, the step of selecting at least one candidate auxiliary connection device as the target auxiliary connection device from all candidate auxiliary connection devices based on the auxiliary election algorithm specifically includes:

[0024] Based on the security performance score and the additional communication performance score of the candidate auxiliary connection device, evaluate the auxiliary indicators of the candidate auxiliary connection device;

[0025] An auxiliary correction coefficient is set, which corresponds one-to-one with the candidate auxiliary connection device. The auxiliary correction coefficient decreases as the candidate auxiliary connection device is selected for assistance a certain number of times.

[0026] Multiply the auxiliary correction coefficient by the auxiliary index of the candidate auxiliary connection device to obtain the real-time auxiliary index of the candidate auxiliary connection device;

[0027] The real-time auxiliary indicators of the candidate auxiliary connection device are compared with the real-time auxiliary indicators of all candidate auxiliary connection devices to obtain the real-time auxiliary probability of the candidate auxiliary connection device.

[0028] Based on the real-time auxiliary probability of the candidate auxiliary connection devices, and combined with a dual random algorithm, at least one candidate auxiliary connection device is selected as the target auxiliary connection device from the candidate auxiliary connection devices.

[0029] Preferably, the auxiliary indicators for evaluating the candidate auxiliary connection device based on the security performance score and the additional communication performance score of the candidate auxiliary connection device are specifically evaluated using the TOPSIS algorithm.

[0030] Preferably, the dual random algorithm includes:

[0031] All candidate auxiliary connection devices are randomly sorted, and the auxiliary range of each candidate auxiliary connection device is determined by combining the sorting results and the real-time auxiliary probability of the candidate auxiliary connection devices.

[0032] A random number is generated within the interval [0, 1] as an auxiliary value;

[0033] The candidate auxiliary connection device corresponding to the auxiliary value falling into the auxiliary interval is determined and used as the target auxiliary connection device.

[0034] Preferably, the method for determining the auxiliary interval of the candidate auxiliary connection device is as follows: the auxiliary interval of the candidate auxiliary connection devices ranked N is... , Let i be the real-time auxiliary probability of the candidate auxiliary connection device ranked i.

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

[0036] This invention achieves a multi-path redundancy alarm mechanism for smart locks in abnormal scenarios by dynamically selecting and assisting devices with high security and stable communication capabilities within the local area network. It combines security performance scoring, real-time communication status assessment, and a dual random election algorithm. Even if the direct connection between the lock and the router is maliciously cut off, alarm signals can still be relayed through auxiliary devices, effectively resisting the risk of single-point communication failure. At the same time, by utilizing device reuse and short-range low-power communication technology, it improves anti-attack capabilities and alarm reliability while taking into account deployment costs and energy consumption optimization. Moreover, it does not require manual configuration by the user and adapts to dynamically changing network environments. Attached Figure Description

[0037] Figure 1 This is a flowchart of the smart door lock network connection method proposed in Example 1;

[0038] Figure 2 This is a flowchart of the method for selecting a target auxiliary connection device as proposed in Embodiment 2;

[0039] Figure 3 Here is a flowchart of the double random algorithm proposed in Example 4;

[0040] Figure 4 This is an architecture diagram of the electronic devices in this solution;

[0041] Figure 5 This is a schematic diagram of the computer-readable storage medium structure in this scheme.

[0042] The numbers on the map are:

[0043] 500 - Electronic device; 501 - Bus; 502 - CPU; 503 - ROM; 504 - RAM; 505 - Communication port; 506 - Input / output component; 507 - Hard disk; 508 - User interface; 600 - Computer-readable storage medium. Detailed Implementation

[0044] The following description is intended to disclose the invention and enable those skilled in the art to implement it. The preferred embodiments described below are merely examples, and other obvious variations will occur to those skilled in the art.

[0045] Example 1:

[0046] Reference Figure 1 As shown, a smart door lock network connection method includes:

[0047] Obtain information on all devices within the local area network to which the router connected to the smart lock belongs. The device information includes at least whether the device supports short-range wireless communication and the types of short-range wireless communication it supports.

[0048] By actively scanning device information within the local area network and identifying their communication capabilities, we can ensure comprehensive coverage of potentially available auxiliary equipment resources, avoid missing candidate devices that support short-range communication, and provide basic data support for subsequent auxiliary equipment screening.

[0049] Devices that support short-range wireless communication were selected as candidate auxiliary connection devices;

[0050] By excluding devices that do not support short-range communication, the computational overhead of invalid devices participating in the auxiliary election is reduced, while ensuring that candidate devices have the basic ability to communicate directly with the smart lock, thereby improving the success rate and efficiency of the auxiliary connection.

[0051] Based on the safety performance of the candidate auxiliary connection devices, a safety performance score is given for all candidate auxiliary connection devices, specifically including:

[0052] A comprehensive security performance assessment of a device is conducted based on multiple dimensions, including its hardware encryption capabilities, the communication encryption protocols it employs, and access control, to obtain a security performance score for the device.

[0053] The safety performance rating range of the equipment is [0, 1]. The closer the safety performance rating of the equipment is to 1, the higher the safety performance of the equipment.

[0054] By conducting multi-dimensional security assessments of hardware encryption capabilities and communication protocol security, high-security-level auxiliary devices are selected to prevent alarm information from being leaked or hijacked due to security vulnerabilities in the auxiliary devices themselves, thereby improving the overall system's resistance to attacks.

[0055] Based on the connection status of the candidate auxiliary connection device with the router and the short-range wireless communication connection status with the smart door lock, an additional communication performance score is given to the candidate auxiliary connection device, specifically including:

[0056] The signal strength, signal-to-noise ratio, communication delay, and packet loss rate of the candidate auxiliary connection device and the router are evaluated respectively. After normalizing the above signal strength, signal-to-noise ratio, communication delay, and packet loss rate, the weighted sum is obtained to obtain the connection status score of the candidate auxiliary connection device and the router.

[0057] All candidate auxiliary connection devices are connected to the smart lock via short-range wireless communication. The communication latency between the smart lock and each candidate auxiliary connection device is tested and normalized to obtain an initial score for the short-range wireless communication connection status between the candidate auxiliary connection devices and the smart lock.

[0058] Based on the historical auxiliary connection records of the candidate auxiliary connection devices and the smart door lock, the ratio of disconnection time to total auxiliary time is calculated to obtain the stability correction value.

[0059] Multiply the stability correction value by the initial score of the short-range wireless communication connection status to obtain the real-time score of the short-range wireless communication connection status between the candidate auxiliary connection device and the smart door lock.

[0060] The communication performance score of the candidate auxiliary connection device is obtained by normalizing and weighting the connection status score between the candidate auxiliary connection device and the router and the real-time score of the short-range wireless communication connection status between the candidate auxiliary connection device and the smart door lock.

[0061] By combining dynamic indicators such as real-time signal strength and historical connection stability, the reliability of device communication can be accurately assessed, ensuring that the selected auxiliary equipment can maintain a stable relay communication link in abnormal scenarios and avoid the loss of alarm signals due to poor communication quality.

[0062] A dynamic assistance period is set. In each dynamic assistance period, based on the security performance score and the additional communication performance score of the candidate auxiliary connection device, and based on the auxiliary election algorithm, at least one candidate auxiliary connection device is selected as the target auxiliary connection device from all candidate auxiliary connection devices.

[0063] By periodically and dynamically reselecting auxiliary devices, the system avoids auxiliary failures caused by device offline, changes in network environment, or degraded security status. Combined with a dual scoring mechanism for security and communication, the system ensures that the optimal device is continuously selected, thereby improving the system's adaptive capabilities.

[0064] Based on the built-in short-range wireless communication module, a short-range wireless communication connection is established between the smart lock and the target auxiliary connection device, thereby realizing the auxiliary connection between the smart lock and the target auxiliary connection device;

[0065] Utilize short-range wireless communication technologies, such as Bluetooth and ZigBee, to achieve low-power, high-response-speed auxiliary connections;

[0066] When the smart lock detects abnormal behavior, it simultaneously sends an abnormal alarm signal to the router and the target auxiliary connection device.

[0067] With a dual-path parallel alarm mechanism, even if an attacker cuts off the direct connection between the smart lock and the router, the alarm signal can still be relayed through auxiliary equipment, completely eliminating the risk of single-point communication failure and significantly improving the reliability and anti-interference capability of abnormal alarms.

[0068] Example 2:

[0069] Reference Figure 2 As shown, based on Embodiment 1, this embodiment further proposes an auxiliary election algorithm to select at least one candidate auxiliary connection device as the target auxiliary connection device from all candidate auxiliary connection devices. Specifically, this includes:

[0070] Based on the security performance score and the additional communication performance score of the candidate auxiliary connection device, evaluate the auxiliary indicators of the candidate auxiliary connection device;

[0071] Set an auxiliary correction coefficient, which corresponds one-to-one with the candidate auxiliary connection device. The auxiliary correction coefficient decreases as the candidate auxiliary connection device is selected for assistance more often.

[0072] Specifically, the auxiliary correction factor can be calculated as follows:

[0073] .

[0074] in, As an auxiliary correction factor, To reduce damping, The number of times the assistant was selected;

[0075] The auxiliary correction coefficient adopts a dynamic zeroing mechanism. Within the set dynamic cycle, the correction coefficients of all devices are cleared to zero, and the auxiliary correction coefficients are recalculated in the next dynamic cycle.

[0076] By designing an auxiliary correction coefficient, high-auxiliary-index devices are prevented from being repeatedly selected and thus captured by attackers. The auxiliary correction coefficient is used to adjust the probability of each device being selected for auxiliary, thereby reducing the probability of auxiliary devices being captured and further improving the line security of auxiliary connections.

[0077] Multiply the auxiliary correction coefficient by the auxiliary index of the candidate auxiliary connection device to obtain the real-time auxiliary index of the candidate auxiliary connection device;

[0078] The real-time auxiliary indicators of the candidate auxiliary connection device are compared with the real-time auxiliary indicators of all candidate auxiliary connection devices to obtain the real-time auxiliary probability of the candidate auxiliary connection device.

[0079] Based on the real-time auxiliary probability of the candidate auxiliary connection devices, and combined with a dual random algorithm, at least one candidate auxiliary connection device is selected as the target auxiliary connection device from the candidate auxiliary connection devices.

[0080] By introducing an auxiliary correction coefficient to dynamically adjust the probability of device selection, and combining a dynamic zeroing mechanism with a dual random algorithm, the risk of high-scoring auxiliary devices exposing their communication paths due to frequent selection is effectively avoided, reducing the possibility of attackers targeting or hijacking auxiliary devices. The decay design of the auxiliary correction coefficient prompts the system to automatically rotate candidate devices, balance the auxiliary load and disperse potential attack surfaces. At the same time, through real-time auxiliary probability calculation and random election strategy, the randomness and unpredictability of auxiliary link selection are enhanced while ensuring the optimal overall performance of auxiliary devices. This achieves a dynamic balance between device security, communication stability and path concealment, significantly improving the overall anti-attack capability and long-term operational reliability of auxiliary connections.

[0081] Example 3:

[0082] Building upon Example 2, this solution further proposes evaluating the auxiliary indicators of the candidate auxiliary connection device based on its security performance score and additional communication performance score. Specifically, the TOPSIS algorithm is used, and the detailed steps are as follows:

[0083] The maximum security performance score and the maximum additional communication performance score are selected to form an auxiliary optimal solution;

[0084] The minimum security performance score and the minimum additional communication performance score are selected to form an auxiliary worst solution;

[0085] Based on the security performance score and the distance between the additional communication performance score of each candidate auxiliary connection device and the auxiliary optimal and auxiliary worst solutions, the auxiliary indicators of the candidate auxiliary connection devices are obtained. The specific calculation formula is as follows:

[0086] .

[0087] In the formula, For the j-th candidate auxiliary connection device, To assist in finding the optimal solution, To assist in finding the worst solution, Score the safety performance of the j-th candidate auxiliary connection device. Add a communication performance score to the j-th candidate auxiliary connection device. To find the vector distance function.

[0088] By employing the TOPSIS algorithm to comprehensively evaluate the security and communication performance of auxiliary equipment from multiple dimensions, the algorithm quantifies the distance between the equipment score and the optimal and worst solutions, avoiding the subjective bias of traditional weighted scoring methods and achieving objective ranking and dynamic optimization of equipment performance. This algorithm balances security and communication capabilities, preventing the misselection of high-security, low-communication or high-communication, low-security equipment due to a single indicator, while accurately selecting auxiliary equipment with comprehensive performance closest to the ideal optimal solution. Furthermore, by combining dynamic auxiliary cycles and auxiliary correction coefficients, it ensures that the global optimal solution is always used as the benchmark during equipment rotation, effectively resisting attackers' long-term targeting or path prediction of fixed high-scoring equipment. This further enhances the scientific nature and reverse engineering resistance of auxiliary link selection, ultimately improving the reliability of abnormal alarm signal transmission and the overall robustness of the system.

[0089] Example 4:

[0090] Reference Figure 3 As shown in Example 2, this example further points out that:

[0091] Double randomization algorithms include:

[0092] All candidate auxiliary connection devices are randomly sorted, and the auxiliary range of each candidate auxiliary connection device is determined by combining the sorting results and the real-time auxiliary probability of the candidate auxiliary connection devices.

[0093] The method for determining the auxiliary range of the candidate auxiliary connection devices is as follows: the auxiliary range of the candidate auxiliary connection devices ranked N is... , The real-time assist probability of the candidate auxiliary connection device ranked i;

[0094] A random number is generated within the interval [0, 1] as an auxiliary value;

[0095] The candidate auxiliary connection device corresponding to the auxiliary value falling into the auxiliary interval is determined and used as the target auxiliary connection device.

[0096] By combining two random algorithms, the real-time auxiliary probability of candidate devices is transformed into a dynamic auxiliary interval. A probability distribution selection mechanism is then superimposed on the random sorting, preventing attackers from predicting device selection patterns based on historical auxiliary records and completely avoiding the risk of a fixed device selection path. The probability mapping design of the auxiliary interval ensures that high-scoring devices still have a higher probability of being selected, while introducing unpredictability through random number generation to prevent attackers from targeting or hijacking high-security devices. Simultaneously, it balances the auxiliary load of multiple devices, preventing a single device from becoming a security vulnerability due to frequent use. This algorithm improves the concealment of the auxiliary link while balancing selection efficiency and system resource consumption, achieving dual optimization of security and real-time performance. It significantly enhances the resistance to reverse analysis and long-term monitoring of the abnormal alarm transmission path.

[0097] Furthermore, the method according to the embodiments of this application can also be achieved by means of... Figure 4 The architecture of the electronic device shown is used to implement this. For example... Figure 4 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, ROM 503, RAM 504, a communication port 505 connected to a network, an input / output component 506, a hard disk 507, etc. The storage device in the electronic device 500, such as ROM 503 or hard disk 507, may store the smart door lock network connection method provided in this application. The electronic device 500 may also include a user interface 508. Of course, Figure 4 The architecture shown is merely exemplary and can be omitted as needed when implementing different devices. Figure 4 One or more components in the illustrated electronic device.

[0098] Figure 5 This is a schematic diagram of a computer-readable storage medium structure provided in one embodiment of this application. Figure 5 The diagram illustrates a computer-readable storage medium 600 according to one embodiment of this application. The computer-readable storage medium 600 stores computer-readable instructions. When executed by a processor, the computer-readable instructions can perform the smart lock network connection method according to an embodiment of this application described with reference to the above figures. The storage medium 600 includes, but is not limited to, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.

[0099] In summary, the advantages of this invention are as follows: By dynamically selecting and assisting devices with high security and stable communication capabilities within the local area network, and combining security performance scoring, real-time communication status assessment, and dual random election algorithms, a multi-path redundancy alarm mechanism for smart locks in abnormal scenarios is realized. Even if the direct connection between the lock and the router is maliciously cut off, alarm signals can still be relayed through auxiliary devices, effectively resisting the risk of single-point communication failure. At the same time, by utilizing device reuse and short-range low-power communication technology, while improving anti-attack capabilities and alarm reliability, deployment costs and energy consumption optimization are also taken into account. Furthermore, no manual configuration by the user is required, adapting to dynamically changing network environments.

[0100] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claimed invention. The scope of protection claimed by the appended claims and their equivalents is defined.

[0101] It should be noted that the use of terms such as "an embodiment," "an embodiment," "an exemplary embodiment," and "some embodiments" in the specification indicates that the described embodiment may include a specific feature, structure, or characteristic, but not every embodiment necessarily includes that specific feature, structure, or characteristic. Furthermore, when a specific feature, structure, or characteristic is described in connection with an embodiment, implementing such a feature, structure, or characteristic in conjunction with other embodiments (whether explicitly described or not) should be within the knowledge of those skilled in the art.

[0102] Generally, terms can be understood at least partly from their use in context. For example, depending at least partly on the context, the term "one or more" as used herein can be used to describe any feature, structure, or characteristic in a singular sense, or a combination of features, structures, or characteristics in a plural sense. Additionally, the term "based on" can be understood not necessarily to convey an exclusive set of factors, but rather, alternatively, depending at least partly on the context, to allow for the presence of other factors that are not necessarily explicitly described.

Claims

1. A smart door lock network connection method, characterized by, The application comprises the following steps: Obtain all device information in the local area network to which the router connected with the smart door lock belongs, the device information at least including whether the device supports short-distance wireless communication and the type of short-distance wireless communication supported by the device; Screen out devices supporting short-distance wireless communication as candidate auxiliary connection devices; Based on the security performance of the candidate auxiliary connection devices, score the security performance of all candidate auxiliary connection devices; Based on the connection state of the candidate auxiliary connection devices with the router and the short-distance wireless communication connection state of the candidate auxiliary connection devices with the smart door lock, add communication performance scores to the candidate auxiliary connection devices; Set a dynamic auxiliary period, and in each dynamic auxiliary period, based on the security performance score of the candidate auxiliary connection devices and the additional communication performance score of the candidate auxiliary connection devices, select at least one candidate auxiliary connection device from all candidate auxiliary connection devices as a target auxiliary connection device based on an auxiliary election algorithm; Based on the built-in short-distance wireless communication module, establish short-distance wireless communication connection between the smart door lock and the target auxiliary connection device, and realize auxiliary connection between the smart door lock and the target auxiliary connection device; When the smart door lock detects abnormal behavior, send an abnormal alarm signal to the router and the target auxiliary connection device at the same time.

2. The intelligent door lock network connection method of claim 1, wherein, The security performance of the candidate auxiliary connection devices is scored in detail as follows: Based on the hardware encryption capability of the device, the communication encryption protocol adopted, and the access permission control, the security performance of the device is comprehensively evaluated in multiple dimensions to obtain the security performance score of the device; The security performance score interval of the device is [0, 1], and the closer the security performance score of the device is to 1, the higher the security performance of the device.

3. The intelligent door lock network connection method of claim 2, wherein, The additional communication performance score of the candidate auxiliary connection devices based on the connection state of the candidate auxiliary connection devices with the router and the short-distance wireless communication connection state of the candidate auxiliary connection devices with the smart door lock is scored in detail as follows: The signal strength, signal-to-noise ratio, communication delay, and packet loss rate of the candidate auxiliary connection devices with the router are respectively evaluated, and the signal strength, signal-to-noise ratio, communication delay, and packet loss rate are normalized and weighted to obtain the connection state score of the candidate auxiliary connection devices with the router; Short-distance wireless communication connection is established between all candidate auxiliary connection devices and the smart door lock, and the communication delay between the smart door lock and each candidate auxiliary connection device is tested and normalized to obtain the initial score of the short-distance wireless communication connection state of the candidate auxiliary connection devices with the smart door lock; Based on the historical auxiliary connection records of the candidate auxiliary connection devices with the smart door lock, the proportion of the disconnection duration to the total auxiliary duration is calculated to obtain a stability correction value; The stability correction value is multiplied by the initial score of the short-distance wireless communication connection state to obtain the real-time score of the short-distance wireless communication connection state of the candidate auxiliary connection devices with the smart door lock; The connection state score of the candidate auxiliary connection devices with the router and the real-time score of the short-distance wireless communication connection state of the candidate auxiliary connection devices with the smart door lock are normalized and weighted to obtain the communication performance score of the candidate auxiliary connection devices.

4. The intelligent door lock network connection method of claim 3, wherein, The auxiliary election algorithm based on the selection of at least one candidate auxiliary connection device from all candidate auxiliary connection devices as a target auxiliary connection device specifically includes: Based on the security performance score of the candidate auxiliary connection device and the additional communication performance score of the candidate auxiliary connection device, the auxiliary index of the candidate auxiliary connection device is evaluated; Set the auxiliary correction coefficient, which is one-to-one corresponding to the candidate auxiliary connection device, and the auxiliary correction coefficient decays with the number of times the candidate auxiliary connection device is selected to assist; The auxiliary correction coefficient is multiplied by the auxiliary index of the candidate auxiliary connection device to obtain the real-time auxiliary index of the candidate auxiliary connection device; The real-time auxiliary index of the candidate auxiliary connection device is compared with the real-time auxiliary index of all candidate auxiliary connection devices to obtain the real-time auxiliary probability of the candidate auxiliary connection device; Based on the real-time auxiliary probability of the candidate auxiliary connection device, combined with the double random algorithm, at least one candidate auxiliary connection device is selected from the candidate auxiliary connection device as the target auxiliary connection device.

5. The intelligent door lock network connection method of claim 4, wherein, The auxiliary index of the candidate auxiliary connection device is evaluated based on the security performance score of the candidate auxiliary connection device and the additional communication performance score of the candidate auxiliary connection device, specifically using the TOPSIS algorithm.

6. The intelligent door lock network connection method of claim 5, wherein, The double random algorithm includes: Randomly sort all candidate auxiliary connection devices, and determine the auxiliary interval of each candidate auxiliary connection device by combining the sorting result and the real-time auxiliary probability of the candidate auxiliary connection device; A random number is randomly generated in the interval [0, 1] as an auxiliary value; Determine the candidate auxiliary connection device corresponding to the auxiliary interval where the auxiliary value falls as the target auxiliary connection device.

7. The intelligent door lock network connection method of claim 6, wherein, The determination method of the auxiliary interval of the candidate auxiliary connection device is that the auxiliary interval of the candidate auxiliary connection device with the sequence N is , is the real-time auxiliary probability of the candidate auxiliary connection device with the sequence i.

8. An electronic device, comprising: It includes: At least one processor; And the memory connected in communication with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to implement the intelligent door lock network connection method of any one of claims 1-7.

9. A computer-readable storage medium storing computer-readable instructions, the computer-readable instructions comprising: The computer readable instructions are called by the processor to execute the intelligent door lock network connection method of any one of claims 1-7.

Citation Information

Patent Citations

  • Abnormality monitoring method for intelligent door lock

    CN120897223A

  • Wireless communication method in wi-fi network, and electronic device for performing same

    WO2023171933A1