Door lock activation method and system based on intelligent terminal
By integrating wireless communication and NFC technology into smart terminals, efficient, reliable, and flexible batch activation and management of smart door locks are achieved, solving the problems of low efficiency and error susceptibility in existing technologies and improving the quality and efficiency of project management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-26
- Publication Date
- 2026-03-27
AI Technical Summary
When deploying smart door locks on a large scale, existing technical solutions suffer from low efficiency, error-proneness, and difficulty in management. In particular, when activating and networking hundreds of devices in batches, manual operation is complex, the risk of misoperation is high, and there is a lack of effective device identification and status traceability mechanisms.
The smart terminal, which integrates a wireless communication module, an NFC communication module, and an LCD screen, receives and stores configuration data via wireless communication, enabling visual task selection and one-touch NFC writing. This establishes a closed-loop management process between the platform, the terminal, and the door lock, ensuring the accuracy of the configuration data and the uniqueness of the device's identity.
It significantly improves construction efficiency, reduces labor intensity and the risk of misoperation, enables real-time traceability of equipment status and transparent management, adapts to various scenarios with flexibility, and improves the modernization level of project management.
Smart Images

Figure CN121747223A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart door locks, and more specifically, to a door lock activation method and system based on a smart terminal. Background Technology
[0002] In large-scale engineering deployments of smart locks, especially in scenarios such as residential communities, chain hotels, and long-term rental apartments where a single project involves hundreds or even thousands of devices, the batch activation and network configuration after the physical installation of the locks face significant systemic challenges. Currently, the commonly used on-site configuration solutions in the industry exhibit efficiency bottlenecks and operational complexity that amplify exponentially with the increase in the number of devices.
[0003] Configuration schemes based on IC cards or dedicated key cards are currently the mainstream technical approach in large-scale construction. For example... Figure 1 As shown, the implementation logic of this solution is as follows: For each door lock, construction personnel must first configure its gateway parameters, network key, and other data individually on the management terminal, and then write this data onto a physical card using a dedicated card-writing device. They then carry the card to each lock's installation location, swiping the card to complete data transmission and device activation. In the batch deployment of hundreds of door locks, this means repeating the card-writing-movement-card-swiping cycle hundreds of times. Construction personnel must frequently travel between different buildings and floors, consuming a significant amount of time in physical movement and process switching, thus artificially lengthening the overall construction cycle.
[0004] In high-volume operation scenarios, this solution exposed a series of interconnected problems. First, the highly repetitive nature of manual operations not only brings significant labor load but also increases the risk of misoperation due to operator fatigue—in complex environments with multiple devices and configurations, misconfigurations of cards and locks are highly likely to occur, such as mistakenly swiping the configuration of unit A onto the lock of unit B. Second, the physical cards, as data carriers, make their management itself a heavy task: cards need to be numbered by household, carried in designated areas, and checked one by one. In projects involving thousands of devices, the management and distribution of cards may even require dedicated personnel. Third, the activation status relies entirely on manual recording and post-event entry, which frequently leads to omissions and errors in recording during large-scale construction, resulting in a serious disconnect between the device status in the project management system and the actual status, creating potential problems for subsequent maintenance.
[0005] Another approach, using dedicated handheld devices, reduces the use of physical media, but faces new challenges in large-scale scenarios: device pairing requires manual operation for each device, and errors are easily made during hundreds of repeated pairings; wireless transmission stability fluctuates significantly in complex building environments, often requiring multiple retries; and it also fails to effectively address core management needs such as automatic device identification and prevention of duplicate activation. Under the modern engineering management requirements of large-scale, high-efficiency, and low-error operations, existing technical solutions exhibit significant adaptation gaps: there is a contradiction between fragmented processes and the systematic requirements of large-scale deployment; there is a gap between manual-intensive operations and the trend towards digital engineering management; and there is a disconnect between offline distributed configuration and the need for real-time unified control. How to build a technical solution that can adapt to the batch activation of hundreds of devices, achieve accurate configuration delivery, ensure unique device identification, and provide real-time status traceability has become a key technical issue driving the large-scale development of the smart lock industry.
[0006] In order to solve the above problems, people have been seeking an ideal technological solution. Summary of the Invention
[0007] Therefore, it is necessary to provide a door lock activation method and system based on a smart terminal to address the aforementioned technical problems.
[0008] To achieve the above objectives, a first aspect of the present invention provides a door lock activation method based on a smart terminal, wherein the smart terminal integrates a wireless communication module, an NFC communication module, and a liquid crystal display screen, and the method includes: The system receives the full set of door lock activation configuration data sent by the service platform through the wireless communication module, and stores the full set of door lock activation configuration data in the local database. Activation task information is extracted from the local database and the activation tasks corresponding to different house numbers are displayed in a visual manner on the LCD screen. In response to the user's selection of a target address number on the LCD screen, the system matches the corresponding door lock configuration parameters from the local database based on the target address number and generates an activation data stream. The activation data stream is written to the door lock via the NFC communication module, and the device serial number and device parameters returned by the door lock are received. The device serial number, device parameters, and activation status information are transmitted back to the service platform via a wireless communication module to complete the registration and binding of the door lock on the service platform, forming a closed-loop process.
[0009] This solution enables a two-step process—visual task selection and one-touch NFC writing—through a smart terminal, compressing the previously complex process involving multiple devices, locations, and steps into an intuitive and streamlined operation. This change in operation mode reduces the activation time of a single door lock from several minutes in traditional solutions to tens of seconds, improving overall construction efficiency several times over in large-scale construction scenarios. Operators no longer need to carry and operate multiple specialized tools (such as card writers and multiple IC cards), nor do they need to repeatedly travel between the management terminal and the installation site, significantly reducing labor intensity and unnecessary travel time.
[0010] In traditional solutions, configuration data is transmitted via physical cards, which carries multiple risks of human error, such as writing the wrong card, using the wrong card, or swiping the wrong lock, and lacks an effective on-site verification mechanism. This solution, however, uses a smart terminal to receive and locally store all accurate configuration data issued by the service platform, ensuring the integrity and correctness of the configuration data from the source. During the activation execution phase, the terminal operates based on clearly presented task information via a visual interface, avoiding human memory and recognition errors. Data is directly written to the target lock via NFC, avoiding data errors or loss that may occur through intermediate media. More importantly, the solution requires the terminal to collect parameters such as the lock's device serial number in real time and transmit them back to the platform. This mechanism constitutes a closed-loop verification of the data flow, ensuring that the configured lock matches the installed lock, fundamentally eliminating the long-standing pain point of misconfiguration that has plagued the industry.
[0011] Traditional activation methods are open-loop systems, with activation actions disconnected from platform management. Construction status relies on manual recording and post-event entry, leading to information delays, inaccuracies, and even data loss. This solution constructs a complete closed-loop data system: platform distribution – terminal execution – result feedback – platform binding. The service platform can monitor the activation status, operator, activation time, and equipment information of each lock in real time, achieving transparent and digital management of the construction process. This closed-loop management makes project quality and progress controllable, traceable, and auditable, providing an accurate and reliable data foundation for project acceptance, post-operation and maintenance, and equipment asset management, significantly improving the modernization level of project management.
[0012] Traditional solutions heavily rely on fixed, specialized tooling (such as card writers) and specific workflows, resulting in poor flexibility and difficulty adapting to diverse scenarios such as production line pre-activation, on-site decentralized activation, and after-sales lock replacement. This solution utilizes a mobile smart terminal integrating wireless networking and NFC functionality, making it a universal and portable device. It eliminates the need for fixed tooling, enabling both online operation and offline operation based on pre-stored data, flexibly adapting to various complex scenarios from factory production lines and centralized warehouses to different building environments. This flexibility allows the same solution and the same equipment to meet activation needs at different stages of the project lifecycle, reducing equipment investment and management costs.
[0013] This technical solution deeply integrates mobile computing, wireless communication, near-field communication, and IoT device management, proposing a new systematic approach. It replaces the previously fragmented, single-function device combinations with a highly integrated smart terminal, reconstructing the operational mode and management paradigm of door lock activation. This technological integration and process reengineering not only solves the specific efficiency and quality problems currently faced by the industry, but also provides new technical ideas and implementation paths for the large-scale and standardized deployment of smart door locks and even IoT devices.
[0014] A second aspect of the present invention provides a door lock activation system based on a smart terminal, comprising: A smart terminal, integrating a wireless communication module, an NFC communication module, and an LCD screen, is used to execute the method described in the first aspect; The service platform is used to generate full data for door lock activation configuration, receive terminal synchronization requests, process device activation results, and perform uniqueness verification. The door lock device has N communication capabilities and a contactless data interface, used to receive activation data streams and return device information. The beneficial effects of this invention are as follows: This invention provides a door lock activation method and system based on a smart terminal. By integrating wireless communication, NFC, and a display screen into a dedicated terminal, the traditional, cumbersome card writing and swiping process is restructured into a simplified operation of visual selection and one-touch NFC writing. This solves the core pain points of low efficiency, error-proneness, and management difficulties in large-scale projects. The method achieves closed-loop management throughout the entire process, including precise configuration distribution, online device identity verification, and real-time activation status feedback. This significantly improves construction efficiency, reliability, and traceability, while eliminating reliance on fixed fixtures and flexibly adapting to various scenarios such as production lines, on-site operations, and maintenance. It provides an innovative solution for the large-scale deployment of IoT devices. Attached Figure Description
[0015] Figure 1 This is a diagram illustrating the activation of an existing door lock; Figure 2 This is a schematic diagram of the entire unlocking process incorporating the door lock activation method described in this invention.
[0016] Figure 3 This is a schematic diagram of the specific process of the door lock activation method described in this invention; Detailed Implementation
[0017] It should be noted that the full configuration data mentioned in this invention refers to a complete data set containing all door lock configuration parameters in the project; the configuration parameters refer to a complete set of technical parameters required for the operation of a single door lock.
[0018] The technical solution of the present invention will be further described in detail below through specific embodiments.
[0019] Example 1 This embodiment provides a door lock activation method based on a smart terminal. The smart terminal integrates a wireless communication module, an NFC communication module, and an LCD screen, such as... Figure 2-3 As shown, it includes the following steps: Step S1: Receive the full set of door lock activation configuration data sent by the service platform through the wireless communication module, and store the full set of door lock activation configuration data in the local database; specifically, the full set of door lock activation configuration data includes at least one of the following: device identity and service configuration data, network and communication configuration data, function and hardware parameter data, linkage and operation and maintenance configuration data; In one embodiment, the full data of the door lock activation configuration is generated by the service platform, specifically including: The service platform obtains building structure diagrams or door number lists from the project management system, door lock production parameters from the equipment management system, gateway topology and communication parameters from the network planning system, and calls business rule templates from the policy library. Based on the building structure diagram and door number distribution, a spatial gridding algorithm is used to assign a home gateway to each door lock and calculate the optimal communication parameters. Match the corresponding permission configuration template based on the doorplate attributes and business rules; The device identity and service configuration data, network and communication configuration data, function and hardware parameter data, linkage and operation and maintenance configuration data obtained through the above steps are encapsulated into structured data packets according to the door lock configuration protocol and then sent out.
[0020] Activation task information is extracted from the local database and displayed on the LCD screen in a visual manner for activation tasks corresponding to different house numbers.
[0021] It's important to note that the activation task uses incremental synchronization. Therefore, it also includes a task synchronization step: The system periodically sends synchronization requests to the service platform. The synchronization requests include terminal identity information, the last synchronization timestamp, and the local data version number. Receive task information that has changed since the last synchronization, returned by the service platform; Update the local task list and display it again based on the changes.
[0022] Step S2: In response to the user's selection of the target door number on the LCD screen, the corresponding door lock configuration parameters are matched from the local database based on the target door number to generate an activation data stream.
[0023] In one embodiment, the specific steps of generating the activation data stream include: Query the local task database based on the selected target address to obtain the corresponding task record and configuration reference identifier; Based on the configuration reference identifier, retrieve the local configuration database to obtain complete door lock configuration parameters; The door lock configuration parameters are combined with the current time, operator ID, and terminal device number to generate an activation data packet; The activation data packet is encrypted and its integrity is verified to form an activation data stream that can be written to by NFC.
[0024] Step S3: Write the activation data stream to the door lock via the NFC communication module, and receive the device serial number and device parameters returned by the door lock.
[0025] Step S4: The device serial number, device parameters, and activation status information are transmitted back to the service platform via the wireless communication module to complete the registration and binding of the door lock on the service platform, forming a closed-loop process.
[0026] Specifically, the steps for sending data back to the service platform include: The service platform receives the activation result data packet uploaded by the terminal. The data packet includes the door number, device serial number, activation time, operator ID, terminal device number, activation status, and door lock return parameters. The data packet is subjected to format verification and signature verification; Query the uniqueness of the device serial number in the global device registration database; If this is the first activation, a device record will be created and a binding relationship between the address, serial number, and gateway will be established. If a historical record exists, the conflict resolution process will be initiated to compare changes in activation time, address number, and project information. Parallel execution of business logic consistency verification, including house number ownership verification, configuration version validity verification, and device parameter compliance verification; Update the task status based on the verification results and send confirmation or alarm notifications to the terminal and related management systems.
[0027] Specifically, the conflict resolution process includes: If the situation is determined to be equipment relocation, the equipment location association information will be automatically updated; If the error is determined to be a duplicate activation, a security alert will be logged, the binding operation will be blocked, and a manual confirmation request will be sent to the administrator. In some embodiments, a house number verification step is included before generating the activation data stream: Verify that the selected address number exists in the list of valid tasks for the current project; Confirm that the corresponding task is in an activation pending state; The rationality of the door number location information is verified based on the spatial logic rules of the project; If any verification fails, the activation process will terminate and an error message will be displayed.
[0028] It is understandable that this embodiment intercepts errors at the source of operation by verifying the door number → data stream → device number step by step.
[0029] In some embodiments, before writing the activation data stream to the door lock via the NFC communication module, a device serial number verification step is also included: Send a device information reading command to the door lock via the NFC channel; Receive the unique production number and equipment parameters returned by the door lock; Verify that the format of the production number conforms to the specifications; Verify whether the production number is in the project equipment list; Compare whether the production number is logically related to the device identifier implicit in the activation data stream.
[0030] This technical solution has achieved a fundamental technological breakthrough and systemic innovation in the field of door lock activation. Its creativity lies in the profound reconstruction of the core issues of the industry and the multi-dimensional technological integration.
[0031] Traditional solutions simplify door lock activation to a simple data transfer problem, focusing on how to move configuration data from point A to point B using physical cards or specialized tools – a linear and passive technological approach. This solution, however, redefines the essence of the problem from a first-principles perspective: it's not merely a data transfer task, but a systemic closed-loop control problem involving device uniqueness verification, precise configuration binding, traceable operation processes, and manageable large-scale construction. This leap in understanding is the root of all the technological innovations in this solution.
[0032] Specifically, the innovation lies first in the unprecedented architecture of intelligent decoupling and dynamic association between configuration and tasks. Existing technologies, whether IC card solutions or pre-configuration on production lines, rigidly bind the specific configuration parameters of the equipment with the construction operation instructions, resulting in a loss of flexibility and rigid management. This solution creatively separates the management of stable configuration information from dynamic activation tasks, intelligently associating them only on the terminal side through lightweight configuration reference identifiers. This allows the configurations of hundreds of door locks to be pre-loaded to the terminal at once, forming an offline knowledge base; while daily synchronization only requires minimal task status increments. This cleverly balances the long-standing contradiction between offline operation availability and online status real-time performance, providing feasibility for large-scale construction sites without network coverage, while ensuring that the management backend's view is always synchronized with the site.
[0033] Secondly, the solution constructs a closed loop of proactive defense and dual verification to prevent errors throughout the entire process. Traditional processes rely on final visual checks by construction personnel, resulting in delayed and unreliable error detection. This solution deploys a triple real-time verification system on the terminal side: door number—data stream—device number. Before writing, the terminal proactively reads the unique production number of the door lock and logically matches it with the configuration to be written, preventing misuse from the outset. Subsequently, after the activation result is uploaded to the platform, the system performs a globally unique secondary verification, completely resolving the historical problem of multiple locks with the same code. This mechanism transforms quality control from post-event remediation to pre-event prevention and in-event interception, achieving an order-of-magnitude improvement in reliability.
[0034] Furthermore, this design proposes a human-computer interaction mode, realizing visualized digital construction. This solution compresses the complex activation process into two intuitive actions: selecting a door number and placing the phone near the door lock. This not only simplifies operation but also transforms the construction process from experience-driven to data- and process-driven, achieving digitalization and standardization of project management.
[0035] Finally, the innovation of this solution lies in the fact that it is not merely an improvement to a single function, but rather the construction of a new system architecture that integrates the cloud, smart terminals, and door lock devices in a three-tiered collaborative manner. The cloud acts as the intelligent brain, responsible for strategy generation and overall control; the smart terminals are responsible for precise on-site execution and environmental adaptation; and the door locks, as end effectors, complete the actions and provide status feedback. This architecture achieves deep integration of management and data flows, making large-scale batch activation a highly organized, predictable, and optimizable technical process, rather than a manual labor fraught with uncertainty.
[0036] Example 2 This embodiment provides a door lock activation system based on a smart terminal, including: A smart terminal, integrating a wireless communication module, an NFC communication module, and an LCD screen, is used to execute the method described in Example 1; The service platform is used to generate full data for door lock activation configuration, receive terminal synchronization requests, process device activation results, and perform uniqueness verification. The door lock device has communication capabilities and a contactless data interface, used to receive activation data streams and return device information.
[0037] If the verification fails, the writing process is interrupted and a device mismatch message is displayed. Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications can still be made to the specific implementation methods of the present invention or equivalent substitutions can be made to some technical features without departing from the spirit of the technical solutions of the present invention, and all such modifications and substitutions should be covered within the scope of the technical solutions claimed in the present invention.
Claims
1. A door lock activation method based on a smart terminal, wherein the smart terminal integrates a wireless communication module, an NFC communication module, and an LCD display, characterized in that, The method includes: The system receives the full set of door lock activation configuration data sent by the service platform through the wireless communication module, and stores the full set of door lock activation configuration data in the local database. Activation task information is extracted from the local database and the activation tasks corresponding to different house numbers are displayed in a visual manner on the LCD screen. In response to the user's selection of a target address number on the LCD screen, the system matches the corresponding door lock configuration parameters from the local database based on the target address number and generates an activation data stream. The activation data stream is written to the door lock via the NFC communication module, and the device serial number and device parameters returned by the door lock are received. The device serial number, device parameters, and activation status information are transmitted back to the service platform via a wireless communication module to complete the registration and binding of the door lock on the service platform, forming a closed-loop process.
2. The door lock activation method based on a smart terminal according to claim 1, characterized in that, The complete door lock activation configuration data includes at least one of the following: Device identity and service configuration data, network and communication configuration data, function and hardware parameter data, linkage and operation and maintenance configuration data.
3. The door lock activation method based on a smart terminal according to claim 2, characterized in that, The complete door lock activation configuration data is generated by the service platform, specifically including: The service platform obtains building structure diagrams or door number lists from the project management system, door lock production parameters from the equipment management system, gateway topology and communication parameters from the network planning system, and calls business rule templates from the policy library. Based on the building structure diagram and door number distribution, a spatial gridding algorithm is used to assign a home gateway to each door lock and calculate the optimal communication parameters. Match the corresponding permission configuration template based on the doorplate attributes and business rules; The device identity and service configuration data, network and communication configuration data, function and hardware parameter data, linkage and operation and maintenance configuration data obtained through the above steps are encapsulated into structured data packets according to the door lock configuration protocol and then sent out.
4. The door lock activation method based on a smart terminal according to claim 1, 2, or 3, characterized in that, It also includes the task synchronization step: The system periodically sends synchronization requests to the service platform. The synchronization requests include terminal identity information, the last synchronization timestamp, and the local data version number. Receive task information that has changed since the last synchronization, returned by the service platform; Update the local task list and display it again based on the changes.
5. The door lock activation method based on a smart terminal according to claim 1, characterized in that, The specific steps for generating the activation data stream include: Query the local task database based on the selected target address to obtain the corresponding task record and configuration reference identifier; Based on the configuration reference identifier, retrieve the local configuration database to obtain complete door lock configuration parameters; The door lock configuration parameters are combined with the current time, operator ID, and terminal device number to generate an activation data packet; The activation data packet is encrypted and its integrity is verified to form an activation data stream that can be written to by NFC.
6. The door lock activation method based on a smart terminal according to claim 5, characterized in that, Before generating the activation data stream, a house number verification step is also included: Verify that the selected address number exists in the list of valid tasks for the current project; Confirm that the corresponding task is in an activation pending state; The rationality of the door number location information is verified based on the spatial logic rules of the project; If any verification fails, the activation process will terminate and an error message will be displayed.
7. The door lock activation method based on a smart terminal according to claim 1, characterized in that, Before writing the activation data stream to the door lock via the NFC communication module, a device serial number verification step is also included: Send a device information reading command to the door lock via the NFC channel; Receive the unique production number and equipment parameters returned by the door lock; Verify that the format of the production number conforms to the specifications; Verify whether the production number is in the project equipment list; Compare whether the production number is logically related to the device identifier implicit in the activation data stream; If the verification fails, the writing process will be interrupted and a device mismatch message will be displayed.
8. The door lock activation method based on a smart terminal according to claim 1, characterized in that, The steps for transmitting data back to the service platform include: The service platform receives the activation result data packet uploaded by the terminal. The data packet includes the door number, device serial number, activation time, operator ID, terminal device number, activation status, and door lock return parameters. The data packet is subjected to format verification and signature verification; Query the uniqueness of the device serial number in the global device registration database; If this is the first activation, a device record will be created and a binding relationship between the address, serial number, and gateway will be established. If a historical record exists, the conflict resolution process will be initiated to compare changes in activation time, address number, and project information. Parallel execution of business logic consistency verification, including house number ownership verification, configuration version validity verification, and device parameter compliance verification; Update the task status based on the verification results and send confirmation or alarm notifications to the terminal and related management systems.
9. The door lock activation method based on a smart terminal according to claim 8, characterized in that, The conflict resolution process includes: If the situation is determined to be equipment relocation, the equipment location association information will be automatically updated; If the error is determined to be a duplicate activation, a security alert will be recorded, the binding operation will be blocked, and a manual confirmation request will be sent to the administrator.
10. A door lock activation system based on a smart terminal, characterized in that, include: A smart terminal, integrating a wireless communication module, an NFC communication module, and an LCD screen, is used to execute the method according to any one of claims 1-9; The service platform is used to generate full data for door lock activation configuration, receive terminal synchronization requests, process device activation results, and perform uniqueness verification. The door lock device has communication capabilities and a contactless data interface, used to receive activation data streams and return device information.