Control method of smart home system and smart home system

By simplifying the control logic by using target scenario identification in smart home systems, the problems of inefficient response speed and execution efficiency caused by storing a large amount of configuration information in the prior art are solved, and more efficient control and storage space utilization are achieved.

CN120255368APending Publication Date: 2025-07-04GUANGDONG VANWARD NEW ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510313287.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

Existing smart home systems need to store a large number of configuration lists and instruction sets in the control terminal, resulting in inefficient response speed and execution.

Method used

By broadcasting the target scene identification at the control terminal, the target intelligent device operates based on the correspondence between the pre-stored scene identification and action information, simplifying the control logic and saving storage space.

Benefits of technology

This implements simplified control logic, improves response speed and execution efficiency, and saves storage space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120255368A_ABST
    Figure CN120255368A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of smart home, and discloses a control method of a smart home system and the smart home system.The method comprises the steps that a control terminal broadcasts a target scene identifier corresponding to a target scene in response to a control instruction for the target scene; the target intelligent device receives the target scene identifier, and operates based on the target scene identifier and a pre-stored corresponding relationship between the scene identifier and the action information; wherein the target scene identifier is generated by the control terminal based on the scene configuration instruction. According to the method, the corresponding target intelligent equipment can be controlled to work only by broadcasting the target scene identifier, so that complex instruction transmission can be avoided, and control logic is simplified; moreover, the control terminal can complete the control operation without storing the target intelligent equipment corresponding to the target scene and the corresponding action information, so that the storage space can be further saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart home, and particularly to a control method for a smart home system and a smart home system. Background Art

[0002] Smart home is a new type of home mode that uses advanced electronic technology, communication technology, automation control technology, and Internet of Things technology to uniformly control and manage multiple smart devices inside a home. The smart devices can include various types of devices such as kitchen devices, lighting devices, audio and video devices, etc.

[0003] Currently, a smart home system can intelligently control the working parameters and working states of smart devices through control terminals such as a central control screen, a mobile phone, and a voice interaction device. However, in related technologies, a large number of configuration lists and instruction sets usually need to be stored in the control terminal, and instructions are sent to smart devices one by one when it is necessary to control home devices. The large amount of configuration information and instructions increases the complexity of the processing process of the smart home system at the control terminal. For example, when a certain scenario needs to be used, the smart home system at the control terminal needs to parse the configuration list and instruction set for this scenario one by one, and then send and execute these instructions. Thus, it seriously affects the response speed and execution efficiency of the smart home system at the control terminal. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a control method for a smart home system and a smart home system, which effectively solves the problem of low response efficiency of the smart home system.

[0005] The above first technical problem is solved by the following technical solution:

[0006] A control method for a smart home system, the method includes:

[0007] A control terminal responds to a control instruction for a target scenario, and broadcasts a target scenario identifier corresponding to the target scenario; a target smart device receives the target scenario identifier and operates based on the corresponding relationship between the target scenario identifier and the pre-stored scenario identifier and action information; wherein, the target scenario identifier is generated by the control terminal based on a scenario configuration instruction.

[0008] Compared with the background art, the control method of the smart home system described in the present invention has the following beneficial effects: The control method of the smart home system provided by the embodiments of the present invention stores scene identifiers in the control terminal. When it is necessary to control a target scene, the user issues a control instruction for the target scene on the control terminal, and the control terminal broadcasts the target scene identifier, and the target smart device executes the action information corresponding to the target scene identifier. Therefore, the control terminal only needs to broadcast the target scene identifier to control the corresponding target smart device to work, which can avoid complex instruction transmission and simplify the control logic; moreover, the control terminal can complete the above control operation without storing the target smart device corresponding to the target scene and the corresponding action information, which can further save storage space.

[0009] In one embodiment, it operates based on the correspondence between the target scene identifier and the pre-stored scene identifier and action information, including:

[0010] If the pre-stored scene identifier includes the target scene identifier, the target smart device operates according to the target action information corresponding to the target scene identifier;

[0011] If the pre-stored scene identifier does not include the target scene identifier, the target smart device maintains its current operating state.

[0012] In one embodiment, the control terminal receives a scene configuration instruction, and the scene configuration instruction carries configuration information of the target scene. The configuration information includes device information of the target smart device and target action information of the target smart device in the target scene; the control terminal generates a scene identifier of the target scene; based on the device information of the target smart device, the control terminal sends the scene identifier and the target action information of the target smart device in the target scene to the target smart device, and the target smart device stores the scene identifier of the target scene and the target action information of the target smart device in the target scene locally.

