Distribution network access method and device of intelligent door lock and medium

By optimizing the distribution process of smart door locks and Zigbee gateway equipment, including confirming communication range, positioning location information, security authentication and network parameters synchronization, the problems of complex and poor compatibility of smart door lock distribution network in the existing technology are solved, and an efficient and secure network access process is achieved.

CN120129022APending Publication Date: 2025-06-10GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510281878.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

The existing smart door locks are connected to the network based on Zigbee, and other problems such as complex distribution processes and poor equipment compatibility.

Method used

Provide a method for networking and accessing the smart door lock. By confirming the communication range between the smart door lock and the ZigBee gateway device, establishing a preliminary connection, positioning the smart door lock location information, performing security authentication and authorization, and finally allocating the network address and synchronizing network parameters.

Benefits of technology

It realizes the simple, efficient and stable access of the smart door lock based on Zigbee, improves equipment compatibility and network distribution efficiency, ensures the safety of the smart door lock, and extends the battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120129022A_ABST
    Figure CN120129022A_ABST
Patent Text Reader

Abstract

The invention provides a distribution network access method and device for an intelligent door lock and a medium, and solves the problems in the prior art by optimizing the distribution network process and improving the equipment compatibility. The method comprises the steps that equipment is initialized, it is ensured that an intelligent door lock and ZigBee gateway equipment are both located in a communication range and are in a network distribution state, and the intelligent door lock sends a pair to the ZigBee gateway equipment; the Zigbee gateway equipment sends a security authentication request to the intelligent door lock, and the intelligent door lock carries out verification according to the improved Install Code security policy and returns a verification result; after verification is passed, the Zigbee gateway equipment sends an authorization instruction to the intelligent door lock, and the intelligent door lock is allowed to join in the Zigbee network; the method has the advantages that the network distribution process is simplified, the equipment compatibility is improved, the network stability is enhanced, the power consumption is reduced and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart homes, and particularly to a method, device, and medium for network configuration and access of an intelligent door lock. Background Art

[0002] Smart home is to connect various smart devices in a room through Internet of Things technology, and then manage and control these smart devices through the software carried by the smart home to achieve the automation and intelligence of the devices.

[0003] While bringing convenience to people, smart homes are often prone to potential safety hazards. Many smart home device manufacturers are eager to develop new function products to continuously attract consumers, but often ignore the security of smart home systems. If a smart home network has security risks, then the user's information is at risk of leakage. As the most important line of defense in a family, the networking function of the door has received increasing attention. The traditional networking methods of intelligent door locks mainly include Wi-Fi, Bluetooth, etc., but these methods have problems such as high power consumption, unstable connection, or limited transmission distance. Zigbee, as a low-power and low-latency wireless communication protocol, has advantages such as strong self-networking ability and good device interconnection, and is suitable for the networking of smart home devices. However, there are still some technical bottlenecks in the current method for an intelligent door lock to connect to the network based on Zigbee, such as complex network configuration processes and poor device compatibility. Summary of the Invention

[0004] To solve the above problems, the present invention provides a method, device, and medium for network configuration and access of an intelligent door lock, aiming to provide a simple, efficient, and stable method for an intelligent door lock to connect to the network based on Zigbee, and solve the problems existing in the prior art by optimizing the network configuration process and improving device compatibility.

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

[0006] On the one hand, the present invention provides a method for network configuration and access of an intelligent door lock, specifically including the following steps:

[0007] Confirm that the intelligent door lock and the ZigBee gateway device are both within the communication range, and ensure that the intelligent door lock and the ZigBee gateway device are in a state where network configuration is possible;

[0008] The intelligent door lock sends a network configuration and access request to the ZigBee gateway device to establish a preliminary connection;

[0009] Locate the location information of the intelligent door lock, send the location information to the ZigBee gateway device, and determine that the ZigBee gateway device returns a network configuration work order;

[0010] The Zigbee gateway device sends a security authentication request to the smart lock. The smart lock verifies according to the preset security policy and returns the verification result;

[0011] After the verification passes, the Zigbee gateway device sends an authorization instruction to the smart lock, allowing the smart lock to join the Zigbee network;

[0012] The Zigbee gateway device assigns a network address to the smart lock and synchronizes network parameters. The smart lock completes network configuration and joins the Zigbee network.

[0013] Preferably, the security authentication includes the InstallCode security key preset by the Zigbee gateway device.

