A method and system for pre-configuration and automatic activation and binding of smart home users.
By creating suspended member accounts and performing multi-factor authentication during the construction phase, a smart home pre-configuration method is developed, which solves the problems of redundant device configuration and secure handover in pre-furnished apartments. This method enables convenient activation during one-time installation and delivery in the construction phase, ensuring security and traceability, adapting to various network environments, and improving user experience and delivery efficiency.
Patent Information
- Application Number
- CN202511807619.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-03
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2045-12-03
AI Technical Summary
In the context of fully furnished apartments, existing technologies cannot create real owner accounts during the construction phase, resulting in repeated configurations upon delivery. This poses risks of misbinding/unauthorized access, delays in revoking temporary permissions by the construction party, lack of strong guarantees of consistency between device and cloud keys/tokens, insufficient audit evidence chains, and difficulty in proving ownership transfer.
During the construction phase, suspended member accounts are created, the construction end completes equipment configuration and generates snapshots, and upon delivery, multi-factor authentication is used to activate proofs, execute account-level atomic fusion transactions, perform whole-house key rotation and revoke temporary credentials, forming an immutable audit chain.
It enables one-time equipment installation and configuration during the construction phase, and one-click activation upon delivery, avoiding repeated operations, ensuring secure isolation and permission transfer, improving user experience and delivery efficiency, adapting to various network environments, and providing standardized processes and traceable audit records.
Smart Images

