From WiFi to NB-IoT, exploring the high-tech access methods of smart door locks

From WiFi to NB-IoT, exploring the high-tech access methods of smart door locks

Hello everyone! I am Xiaomi, a 29-year-old who is full of energy and loves to share technology! Today, I would like to talk to you about a technical topic closely related to smart home - the access method of smart door locks. Whether it is home, office building or hotel, the application of smart door locks in the field of Internet of Things is becoming more and more extensive. Different door lock access methods bring different experiences and technical implementation methods. Today we will talk about four mainstream smart door lock access methods: WIFI door lock, Bluetooth door lock, Zigbee door lock and NB-IoT door lock.

WIFI door lock: non-keep-alive, MCU wake-up mechanism

First, let’s take a look at the WIFI door lock.

1.1 What is a WIFI door lock?

WIFI door lock, as the name implies, is a smart door lock connected via a Wi-Fi network. Through the WIFI door lock, users can remotely view the door lock status, unlock the door, and even receive alarm information from the door lock. However, a major feature of the WIFI door lock is that it is usually in a non-keep-alive state.

1.2 Definition of non-keepalive

The "non-keep-alive" state means that the WIFI door lock is not online in real time. Most of the time, the main control unit (MCU) and Wi-Fi module of the door lock are in sleep mode to save power. After all, the working mode of the Wi-Fi door lock consumes more power, especially for battery-powered door locks. Long-term keep-alive will cause rapid battery consumption and affect the user experience.

1.3 Wake-up mechanism

When data needs to be transmitted or sent, the MCU must be used to wake up the door lock's WiFi module. Common wake-up mechanisms may include the following:

  • Local operation wake-up: When the user presses the button on the door lock or uses a key, fingerprint, etc., the MCU detects these actions and wakes up the Wi-Fi module through an interrupt mechanism.
  • Scheduled wake-up: The system can set a time period, for example, the MCU automatically wakes up the Wi-Fi module at regular intervals to update the status or check whether there is a remote command.
  • Remote command wake-up: remotely wake up the WIFI module through a specific mechanism (such as a special signal or combined with other protocols, such as Zigbee gateway).

1.4 Application Scenarios

WIFI door locks are suitable for places with stable network and sufficient power supply, such as some high-end residences or smart buildings. Their WIFI coverage is relatively comprehensive, and users can remotely control them through mobile phone APP or other devices anytime and anywhere.

Bluetooth door lock: short-range single point and long-range gateway access

Next, let's talk about Bluetooth door locks. This type of door lock is also very common in smart homes, especially suitable for scenarios that require low power consumption and convenient connection.

2.1 Bluetooth door lock docking method

There are two common access methods for the working mode of Bluetooth door locks:

  • MCU serial port docking: The Bluetooth door lock is connected to the door lock's MCU through the serial port, and the door lock achieves short-range connection through the Bluetooth module.
  • SDK connection: Through the Bluetooth SDK provided by the manufacturer, the door lock and the user's device can be directly connected, such as a smartphone communicating with a Bluetooth door lock. SDK usually encapsulates Bluetooth connection, unlocking, data encryption and other functions to facilitate developer integration.

2.2 Proximity Single Sign-On

The main advantages of Bluetooth door locks are their low power consumption and stability, especially when single-point login is performed at close range. Users can pair the door lock directly with Bluetooth through their mobile phones and send unlocking instructions through the APP within a few meters. This process does not rely on the network and is not affected by network fluctuations, so it is very suitable for temporary visitors and family members.

2.3 Remote Gateway Login

In order to break through the limitation that Bluetooth door locks can only be used at close range, many manufacturers also provide Bluetooth gateways. The Bluetooth gateway can act as an intermediate bridge to convert the Bluetooth signal of the door lock into Wi-Fi or other network signals. Even if the user is not at home, he can remotely control the door lock through the cloud. The login and data transmission in this process are completed by the gateway, making remote control possible.

2.4 Application Scenarios

Bluetooth door locks are suitable for home users, short-term rental apartments and other scenarios, especially in close-range use scenarios, where Bluetooth door locks perform particularly well. In addition, the remote control capability with Bluetooth gateway allows users to enjoy convenient remote control even if they are not near the door lock.

Zigbee door lock: low power consumption, heartbeat mechanism

The third common access method is Zigbee door lock. Zigbee is a low-power, low-latency wireless communication protocol that is widely used in IoT devices, especially in smart home scenarios.

3.1 Non-keep-alive but heartbeat

