Smart home equipment reset method and device, electronic equipment and readable storage medium
By configuring a reset module in a smart home device, the automatic reset and rapid distribution of the device are achieved, which solves the problem that users cannot quickly search for device hotspots for distribution of the device, and improves the operating experience.
Patent Information
- Application Number
- CN202411905150.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2044-12-23
AI Technical Summary
After the smart home device is deleted, users cannot quickly search for device hotspots for distribution networks, resulting in poor user operation experience.
By configuring a reset module in a smart home device, responding to the instructions of the cloud server and user equipment, triggering the reset function logic of the device, completing automatic reset, and releasing the device hotspot after the reset is successful, making it convenient for users to quickly allocate the network.
It realizes automatic reset and rapid distribution of smart home devices, improves user's operating experience, and reduces the steps of users' manual reset and distribution of networks.
Smart Images

Figure CN119906596A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of Internet of Things, and in particular to a smart home device resetting method, a smart home device resetting device, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the development of the Internet of Things, more and more smart home devices are being used, and as a result, more and more problems are gradually appearing. For example, when a user deletes a smart home device, the user needs to manually reset the smart home device, which results in the user being unable to quickly search for the device hotspot of the smart home device after the reset, and then configure the smart home device based on the device hotspot, resulting in a poor user experience. Summary of the invention
[0003] In view of the above problems, a method and device for resetting smart home devices is proposed to overcome the above problems or at least partially solve the above problems. The specific technical solution is as follows:
[0004] The embodiment of the present invention discloses a method for resetting a smart home device, wherein the smart home device is connected to a cloud server and a user device, a reset module is configured in the smart home device, and the reset module is used to trigger the reset function logic of the smart home device, the cloud server stores device data of the smart home device that has been successfully connected to the network, and a deletion option for the smart home device that has been successfully connected to the network is displayed in a graphical user interface provided by the user device, and the method includes:
[0005] In response to a selection operation of the user device on a deletion option for a target smart home device, deleting device data of the target smart home device;
[0006] A device deletion instruction is sent to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful.
[0007] In an embodiment of the present invention, the reset module of the smart home device is a software module or a hardware module.
[0008] In one embodiment of the present invention, the device deletion instruction sent to the reset module of the target smart home device includes:
[0009] When it is determined that the target smart home device has a reset function logic, a device deletion instruction is sent to a reset module of the target smart home device.
[0010] In one embodiment of the present invention, the target smart home device releases a device hotspot when the reset is successful, and the device hotspot is used for the user device to scan the device hotspot to configure the target smart home device into a network.
[0011] In one embodiment of the present invention, after a device deletion instruction is sent to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful, the method further includes:
[0012] A notification message is sent to the user device indicating that the target smart home device is successfully reset; when the user device receives the notification message, it is used to scan the device hotspots of the target smart home device and display them on the user device.
[0013] In one embodiment of the present invention, the selection operation of the target smart home device includes inputting a designated home identifier, and after sending a device deletion instruction to a reset module of the target smart home device, the method further includes:
[0014] Sending an automatic network configuration instruction to the home host corresponding to the designated home identifier; the home host is used to configure the target smart home device to the network corresponding to the home host when receiving the automatic network configuration instruction and searching for the device hotspot of the target smart home device;
[0015] Receive device data of the target smart home device that has been successfully configured into the network corresponding to the home host, sent by the home host.
[0016] In one embodiment of the present invention, the home host is used to configure the target smart home device to the network corresponding to the home host when it receives the automatic network configuration instruction and detects that the user device searches for the device hotspot of the target smart home device in the network corresponding to the home host.
[0017] In one embodiment of the present invention, the home host is used to configure the target smart home device to the network corresponding to the home host when it receives the automatic network configuration instruction, detects that the user device searches for the device hotspot of the target smart home device in the network corresponding to the home host, and the user device determines that the target smart home device joins the network corresponding to the home host.
[0018] In an embodiment of the present invention, the user device is used to display the device data or device hotspot of the target smart home device in the graphical user interface according to the time when the target smart home device was deleted.
[0019] The embodiment of the present invention further discloses a smart home device reset device, wherein the smart home device is connected to a cloud server and a user device, and a reset module is configured in the smart home device, and the reset module is used to trigger the reset function logic of the smart home device, and the cloud server stores the device data of the smart home device that has been successfully connected to the network, and a deletion option for the smart home device that has been successfully connected to the network is displayed in a graphical user interface provided by the user device, and the device includes:
[0020] A device selection module, configured to delete device data of a target smart home device in response to a selection operation of a deletion option of the target smart home device by the user device;
[0021] A device deletion module is used to send a device deletion instruction to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful.
[0022] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0023] The memory is used to store computer programs;
[0024] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0025] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.
[0026] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0027] The embodiments of the present invention include the following advantages:
[0028] In an embodiment of the present invention, a smart home device is connected to a cloud server and a user device. A reset module is configured in the smart home device. The reset module is used to trigger the reset function logic of the smart home device. The cloud server stores device data of the smart home device that has been successfully connected to the network. A deletion option for the smart home device that has been successfully connected to the network is displayed in a graphical user interface provided by the user device. When a user deletes a target smart home device through an application, the user can select the deletion option corresponding to the target smart home device on the graphical user interface. The cloud server can delete the device data of the target smart home device in response to the user device's selection operation of the deletion option for the target smart home device, and send a device deletion instruction to the reset module of the target smart home device, so that the reset module of the target smart home device triggers the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and sends a reset success flag to the cloud server when the reset is successful, thereby completing the reset of the target smart home device after the user deletes it. In the embodiment of the present invention, after the user deletes the smart home device from the application, the cloud server can send a device deletion instruction to the smart home device, and the smart home device will trigger the reset function logic to automatically reset according to the device deletion instruction. Subsequent users or home hosts can quickly search for the device hotspot of the reset smart home device, thereby completing the network configuration of the smart home device based on the device hotspot, without the need for the user to manually reset the smart home device, and the smart home device can also quickly complete the network configuration after the reset, thereby improving the user's operating experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 is a flowchart of a method for resetting a smart home device provided in an embodiment of the present invention;
[0030] Figure 2 is a schematic diagram of an application environment provided in an embodiment of the present invention;
[0031] Figure 3 It is a schematic diagram of a process of automatically resetting and configuring a network after deleting a smart home device provided in an embodiment of the present invention;
[0032] Figure 4 is a structural block diagram of a smart home device resetting device provided in an embodiment of the present invention;
[0033] Figure 5 It is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION
[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0035] Reference Figure 1 , shows a flowchart of a method for resetting a smart home device provided in an embodiment of the present invention, wherein the smart home device is connected to a cloud server and a user device, a reset module is configured in the smart home device, and the reset module is used to trigger the reset function logic of the smart home device, the cloud server stores device data of the smart home device that has been successfully configured in the network, and a deletion option for the smart home device that has been successfully configured in the network is displayed in a graphical user interface provided by the user device. The method may specifically include the following steps:
[0036] Step 101: In response to a selection operation of a deletion option of a target smart home device by a user device, device data of the target smart home device is deleted.
[0037] Reference Figure 2 , is a schematic diagram of an application environment provided in an embodiment of the present invention, wherein a smart home device 201 is in communication with a cloud server 202 and a user device 203, wherein a reset module (module) is configured in the smart home device, and the reset module is provided with a reset function logic of the smart home device, and the reset module can trigger the reset function logic of the smart home device so that the smart home device will automatically complete the reset, so that the smart home device can be restored to the initial state or factory settings, and the configuration data in the smart home device can be cleared so that the smart home device can be restarted or re-networked, etc.
[0038] In a specific implementation, the local database of the cloud server may store the device data of the smart home devices that have been successfully configured into a family's network, wherein the device data may include but is not limited to the device model, device name, device location, device parameters, device status, network information of the connected network, and other data of the smart home devices. The user device may include but is not limited to smart phones, tablet computers, and other devices, and the smart home devices may include but are not limited to lighting devices, dehumidifiers, switches, sockets, sensor devices, smoke alarms, smart door locks, and security cameras. In the graphical user interface provided by the user device, a deletion option for the smart home devices that have been successfully configured into the network may be displayed. When the user wants to delete a smart network device (target smart network device) from the network, for example, the user needs to migrate the target smart home device from the network environment of family A to the network of family B, the user selects the deletion option corresponding to the target smart home device on the graphical user interface, and the cloud server responds to the user device's selection of the deletion option for the target smart home device, and can delete the device data corresponding to the locally stored target smart home device.
[0039] In one embodiment of the present invention, the reset module of the smart home device may be a software module or a hardware module, and may be set according to the smart home device itself or actual needs, and the embodiment of the present invention does not need to limit this. Specifically, when the reset module of the smart home device is a software module, the reset of the smart home device may be achieved by executing a specific software instruction or calling a reset function, and when the reset module of the smart home device is a hardware module, the reset of the smart home device may be triggered by pressing a physical button or disconnecting the power supply on a control module installed on the smart home device.
[0040] Step 102: a device deletion instruction is sent to a reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device upon receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful.
[0041] In an embodiment of the present invention, after the cloud server deletes the device data of the target smart home device stored in the local database, it can send a device deletion instruction to the reset module of the target smart home device. After receiving the device deletion instruction, the reset module of the target smart home device can trigger the reset function logic of the target smart home device to automatically reset the target smart home device, and when the reset is successful, it can send a reset success flag to the cloud server, and the cloud server can perform corresponding processing or record according to the reset success flag. Of course, if the target smart home device resets the identification, the reset module of the target smart home device can send a reset failure flag to the cloud server, and the cloud server can feedback a reset failure prompt message to the user device according to the reset failure flag or re-send the device deletion instruction to the reset module of the target smart home device until the target smart home device is successfully reset.
[0042] In some specific implementations, the user can first download the corresponding APP (application) to register and log in. After completing the registration and login, the user can first configure the corresponding smart home device to join a family's network. After the network configuration is successful, the cloud server saves the device data corresponding to the smart home device in the local database. If the user wants to delete the smart home device, he can click the delete button (delete option) on the APP, and then the APP sends the user's selection operation of deleting the smart home device to the cloud server. The cloud server can generate a device deletion instruction based on the user's selection operation and send it to the reset module of the corresponding smart home device, so that the reset module of the smart home device can trigger the reset function logic to automatically complete the reset.
[0043] In an embodiment of the present invention, a smart home device is connected to a cloud server and a user device. A reset module is configured in the smart home device. The reset module is used to trigger the reset function logic of the smart home device. The cloud server stores device data of the smart home device that has been successfully connected to the network. A deletion option for the smart home device that has been successfully connected to the network is displayed in a graphical user interface provided by the user device. When a user deletes a target smart home device through an application, the user can select the deletion option corresponding to the target smart home device on the graphical user interface. The cloud server can delete the device data of the target smart home device in response to the user device's selection operation of the deletion option for the target smart home device, and send a device deletion instruction to the reset module of the target smart home device, so that the reset module of the target smart home device triggers the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and sends a reset success flag to the cloud server when the reset is successful, thereby completing the reset of the target smart home device after the user deletes it. In the embodiment of the present invention, after the user deletes the smart home device from the application, the cloud server can send a device deletion instruction to the smart home device, and the smart home device will trigger the reset function logic to automatically reset according to the device deletion instruction. Subsequent users or home hosts can quickly search for the device hotspot of the reset smart home device, thereby completing the network configuration of the smart home device based on the device hotspot, without the need for the user to manually reset the smart home device, and the smart home device can also quickly complete the network configuration after the reset, thereby improving the user's operating experience.
[0044] In one embodiment of the present invention, the device deletion instruction sent to the reset module of the target smart home device may include:
[0045] When it is determined that the target smart home device has a reset function logic, a device deletion instruction is sent to the reset module of the target smart home device. Wherein, the target smart home device releases a device hotspot when the reset is successful, and the device hotspot is used for the user device to scan the device hotspot to connect the target smart home device to the network.
[0046] In an embodiment of the present invention, when the cloud server receives the selection operation of deleting the target smart home device from the APP, it first determines whether the target smart home device has the reset function logic of automatic reset. If the smart home device has the reset function logic, the cloud server can delete the device data of the target smart home device from the local database. After the deletion is successful, the cloud server sends a device deletion instruction to the target smart home device module, notifying the service module of the target smart home device to trigger the reset function logic, so that the target smart home device enters the reset state and releases the device hotspot. Among them, the device hotspot refers to a network hotspot (WiFi hotspot) automatically created by the smart home device when it is configured and reset. The device hotspot can be used by users, applications (APP) or home hosts to connect to the smart home device in order to configure, control or debug the smart home device. It has been connected to a certain network to realize the configuration of the smart home device.
[0047] Of course, if the smart home device does not have the reset function logic for automatic reset, the cloud server only deletes the device data corresponding to the target smart home device from the local database, and does not send the automatic reset mark (device deletion instruction) to the reset module of the smart home device. Instead, it can send a prompt message to the user device that it cannot be automatically reset, so as to prompt the user to manually reset according to their own needs.
[0048] In one embodiment of the present invention, after a device deletion instruction is sent to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful, the method may further include:
[0049] A notification message is sent to the user device indicating that the target smart home device is successfully reset; when the user device receives the notification message, it is used to scan the device hotspots of the target smart home device and display them on the user device.
[0050] In an embodiment of the present invention, after the cloud server receives the reset success mark of the target smart home device, it indicates that the target smart home device has been successfully reset, and a notification message of the successful reset of the target smart home device can be sent to the user device. The user device can be used to start automatic scanning when receiving the notification message, thereby scanning out the device hotspot of the target smart home device and displaying it on the user device. The user device can access the target smart home device through the device hotspot, thereby completing the network configuration of the target smart home device, that is, allowing the target smart home device to re-access the home network, or enter the network of a new home.
[0051] In some specific embodiments, when the reset module of the smart home device is successfully reset automatically and releases the device hotspot of the target smart home device, the module of the smart home device sends a reset success identifier to the cloud server. When the cloud server receives the reset success identifier, it will notify the APP on the user's device. At this time, the APP will immediately scan the device hotspot. After scanning the device hotspot of the target smart home device, it will be displayed on the graphical user interface provided by the APP. Then the user can configure the network on other mobile phones or homes, so that the target smart home device can reconnect to the home network, or enter the network of a new home.
[0052] In an embodiment of the present invention, the selection operation of the target smart home device includes inputting a designated home identifier, and after sending a device deletion instruction to a reset module of the target smart home device, the method may further include:
[0053] Sending an automatic network configuration instruction to the home host corresponding to the designated home identifier; the home host is used to configure the target smart home device to the network corresponding to the home host when receiving the automatic network configuration instruction and searching for the device hotspot of the target smart home device;
[0054] Receive device data of the target smart home device that has been successfully configured into the network corresponding to the home host, sent by the home host.
[0055] In an embodiment of the present invention, after the target smart home device is deleted from the network of a certain family and the target smart home device is automatically reset successfully, other families can be designated to automatically configure the target smart home device. Specifically, the identifier (ID value) of the specified family can be entered when the user device APP deletes a certain smart home device. Then, when the smart home device is successfully reset, the cloud server will send the automatic configuration instruction to the home host corresponding to the identifier of the specified family. After the target smart home device enters the network of the specified family, the home host can automatically configure the target smart home device to the network of the specified family according to the device hotspot, which is simple, convenient and fast. Subsequently, if the target smart home device is successfully configured into the network of the specified family, the home host can also send the device data of the target smart home device that has been successfully configured into the network of the specified home to the cloud server, and the cloud server can save it in the local database.
[0056] In one embodiment of the present invention, the home host is used to configure the target smart home device to the network corresponding to the home host when it receives the automatic network configuration instruction and detects that the user device searches for the device hotspot of the target smart home device in the network corresponding to the home host.
[0057] In an embodiment of the present invention, after the target smart home device is deleted from the network of a certain family and the target smart home device is automatically reset successfully, other families can be designated to automatically configure the target smart home device. Specifically, the identifier (ID value) of the specified family can be entered when the user device APP deletes a certain smart home device. Then, when the smart home device is successfully reset, the cloud server will send the automatic configuration instruction to the home host corresponding to the identifier of the specified family. When the user device is in the network of the family, the user device APP searches for the device hotspot of the target smart home device. Without any operation, the target smart home device can be automatically configured to the network of the specified family according to the device hotspot, which is simple, convenient and fast.
[0058] In one embodiment of the present invention, the home host is used to configure the target smart home device to the network corresponding to the home host when it receives the automatic network configuration instruction, detects that the user device searches for the device hotspot of the target smart home device in the network corresponding to the home host, and the user device determines that the target smart home device joins the network corresponding to the home host.
[0059] In an embodiment of the present invention, after the target smart home device is deleted from the network of a certain family and the target smart home device is automatically reset successfully, other families can be designated to automatically configure the target smart home device. Specifically, the identifier (ID value) of the specified family can be entered when the user device APP deletes a certain smart home device. Then, when the smart home device is successfully reset, the cloud server will send the automatic configuration instruction to the home host corresponding to the identifier of the specified family. When the user device is in the network of the family, the user device APP searches for the device hotspot of the target smart home device, and when the user submits the confirmation that the target smart home device joins the network of the specified family through the user device APP, the target smart home device can automatically be networked to the network of the specified family according to the device hotspot, which is simple, convenient and fast.
[0060] In an embodiment of the present invention, the user device is used to display the device data or device hotspot of the target smart home device in the graphical user interface according to the time when the target smart home device was deleted.
[0061] Optionally, in some cases, the user may need to delete a large number of smart home devices. If the user is required to manually configure the target smart home device to a certain network through the device hotspot after resetting the target smart home device, it may be impossible to quickly determine which device needs to be operated due to too many target smart home devices. In the graphical user interface provided by the APP, the user device can display the device data or device hotspot of the target smart home device in accordance with the time of deletion of the target smart home device, so that the user can perform corresponding operations on the target smart home device in an orderly manner, such as re-configuring the network.
[0062] In order to enable those skilled in the art to better understand the embodiments of the present invention, specific examples are used below for illustration. Figure 3 , is a schematic diagram of a process of automatically resetting and configuring a network after deleting a smart home device in an embodiment of the present invention, and the specific steps may include:
[0063] 1. First, it is necessary to add automatic reset function logic in the reset module (module) of the smart home device (device). When the reset module of the smart home device receives the device deletion instruction (instruction), the reset module of the smart home device will trigger the corresponding reset function logic, thereby completing the reset process of the smart home device.
[0064] 2. Users need to download the corresponding APP to register and log in first. After logging in with the account, users can first configure the corresponding smart home device. When the smart home device is successfully configured, if the user wants to delete the smart home device, he can click the delete button on the user device APP to trigger the selection operation of deleting a smart home device. Then the APP will trigger the corresponding function logic and send the device data including the smart home device to be deleted to the cloud server, and the cloud server will process the subsequent logic.
[0065] 3. When the cloud server receives information from the APP (for example, which smart home device needs to be deleted), it first determines whether the smart home device has the reset function logic of automatic reset. If the smart home device has the reset function logic, the cloud server can delete the device data of the smart home device from the local database. After the deletion is successful, the cloud server sends an automatic reset mark (device deletion instruction) to the reset module of the smart home device, notifying the reset module of the smart home device that it can enter the reset state and release the device hotspot; if the smart home device does not have the automatic reset function logic, the cloud server only deletes the device data and does not send the automatic reset mark to the reset module of the smart home device.
[0066] 4. When the service module of the smart home successfully resets and releases the device hotspot, the reset module of the smart home device will send a reset success mark to the cloud server. When the cloud server receives the reset success mark, it will notify the APP. At this time, the APP will immediately scan for hotspots. When the device hotspot is scanned, it will be displayed on the APP. Then the user can configure the network for the smart home device on other mobile phones or homes.
[0067] In addition, after the smart home device is automatically reset, you can also specify other families for automatic network configuration. This operation requires the user to enter the identifier (id value) of the designated family when deleting a smart home device through the APP. After the deleted smart home device is successfully reset, the cloud server will send information such as reset success to the designated family. When the user is in the designated family, the APP will search for the device hotspot of the deleted smart home device. Without any operation, the smart home device will automatically be networked to the family. It is simple, convenient and fast.
[0068] By applying the embodiment of the present invention, after the user deletes the smart home device through the APP, the smart home device will automatically enter the reset state, and the user can use the APP to quickly find the device hotspot, thereby completing the network configuration of the smart home device, and the user operation experience is good.
[0069] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but 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 the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0070] Reference Figure 4 , shows a structural block diagram of a smart home device reset device provided in an embodiment of the present invention, wherein the smart home device is connected to a cloud server and a user device, and a reset module is configured in the smart home device, and the reset module is used to trigger the reset function logic of the smart home device, and the cloud server stores the device data of the smart home device that has been successfully configured in the network, and a deletion option for the smart home device that has been successfully configured in the network is displayed in a graphical user interface provided by the user device. The device may specifically include the following modules:
[0071] The device selection module 401 is configured to delete the device data of the target smart home device in response to the user device selecting a deletion option for the target smart home device;
[0072] The device deletion module 402 is used to send a device deletion instruction to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful.
[0073] In an embodiment of the present invention, the reset module of the smart home device is a software module or a hardware module.
[0074] In one embodiment of the present invention, the device deletion module 402 is used to:
[0075] When it is determined that the target smart home device has a reset function logic, a device deletion instruction is sent to a reset module of the target smart home device.
[0076] In one embodiment of the present invention, the target smart home device releases a device hotspot when the reset is successful, and the device hotspot is used for the user device to scan the device hotspot to configure the target smart home device into a network.
[0077] In an embodiment of the present invention, the device further includes: a notification sending module, configured to:
[0078] A notification message is sent to the user device indicating that the target smart home device is successfully reset; when the user device receives the notification message, it is used to scan the device hotspots of the target smart home device and display them on the user device.
[0079] In one embodiment of the present invention, the device further comprises: an automatic network distribution module, which is used to:
[0080] Sending an automatic network configuration instruction to the home host corresponding to the designated home identifier; the home host is used to configure the target smart home device to the network corresponding to the home host when receiving the automatic network configuration instruction and searching for the device hotspot of the target smart home device;
[0081] Receive device data of the target smart home device that has been successfully configured into the network corresponding to the home host, sent by the home host.
[0082] In one embodiment of the present invention, the home host is used to configure the target smart home device to the network corresponding to the home host when it receives the automatic network configuration instruction and detects that the user device searches for the device hotspot of the target smart home device in the network corresponding to the home host.
[0083] In one embodiment of the present invention, the home host is used to configure the target smart home device to the network corresponding to the home host when it receives the automatic network configuration instruction, detects that the user device searches for the device hotspot of the target smart home device in the network corresponding to the home host, and the user device determines that the target smart home device joins the network corresponding to the home host.
[0084] In an embodiment of the present invention, the user device is used to display the device data or device hotspot of the target smart home device in the graphical user interface according to the time when the target smart home device was deleted.
[0085] In an embodiment of the present invention, a smart home device is connected to a cloud server and a user device. A reset module is configured in the smart home device. The reset module is used to trigger the reset function logic of the smart home device. The cloud server stores device data of the smart home device that has been successfully connected to the network. A deletion option for the smart home device that has been successfully connected to the network is displayed in a graphical user interface provided by the user device. When a user deletes a target smart home device through an application, the user can select the deletion option corresponding to the target smart home device on the graphical user interface. The cloud server can delete the device data of the target smart home device in response to the user device's selection operation of the deletion option for the target smart home device, and send a device deletion instruction to the reset module of the target smart home device, so that the reset module of the target smart home device triggers the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and sends a reset success flag to the cloud server when the reset is successful, thereby completing the reset of the target smart home device after the user deletes it. In the embodiment of the present invention, after the user deletes the smart home device from the application, the cloud server can send a device deletion instruction to the smart home device, and the smart home device will trigger the reset function logic to automatically reset according to the device deletion instruction. Subsequent users or home hosts can quickly search for the device hotspot of the reset smart home device, thereby completing the network configuration of the smart home device based on the device hotspot, without the need for the user to manually reset the smart home device, and the smart home device can also quickly complete the network configuration after the reset, thereby improving the user's operating experience.
[0086] 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.
[0087] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, each process of the above-mentioned smart home device reset method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0088] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned smart home device reset method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0089] An embodiment of the present invention further provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned smart home device reset method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0090] Figure 5 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0091] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0092] It should be understood that in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 510 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 501 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
[0093] The electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0094] The audio output unit 503 can convert the audio data received by the RF unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 can also provide audio output related to a specific function performed by the electronic device 500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, etc.
[0095] The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processor (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 506. The image frame processed by the graphics processor 5041 can be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502. The microphone 5042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 501 in the case of a telephone call mode.
[0096] The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and / or the backlight when the electronic device 500 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 505 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0097] The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0098] The user input unit 507 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 5071 or near the touch panel 5071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 5071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 510, receives the command sent by the processor 510 and executes it. In addition, the touch panel 5071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 5071, the user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0099] Furthermore, the touch panel 5071 may be overlaid on the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits the information to the processor 510 to determine the type of the touch event. Then, the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Figure 5 In the figure, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0100] The interface unit 508 is an interface for connecting an external device to the electronic device 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 500 or may be used to transmit data between the electronic device 500 and an external device.
[0101] The memory 509 can be used to store software programs and various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 509 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0102] The processor 510 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 509 and calling data stored in the memory 509, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 510.
[0103] The electronic device 500 may also include a power supply 511 (such as a battery) for supplying power to each component. Preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0104] In addition, the electronic device 500 includes some functional modules not shown, which will not be described in detail here.
[0105] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0107] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0108] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0109] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0110] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0113] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0114] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for resetting a smart home device, characterized in that: The smart home device is connected to a cloud server and a user device, a reset module is configured in the smart home device, the reset module is used to trigger the reset function logic of the smart home device, the cloud server stores the device data of the smart home device that has been successfully configured into the network, and a deletion option for the smart home device that has been successfully configured into the network is displayed in a graphical user interface provided by the user device, and the method includes: In response to a selection operation of the user device on a deletion option for a target smart home device, deleting device data of the target smart home device; A device deletion instruction is sent to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful.
2. The method according to claim 1, characterized in that The reset module of the smart home device is a software module or a hardware module.
3. The method according to claim 1, characterized in that The device deletion instruction sent to the reset module of the target smart home device includes: When it is determined that the target smart home device has a reset function logic, a device deletion instruction is sent to a reset module of the target smart home device.
4. The method according to claim 1, characterized in that: The target smart home device releases the device hotspot when the reset is successful, and the device hotspot is used for the user device to scan the device hotspot to configure the target smart home device into the network.
5. The method according to claim 4, characterized in that After sending a device deletion instruction to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success mark to the cloud server when the reset is successful, the method also includes: A notification message is sent to the user device indicating that the target smart home device is successfully reset; when the user device receives the notification message, it is used to scan the device hotspots of the target smart home device and display them on the user device.
6. The method according to claim 1, characterized in that The selection operation of the target smart home device includes inputting a designated home identifier, and after sending a device deletion instruction to a reset module of the target smart home device, the method further includes: Sending an automatic network configuration instruction to the home host corresponding to the designated home identifier; the home host is used to configure the target smart home device to the network corresponding to the home host when receiving the automatic network configuration instruction and searching for the device hotspot of the target smart home device; Receive device data of the target smart home device that has been successfully configured into the network corresponding to the home host, sent by the home host.
7. The method according to claim 6, characterized in that The home host is used to configure the target smart home device to the network corresponding to the home host when receiving the automatic network configuration instruction and detecting that the user device has searched for the device hotspot of the target smart home device in the network corresponding to the home host.
8. The method according to claim 7, characterized in that The home host is used to configure the target smart home device to the network corresponding to the home host when it receives the automatic network configuration instruction, detects that the user device has searched for the device hotspot of the target smart home device in the network corresponding to the home host, and the user device determines that the target smart home device has joined the network corresponding to the home host.
9. The method according to claim 1, characterized in that: The user device is used to display the device data or device hotspot of the target smart home device in the graphical user interface according to the time when the target smart home device was deleted.
10. A smart home device resetting device, characterized in that: The smart home device is connected to a cloud server and a user device, a reset module is configured in the smart home device, the reset module is used to trigger the reset function logic of the smart home device, the cloud server stores the device data of the smart home device that has been successfully configured in the network, and a deletion option for the smart home device that has been successfully configured in the network is displayed in a graphical user interface provided by the user device, and the device includes: A device selection module, configured to delete device data of a target smart home device in response to a selection operation of a deletion option of the target smart home device by the user device; A device deletion module is used to send a device deletion instruction to the reset module of the target smart home device; the reset module of the target smart home device is used to trigger the reset function logic of the target smart home device to reset the target smart home device when receiving the device deletion instruction, and send a reset success flag to the cloud server when the reset is successful.
11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 9 when executing the program stored in the memory.
12. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for quickly deleting device, computer device and storage medium
CN110087251A
Network distribution method and device of equipment, electronic equipment and storage medium
CN110730113A
Data processing method used in different scenes
CN110925983A
Network distribution system, method and device of equipment, electronic equipment and storage medium
CN113395741A
Network distribution method and device of intelligent equipment, electronic equipment and storage medium
CN114245402A