Figure CN121485940B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of general control or regulation systems, specifically to a method and system for pre-configuration and automatic activation and binding of smart home members. Background Technology
[0002] In the context of fully furnished apartments, developers typically complete the installation and debugging of smart home devices during the construction phase. However, at this time, resident accounts have not yet been established or the final owner cannot be identified, leading to issues such as repeated configuration upon delivery, incomplete transfer of permissions, and residual temporary credentials from the construction team. Some existing solutions involve binding the smart center to a non-member household and then unbinding and binding it to a registered household after acceptance. This approach essentially involves migrating the device container layer and fails to address security issues related to identity integration, residual permissions, and key consistency at the account object layer. Current technical challenges include at least: the inability to create genuine owner accounts during the construction phase; the risk of misbinding / unauthorized access during the delivery activation process; the untimely revocation of temporary permissions by the construction team; the lack of strong guarantees regarding key / token consistency between devices and the cloud; and insufficient audit evidence chains, making it difficult to prove who completed the ownership transfer and when. Summary of the Invention
[0003] The purpose of this invention is to provide a method and system for pre-configuration and automatic activation and binding of smart home members, which aims to overcome the above-mentioned problems existing in the prior art.
[0004] To achieve the objective, the present invention provides the following technical solution: A method for pre-configuring and automatically activating smart home devices for homeowners includes the following steps: Step 1: During the construction phase, the construction terminal creates a suspended member account for each household, containing house identification information. This suspended member account is in a suspended state and does not provide resident-level services to the public. The construction terminal completes the addition and configuration of smart home devices in the house, associates the smart home device list and pre-configuration information with the suspended member account of the house, and generates an archived snapshot. Step 2: During delivery and activation, the user submits on-site elements and cloud elements to the cloud platform at the delivery site. The cloud platform generates an activation certificate based on the on-site elements and cloud elements. Step 3: After verifying the validity of the activation certificate, the cloud platform initiates an account-level atomic fusion transaction to merge the suspended member account and the owner account at the object level. Step 4: In the atomic fusion transaction, perform batch rotation of the whole house key, push the new key version to the smart home devices, and collect device receipts at the same time; Step 5: When the number of collected device receipts reaches the preset threshold, submit the atomic fusion transaction, revoke the temporary construction period certificate at the same time, and write a one-way circuit breaker bit to the smart home device; Step Six: Audit and archive the archived snapshots, activation certificates, and device receipts of the suspended member accounts, and implement idempotent processing.
[0005] Furthermore, the smart home device includes a gateway and sub-devices; in step one, the gateway is used to receive configuration instructions issued by the construction end during the construction phase, add one or more sub-devices to the smart home system based on the configuration instructions, and group and pre-configure the sub-devices for scenarios to generate an initial system snapshot containing a device list and pre-configuration information; When connected to the network, the gateway synchronizes the initial system snapshot to the cloud platform; when offline, the gateway temporarily stores the initial system snapshot locally and reports it to the cloud platform when a usable network connection is subsequently detected. After receiving the initial system snapshot, the cloud platform associates it with the suspended member account of the corresponding house, and performs digital signature processing on the initial system snapshot to generate an archive snapshot for storage.
[0006] Furthermore, the pre-configured information includes device ID, device group, and scene configuration information.
[0007] Furthermore, the housing identification information includes the room number, building, and apartment type.
[0008] Furthermore, the cloud-based elements include at least the registered mobile phone number, invitation code, or house QR code, and the on-site elements include at least the device serial number, physical key sequence, Bluetooth near-field handshake random number, or received signal strength indication threshold.
[0009] Furthermore, the activation certificate includes house identification information, cloud elements, on-site elements, a one-time random number, a survival timestamp, a generation timestamp, and a signature field.
[0010] Furthermore, the atomic fusion transaction includes a transaction identifier, a suspended member account object, an owner account identifier, a batch size, a receipt threshold, and a status field.
[0011] Furthermore, the unidirectional fuse is used to prevent the construction end from being re-bound or downgraded, while retaining the controlled reset channel.
[0012] Furthermore, the audit sealing includes calculating the hash value of the activation certificate and device receipt set, and adding a timestamp and digital signature.
[0013] Furthermore, the method also includes performing a rollback operation when the atomic fusion transaction fails, rolling back the suspended member account to the suspended state.
[0014] A smart home system for implementing the automatic activation and binding method described above, the smart home system comprising: The cloud platform is used for activation of proof verification, integrated transaction orchestration, key services and auditing, i.e., to execute steps three through six; Smart home devices, including gateways and sub-devices; The user terminal is used for activation and presence verification, i.e., to execute step two; The construction side is used to create suspended member accounts and complete the addition and configuration of smart home devices in the house, i.e., to execute step one.
[0015] Compared with the prior art, the present invention has the following advantages: Firstly, this invention allows for the installation, debugging, and scene setup of smart devices to be completed in one go during the construction phase, eliminating the need for repeated configuration after handover. Compared to the traditional method that requires homeowners or after-sales personnel to re-bind the devices, this saves significant manpower and time, making it possible to deliver smart, fully-furnished apartments in batches. Pre-configured data is temporarily stored through a gateway and synchronized with the cloud, ensuring configuration consistency and accuracy.
[0016] Secondly, through this invention, homeowners only need to submit multi-factor presence proof through the user terminal after taking possession of the property to activate all the devices in the house with one click, without the need for complicated operations or on-site assistance from professionals. The complex technical steps are processed automatically in the background, achieving a convenient out-of-the-box experience and improving users' satisfaction and acceptance of fully furnished smart homes.
[0017] Thirdly, this invention achieves secure isolation and smooth transition of equipment control between the construction party and the owner through a member account suspension mechanism and multi-factor authentication. Atomic fusion transactions ensure the atomicity of permission transfer; temporary credentials during the construction period are revoked and written to a one-way circuit breaker, eliminating the risk of permission residue and unauthorized access. Whole-house key atomic rotation further ensures communication security and prevents key leakage or reuse.
[0018] Fourth, this invention fully considers network limitations at construction sites, allowing for device pre-configuration in environments without external network access. Configuration data is temporarily stored on the local gateway and synchronized to the cloud once the network is restored. This offline pre-configuration and synchronization strategy adapts the solution to various construction environments, improving deployment flexibility.
[0019] Fifth, this invention hashes and timestamps the snapshots, activation certificates, and device receipts of suspended member accounts, forming an immutable audit chain that facilitates tracing the activation process. Idempotent processing ensures that duplicate activation requests do not lead to duplicate device binding or state conflicts, improving the system's robustness and maintainability.
[0020] Sixth, for real estate developers and integrators, this invention provides a standardized process that supports the unified delivery of smart home solutions for a large number of properties. Through invitation codes, property QR codes, and other methods, batch activation and status monitoring are achieved, improving overall delivery efficiency and user coverage. Attached Figure Description
[0021] Figure 1 This is a flowchart of a method for pre-configuring and automatically activating and binding smart home devices with home members, as described in this invention.
[0022] Figure 2 This is a timing diagram of the automatic activation binding method in this invention.
[0023] Figure 3 This is a structural block diagram of a smart home system according to the present invention. Detailed Implementation
[0024] Specific embodiments of the present invention will now be described with reference to the accompanying drawings. Many details are described below to provide a comprehensive understanding of the invention; however, those skilled in the art will be able to implement the invention without these details.
[0025] like Figure 1 , Figure 2 and Figure 3 As shown, a method for pre-configuring and automatically activating smart home devices for homeowners includes the following steps: Step 1: During the construction phase, the construction team creates a suspended member account for each household, containing house identification information. This suspended member account is in a suspended state and does not provide resident-level services to the public. The construction team completes the addition and configuration of smart home devices in the house and associates the smart home device list and pre-configuration information with the house's suspended member account.
[0026] The property identification information includes the apartment number, building, and unit type. Smart home devices include gateways and sub-devices. Gateways include, but are not limited to, smart gateway hosts or control panels, while sub-devices include, but are not limited to, sensors, controllers, or smart appliances that are connected to the gateway.
[0027] Specifically, in step one, the gateway is used to receive configuration instructions issued by the construction end during the construction phase, add one or more sub-devices to the smart home system based on the configuration instructions, and group and pre-configure the sub-devices for scenarios, generating an initial system snapshot containing a device list and pre-configuration information; wherein, the pre-configuration information includes, but is not limited to, device ID, device grouping and scenario configuration information.
[0028] When connected to the network, the gateway synchronizes the initial system snapshot to the cloud platform; when offline, the gateway temporarily stores the initial system snapshot locally and reports it to the cloud platform when a usable network connection is subsequently detected. After receiving the initial system snapshot, the cloud platform associates it with the suspended member account of the corresponding house, and digitally signs the initial system snapshot to generate an archive snapshot for storage.
[0029] Step 2: During delivery and activation, the user submits on-site elements and cloud elements to the cloud platform at the delivery site. The cloud platform generates an activation certificate based on the on-site elements and cloud elements.
[0030] Specifically, cloud-based elements include at least the registered mobile phone number, invitation code, or house QR code. On-site elements include at least the device serial number (SN), physical key sequence, Bluetooth near-field handshake random number, or received signal strength indicator threshold. Activation proof includes house identification information, cloud-based elements, on-site elements, a one-time random number, a liveness timestamp, a generation timestamp, and a signature field.
[0031] The process for generating and verifying Activation Proof (AP) is as follows: The user submits cloud-based elements (such as the last 4 digits of the registered mobile phone number or an invitation code) and on-site elements (such as device serial number scanning, physical key sequence input, or Bluetooth near-field handshake random number). The cloud platform verifies the validity of the elements. If the on-site elements require Bluetooth near-field, then the on-site threshold of RSSI > -60 dBm must be met. Generate an activation certificate (AP) with a time limit (e.g., TTL≤120 seconds) and a one-time random number, and affix a cloud signature; In case of verification failure, offline status of some devices, or other abnormal situations, a limited number of retries (e.g., 3 times) are allowed. After the number of retries is exceeded, a freeze mechanism is triggered, which automatically rolls back to the initial state or provides a manual intervention method to avoid configuration disorder or security risks.
[0032] Step 3: After verifying the validity of the activation certificate, the cloud platform initiates an account-level atomic fusion transaction to merge the suspended member account and the owner account at the object level.
[0033] Specifically, an account-level atomic fusion transaction is a structured data object that includes, but is not limited to, the following core fields to ensure the integrity, monitorability, and rollbackability of the transaction: (1) Transaction ID: A globally unique hash value used to uniquely identify this atomic fusion transaction throughout the entire system. All logs, receipts and audit records related to this transaction are associated with this ID, thereby enabling end-to-end tracing and idempotent processing (i.e., based on this ID, duplicate requests will be treated as the same transaction and will not be executed repeatedly).
[0034] (2) Suspended member account object: A reference or pointer to a data object created during the construction phase of a suspended member account. During transaction execution, the system will manipulate this object, merging its attributes, associated device list, and pre-configuration information with the owner account.
[0035] (3) Owner account identifier: Information used to uniquely identify the owner account that initiates the activation operation, usually the owner account's username, ID, or unique credential (such as mobile phone number). This field clarifies the target account for permission fusion.
[0036] (4) Batch size: An integer value that defines the number of packets to be pushed to smart home devices each time during the whole-house key atomic rotation process. For example, a batch size of 20 means that the system will process key updates for 20 devices in parallel each batch. This helps balance cloud load and processing efficiency, avoiding excessive instantaneous pressure on the network and devices.
[0037] (5) Receipt Threshold: An integer value or percentage that defines the minimum number of device receipts required for this transaction to be committed. This ensures that even if a small number of devices are temporarily offline, the core transaction can still be successfully committed as long as the threshold is met, avoiding the blockage of the entire delivery process due to the failure of a very small number of devices. Devices that fail to respond during the transaction will be marked and added to the delay replacement queue. The receipt threshold is set to a value less than the total number of devices. For example, it can be set to require receipts from 95% of online devices, so that even if some devices are offline, the atomic fusion transaction can still be committed as long as the proportion of online devices that successfully receive the key reaches this threshold.
[0038] (6) Status field: A state machine flag used to record and track the lifecycle of atomic fusion transactions in real time. Its status may include: in progress, waiting for receipt, partial success, committed, rolled back, failed, etc. The system determines subsequent operations (such as continuing to wait, committing the transaction, or performing a rollback) based on this status field.
[0039] This invention applies the concept of atomic transactions from the database field to solve the specific technical problem of secure handover of permissions between construction contractors and homeowners in the smart home industry. By designing an account-level atomic fusion transaction that encompasses multiple heterogeneous operations such as account object merging, whole-house key rotation, temporary credential revocation, and device circuit breaker bit writing, it ensures an all-or-nothing process during permission switching. This fundamentally eliminates security risks such as permission remnants and inconsistent system states caused by partial success or failure of operations, which is something that traditional device unbinding / binding migration methods cannot achieve.
[0040] Step 4: In the atomic fusion transaction, perform batch rotation of the whole-house key (e.g., batch size of 20), push the new key version to smart home devices, and collect device acknowledgments (DeviceAck) which contain the device ID, the new key version, and a timestamp.
[0041] As a preferred option, if a device is offline, it is added to the delayed replacement queue and automatically resent when it comes back online. The rotation process supports a retry mechanism (e.g., up to 3 times), and the timeout for a single batch is set to 8 seconds.
[0042] Step 5: When the number of collected device receipts reaches the preset threshold, submit the atomic fusion transaction, revoke the temporary credential during the construction period, and write a one-way circuit breaker bit to the smart home device.
[0043] The aforementioned one-way fuse bit is used to prevent the construction end from rebinding or downgrading its privileges. The fuse bit state is irreversible and can only be reset through a controlled reset channel authorized by the regulator. After submitting the atomic fusion transaction, device control is completely transferred to the owner's account, and the construction end can no longer access it. It should be noted that the one-way fuse bit is a specific status flag bit written into the non-volatile memory of the smart home device. Once this status bit is set from its initial state (e.g., 0) to a fuse state (e.g., 1), the security logic within the device firmware will permanently reject binding and control commands from the construction end's credentials. The controlled reset channel is limited to physical-level or privileged-level resets of this status bit only when the device is returned for factory repair or via privileged commands issued through a cloud platform that have undergone multi-signature authentication.
[0044] Step Six: Audit and archive the suspended member account's archived snapshots, activation certificates, and device receipt sets, and perform idempotent processing. Audit and archive includes calculating the hash value of the activation certificates and device receipt sets, and then adding a timestamp and digital signature.
[0045] Specifically, hash values are calculated for snapshots, activation certificates, and receipt sets, and recorded in the audit log; all operations are stamped with cloud timestamps and digital signatures to form a verifiable chain of evidence; idempotent processing is based on transaction IDs and snapshot versions, and duplicate requests are automatically ignored to avoid state conflicts.
[0046] Step five above also includes performing a rollback operation when an atomic fusion transaction fails (e.g., due to insufficient device receipts). The system automatically rolls back suspended member accounts to the suspended state and generates a rollback record. When some devices are offline, a partial activation strategy is adopted, i.e., online devices are bound first, and offline devices enter the replacement queue. After multiple activation failures, the system freezes the activation function, requiring administrator intervention to verify identity and reset it.
[0047] like Figure 1 , Figure 2 and Figure 3A smart home system is disclosed to implement the automatic activation and binding method described above. The smart home system includes a cloud platform with communication connectivity, smart home devices, a user terminal, and a construction terminal. The smart home devices include gateways and sub-devices. The construction terminal is used to create suspended member accounts and complete the addition and configuration of smart home devices within the house, i.e., performing step one. The user terminal is used for activation and presence verification, i.e., performing step two. The cloud platform is used for activation verification, transaction orchestration, key services, and auditing, i.e., performing steps three through six.
[0048] The above are merely specific embodiments of the present invention, but the design concept of the present invention is not limited thereto. Any non-substantial modifications made to the present invention using this concept shall be considered as infringing upon the protection scope of the present invention.
Claims
1. A method for pre-configuring and automatically activating and binding smart home systems with homeowners, characterized in that, Includes the following steps: Step 1: During the construction phase, the construction team creates a suspended member account for each household on the cloud platform, which contains the house identification information. This suspended member account is in a suspended state and does not provide resident-level services to the public. The construction team completes the addition and configuration of smart home devices in the house, associates the device list and pre-configuration information with the suspended member account of the house, and generates an archived snapshot. Step 2: During delivery and activation, the user submits on-site elements and cloud elements to the cloud platform through the owner's account at the delivery site. The cloud platform generates an activation certificate based on the on-site elements and cloud elements. Step 3: After verifying the validity of the activation certificate, the cloud platform initiates an account-level atomic fusion transaction to merge the suspended member account and the owner account at the object level. Step 4: In the atomic fusion transaction, perform batch rotation of the whole house key, push the new key version to the smart home devices, and collect device receipts at the same time; Step 5: When the number of collected device receipts reaches the preset threshold, submit the atomic fusion transaction, revoke the temporary construction period certificate at the same time, and write a one-way circuit breaker bit to the smart home device; Step Six: Audit and archive the set of archived snapshots, activation certificates, and device receipts for the suspended member accounts, and implement idempotent processing.
2. The method for pre-configuration and automatic activation and binding of smart home members according to claim 1, characterized in that, The smart home device includes a gateway and sub-devices; in step one, the gateway is used to receive configuration instructions issued by the construction end during the construction phase, add one or more sub-devices to the smart home system based on the configuration instructions, and group and pre-configure the sub-devices for scenarios to generate an initial system snapshot containing a device list and pre-configuration information. When connected to the network, the gateway synchronizes the initial system snapshot to the cloud platform; when offline, the gateway temporarily stores the initial system snapshot locally and reports it to the cloud platform when a usable network connection is subsequently detected. After receiving the initial system snapshot, the cloud platform associates it with the suspended member account of the corresponding house, and performs digital signature processing on the initial system snapshot to generate an archive snapshot for storage.
3. The method for pre-configuration and automatic activation and binding of smart home members according to claim 1, characterized in that, The housing identification information includes the room number, building, and apartment type.
4. The method for pre-configuration and automatic activation and binding of smart home members according to claim 1, characterized in that, The cloud-based elements include at least the registered mobile phone number, invitation code, or house QR code, while the on-site elements include at least the device serial number, physical key sequence, Bluetooth near-field handshake random number, or received signal strength indication threshold.
5. The method for pre-configuration and automatic activation and binding of smart home members according to claim 4, characterized in that, The activation certificate includes house identification information, cloud elements, on-site elements, a one-time random number, a survival timestamp, a generation timestamp, and a signature field.
6. The method for pre-configuration and automatic activation and binding of smart home members according to claim 1, characterized in that, The atomic fusion transaction includes a transaction identifier, a suspended member account object, an owner account identifier, a batch size, a receipt threshold, and a status field.
7. The method for pre-configuration and automatic activation and binding of smart home members according to claim 1, characterized in that, The unidirectional fuse is used to prevent the construction end from being re-bound or downgraded, while retaining the controlled reset channel.
8. The method for pre-configuration and automatic activation and binding of smart home members according to claim 1, characterized in that, The audit sealing process includes calculating the hash value of the activation certificate and device receipt set, and then adding a timestamp and digital signature.
9. A method for pre-configuration and automatic activation and binding of smart home users according to claim 1, characterized in that, The method also includes performing a rollback operation when an atomic fusion transaction fails, rolling back the suspended member account to the suspended state.
10. A smart home system for implementing the automatic activation and binding method as described in any one of claims 1-9, characterized in that, This smart home system includes: The cloud platform is used for activation of verification and signature, integration of transaction orchestration, key services and auditing, i.e., execution of steps three to six; Smart home devices, including gateways and sub-devices; The user terminal is used for activation and presence verification, i.e., to execute step two; The construction side is used to create suspended member accounts and complete the addition and configuration of smart home devices in the house, i.e., to execute step one.
Citation Information
Patent Citations
Intelligent equipment delivery method and system in network-free environment
CN112184144A
Household appliance activation method and system and related equipment
CN116233227A