[0014] More preferably, during the generation process of the InstallCode security key, by creating a text file with the InstallCode value and without CRC check. If the smart lock does not install the InstallCode, when all the Token data of the smart lock is printed as key values in the InstallCode data, they will all be displayed as 1. Then, the InstallCode is burned into the smart lock through the burn command, and then check whether the verification code is the desired one.

[0015] Preferably, the Zigbee gateway device regularly sends a status detection signal to the smart lock. The smart lock returns status feedback information, and the gateway device performs real-time monitoring and management according to the feedback information.

[0016] Preferably, if the connection between the smart lock and the Zigbee gateway device is interrupted, the smart lock automatically attempts to reconnect until the connection is successfully restored.

[0017] More preferably, when the connection between the smart lock and the Zigbee gateway device still fails to be successfully restored after exceeding the preset time, the smart lock automatically locks and can only be unlocked through manual operation.

[0018] Preferably, the network parameters include network ID, device information, channel, and InstallCode security key.

[0019] Preferably, the status feedback information includes the operating status and battery level of the smart lock.

[0020] In the second aspect, the present invention also provides a network configuration and network access device for a smart lock, including:

[0021] A connection module for confirming that both the smart lock and the ZigBee gateway device are within the communication range and establishing a preliminary connection;

[0022] A verification module for the Zigbee gateway device to perform security verification on the smart door lock;

[0023] A pairing module for establishing a secure connection between the smart door lock and the Zigbee gateway device after the smart door lock passes the security authentication of the Zigbee gateway device.

[0024] The third aspect of the present invention also provides a readable storage medium storing computer instructions, which when executed by a processor implement the above-mentioned method for configuring and networking a smart door lock.

[0025] By optimizing the process of the smart door lock connecting to the network based on Zigbee, the present invention achieves the following beneficial effects: through the automatic device discovery and security authentication mechanism, the manual operation of the user is reduced and the network configuration efficiency is improved; through the standardized Zigbee protocol and the improved InstallCode security authentication strategy, the security of the smart door lock is ensured, and smart door locks of different brands and models can be compatible and connected to the network; through the status detection and fault handling mechanism, it is ensured that the smart door lock can still be stably connected in a complex environment; by utilizing the low-power consumption characteristic of the Zigbee protocol, the battery life of the smart door lock can be effectively extended. Description of the Drawings

[0026] Figure 1 is a flowchart of the method for configuring and networking a smart door lock of the present invention.

[0027] Figure 2 is a flowchart for generating the InstallCode security key of the present invention. Detailed Embodiments

[0028] Please refer to Figure 1 As shown, the present invention provides a method for configuring and networking a smart door lock in one aspect, which is applied to the ZigBee platform. The method includes the following steps:

[0029] Confirm that both the smart door lock and the ZigBee gateway device are within the communication range, and ensure that the smart door lock and the ZigBee gateway device are in a state where they can be networked;

[0030] The smart door lock sends a request for network configuration and connection to the ZigBee gateway device to establish a preliminary connection;

[0031] The user first installs the smart door lock on the door and places the Zigbee gateway device at home (such as the living room), ensuring that the distance between the two does not exceed the usage range of the Zigbee gateway device. The user turns on the power of the smart door lock and the Zigbee gateway device and enters the network configuration mode.

[0032] It should be noted that if the installation location of the smart door lock is too far from the described ZigBee gateway device or the signal is attenuated through the wall, it may cause connection failure. It is recommended to install the smart door lock within 10 meters of the described ZigBee gateway device and ensure that the signal strength RSSI ≥ -65dBm. When the signal strength RSSI ≥ -65dBm, it can effectively ensure the integrity of the signal, effectively ensure the stable connection between the smart door lock and the ZigBee gateway device without dropping the line, and ensure smooth signal during use.

[0033] Since smart door locks usually do not support 5GHz, the ZigBee gateway device needs to enable the 2.4GHz band to ensure that the 2.4GHz band is available. It is also necessary to check the settings of the router ZigBee gateway device. If the wireless isolation function is enabled, it will cause the smart door lock to be unable to connect.

[0034] Due to the reasons of the model or configuration of some smart door locks themselves, it is necessary to manually enter the network configuration mode. If the operation is not correct, it may cause failure to connect. It is recommended to operate according to the smart door lock instruction manual to manually enter the network configuration mode.