[0013] In one embodiment, the method further includes:

[0014] The control terminal sends the configuration information of the target scene and the scene identifier to the cloud;

[0015] After the control terminal sends the configuration information of the target scene and the scene identifier to the cloud and the target smart device, it deletes the stored configuration information of the target scene.

[0016] In one embodiment, the method further includes:

[0017] The control terminal receives a modification instruction for a target scenario, and the modification instruction carries the scenario identifier of the target scenario;

[0018] Based on the scenario identifier, obtain the configuration information of the target scenario from the cloud.

[0019] In one embodiment, before the control terminal receives the scenario configuration instruction, the method further includes:

[0020] The control terminal responds to a scenario addition request and displays a scenario configuration page;

[0021] Receive a device configuration instruction based on the scenario configuration page, where the device configuration instruction carries the scenario name of the target scenario, the device information of the target intelligent device, and the target action information of the target intelligent device in the target scenario.

[0022] In one embodiment, the control terminal sends the scenario identifier and the target action information of the target intelligent device in the target scenario to the target intelligent device based on the device information of the target intelligent device, including:

[0023] The control terminal sends the scenario identifier and the target action information of the target intelligent device in the target scenario to the target intelligent device based on the device information of the target intelligent device;

[0024] At intervals of a preset waiting duration, detect the first feedback information of the target intelligent device, where the first feedback information is used to indicate that the target intelligent device has successfully received the scenario identifier and the target action information of the target intelligent device in the target scenario;

[0025] If the first feedback information is not received, then based on the device information of the target intelligent device again, send the scenario identifier and the target action information of the target intelligent device in the target scenario to the target intelligent device until the first feedback information is received or the number of sending times reaches the set number of times.

[0026] If the number of sending times of the control terminal reaches the set number of times and the first feedback information is not received, send a reminder information indicating that the configuration of the target intelligent device fails.

[0027] In one embodiment, the control terminal sends the scenario identifier and the target action information of the target intelligent device in the target scenario to the target intelligent device, and further includes:

[0028] The control terminal receives a reconfiguration instruction based on the reminder information, and again, based on the device information of the target smart device, sends the scene identifier and the target action information of the target smart device in the target scene to the target smart device;

[0029] Or the control terminal receives a deletion configuration instruction based on the reminder information, and deletes the device information of the target smart device corresponding to the first feedback information and the target action information of the target smart device in the target scene in the configuration information of the target scene.

[0030] In one embodiment, the method further includes:

[0031] The control terminal receives a scene deletion instruction, and the scene deletion instruction carries the scene identifier and configuration information of the target scene to be deleted, and the configuration information includes the device information of the target smart device and the target action information of the target smart device in the target scene;

[0032] The control terminal sends a configuration deletion instruction to the target smart device and the cloud based on the device information of the target smart device;

[0033] The target smart device and the cloud delete the scene identifier and the target action information of the target smart device in the target scene.

[0034] A smart home system, the smart home system includes:

[0035] A control terminal, the control terminal is used to execute the control method of the smart home system described in any one of the above;

[0036] At least one smart device, the smart device is communicatively connected to the control terminal, and the smart device is used to execute the control method of the smart home system described in any one of the above;

[0037] A cloud, the cloud is communicatively connected to the control terminal, and the cloud is used to store the configuration information of the target scene and the scene identifier. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0039] Figure 1 It is a schematic flowchart of the control method of the smart home system according to the embodiment of the present invention;

[0040] Figure 2 Schematic flow chart of the control method for the smart home system according to an embodiment of the present invention;

[0041] Figure 3 Scene configuration page according to an embodiment of the present invention;

[0042] Figure 4 First configuration page according to an embodiment of the present invention;

[0043] Figure 5 Device selection page according to an embodiment of the present invention;

[0044] Figure 6 Pop-up window page of the space where the device is located according to an embodiment of the present invention;

[0045] Figure 7 Configuration page according to an embodiment of the present invention;

[0046] Figure 8 Schematic diagram of the smart home system according to an embodiment of the present invention. Detailed implementation manners

[0047] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0048] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present application.

[0049] The terms "first" and "second" are only used for descriptive purposes, and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.

