Smart Door Lock Offline Verification Code Generation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Smart door locks often fail to generate passwords remotely due to power outages, network failures, or the absence of a gateway, leading to unavailability and increased energy consumption from wireless communication modules.
Innovation Solution
A method for offline verification code generation in smart door locks, where a mobile terminal records a trigger time for an unlocking event and sends a request to a cloud server with a private key seed, allowing the server to generate and return a verification code for unlocking the door, eliminating the need for a communication module in the lock and reducing energy consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a communication module is installed in the smart door lock for remote password generation, then the door lock can receive unlocking commands remotely, but the energy consumption increases and the system becomes vulnerable to network failures and power outages
Solution Approach 1:
The communication module is extracted from the smart door lock and relocated to the remote terminal (mobile phone or computer). The door lock retains only the verification code generation and validation functions, eliminating the need for wireless communication hardware within the lock itself. This extraction resolves the contradiction by removing the energy-consuming communication component while preserving the core functionality of remote password generation through the separated remote terminal.
2Adaptability or versatility
If the smart door lock communicates with the gateway through wireless technology, then remote password issuance is enabled, but the system fails during power outages or network failures at the gateway
Solution Approach 1:
The system is segmented into independent functional modules: the remote terminal handles all communication and password generation logic, while the door lock handles only verification code validation. This segmentation allows the door lock to operate independently without relying on gateway communication, resolving the reliability issue during gateway outages while maintaining remote password issuance capability through the remote terminal.
Solution Approach 2:
The door lock is designed to generate verification codes locally using a stored secret key and timestamp, without requiring external communication or gateway services. This self-service capability ensures the lock can validate passwords even when the gateway is unavailable, power is out, or network connections fail, while the remote terminal provides the adaptive remote password issuance functionality.
3Ease of operation
If the smart door lock generates passwords using a temporary or permanent password issued remotely through a gateway, then user authentication is enabled, but the system cannot operate without a gateway or during network failures
Solution Approach 1:
Instead of the door lock initiating communication to request passwords from the gateway, the system inverts the approach: the remote terminal generates the verification code and sends it to the user, who then inputs it into the door lock. This inversion eliminates the need for the lock to communicate with the gateway, enabling operation without network connectivity or gateway services while maintaining user authentication functionality.
Data Source
AI summary
The present disclosure provides a method and a system for offline verification code generation based on a smart door lock system. The method may include in response to an unlocking event, recording, by a mobile terminal, a trigger time of the unlocking event; in response to the unlocking event, sending, by the mobile terminal, a request for unlocking verification information to a cloud server, wherein the request for the unlocking verification information is used to request the cloud server to return a verification code of a smart door lock, and the unlocking verification information includes a private key seed of the smart door lock and the trigger time; and receiving, by the mobile terminal, the verification code of the smart door lock for opening the smart door lock generated by the cloud server based on the private key seed and the trigger time.