[0035] The Zigbee gateway device starts to send signals to the surrounding area, and the surrounding devices can be searched if they are within the usage range of the Zigbee gateway device. After the smart door lock receives the signal sent by the Zigbee gateway device, it sends a response signal to the gateway, sends a network configuration and access request to indicate its own identity information. After the Zigbee gateway device recognizes the smart door lock, a preliminary connection is established.

[0036] Locate the location information of the smart door lock, send the location information to the ZigBee gateway device, and determine the network configuration work order returned by the ZigBee gateway device;

[0037] The smart door lock sends the location information to the ZigBee gateway device, which also includes parameters such as the brand and model of the smart door lock. After confirming the smart door lock information, the ZigBee gateway device creates a network configuration work order, and then sends a security authentication request to the smart door lock;

[0038] The Zigbee gateway device sends a security authentication request to the smart door lock, and the smart door lock verifies according to the preset security policy and returns the verification result;

[0039] The Zigbee gateway device sends a security authentication request to the smart door lock, and the smart door lock verifies according to the preset security key. The security authentication includes the InstallCode security key preset by the Zigbee gateway device;

[0040] Such as Figure 2As shown, during the generation process of the InstallCode security key, a text file with the Install Code value and without CRC check is created. If the InstallCode is not installed on the smart door lock, all Token data of the smart door lock will be printed as 1 when the Install Code data is printed as key-value pairs. Subsequently, the InstallCode is burned into the smart door lock through the burn command. Then, check whether the verification code is the desired code and return the verification result.

[0041] InstallCode is a pre-set link key, and all ZigBee devices can be installed with a unique installation code, which is a random 128-bit number protected by a 16-bit cyclic redundancy check. The trust center requires each newly joined device to use a unique installation code to join the centralized security network (i.e., the key generated by InstallCode). Moreover, this unique installation code must overwrite the previously out-of-band input code to the trust center. After overwriting the installation code, the joining device and the trust center will use the Matyas-Meyer-Oseas (MMO) hash function to obtain a unique 128-bit trust center link key from the installation code.

[0042] The configuration steps of the security policy are as follows:

[0043] First, enable the security encryption function of the ZigBee gateway device. In the engineering files f8wConfig.cfg of the coordinator and the networked devices, set -DSECURE to 1;

[0044] In the f8wConfig.cfg file, set -DDEFAULT_KEY to the same value. For example:

[0045] -DDEFAULT_KEY = "{0x01,0x03,0x05,0x07,0x09,0x0B,0x0D,0x0F,0x00,0x02,0x04,0x06,0x08,0x0A,0x0C,0x0D}"

[0046] Set the key configuration method:

[0047] In the ZGlobals.c file, set zgPreConfigKeys to TRUE, where the network key is pre-configured in the device. Subsequently, burn the ZigBee device into the smart door lock through a unique installation code. Then, check whether the code in the smart door lock is the desired code (whether it is the pre-set Install Code key) and return the verification result to the ZigBee gateway device.

[0048] After verification, the Zigbee gateway device sends an authorization instruction to the smart door lock, allowing it to join the network.

[0049] When it is verified that the code in the smart door lock is consistent with the preset InstallCode key in the Zigbee gateway device, the Zigbee gateway device sends an authorization instruction to the smart door lock, allowing the smart door lock to join the smart home network in the user's home; when it is verified that the code in the smart door lock is inconsistent with the preset InstallCode key in the Zigbee gateway device, the Zigbee gateway device burns the InstallCode into the smart door lock again through a burning command, then checks whether the verification is the desired code, and returns the verification result. Repeat the above steps until the code in the smart door lock is consistent with the preset InstallCode key in the Zigbee gateway device.

[0050] To prevent key leakage, the user needs to update the InstallCode key regularly and ensure that only authorized devices can obtain the key. When a new device joins the network, ensure that only legal devices can join the network through an authentication mechanism (such as device identification and InstallCode key exchange).

[0051] The Zigbee gateway device assigns a network address to the smart door lock and synchronizes network parameters, and the smart door lock completes network configuration and joins the Zigbee network.

[0052] In the "Network Configuration and Parameter Synchronization" step of Zigbee devices, it mainly involves key links such as network initialization, node joining the network, and parameter configuration.

[0053] The following is a detailed expansion:

[0054] First, scan the available channels in the Zigbee network and select an unoccupied channel (such as channels 11 - 26 in the 2.4GHz band) to avoid interference between the smart door lock and other networks or devices (such as Wi-Fi); then configure the network ID (PANID) of the smart door lock. PANID is used to distinguish different Zigbee networks, and the coordinator will generate a PANID, with a range of 0x0000 - 0xFFFF, to prevent network conflicts.

[0055] After the coordinator receives the join request from the smart door lock, it verifies the node information and assigns a network address.

[0056] By sending a data request command through the node, the coordinator replies with a network formation confirmation, and the smart door lock completes joining.

[0057] Subsequently, the network parameters are synchronized. Parameter synchronization is the key to ensuring normal communication between nodes. The network parameters include network ID, device information, channel, and InstallCode security key.

[0058] The network configuration and network access method of an intelligent door lock according to the present invention further sets up an intelligent door lock status monitoring and feedback mechanism. The Zigbee gateway device periodically sends a status detection signal to the intelligent door lock, and the intelligent door lock returns a status feedback message. The gateway device monitors the status of the intelligent door lock in real time according to the feedback message.

[0059] The feedback message includes the operating status and battery power of the intelligent door lock.

[0060] Low battery power of the intelligent door lock may lead to failed network configuration or unstable connection. When the battery power of the intelligent door lock is insufficient, a prompt is sent to the user through the app software carried by the intelligent door lock itself or through the Zigbee gateway device, suggesting that the user replace the battery of the intelligent door lock.

[0061] The Zigbee gateway device periodically sends a status detection signal to the intelligent door lock to detect whether the intelligent door lock has been attacked by criminals. By detecting the network data of the intelligent door lock, it is detected whether there is a risk of leakage of the InstallCode key.

[0062] In a feasible implementation manner, criminals can steal the security key in the intelligent door lock with the device. The attacker can listen to the Zigbee signal in the following ways to attack devices such as the intelligent door lock:

[0063] 1. Key distribution sniffing attack

[0064] The Zigbee network performs key distribution when a new device joins the network. The attacker can use this process for eavesdropping:

[0065] Passive key sniffing: The attacker listens to the Zigbee network traffic and waits for a new device to join the network, then sniffs the packet transmitting the key.

[0066] Active key sniffing: The attacker takes advantage of the vulnerability of TrustCenterRejoin to forge a process to obtain the packet transmitting the key.

[0067] 2. Extract the key from the device

[0068] If the Zigbee device deploys the key by means of key pre - setting or key derivation, the attacker may obtain the network key by reading the device firmware.

[0069] 3. Tampering attack

[0070] An attacker can tamper with Zigbee communication content by modifying the Frame Counter and re-encrypting the data.

[0071] 4. Denial-of-Service Attack

[0072] An attacker can disrupt the channels of the Zigbee network, causing devices to be unable to communicate properly.

[0073] 5. Monitoring Tools

[0074] An attacker can use the following tools to monitor Zigbee signals:

[0075] KillerBee: This is a framework and tool for attacking Zigbee and IEEE802.15.4 networks, capable of stealing network traffic, replaying traffic, and attacking cryptographic systems.

[0076] SmarRFPacketSniffer: Combined with hardware (such as CC2531), it can monitor and analyze Zigbee communication channels.

[0077] Since the first type of attack is carried out when a new device joins the Zigbee gateway device and requires prior arrangement, this invention does not consider this type of attack method here. In the case of the fourth point, it causes the inability to communicate between the Zigbee gateway device and the smart door lock. Since when the smart door lock and the Zigbee gateway device still fail to successfully restore the connection after exceeding the preset time, the smart door lock automatically locks and can only be unlocked through manual operation. This method can also be avoided by this invention; for other attack methods, this invention designs a communication encryption protection algorithm between the Zigbee gateway device and its connected devices.

[0078] Since the encryption protocol of the Zigbee gateway device communication network is relatively strict in screening data information parameters, the encryption process executed by the remotely controlled mobile control terminal manipulated by the attacker needs to follow the encryption algorithm principle. During the process of data information transmission, there is a two-way feedback relationship with certain rules between the communication network and the multi-byte communication module, and regardless of whether the three component structures of the information remote identification module, control module, and communication data storage terminal are in an open state, this two-way transmission feedback behavior of information parameters will not be affected.

[0079] Therefore, this invention sets up an encryption protection algorithm, and the specific steps are as follows:

[0080] In the Zigbee gateway device network environment, the Zigbee gateway device assigns values ​​to each communication data. Even if the data information format and storage length between the two devices are exactly the same, due to the different positions between the devices, resulting in different transmission cycles, the assignment results given by the Zigbee gateway device to the two data objects will also be different. The real-time transmission position of the data text in the Zigbee gateway device communication network can affect the encryption processing capability of the remote terminal control host to the information parameters.

[0081] All communication data between the smart door lock and the Zigbee gateway device must satisfy the following encryption expression:

[0082]

[0083] Where L represents the gateway key characteristic index, represents the mean value of the InstallCode key source definition quantity, δ represents the minimum value of the InstallCode key source definition quantity, K represents the encryption reference feature of the communication data, σ Zigbee It represents the non-modifiable numerical indicator of the cryptographic code source of the encryption algorithm in the Zigbee gateway device, μ represents the communication data authentication coefficient in the Zigbee gateway device, θ represents the response parameter between the communication data, and d represents the location distance between the communication data.

[0084] By defining a unique InstallCode key password template in the Zigbee gateway device communication network in advance and integrating all information parameters that need to be encrypted according to the template, it can be ensured that the communication data transmitted between the smart door lock and the Zigbee gateway device complies with the Zigbee encryption standard.

[0085] Through the above configuration, secure encrypted communication can be achieved between the Zigbee gateway device and the smart door lock, effectively preventing data leakage and being able to effectively respond to attacks.

[0086] When it senses that the communication is under attack or eavesdropping, the gateway key characteristic index L changes, so that the characteristic index L is not within the unique InstallCode key password template. The Zigbee gateway then determines that it has been attacked by an attacker and sends a control signal to automatically lock the smart door lock, which can only be unlocked by manual operation (mechanical key). It then sends a command to format the device (smart door lock) with relevant network information, and then disconnects the device, thereby better protecting the safety of the user's home.

[0087] An encryption mechanism based on the InstallCode key password template is set for the Zigbee gateway device. For the host component, with the cooperation of hardware units at all levels, it completes the encryption process of communication data, thus ensuring the smooth implementation of control execution instructions. Compared with the communication data feedback method and the communication control mechanism for data availability, the application of this mechanism can solve the problems of device intrusion or data theft by external attackers, thereby promoting the reasonable control of each smart home data information transmission behavior of the user's smart home network while avoiding problems such as communication data leakage and theft.

[0088] A fault handling and reconnection mechanism is also set for the network configuration and network access method of an intelligent door lock of the present invention.

[0089] If the connection between the intelligent door lock and the Zigbee gateway device is interrupted, the intelligent door lock will automatically attempt to reconnect and operate according to the preset reconnection strategy until the connection is restored.

[0090] When the connection between the intelligent door lock and the Zigbee gateway device still fails to be successfully restored after exceeding the preset time, the intelligent door lock will be automatically locked and can only be unlocked through manual operation.

[0091] After the intelligent door lock is disconnected from the Zigbee gateway device, the intelligent door lock sends a reconnection request (NLME_ReJoinRequest) to the discovered network and requests to rejoin the network from the Zigbee gateway. If the device was previously configured with a security key, it will rejoin the Zigbee network in a secure manner. After the device rejoins the network, it will update its network status and notify the application program; if the reconnection fails (such as the network is unavailable or the parameters do not match), the device will attempt to rescan the network or enter the sleep state and wait for the next reconnection attempt.

[0092] There are two methods for a new user to join and connect to the intelligent door lock.

[0093] One is through the app software installed on the intelligent door lock. The administrator user adds a new user, and the intelligent door lock will synchronize the new user information to the Zigbee gateway device. After the Zigbee gateway device receives the unlocking information of the new user, it will default the new user as a whitelist user and has the unlocking function.

[0094] The other is to add a new user through the local settings of the intelligent door lock: enter the administrator password or fingerprint to enter the local settings page of the door lock; select the "New User" option and select the user type (such as ordinary user or administrator user) according to the prompt; add user verification information, such as fingerprint, password or induction card (NFC card). This method does not require passing through the Zigbee gateway device and is defaulted to the operation of the intelligent door lock.

[0095] In a second aspect, the present invention also provides a network configuration and access device for an intelligent door lock, including:

[0096] A connection module, configured to confirm that both the intelligent door lock and the ZigBee gateway device are within the communication range and establish a preliminary connection;

[0097] A verification module, configured to perform security verification on the intelligent door lock by the Zigbee gateway device;