[0050] In the description of the present application, it should be noted that unless otherwise clearly specified or limited, the terms "installation", "connection", and "coupling" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.

[0051] The smart home system can control the working parameters and working states of smart devices through control terminals such as a central control screen, a voice interaction device, and a mobile phone. Usually, it is necessary to store the configuration list and instruction set for smart devices in the control terminal. When controlling home devices, instructions are sent one by one, and when sending, it is necessary to parse the configuration list and instruction set for this scenario one by one, which seriously affects the response speed and execution efficiency of the smart home system at the control end. In addition, due to storing too much data in the control terminal, a large amount of memory is occupied. Based on this, the embodiments of the present invention provide a control method for a smart home system and a smart home system.

[0052] According to an embodiment of the present invention, there is provided a control method for a smart home system, Figure 1 which is a flowchart of the control method for a smart home system according to an embodiment of the present invention, as Figure 1 shown, and this process includes the following steps:

[0053] Step S101, the control terminal broadcasts the target scene identifier corresponding to the target scene in response to the control instruction for the target scene.

[0054] This method is applied to a smart home system, which includes a control terminal, one or more smart devices, and a cloud. The control terminal can be a smart phone, a tablet computer, a smart home central control device, etc., and is used to manage and control the operation of smart devices. The user can send a control instruction corresponding to the target scene through the control terminal.

[0055] The target scene is a specific scene that the user hopes to achieve, such as "going home mode", "leaving home mode", "sleep mode", etc. The control instruction is an operation triggered by the user through the control terminal, such as clicking a button or a voice instruction.

[0056] The target scenario identifier is a unique identifier generated by the control terminal based on the scenario configuration instruction. The scenario configuration instruction is pre-set by the user and is used to define the specific content and logic of the target scenario. For example, when the user configures the "go home mode" in the control terminal, a group of smart devices and the actions of the smart devices (such as turning on the lights, starting the air conditioner, etc.) will be associated, and the corresponding scenario identifier will be generated. Each scenario corresponds to a unique scenario identifier, and the corresponding relationship between each scenario and the corresponding scenario identifier is stored in the control terminal.

[0057] In response to the control instruction for the target scenario, the control terminal broadcasts the target scenario identifier to the network through wireless communication technologies (such as Wi-Fi, Bluetooth, ZigBee, etc.). Broadcasting is a one-to-many communication method to ensure that all relevant smart devices can receive the identifier.

[0058] Step S102: The target smart device receives the target scenario identifier and operates based on the corresponding relationship between the target scenario identifier and the pre-stored scenario identifier and action information.

[0059] Among them, the target scenario identifier is generated by the control terminal based on the scenario configuration instruction. The target smart device refers to a device that can receive the target scenario identifier and has the function of storing scenarios. The corresponding relationship between the scenario identifier and the action information is pre-stored in the target smart device. For example, under the scenario identifier of the "go home mode", the smart bulb performs the action of "turning on the lights", and the smart air conditioner performs the action of "starting and adjusting the temperature". The target smart device searches for the corresponding action information according to the received target scenario identifier and performs the corresponding operation.

[0060] The control method of the smart home system provided by the embodiment of the present invention includes: the control terminal broadcasts the target scenario identifier corresponding to the target scenario in response to the control instruction for the target scenario; the target smart device receives the target scenario identifier and operates based on the corresponding relationship between the target scenario identifier and the pre-stored scenario identifier and action information. In this method, the scenario identifier is stored in the control terminal. When it is necessary to control the target scenario, the user issues a control instruction for the target scenario in the control terminal, and the control terminal broadcasts the target scenario identifier. The target smart device executes the action information corresponding to the target scenario identifier. Therefore, the control terminal only needs to broadcast the target scenario identifier to control the corresponding target smart device to work, which can avoid complex instruction transmission and simplify the control logic; moreover, the control terminal can complete the above control operation without storing the target smart device corresponding to the target scenario and the corresponding action information, which can further save storage space.

[0061] In some optional implementation manners, step S102 in the above implementation manner includes:

[0062] If the pre-stored scene identifier includes the target scene identifier, the target intelligent device operates according to the target action information corresponding to the target scene identifier; if the pre-stored scene identifier does not include the target scene identifier, the target intelligent device maintains its current operating state.