Zigbee door locks are in a non-keep-alive state, just like WIFI door locks, but they have an additional advantage: they keep heartbeats. The heartbeat mechanism means that when the device is in sleep mode, it will still periodically send a short signal to the gateway or control center to inform it of its current status (for example, whether it is online, whether there is a fault, etc.).

This heartbeat mechanism can not only effectively save power, but also ensure that the online status of the device is updated in real time, making it easier for the background system or users to understand the device status.

3.2 MCU docking and Zigbee protocol control

Zigbee door locks are usually connected through MCU, which controls the Zigbee module to communicate. The Zigbee protocol provides standardized control and management functions, which can support the automatic control and networking functions of the device, such as:

  • Self-organizing network function: When multiple Zigbee devices (including door locks) are used together, they can form a Zigbee mesh network and communicate with each other.
  • Automatic reconnection: If a device goes offline or loses connectivity for a short period of time, the Zigbee network will automatically restore the connection.
  • Low-power communication: The Zigbee protocol itself is designed as a low-power communication mode, which can keep the device running for a long time without the need for frequent battery replacement.

3.3 Application Scenarios

Zigbee door locks are very suitable for smart home systems, especially in scenarios where multiple devices need to be linked to each other. For example, when a sensor detects an abnormality, it can automatically trigger the lock or unlock function of the door lock. This interconnection gives Zigbee door locks an irreplaceable advantage in complex smart home scenarios.

NB-IoT door lock: based on public network, SAAS service

Finally, let's take a look at NB-IoT door locks. NB-IoT (Narrowband Internet of Things) is an IoT technology based on cellular networks, with the characteristics of wide coverage, low power consumption and large connections. The biggest feature of NB-IoT door locks is that they can be connected to the public network for remote control and management.

4.1 Public network connection, flexible deployment

NB-IoT door locks do not need to rely on short-distance connection methods such as local area networks or Bluetooth, but directly use cellular networks to connect to cloud servers. Through public network connection, door locks can not only be deployed anywhere with signals, but also achieve real-time remote control and monitoring.

4.2 Turning access control into a SAAS service

Thanks to NB-IoT technology, door lock devices can be easily connected to the cloud to realize SAAS services of the devices. For example, property management companies can manage the smart access control system of the entire community or building through a unified platform, and users can remotely unlock the door, view logs, and other operations through mobile phone applications.

4.3 MCU Control and NB-IoT Communication

The hardware design of NB-IoT door locks is usually controlled by MCU and data communication is carried out through NB-IoT modules. Due to the extremely low power consumption of NB-IoT, door lock devices can remain online for a long time and continue to send and receive data without the need for frequent charging or battery replacement.

4.4 Application Scenarios

NB-IoT door locks are particularly suitable for large-scale access control management scenarios, such as residential areas, office buildings, hotels, etc. Through NB-IoT connection, property companies can easily implement cross-regional access control management without the need to deploy gateway devices for each door lock, greatly reducing operating costs.

END

Through the above introduction, we have learned about four common smart door lock access methods: WIFI door lock, Bluetooth door lock, Zigbee door lock and NB-IoT door lock. Each door lock access method has its unique advantages and application scenarios:

  • WIFI door lock: suitable for home users with stable network environment and convenient remote control.
  • Bluetooth door lock: suitable for close-range use, and can be remotely controlled with a gateway.
  • Zigbee door lock: low power consumption, heartbeat mechanism, suitable for interconnection of smart home devices.
  • NB-IoT door lock: public network connection, SAAS service, suitable for large-scale access control management.

Each door lock has its best application scenario, and developers can choose the appropriate access method according to actual needs. In the future, with the continuous development of Internet of Things technology, the access methods of smart door locks will be richer and more intelligent, bringing more convenience and security to our lives.

<<: 

>>: 

Recommend

Starting next year, your home router should be upgraded to Wi-Fi 6!

This article is reproduced from Leiphone.com. If ...

Environment construction: VS2019+MSVC compile Dfu-Util

[[414597]] This article is reprinted from the WeC...

Huawei Cloud releases new slogan, accelerating at the beginning of the new year

[Original article from 51CTO.com] Artificial inte...

Ericsson signs 5G SA agreement with Spanish telecom operator Masmovil

According to foreign media reports, Swedish suppl...

Seven tips to help you successfully perform a domain controller network migration

【51CTO.com Quick Translation】Introduction: Changi...

Why does 6G run so fast?

The latest 6G speed created by Chinese scientists...

Aryaka wins the 2016 Global Most Influential SD-WAN Solution Award

[Original article from 51CTO.com] In the just con...

Thoroughly understand Cookie, Session, Token

[[281563]] Development History 1. A long time ago...