[0098] A pairing module, configured to establish a secure connection between the two after the intelligent door lock passes the security authentication by the Zigbee gateway device.

[0099] In a third aspect, the present invention also provides a readable storage medium storing computer instructions, which, when executed by a processor, implement the above-mentioned network configuration and access method for an intelligent door lock.

[0100] By adopting the Zigbee gateway device, the present invention enables the intelligent door lock to be in a sleep mode when not in use: it can enter the sleep state in the non-working mode to achieve low power consumption. A Zigbee device using two No. 5 dry batteries can operate for 6 months to 2 years. This low-power consumption characteristic makes it very suitable for scenarios where an intelligent door lock is required, which needs to run for a long time and is not convenient to replace the battery frequently. Compared with Wi-Fi, which has high power consumption and complex devices and is suitable for high-speed data transmission; while Zigbee devices have the characteristics of low power consumption and low cost and are suitable for low-speed, large-scale device networking; and Bluetooth connection is suitable for short-distance, low-power device connections, but the network capacity is limited; Zigbee supports large-scale networking and is more suitable for smart home use and can access multiple smart home devices.

[0101] A computer-readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disc, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice within the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0102] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some 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 various embodiments of the present invention, and should all be included in the protection scope of the present invention.

[0103] The foregoing is only a preferred embodiment of the present disclosure. Although the present disclosure has been described in conjunction with the accompanying drawings, the purpose is not to limit the present disclosure. For those skilled in the art, the present disclosure can have various changes and modifications. Any modifications, replacements, improvements, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A network configuration method for a smart door lock, applied to the ZigBee platform, characterized in that: The method comprises the following steps: Confirm that the smart door lock and the ZigBee gateway device are both within the communication range, and ensure that the smart door lock and the ZigBee gateway device are in a network-compatible state; The smart door lock sends a network access request to the ZigBee gateway device to establish a preliminary connection; Locate the location information of the smart door lock, send the location information to the ZigBee gateway device, and determine that the ZigBee gateway device returns a network configuration work order; The Zigbee gateway device sends a security authentication request to the smart door lock, which verifies the request based on the preset security policy and returns the verification result. After verification, the Zigbee gateway device sends an authorization command to the smart door lock, allowing the smart door lock to join the Zigbee network; The Zigbee gateway device assigns a network address to the smart door lock and synchronizes network parameters. The smart door lock completes the network configuration and joins the Zigbee network.

2. A network connection method for a smart door lock according to claim 1, characterized in that: The security authentication includes the Install Code security key preset by the Zigbee gateway device.

3. A network connection method for a smart door lock according to claim 2, characterized in that: During the InstallCode security key generation process, a text file with an InstallCode value and without CRC check is created. If the smart door lock does not have the InstallCode installed, all the Token data of the smart door lock will be printed as key values ​​in the InstallCode data and displayed as 1. Then, the InstallCode is burned into the smart door lock through the burning command, and then the verification is checked to see if it is the desired code.

4. A network connection method for a smart door lock according to claim 1, characterized in that: The Zigbee gateway device periodically sends a status detection signal to the smart door lock, and the smart door lock returns status feedback information. The gateway device performs real-time monitoring and management based on the feedback information.

5. A network connection method for a smart door lock according to claim 1, characterized in that: If the connection between the smart door lock and the Zigbee gateway device is interrupted, the smart door lock automatically attempts to reconnect until the connection is successfully restored.

6. A network configuration method for a smart door lock according to claim 5, characterized in that: When the connection between the smart door lock and the Zigbee gateway device is not successfully restored within the preset time, the smart door lock is automatically locked and can only be unlocked by manual operation.

7. A network configuration method for a smart door lock according to claim 1, characterized in that: The network parameters include network ID, device information, channel and Installation Code security key.

8. A network connection method for a smart door lock according to claim 1, characterized in that: The status feedback information includes the operating status and power of the smart door lock.

9. A network access device for a smart door lock, characterized in that: include: The connection module is used to confirm that the smart door lock and the ZigBee gateway device are both within the communication range and establish a preliminary connection; Verification module, used by Zigbee gateway device to perform security verification on smart door locks; The pairing module is used to establish a secure connection between the smart door lock and the Zigbee gateway device after the smart door lock passes the security authentication.

10. A readable storage medium, characterized in that: The readable storage medium stores computer instructions, and when the computer instructions are executed by the processor, a network configuration and access method for a smart door lock as described in any one of claims 1-8 is implemented.