[0063] Through pre-configuration, the target intelligent device locally stores scene identifiers corresponding to one or more scenes, as well as the action information corresponding to the scene identifiers. After the control terminal broadcasts the target scene identifier, the target intelligent device first determines whether the target scene identifier is pre-stored locally. If the target scene identifier is pre-stored locally, the target device performs corresponding operations according to the target action information corresponding to the target scene identifier.

[0064] If the target scene identifier received is not included in the scene identifiers pre-stored by the target intelligent device, the target intelligent device will maintain its current operating state and will not be affected by the target scene identifier. For example, if the device is currently in the off state, it continues to be off; if the device is currently in the on state, it continues to be on. Keeping the device state unchanged can avoid misoperations caused by interference from irrelevant scene identifiers and ensure the stability and reliability of the system.

[0065] According to an embodiment of the present invention, a control method for a smart home system is provided. Figure 2 is a flowchart of the control method for the smart home system according to an embodiment of the present invention, as Figure 2 shown, and the process includes the following steps:

[0066] Step S201, the control terminal receives a scene configuration instruction.

[0067] Among them, the scene configuration instruction carries the configuration information of the target scene, and the configuration information includes the device information of the target intelligent device and the target action information of the target intelligent device in the target scene.

[0068] The scene configuration instruction is an instruction issued by the user through the control terminal and is used to define the specific content and logic of the target scene. The scene configuration instruction carries the configuration information of the target scene, including the device information of the target intelligent device and the target action information of the target intelligent device in the target scene. The scene configuration instruction can be generated by performing a scene configuration operation on the control terminal. Specifically, the scene configuration information further includes the scene name and the space where the scene is located (for example: bedroom, living room).

[0069] The device information of the target intelligent device may include the unique identifier of the intelligent device (such as the device ID), the device type (such as a smart bulb, a smart air conditioner), etc., and is used to identify and control specific devices.

[0070] The target action information can be used to define the specific behavior of the device in the target scenario. For example, in the "showering mode" scenario, the electric water heater starts and adjusts the target outlet water temperature to 40°C.

[0071] Step S202, the control terminal generates a scene identifier for the target scene.

[0072] The scene identifier is a unique identifier generated by the control terminal for the target scene, used to identify and distinguish different scenes in the system. The control terminal generates the scene identifier based on the configuration information in the scene configuration instruction through algorithms or rules. Specifically, the generation logic may include hashing or encoding of the scene name, device information, action information, etc. The scene identifier, as the unique identifier of the target scene, is used to transmit instructions between the control terminal and the target intelligent device to ensure the accuracy and consistency of scene control.

[0073] Step S203, the control terminal sends the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device based on the device information of the target intelligent device, and the target intelligent device stores the scene identifier of the target scene and the target action information of the target intelligent device in the target scene locally.

[0074] The device information of the target intelligent device includes the device name, device MAC address (Media Access Control Address), etc. The control terminal sends the scene identifier and the target intelligent device to the target intelligent device one by one based on the device information of the target intelligent device. After receiving the scene identifier and the target action information, the target intelligent device stores them in the local storage unit (such as flash memory, EEPROM, etc.).

[0075] In some alternative embodiments, the control method of the above smart home system further includes: the control terminal sends the configuration information and the scene identifier of the target scene to the cloud; after sending the configuration information and the scene identifier of the target scene to the cloud and the target intelligent device, the control terminal deletes the stored configuration information of the target scene.

[0076] After generating the scene identifier of the target scene, the control terminal first determines whether there is an intelligent device. If there is an intelligent device, it records the number of intelligent devices in this scene. If there is no intelligent device, it sends the scene configuration information and the scene identifier to the cloud, and the cloud stores the configuration information and the scene identifier of the target scene.

[0077] After the control terminal sends the scene identifier and the target action information of the target intelligent device in the target scene to all target intelligent devices and determines that the target intelligent device has completed storing the information related to the target scene, it sends the scene configuration information and the scene identifier to the cloud, and the cloud stores the scene configuration information and the corresponding scene identifier.

[0078] After the control terminal sends the scene identifier and the target action information of the target smart device in the target scene to all target smart devices, determines that the target smart devices have completed storing the information related to the target scene, and sends the scene configuration information and the scene identifier to the cloud, the configuration information of the target scene locally is deleted.

