Home host sub-device reconfiguration method and device, electronic device and medium
By obtaining host configuration data from the backup side and generating reset instructions, the complex distribution network problem during the handover of IoT homes is solved, and fast and convenient device reconfiguration is achieved, reducing the difficulty of users.
Patent Information
- Application Number
- CN202510745502.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-05
- Publication Date
- 2025-08-15
AI Technical Summary
During the handover of IoT homes, the existing technology requires resetting and resetting all devices, resulting in complex duplicate distribution network operations that increase the difficulty of users using smart homes.
By obtaining the host configuration data of the target home host from the backup side, generating reset instructions and sending them to the sub-device, and sending the host configuration data for configuration after the network is completed.
A fast and convenient network distribution process is realized, reducing the difficulty of using smart homes.
Smart Images

Figure CN120498991A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device interaction, and in particular to a method and device for reconfiguring home host sub-devices, electronic equipment, and media. Background Art
[0002] With the growing popularity of the Internet of Things (IoT) and the widespread adoption of smart homes, the rental market is experiencing widespread demand for whole-home smart features. When tenants change, handing over IoT (Internet of Things) homes to new tenants is almost impossible. Furthermore, because whole-home smart features involve user data, this data should be reset when an IoT home is handed over to a new tenant. However, existing market solutions require resetting all devices, resulting in complex and repetitive network configuration operations that make it difficult for users to use smart homes. Summary of the Invention
[0003] In view of the above problems, a method and apparatus for reconfiguring a home host sub-device, an electronic device, and a medium are proposed to overcome or at least partially solve the above problems, including:
[0004] A method for reconfiguring a home host sub-device, applied to a home host, the method comprising:
[0005] Acquire host configuration data of the target home host for configuring one or more sub-devices connected to the target home host from the backup end;
[0006] In response to the connection operation between the network configuration software and the target home host, generating a reset instruction for reconfiguring the one or more sub-devices;
[0007] Sending the reset instruction to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software;
[0008] After detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices, so that the one or more sub-devices are configured according to the host configuration data.
[0009] Optionally, the acquiring, from the backup end, host configuration data for configuring the target home host for one or more sub-devices connected to the target home host includes:
[0010] In response to a backup operation for the target home host, obtaining host configuration data configured by the target home host for one or more sub-devices connected to the target home host, and backing up the host configuration data to a backup end;
[0011] In response to a preset event triggering operation for restoring configuration data, the host configuration data is obtained from the backup end.
[0012] Optionally, it also includes:
[0013] In response to a device change operation on the home master and the one or more sub-devices, the master configuration data is updated.
[0014] Optionally, in response to a device change operation on the home host and the one or more sub-devices, updating the host configuration data includes:
[0015] In response to a device modification operation for adding a new sub-device, obtaining device configuration data of the newly added sub-device;
[0016] The host configuration data is updated based on the device configuration data.
[0017] Optionally, in response to a device change operation on the home host and the one or more sub-devices, updating the host configuration data includes:
[0018] In response to a device change operation for replacing a target home host, data of the target home host is migrated to a new host, and associated information of the target home host in the host configuration data is modified to correspond to information of the new host.
[0019] Optionally, in response to a device change operation on the home host and the one or more sub-devices, updating the host configuration data includes:
[0020] In response to a device change operation for replacing a target sub-device with a new sub-device, host configuration data is updated based on the replaced new sub-device.
[0021] A method for reconfiguring a home host sub-device, applied to the sub-device, the method comprising:
[0022] receiving a reset instruction sent by a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between the network configuration software and the target home host after the target home host obtains host configuration data configured by the target home host for the one or more sub-devices connected to the target home host from a backup terminal;
[0023] Performing network configuration between the one or more sub-devices and the network configuration software based on the reset instruction;
[0024] Accepting host configuration data sent by the target home host after detecting that the one or more sub-devices have completed network configuration;
[0025] The host configuration data is configured.
[0026] Optionally, performing network configuration between the one or more sub-devices and the network configuration software based on the reset instruction includes:
[0027] In response to the received reset instruction, releasing the hotspot signal of the sub-device;
[0028] Receiving a response signal generated by the network configuration software based on the hotspot signal;
[0029] Based on the response signal, network configuration information is exchanged with the network configuration software.
[0030] A device for reconfiguring a home host sub-device, applied to a host device, comprising:
[0031] a host configuration data acquisition module, configured to acquire, from the backup end, host configuration data of a target home host configured for one or more sub-devices connected to the target home host;
[0032] a reset instruction generating module, configured to generate a reset instruction for reconfiguring the one or more sub-devices in response to a connection operation between the network configuration software and the target home host;
[0033] A reset instruction sending module, configured to send the reset instruction to the one or more sub-devices, so as to enable network configuration between the one or more sub-devices and the network configuration software;
[0034] The host configuration data sending module is used to send the host configuration data to the one or more sub-devices after detecting that the one or more sub-devices have completed network configuration, so that the one or more sub-devices are configured according to the host configuration data.
[0035] A device for reconfiguring a home host sub-device, applied to the sub-device, comprising:
[0036] a reset instruction receiving module, configured to receive a reset instruction sent by a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between the network configuration software and the target home host after the target home host obtains host configuration data configured for the one or more sub-devices connected to the target home host from a backup terminal;
[0037] a network configuration module, configured to perform network configuration between the one or more sub-devices and the network configuration software based on the reset instruction;
[0038] A host configuration data receiving module, configured to receive host configuration data sent by the target home host after detecting that the one or more sub-devices have completed network configuration;
[0039] A configuration module is used to perform configuration according to the host configuration data.
[0040] An electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above-mentioned method for reconfiguring a home host sub-device when executed by the processor.
[0041] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned method for reconfiguring a home host sub-device.
[0042] The embodiments of the present invention have the following advantages:
[0043] In an embodiment of the present invention, host configuration data for configuring one or more sub-devices connected to the target home host is obtained from a backup end; a reset instruction for reconfiguring the one or more sub-devices is generated in response to a connection operation between the network configuration software and the target home host; the reset instruction is sent to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software; after detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices to enable the one or more sub-devices to be configured according to the host configuration data. By obtaining the initial host configuration data stored in the backup end, fast and convenient network configuration is achieved, thereby reducing the difficulty of using the smart home. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the description of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 This is a flowchart of a method for reconfiguring a home host sub-device provided by one embodiment of the present invention;
[0046] Figure 2 This is a flowchart of another method for reconfiguring a home host sub-device provided by an embodiment of the present invention;
[0047] Figure 3This is a flowchart of the steps of another method for reconfiguring a home host sub-device provided by an embodiment of the present invention;
[0048] Figure 4 This is a flowchart of the steps of a method for reconfiguring a home host sub-device provided by an embodiment of the present invention;
[0049] Figure 5 A schematic diagram of a multi-terminal interaction process is provided in accordance with an embodiment of the present invention;
[0050] Figure 6 This is a schematic structural diagram of a device for reconfiguring a home host sub-device provided by an embodiment of the present invention;
[0051] Figure 7 It is a structural diagram of a device for reconfiguring a home host sub-device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments described are only a portion of the embodiments of the present invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are also within the scope of protection of the present invention.
[0053] Reference Figure 1 , shows a flowchart of a method for reconfiguring a home host sub-device according to an embodiment of the present invention, which is applied to a home host and may specifically include the following steps:
[0054] Step S101, obtaining host configuration data of a target home host configured for one or more sub-devices connected to the target home host from a backup end;
[0055] In an embodiment of the present invention, a home host can be connected to one or more sub-devices, and the home host can configure one or more sub-devices, for example, to preset a scene in the home host for linkage control between multiple sub-devices. Among them, the home host is a whole-house smart connection hub and data center device with the ability to connect various protocol devices and local storage and computing capabilities. Sub-devices can be various household appliances, such as refrigerators, washing machines, air conditioners, dryers, water heaters, lamps, etc. For example:
[0056] (1) Common smart home devices equipped with a WiFi + Bluetooth combination module, supporting multiple protocols such as WiFi UDP, TCP, HTTP, Bluetooth BLE, MESH, etc., and capable of transmitting a certain amount of data. Common smart home devices include air conditioners, air purifiers, fans, kitchen appliances, etc.
[0057] (2) Single Bluetooth device, supports Bluetooth protocols such as BLE and MESH, and can transmit a certain amount of data. Common smart lights, smart switch panels, curtains, etc.
[0058] In actual applications, the home host may include host configuration data, which is associated with the control of one or more current sub-devices. In a rental scenario, since each tenant has different habits, the host configuration data needs to be reset when the tenant changes. In order to quickly reset the host configuration data and quickly re-configure the sub-devices, a backup end can be introduced. The backup end is used to back up the host configuration data stored in the home host. In actual applications, the backup end can be used to back up the initial host configuration data so that when the tenant is changed, all sub-devices can be reset with the initial host configuration data to quickly restore them to the initial configuration state.
[0059] In one example, the backup device can be a cloud or an SD (Secure Digital) card. The backup device stores the host configuration data, which is the initial data. Furthermore, when the tenant changes, the home host can retrieve the host configuration data from the backup device.
[0060] Network configuration software, as used in this invention, refers to a specialized tool or application used to connect Internet of Things (IoT) devices or other intelligent terminals (such as Wi-Fi modules and smart home devices) to a network. Its primary function is to simplify the device network access process and ensure that the device can correctly access the local network (such as Wi-Fi, Bluetooth, Zigbee, etc.) or cloud platform.
[0061] Step S102, in response to the connection operation between the network configuration software and the target home host, generating a reset instruction for reconfiguring the one or more sub-devices;
[0062] After restoring the target home host's configuration data via the backup client, the target home host can be connected using network configuration software to facilitate network configuration of multiple sub-devices. Specifically, the user can directly connect the network configuration software to the target home host. At this point, the target home host determines that a sub-device reset is required and generates a reset command, which can quickly reset one or more sub-devices.
[0063] Step S103: sending the reset instruction to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software;
[0064] After generating the reset instruction, the target home host may send the reset instruction to one or more sub-devices, and then the one or more sub-devices may respond to the reset instruction to perform network configuration reset.
[0065] Step S104: After detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices, so that the one or more sub-devices are configured according to the host configuration data.
[0066] During the sub-device reconfiguration process, the target home host can detect the network configuration status. When it is determined that all sub-devices are successfully configured, the host configuration data recovered from the backup end can be sent to one or more sub-devices. Then, the sub-devices can complete the configuration according to the received host configuration data.
[0067] In this embodiment of the present invention, sub-devices can be quickly restored to their initial data through a reset. For tenant scenarios, landlords can use a backup terminal to back up host configuration data before a tenant moves in. During the tenant's stay, the host can be used to configure its own sub-device control scheme. When the tenant leaves, before the next tenant moves in, the backup terminal can be used to retrieve the initial host configuration data, reconfigure the network for multiple sub-devices, and then use the host configuration data to reset the sub-devices.
[0068] In an embodiment of the present invention, host configuration data for configuring one or more sub-devices connected to the target home host is obtained from a backup end; a reset instruction for reconfiguring the one or more sub-devices is generated in response to a connection operation between the network configuration software and the target home host; the reset instruction is sent to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software; after detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices to enable the one or more sub-devices to be configured according to the host configuration data. By obtaining the initial host configuration data stored in the backup end, fast and convenient network configuration is achieved, thereby reducing the difficulty of using the smart home.
[0069] Reference Figure 2 , shows a flowchart of the steps of another method for reconfiguring a home host sub-device provided by an embodiment of the present invention, which is applied to a home host and may specifically include the following steps:
[0070] Step S201: In response to a backup operation for the target home host, obtaining host configuration data configured by the target home host for one or more sub-devices connected to the target home host, and backing up the host configuration data to a backup end;
[0071] In an embodiment of the present invention, a backup function can be configured on the target home host. When the user performs a backup operation, the backup function is activated, and the host configuration data between the current host and the sub-device is retrieved and backed up to a backup destination. This data backup prevents data loss and allows for rapid data reset on the sub-device.
[0072] In an embodiment of the present invention, a home host can be connected to one or more sub-devices, and the home host can configure one or more sub-devices, for example, to preset a scene in the home host for linkage control between multiple sub-devices. Among them, the home host is a whole-house smart connection hub and data center device with the ability to connect various protocol devices and local storage and computing capabilities. Sub-devices can be various household appliances, such as refrigerators, washing machines, air conditioners, dryers, water heaters, lamps, etc. For example:
[0073] (1) Common smart home devices equipped with a WiFi + Bluetooth combination module, supporting multiple protocols such as WiFi UDP, TCP, HTTP, Bluetooth BLE, MESH, etc., and capable of transmitting a certain amount of data. Common smart home devices include air conditioners, air purifiers, fans, kitchen appliances, etc.
[0074] (2) Single Bluetooth device, supports Bluetooth protocols such as BLE and MESH, and can transmit a certain amount of data. Common smart lights, smart switch panels, curtains, etc.
[0075] In one example, the backup device can be a cloud or an SD (Secure Digital) card. The backup device stores the host configuration data, which is the initial data. Furthermore, when the tenant changes, the home host can retrieve the host configuration data from the backup device.
[0076] Network configuration software, as used in this invention, refers to a specialized tool or application used to connect Internet of Things (IoT) devices or other intelligent terminals (such as Wi-Fi modules and smart home devices) to a network. Its primary function is to simplify the device network access process and ensure that the device can correctly access the local network (such as Wi-Fi, Bluetooth, Zigbee, etc.) or cloud platform.
[0077] Step S202: In response to a preset event triggering operation for restoring configuration data, the host configuration data is obtained from the backup end.
[0078] In actual applications, the host stores real-time configuration data associated with one or more sub-devices. When the user activates the recovery function, the pre-stored host configuration data can be obtained from the backup end.
[0079] Step S203, in response to the connection operation between the network configuration software and the target home host, generating a reset instruction for reconfiguring the one or more sub-devices;
[0080] In actual applications, the home host may include host configuration data, which is associated with the control of one or more current sub-devices. In a rental scenario, since each tenant has different habits, the host configuration data needs to be reset when the tenant changes. In order to quickly reset the host configuration data and quickly re-configure the sub-devices, a backup end can be introduced. The backup end is used to back up the host configuration data stored in the home host. In actual applications, the backup end can be used to back up the initial host configuration data so that when the tenant is changed, all sub-devices can be reset with the initial host configuration data to quickly restore them to the initial configuration state.
[0081] Step S204: sending the reset instruction to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software;
[0082] After restoring the target home host's configuration data via the backup client, the target home host can be connected using network configuration software to facilitate network configuration of multiple sub-devices. Specifically, the user can directly connect the network configuration software to the target home host. At this point, the target home host determines that a sub-device reset is required and generates a reset command, which can quickly reset one or more sub-devices.
[0083] Step S205 : After detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices, so that the one or more sub-devices are configured according to the host configuration data.
[0084] During the sub-device reconfiguration process, the target home host can detect the network configuration status. When it is determined that all sub-devices are successfully configured, the host configuration data recovered from the backup end can be sent to one or more sub-devices. Then, the sub-devices can complete the configuration according to the received host configuration data.
[0085] In an embodiment of the present invention, the home host may update the host configuration data in response to a device change operation on the home host and the one or more sub-devices.
[0086] In actual applications, while tenants are using devices, there may be changes to the device, such as host replacement, sub-device addition, sub-device deletion, sub-device replacement, etc. In the event of a device change, the host configuration data can be updated accordingly to avoid errors during subsequent reconfiguration.
[0087] In one embodiment of the present invention, the home host may obtain device configuration data of the newly added sub-device in response to a device change operation for adding the new sub-device; and update the host configuration data based on the device configuration data.
[0088] When a new device is added, the configuration data of the new device can be backed up and the host configuration data can be updated.
[0089] Similarly, when a sub-device is deleted or deactivated, the configuration data of the sub-device may be correspondingly deleted from the host configuration data.
[0090] In practice, tenants can add devices themselves. If they take the device with them after moving out, the device will not be included in the data after restoring the initial data. If they leave the device behind, the landlord can add it to the initial data.
[0091] For example: The home host originally manages three sub-devices ABC. If a device D is added during the use of the previous tenant, if the tenant is changed and reset, the data of the three devices ABC will be reset to the initial data. If device D is left, the landlord can configure device D to the initial data.
[0092] In another embodiment of the present invention, in response to a device change operation for replacing a target home host, data of the target home host is migrated to a new host, and associated information of the target home host in the host configuration data is modified to correspond to information of the new host.
[0093] In actual application, only one host is supported in a home, and the data after replacement is the same as the original host.
[0094] In another embodiment of the present invention, in response to a device change operation for replacing a target sub-device with a new sub-device, host configuration data is updated based on the replaced new sub-device.
[0095] The equipment replacement process can be divided into landlord replacement and tenant replacement, as follows:
[0096] (1) Landlord Replacement: Device damage will cause the device to fail to initialize. The landlord can use the device replacement function to change the configuration in the initial data and initialize again after completing the device replacement.
[0097] (2) Tenant replacement:
[0098] ① The tenant uses the device replacement function to change the configuration in the tenant data and complete the device replacement.
[0099] ② If the original device is damaged, the software function can be used to notify the landlord to change the initial configuration. After the landlord confirms, the replacement logic can be copied to the initial configuration to complete the device replacement.
[0100] In an embodiment of the present invention, host configuration data for configuring one or more sub-devices connected to the target home host is obtained from a backup end; a reset instruction for reconfiguring the one or more sub-devices is generated in response to a connection operation between the network configuration software and the target home host; the reset instruction is sent to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software; after detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices to enable the one or more sub-devices to be configured according to the host configuration data. By obtaining the initial host configuration data stored in the backup end, fast and convenient network configuration is achieved, thereby reducing the difficulty of using the smart home.
[0101] Reference Figure 3 , shows a flowchart of another method for reconfiguring a home host sub-device provided by an embodiment of the present invention, which is applied to a sub-device and may specifically include the following steps:
[0102] Step S301: receiving a reset instruction sent by a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between the network configuration software and the target home host after the target home host obtains host configuration data configured for the one or more sub-devices connected to the target home host from a backup terminal;
[0103] In an embodiment of the present invention, one or more sub-devices are connected to a home host, where the home host is a whole-house smart connection hub or data center device that has the ability to connect to various protocol devices and local storage and computing capabilities. The sub-devices can be various household appliances, such as refrigerators, washing machines, air conditioners, dryers, water heaters, lamps, etc. For example:
[0104] (1) Common smart home devices equipped with a WiFi + Bluetooth combination module, supporting multiple protocols such as WiFi UDP, TCP, HTTP, Bluetooth BLE, MESH, etc., and capable of transmitting a certain amount of data. Common smart home devices include air conditioners, air purifiers, fans, kitchen appliances, etc.
[0105] (2) Single Bluetooth device, supports Bluetooth protocols such as BLE and MESH, and can transmit a certain amount of data. Common smart lights, smart switch panels, curtains, etc.
[0106] In actual applications, the home host can also be connected to the backup end, and the initial host configuration data of the home host can be backed up to the backup end storage. When the sub-device needs to be reset, the home host can restore the host configuration data to achieve the sub-device reset.
[0107] When the home host is connected to the network configuration software, it can generate a reset instruction and then send the reset instruction to one or more sub-devices to trigger the sub-devices to re-configure the network and reset.
[0108] Step S302: performing network configuration between the one or more sub-devices and the network configuration software based on the reset instruction;
[0109] After the sub-device receives the reset instruction, the sub-device interacts with the network configuration software to achieve re-network configuration.
[0110] Step S303, receiving host configuration data sent by the target home host after detecting that the one or more sub-devices have completed network configuration;
[0111] After the sub-device and the network configuration software have completed the network configuration, the target home host can send the host configuration data restored from the backup end to the group device to facilitate the reconfiguration of the sub-device.
[0112] Step S304: configure according to the host configuration data.
[0113] After receiving the host configuration data, the sub-device can directly apply the data to achieve reconfiguration.
[0114] In an embodiment of the present invention, a reset instruction is received from a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between network configuration software and the target home host after the target home host obtains host configuration data configured by the target home host for one or more sub-devices connected to the target home host from a backup end; network configuration is performed between the one or more sub-devices and the network configuration software based on the reset instruction; the target home host receives host configuration data sent after detecting that the network configuration of the one or more sub-devices is completed; and configuration is performed according to the host configuration data. By obtaining the initial host configuration data stored in the backup end, fast and convenient network configuration is achieved, thereby reducing the difficulty of using a smart home.
[0115] Reference Figure 4 , shows a flowchart of another method for reconfiguring a home host sub-device provided by an embodiment of the present invention, which is applied to a sub-device and may specifically include the following steps:
[0116] Step S401: receiving a reset instruction sent by a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between the network configuration software and the target home host after the target home host obtains host configuration data configured for the one or more sub-devices connected to the target home host from a backup terminal;
[0117] Step S402, in response to the received reset instruction, releasing the hotspot signal of the sub-device;
[0118] After receiving the reset instruction, the sub-device releases a hotspot signal, wherein the hotspot signal may be a Bluetooth hotspot signal.
[0119] Step S403, receiving a response signal generated by the network configuration software based on the hotspot signal;
[0120] The network configuration software can respond after searching for the hotspot signal of the sub-device, that is, generate a response signal, and feed the response signal back to the sub-device so that the sub-device can determine that there is interactive network configuration software.
[0121] Step S404: exchanging network configuration information with the network configuration software based on the response signal.
[0122] After receiving the response signal, the sub-device can continue to interact with the network configuration software. Through interaction, network configuration information can be transmitted to each other, and then network configuration can be executed based on the network configuration information of both parties.
[0123] Step S405, receiving host configuration data sent by the target home host after detecting that the one or more sub-devices have completed network configuration;
[0124] Step S406: configure according to the host configuration data.
[0125] In an embodiment of the present invention, host configuration data for configuring one or more sub-devices connected to the target home host is obtained from a backup end; a reset instruction for reconfiguring the one or more sub-devices is generated in response to a connection operation between the network configuration software and the target home host; the reset instruction is sent to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software; after detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices to enable the one or more sub-devices to be configured according to the host configuration data. By obtaining the initial host configuration data stored in the backup end, fast and convenient network configuration is achieved, thereby reducing the difficulty of using the smart home.
[0126] Reference Figure 5 , shows a schematic diagram of a multi-terminal interaction process in an embodiment of the present invention. In this embodiment, the interaction process between the SD backup terminal, the home host, the network configuration software, and the sub-devices can be specifically divided into the following processes:
[0127] (1) Data backup and recovery process:
[0128] Before renting out the apartment for the first time, the landlord can use a button on the home console to back up the console data to an SD card and then remove the SD card from the home console. When a new tenant changes, the landlord inserts the SD card with the initial data into the home console and uses a button to restore the SD card data (i.e., the backup data) to the home console.
[0129] (2) Network distribution stage:
[0130] The network configuration software connects to the home host, enters the data recovery function, and triggers the reset of the sub-device; the home host can generate a special Bluetooth broadcast scenario instruction: a sub-device reset instruction, and send the instruction to the sub-device. After receiving the reset instruction, the sub-device enters the reset state and releases the device Bluetooth hotspot; the network configuration software discovers the sub-device through the Bluetooth hotspot and then responds. The sub-device interacts with the network configuration software, exchanges network configuration information, and completes the network configuration of the sub-device.
[0131] (3) Configuration phase:
[0132] The network configuration software monitors the device configuration progress. Once the configuration is complete, it triggers the home host to send the device configuration data to the sub-device. The sub-device receives and loads the program and device configuration data, and returns the result. This completes the reconfiguration process and restores the sub-device to its initial configuration.
[0133] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0134] Reference Figure 6 , shows a schematic structural diagram of a device for reconfiguring a home host sub-device provided by an embodiment of the present invention, which may specifically include the following modules:
[0135] The host configuration data acquisition module 601 is used to acquire, from the backup end, host configuration data of the target home host configured for one or more sub-devices connected to the target home host;
[0136] A reset instruction generating module 602 is configured to generate a reset instruction for reconfiguring the one or more sub-devices in response to a connection operation between the network configuration software and the target home host;
[0137] A reset instruction sending module 603 is configured to send the reset instruction to the one or more sub-devices so as to enable network configuration between the one or more sub-devices and the network configuration software;
[0138] The host configuration data sending module 604 is configured to send the host configuration data to the one or more sub-devices after detecting that the one or more sub-devices have completed network configuration, so that the one or more sub-devices are configured according to the host configuration data.
[0139] In one embodiment of the present invention, the host configuration data acquisition module 601 may include the following submodules:
[0140] a host configuration data acquisition submodule, configured to, in response to a backup operation for the target home host, acquire host configuration data configured by the target home host for one or more sub-devices connected to the target home host, and back up the host configuration data to a backup end;
[0141] The configuration data recovery submodule is configured to obtain the host configuration data from the backup end in response to a preset event triggering operation for recovering the configuration data.
[0142] In one embodiment of the present invention, the apparatus further comprises:
[0143] The configuration data updating module is configured to update the host configuration data in response to a device change operation on the home host and the one or more sub-devices.
[0144] In one embodiment of the present invention, the configuration data updating module may include:
[0145] A new device submodule, configured to obtain device configuration data of a newly added sub-device in response to a device change operation for the newly added sub-device;
[0146] A first updating submodule is configured to update the host configuration data based on the device configuration data.
[0147] In one embodiment of the present invention, the configuration data updating module may include:
[0148] The host replacement module is used to migrate the data of the target home host to the new host in response to the device change operation for replacing the target home host, and to modify the associated information of the target home host in the host configuration data to the information of the new host.
[0149] In one embodiment of the present invention, the configuration data updating module may include:
[0150] The device replacement module is configured to update host configuration data based on the replaced new sub-device in response to a device change operation for replacing the target sub-device with a new sub-device.
[0151] In an embodiment of the present invention, host configuration data for configuring one or more sub-devices connected to the target home host is obtained from a backup end; a reset instruction for reconfiguring the one or more sub-devices is generated in response to a connection operation between the network configuration software and the target home host; the reset instruction is sent to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software; after detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices to enable the one or more sub-devices to be configured according to the host configuration data. By obtaining the initial host configuration data stored in the backup end, fast and convenient network configuration is achieved, thereby reducing the difficulty of using the smart home.
[0152] Reference Figure 7 , shows a schematic structural diagram of a device for reconfiguring a home host sub-device provided by an embodiment of the present invention, which may specifically include the following modules:
[0153] The reset instruction receiving module 701 is configured to receive a reset instruction sent by a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between the network configuration software and the target home host after the target home host obtains host configuration data configured for the one or more sub-devices connected to the target home host from a backup terminal;
[0154] A network configuration module 702, configured to perform network configuration between the one or more sub-devices and the network configuration software based on the reset instruction;
[0155] The host configuration data receiving module 703 is configured to receive the host configuration data sent by the target home host after detecting that the one or more sub-devices have completed network configuration;
[0156] The configuration module 704 is configured to perform configuration according to the host configuration data.
[0157] In one embodiment of the present invention, the network distribution module 702 may include:
[0158] a hotspot signal releasing module, configured to release the hotspot signal of the sub-device in response to a received reset instruction;
[0159] A response signal receiving module, configured to receive a response signal generated by the network distribution software based on the hotspot signal;
[0160] The network configuration information exchange module is configured to exchange network configuration information with the network configuration software based on the response signal.
[0161] In an embodiment of the present invention, a reset instruction is received from a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between network configuration software and the target home host after the target home host obtains host configuration data configured by the target home host for one or more sub-devices connected to the target home host from a backup end; network configuration is performed between the one or more sub-devices and the network configuration software based on the reset instruction; the target home host receives host configuration data sent after detecting that the network configuration of the one or more sub-devices is completed; and configuration is performed according to the host configuration data. By obtaining the initial host configuration data stored in the backup end, fast and convenient network configuration is achieved, thereby reducing the difficulty of using a smart home.
[0162] An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the above-mentioned method for reconfiguring a home host sub-device is implemented.
[0163] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned method for reconfiguring a home host sub-device is implemented.
[0164] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0165] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0166] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0167] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0168] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0170] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0171] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0172] The above describes in detail the provided method and apparatus for reconfiguring the home host sub-device, the electronic device, and the medium. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only intended to help understand the method and core concept of the present invention. At the same time, for those skilled in the art, according to the concept of the present invention, there may be changes in the specific implementation methods and application scope. In summary, the contents of this specification should not be understood as limiting the present invention.
Claims
1. A method for reconfiguring a home host sub-device, characterized in that: Applied to a home host, the method includes: Acquire host configuration data of the target home host for configuring one or more sub-devices connected to the target home host from the backup end; In response to the connection operation between the network configuration software and the target home host, generating a reset instruction for reconfiguring the one or more sub-devices; Sending the reset instruction to the one or more sub-devices to enable network configuration between the one or more sub-devices and the network configuration software; After detecting that the one or more sub-devices have completed network configuration, the host configuration data is sent to the one or more sub-devices, so that the one or more sub-devices are configured according to the host configuration data.
2. The method according to claim 1, characterized in that The acquiring, from the backup end, host configuration data of the target home host configured for one or more sub-devices connected to the target home host includes: In response to a backup operation for the target home host, obtaining host configuration data configured by the target home host for one or more sub-devices connected to the target home host, and backing up the host configuration data to a backup end; In response to a preset event triggering operation for restoring configuration data, the host configuration data is obtained from the backup end.
3. The method according to claim 1, characterized in that Also includes: In response to a device change operation on the home master and the one or more sub-devices, the master configuration data is updated.
4. The method according to claim 3, characterized in that The updating of the host configuration data in response to the device change operation on the home host and the one or more sub-devices includes: In response to a device modification operation for adding a new sub-device, obtaining device configuration data of the newly added sub-device; The host configuration data is updated based on the device configuration data.
5. The method according to claim 3, characterized in that The updating of the host configuration data in response to the device change operation on the home host and the one or more sub-devices includes: In response to a device change operation for replacing a target home host, data of the target home host is migrated to a new host, and associated information of the target home host in the host configuration data is modified to correspond to information of the new host.
6. The method according to claim 3, characterized in that The updating of the host configuration data in response to the device change operation on the home host and the one or more sub-devices includes: In response to a device change operation for replacing a target sub-device with a new sub-device, host configuration data is updated based on the replaced new sub-device.
7. A method for reconfiguring a home host sub-device, characterized in that: Applied to a sub-device, the method includes: receiving a reset instruction sent by a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between the network configuration software and the target home host after the target home host obtains host configuration data configured by the target home host for the one or more sub-devices connected to the target home host from a backup terminal; Performing network configuration between the one or more sub-devices and the network configuration software based on the reset instruction; receiving host configuration data sent by the target home host after detecting that the one or more sub-devices have completed network configuration; The host configuration data is configured.
8. The method according to claim 7, characterized in that The performing network configuration between the one or more sub-devices and the network configuration software based on the reset instruction includes: In response to the received reset instruction, releasing the hotspot signal of the sub-device; Receiving a response signal generated by the network configuration software based on the hotspot signal; Based on the response signal, network configuration information is exchanged with the network configuration software.
9. A device for reconfiguring a home host sub-device, characterized in that: Applied to a host device, the apparatus comprises: a host configuration data acquisition module, configured to acquire, from the backup end, host configuration data of a target home host configured for one or more sub-devices connected to the target home host; a reset instruction generating module, configured to generate a reset instruction for reconfiguring the one or more sub-devices in response to a connection operation between the network configuration software and the target home host; A reset instruction sending module, configured to send the reset instruction to the one or more sub-devices, so as to enable network configuration between the one or more sub-devices and the network configuration software; The host configuration data sending module is used to send the host configuration data to the one or more sub-devices after detecting that the one or more sub-devices have completed network configuration, so that the one or more sub-devices are configured according to the host configuration data.
10. A device for reconfiguring a home host sub-device, characterized in that: Applied to a sub-device, the apparatus comprises: a reset instruction receiving module, configured to receive a reset instruction sent by a target home host connected to one or more sub-devices; the reset instruction is generated by the target home host in response to a connection operation between the network configuration software and the target home host after the target home host obtains host configuration data configured for the one or more sub-devices connected to the target home host from a backup terminal; a network configuration module, configured to perform network configuration between the one or more sub-devices and the network configuration software based on the reset instruction; A host configuration data receiving module, configured to receive host configuration data sent by the target home host after detecting that the one or more sub-devices have completed network configuration; A configuration module is used to perform configuration according to the host configuration data.
11. An electronic device, characterized in that: The device comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the method for reconfiguring a home host sub-device according to any one of claims 1 to 8 is implemented.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for reconfiguring a home master sub-device according to any one of claims 1 to 8 is implemented.