[0079] In some optional embodiments, the control method of the above smart home system further includes: the control terminal receives a modification instruction for a target scene, and the modification instruction carries the scene identifier of the target scene; based on the scene identifier, the control terminal obtains the configuration information of the target scene from the cloud.

[0080] The modification instruction is an instruction sent by the user through the control terminal for adjusting or updating the configured target scene. The modification instruction carries the scene identifier of the target scene, which is used to uniquely identify the scene to be modified. The configuration information of the target scene is stored in the cloud and includes the device information of the target smart device and the target action information of the device in the target scene. The control terminal sends a request to the cloud based on the scene identifier in the modification instruction to obtain the configuration information of the target scene. The cloud matches the corresponding configuration information through the scene identifier and returns it to the control terminal.

[0081] Specifically, the user can select Edit on the page related to the target scene in the control terminal to issue a modification instruction. After the control terminal obtains the configuration information from the cloud, it displays the configuration information of the target scene on the editing page, and the user can modify the configuration information on the page according to the requirements.

[0082] In some optional embodiments, before step S201, the method further includes:

[0083] The control terminal responds to a scene addition request, displays a scene configuration page; and receives a device configuration instruction based on the scene configuration page. The device configuration instruction carries the scene name of the target scene, the device information of the target smart device, and the target action information of the target smart device in the target scene.

[0084] The scene addition request is an instruction sent by the user through the control terminal, indicating that the user hopes to add a new target scene. After receiving the scene addition request, the control terminal displays a scene configuration page, which provides an interaction interface for the user to configure the name of the target scene, select the target smart device, and define the target action information of the device in the target scene.

[0085] Specifically, the user can click on the scene addition control on the home page scene management page of the control terminal to display the scene configuration page. On the scene configuration page, the user can edit the scene name, execution conditions (e.g., manual trigger, voice trigger), and execution tasks, and add tasks by selecting the execution task control. On the task addition page, select the target intelligent device corresponding to this scene, set the target action information of the target intelligent device. After the configuration is completed, select the OK control to generate a scene configuration instruction.

[0086] When setting the target action information of the target intelligent device, first select the corresponding target intelligent device, select the set action control. All functions or device attributes that the target intelligent device can execute are displayed on the page. Select the functions or attributes that need to be executed, and multiple selections are allowed. After the selection is completed, click the OK control to generate the task of the target intelligent device. Repeat this step until the configuration of all target intelligent devices is completed.

[0087] As an example, as Figure 3 shown in the scene configuration page, when the user adds a new scene on the scene configuration page by selecting the addition symbol ("+"), a scene addition request is generated. The control terminal receives the scene addition request and displays the first configuration page as Figure 4 shown. On the first configuration page, the scene name can be edited. By clicking the "Add Task" control, the device selection page as Figure 5 shown is displayed. On the device selection page, the target intelligent device under this scene can be selected, and the corresponding actions of each target intelligent device can be set. On the Figure 5 page, click "Select Device", and a pop-up window page of the space where the device is located as Figure 6 shown is displayed. On this pop-up window page, select the space where the target intelligent device works under this scene. After the setting is completed, click the OK control. Click on any intelligent device card or click the "Set Action" control, and the corresponding action setting page of each intelligent device will be displayed. On the action setting page, set the actions of the target intelligent device in the target scene. After the action settings of all target intelligent devices are completed, the user clicks the OK control on the page as Figure 7 shown to generate a device configuration instruction.

[0088] In some alternative embodiments, step S203 includes:

[0089] Step S301, the control terminal sends the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device based on the device information of the target intelligent device.

[0090] The device information of the target intelligent device includes the device name, the device MAC address (Media Access Control Address), etc. Based on the device information of the target intelligent device, the control terminal sends the scene identifier and the target intelligent device to the target intelligent device one by one. After receiving the scene identifier and the target action information, the target intelligent device stores them in the local storage unit (such as flash memory, EEPROM, etc.).

[0091] Step S302: Wait for a preset waiting duration at intervals and detect the first feedback information of the target intelligent device.

[0092] After sending the information, the control terminal waits for a preset duration to receive the first feedback information of the target intelligent device. The first feedback information is used to indicate that the target intelligent device has successfully received the scene identifier and the target action information of the target intelligent device in the target scene.

[0093] Step S303: If the first feedback information is not received, send the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device again based on the device information of the target intelligent device until the first feedback information is received or the number of transmissions reaches the set number of times.

[0094] If the control terminal does not receive the first feedback information, send the scene identifier and the target action information to the target intelligent device again based on the device information of the target intelligent device. There is an upper limit (preset number of times) for the number of retransmissions to avoid resource waste and system blockage caused by infinite retransmissions.

[0095] Step S304: If the number of transmissions of the control terminal reaches the set number of times and the first feedback information is not received, send a reminder information indicating that the configuration of the target intelligent device fails.

[0096] If the number of transmissions of the control terminal reaches the set number of times and the first feedback information is still not received, it is determined that the configuration of the target intelligent device fails. The control terminal sends a reminder information indicating that the configuration of the target intelligent device fails. Specifically, a reminder information indicating that the configuration of the target intelligent device fails can be sent through a pop-up window, and possible failure reasons, including poor network environment, device power-off, etc., can be displayed in the pop-up window.

[0097] Furthermore, it further includes: The control terminal receives a reconfiguration instruction based on the reminder information, and sends the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device again based on the device information of the target intelligent device; or the control terminal receives a deletion configuration instruction based on the reminder information, and deletes the device information of the target intelligent device and the target action information of the target intelligent device in the target scene corresponding to the first feedback information in the configuration information of the target scene.

[0098] If the number of transmission attempts of the control terminal reaches the set number and the first feedback message has not been received yet, it is determined that the configuration of the target intelligent device fails. Options "Delete Task" and "Reconfigure" can be given through a pop-up window. If the user selects to retry, the control terminal will receive a reconfiguration instruction and execute the above steps again to send the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device, and wait for the first feedback message. If the first feedback message is received, it indicates that the configuration of the target intelligent device is successful, and the number of failed tasks in the control terminal is reduced by 1. If the number of input failed tasks in the control terminal is 0, it means that the configuration of the target scene has been completed.

[0099] If the user selects "Delete Task", the control terminal will receive a delete configuration instruction, thereby deleting the device information of the target intelligent device corresponding to the first feedback message and the target action information of the target intelligent device in the target scene in the configuration information of the target scene.

[0100] In some alternative embodiments, the above method further includes:

[0101] Step S401, the control terminal receives a scene deletion instruction.

[0102] The scene deletion instruction is an instruction sent by the user through the control terminal for deleting the configured target scene. The scene deletion instruction and the scene configuration instruction carry the scene identifier and configuration information of the target scene to be deleted, and the configuration information includes the device information of the target intelligent device and the target action information of the target intelligent device in the target scene.

[0103] Step S402, the control terminal sends a configuration deletion instruction to the target intelligent device and the cloud based on the device information of the target intelligent device.

[0104] The control terminal generates a configuration deletion instruction based on the device information of the target intelligent device, including the scene identifier and configuration information to be deleted. The control terminal sends the configuration deletion instruction to the target intelligent device to notify it to delete the locally stored scene identifier and target action information. The control terminal sends the configuration deletion instruction to the cloud to notify it to delete the scene identifier and configuration information stored in the cloud.

[0105] Step S403, the target intelligent device and the cloud delete the scene identifier and the target action information of the target intelligent device in the target scene.

[0106] After receiving the configuration deletion instruction, the target intelligent device deletes the scene identifier and target action information from the local storage unit to ensure that the device no longer executes the actions in this scene. After receiving the configuration deletion instruction, the cloud deletes the scene identifier and configuration information from the cloud database to ensure that the configuration information of this scene is no longer accessed or used.

[0107] By deleting the scene identifiers and configuration information that are no longer in use, the storage space of the target smart device and the cloud can be released, and it can be ensured that the target smart device does not execute the actions of the deleted scenes, improving the stability and reliability of the system.

[0108] According to an embodiment of the present invention, a smart home system is provided. Figure 8 It is a schematic diagram of a smart home system according to an embodiment of the present invention. The smart home system includes a control terminal, at least one smart device, and a cloud. The smart device is communicatively connected to the control terminal, and the cloud is communicatively connected to the control terminal. The cloud is used to store the configuration information and scene identifiers of the target scene.

[0109] In the specific content of the above specific implementation manner, the technical features can be combined arbitrarily without contradiction. For the sake of concise description, not all possible combinations of the above technical features are described. However, as long as the combinations of these technical features do not exist in contradiction, they should be considered to be within the scope described in this specification.

[0110] The specific content of the above specific implementation manner only expresses several implementation manners of the present invention. Its description is relatively specific and detailed, but it cannot be understood as a limitation to the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several deformations and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims

1. A control method for a smart home system, characterized in that, The method includes: The control terminal broadcasts a target scene identifier corresponding to the target scene in response to a control instruction for the target scene; The target intelligent device receives the target scene identifier and operates based on the corresponding relationship between the target scene identifier and the pre-stored scene identifier and action information; Wherein, the target scene identifier is generated by the control terminal based on a scene configuration instruction.

2. The method according to claim 1, wherein The operation based on the corresponding relationship between the target scene identifier and the pre-stored scene identifier and action information includes: If the pre-stored scene identifier includes the target scene identifier, the target intelligent device operates according to the target action information corresponding to the target scene identifier; If the pre-stored scene identifier does not include the target scene identifier, the target intelligent device maintains its current operating state.

3. The method according to claim 1, wherein The method further includes: The control terminal receives a scene configuration instruction, the scene configuration instruction carrying configuration information of the target scene, and the configuration information includes device information of the target intelligent device and target action information of the target intelligent device in the target scene; The control terminal generates a scene identifier of the target scene; Based on the device information of the target intelligent device, the control terminal sends the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device, and the target intelligent device stores the scene identifier of the target scene and the target action information of the target intelligent device in the target scene locally.

4. The method according to claim 3, wherein The method further includes: The control terminal sends the configuration information of the target scene and the scene identifier to the cloud; After sending the configuration information of the target scene and the scene identifier to the cloud and the target intelligent device, the control terminal deletes the stored configuration information of the target scene.

5. The method according to claim 4, wherein The method further includes: The control terminal receives a modification instruction for the target scene, and the modification instruction carries the scene identifier of the target scene; Based on the scene identifier, the configuration information of the target scene is obtained from the cloud.

6. The method according to claim 3, characterized in that Before the control terminal receives the scene configuration instruction, the method further includes: The control terminal displays a scene configuration page in response to a scene addition request; Receives a device configuration instruction based on the scene configuration page, and the device configuration instruction carries the scene name of the target scene, the device information of the target intelligent device, and the target action information of the target intelligent device in the target scene.

7. The method according to claim 3, wherein The control terminal sending the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device based on the device information of the target intelligent device includes: The control terminal sends the scene identifier and the target action information of the target intelligent device in the target scene to the target intelligent device based on the device information of the target intelligent device; After an interval of a preset waiting duration, the first feedback information of the target intelligent device is detected, and the first feedback information is used to indicate that the target intelligent device has successfully received the scene identifier and the target action information of the target intelligent device in the target scene; If the first feedback information is not received, the scene identifier and the target action information of the target smart device in the target scene are sent to the target smart device again based on the device information of the target smart device until the first feedback information is received or the number of transmissions reaches the set number of times; If the number of transmissions of the control terminal reaches the set number of times and the first feedback information is not received, a reminder information for indicating the failure of configuring the target smart device is sent out.

8. The method according to claim 7, wherein The control terminal sending the scene identifier and the target action information of the target smart device in the target scene to the target smart device based on the device information of the target smart device further includes: The control terminal receives a reconfiguration instruction based on the reminder information, and again sends the scene identifier and the target action information of the target smart device in the target scene to the target smart device based on the device information of the target smart device; Or the control terminal receives a deletion configuration instruction based on the reminder information, and deletes the device information of the target smart device corresponding to the first feedback information and the target action information of the target smart device in the target scene in the configuration information of the target scene.

9. The method according to claim 4, wherein The method further includes: The control terminal receives a scene deletion instruction, and the scene deletion instruction carries the scene identifier and configuration information of the target scene to be deleted, and the configuration information includes the device information of the target smart device and the target action information of the target smart device in the target scene; The control terminal sends a configuration deletion instruction to the target smart device and the cloud based on the device information of the target smart device; The target smart device and the cloud delete the scene identifier and the target action information of the target smart device in the target scene.

10. A smart home system, characterized in that, The smart home system includes: A control terminal, which is used to execute the control method of the smart home system according to any one of claims 1-9; At least one smart device, which is communicatively connected to the control terminal, and the smart device is used to execute the control method of the smart home system according to any one of claims 1-9; A cloud, which is communicatively connected to the control terminal, and the cloud is used to store the configuration information of the target scene and the scene identifier.