Control methods and related devices for whole-house intelligent systems
By generating and deploying multiple copies of scene information to multiple control devices in the whole-house smart system, the problem of linkage failure caused by device malfunction was solved, ensuring the reliability of the system and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2023-07-27
- Publication Date
- 2026-05-26
AI Technical Summary
In existing smart home systems, when the local server or cloud server malfunctions, the created scenes cannot be realized, or when there is a network failure between the cloud server and the local server, the scenes cannot achieve the linkage of smart devices.
By receiving scene creation requests in the whole-house smart system, multiple replica scene information is generated and deployed to multiple control devices. This ensures that if one control device fails, other control devices can still achieve smart device linkage based on the replica scene information. Each replica scene information corresponds one-to-one with a control device, and priorities are set according to the execution capabilities of the control device. The monitoring device monitors the device status and activates the replica scene information with the highest priority.
Even when control equipment malfunctions, the system can still achieve联动 (interconnection/coordination) of intelligent devices, improving system reliability and user experience, and avoiding联动 (interconnection/coordination) failures caused by single points of failure.
Smart Images

Figure CN119376266B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet of Things (IoT) technology, and in particular to a control method and related device for a whole-house smart system. Background Technology
[0002] A whole-house smart system can include clients, cloud servers, local servers, and smart devices. Clients can first request the server to create a scene, which can include information such as events, conditions, and actions. After the cloud or local server creates the scene, it executes an action when it detects an event and the conditions are met, such as sending a control command to the smart device. Upon receiving the control command, the smart device executes it to achieve intelligent control. A whole-house smart system can also be called a smart living system, or simply whole-house smart or smart living.
[0003] However, the above-mentioned whole-house smart system has the following problems: when the local server fails, the scenarios created on the local server or cloud server cannot be realized, or when the network between the cloud server and the local server fails, the scenarios created on the cloud server cannot be realized. Summary of the Invention
[0004] This application provides a control method and related devices for a whole-house intelligent system, which solves the problem that the scenarios created in the prior art cannot be realized.
[0005] In a first aspect, this application provides a control method for a whole-house intelligent system, wherein the whole-house intelligent system includes a client, a monitoring device, multiple intelligent devices and M control devices, wherein the monitoring device is capable of monitoring the working status of the M control devices, and M is an integer greater than 1.
[0006] The method includes: a first control device receiving a scene creation request from the client, the first control device being one of the M control devices, the scene creation request containing first scene information, the first scene information containing multiple action information; the first control device generating N replica scene information according to the scene creation request, N being a positive integer less than or equal to M, each of the N replica scene information including at least one action information from the multiple action information, the N replica scene information corresponding one-to-one with the N control devices, the control device corresponding to each of the N replica scene information being able to execute the action indicated by each action information contained in each replica scene information; the first control device sending the replica scene information corresponding to each control device to each of the N control devices other than the first control device; the first control device sending first indication information to the monitoring device, the first indication information being used to indicate the association relationship between the N replica scene information and the association relationship between the N control devices and the N replica scene information.
[0007] In some embodiments, the first control device may be as follows: Figure 4 The cloud shown.
[0008] In other embodiments, the first control device can be as follows: Figure 4 The whole-house main unit shown.
[0009] As an example, suppose the first scene information can contain multiple action information, which are used to indicate multiple actions that need to be performed, such as opening the smart door lock, the smart speaker broadcasting a welcome message, turning on the smart lights, and turning on the smart air conditioner.
[0010] The first control device generates three replica scene information sets: replica scene information 1, replica scene information 2, and replica scene information 3, based on the ability of each control device to execute multiple actions indicated by action information. Replica scene information 1 can correspond to the cloud, replica scene information 2 can correspond to the whole-house control unit, and replica scene information 3 can correspond to the Bluetooth gateway. Thus, the cloud can execute the actions indicated by the action information in replica scene information 1, the whole-house control unit can execute the actions indicated by the action information in replica scene information 2, and the Bluetooth gateway can execute the actions indicated by the action information in replica scene information 3.
[0011] In this method, multiple replica scene information can be created based on a scene creation request, and these replica scene information can be deployed in multiple control devices respectively. In this way, when one control device fails, the linkage between smart devices can still be achieved through other control devices based on the replica scene information.
[0012] In some possible implementations, the first scene information includes marker information, which is used to indicate key action information among the plurality of action information; wherein the action information contained in each copy scene information is the key action information indicated by the marker information.
[0013] In this method, the key actions indicated by multiple action information can be the basic requirements set by the user, so that each control device can execute the key actions indicated by multiple action information, that is, each control device can be used to meet the user's basic requirements.
[0014] In some possible implementations, the method further includes: the first control device determining the priority of each replica scene information, the priority of each replica scene information being used to determine the activation order of each replica scene information among the N replica scene information; the first control device sending the priority of each replica scene information to the monitoring device.
[0015] In this method, the replica scene information that needs to be activated can be determined based on the priority of each replica scene information, and then the corresponding action can be performed according to the control device corresponding to the replica scene information that needs to be activated.
[0016] In some possible implementations, the first control device determines the priority of each replica scene information by: determining the priority of each replica scene information based on the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information; the higher the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information, the higher the priority of each replica scene information.
[0017] In this method, the higher the priority of the replica scene information, the stronger the ability of the control device corresponding to the replica scene information to execute actions. This allows replica scene information to be activated in descending order of execution capability, ensuring that the activated replica scene information is always the highest priority replica scene information among the multiple replica scene information corresponding to multiple normally functioning control devices, thereby improving the user experience.
[0018] In some possible implementations, the first control device sending the first instruction information to the monitoring device includes: when the N control devices include the first control device, and the duration for which the first control device configures the corresponding copy scene information is less than the duration for which any of the N control devices configures the corresponding copy scene information, the first control device sends the first instruction information to the monitoring device before sending the copy scene information corresponding to each control device to each control device; and / or, after the first control device sends the copy scene information corresponding to the second control device to the second control device among the N control devices, and before the first control device sends the copy scene information corresponding to each third control device among the N control devices, the first control device sends the first instruction information to the monitoring device, wherein the duration for which the second control device configures the corresponding copy scene information is less than the duration for which each third control device configures the corresponding copy scene information.
[0019] As an example, assuming the first control device is in the cloud, the configuration duration of replica scenario information 1 is less than the configuration duration of replica scenario information 2, which is less than the configuration duration of replica scenario information 3, which is less than the configuration duration of replica scenario information 4.
[0020] Before the cloud sends the replica scene information to the whole-house host, Bluetooth gateway, and mesh devices, it can first send a first instruction message 1 to the monitoring device. The first instruction message 1 is used to indicate the association between the cloud and the replica scene information 1.
[0021] Optionally, after the cloud sends the first instruction information 1 to the monitoring device, it can also send a copy of the scene information 2 to the whole-house control unit. In this example, the second control device may include the whole-house control unit.
[0022] After the cloud sends the replica scene information 2 to the whole-house host and before sending the replica scene information 3 to the Bluetooth gateway, it can send the first instruction information 2 to the monitoring device. The first instruction information 2 is used to indicate the association between the whole-house host and the replica scene information 2.
[0023] In this example, the third control device may include a Bluetooth gateway.
[0024] After the cloud sends the copy scene information 3 to the Bluetooth gateway, it can send the first instruction information 3 to the monitoring device. The first instruction information 3 is used to indicate the association between the Bluetooth gateway and the copy scene information 3.
[0025] As another example, assuming the first control device is a whole-house host, the configuration duration of replica scenario information 2 is less than the configuration duration of replica scenario information 1, which is less than the configuration duration of replica scenario information 3, which is less than the configuration duration of replica scenario information 4.
[0026] In this example, before the whole-house host sends the replica scene information to the cloud, Bluetooth gateway, and mesh device, it can first send a first instruction information 1 to the monitoring device. The first instruction information 1 is used to indicate the association between the whole-house host and the replica scene information 2.
[0027] Optionally, after the whole-house control unit sends the first instruction information 1 to the monitoring device, it can also send a copy of the scene information 1 to the cloud. In this example, the second control device may include the cloud.
[0028] After the whole-house host sends the copy scene information 1 to the cloud, but before sending the copy scene information 3 to the Bluetooth gateway, it can send the first instruction information 2 to the monitoring device. The first instruction information 2 is used to indicate the association between the cloud and the copy scene information 1.
[0029] In this example, the third control device may include a Bluetooth gateway.
[0030] In this method, the first control device can send the control device corresponding to the short-duration replica scenario information to the monitoring device before deploying the long-duration replica scenario information. This allows the long-duration replica scenario information to be deployed simultaneously while executing the action indicated by the action information based on the short-duration replica scenario information. This avoids the problem of excessively long response times for intelligent devices caused by the long deployment time of replica scenario information when all N replica scenario information have been successfully deployed before using it to execute actions.
[0031] In some possible implementations, the first action information in the first scene information includes second scene information, the second scene information includes at least one action information, and the N copy scene information includes copy scene information of the second scene information.
[0032] In this method, the second scene information can include one or more replica scene information. When the second scene information includes one replica scene information, the N replica scene information can be as follows: Figure 15 As shown. When the second replica scenario information includes multiple instances, the N replica scenario information can be as follows: Figure 15 As shown.
[0033] The N replica scene information includes the second scene information. In this way, the control device corresponding to each of the N replica scene information can execute the corresponding actions based on the multiple action information in each replica scene information.
[0034] In some possible implementations, the second action information in the action information included in the second scene information includes the third scene information, wherein the N copy scene information includes copy scene information of the third scene information.
[0035] As an example, the scenario information for N replicas can be as follows: Figure 17 As shown.
[0036] The N replica scene information includes the second scene information. In this way, the control device corresponding to each of the N replica scene information can execute the corresponding actions based on the multiple action information in each replica scene information.
[0037] In some possible implementations, the first control device generates a replica scene information, which is the lowest priority replica scene information among N replica scene information.
[0038] In this method, the copy scene information includes the action information in the copy scene information of the third scene information. This can prevent the action information in the copy scene information of the third scene information from failing to execute due to a malfunction of the control device corresponding to the copy scene information of the second scene information or the scene engine in the control device. This also avoids the situation where the action information in the copy scene information of the first scene information cannot be executed.
[0039] Secondly, this application provides a control method for a whole-house intelligent system, wherein the whole-house intelligent system includes a client, a monitoring device, multiple intelligent devices and M control devices, wherein the monitoring device is capable of monitoring the working status of the M control devices, and M is a positive integer greater than 1. The method includes: the monitoring device receiving first indication information from a first control device, the first indication information indicating an association between N replica scene information and an association between N control devices and the N replica scene information, the first control device being one of the N control devices, N being a positive integer less than or equal to M, each of the N replica scene information including at least one action information from multiple action information in the first scene information, the N replica scene information corresponding one-to-one with the N control devices, and the control device corresponding to each of the N replica scene information being able to execute the action indicated by each action information contained in each replica scene information; when the monitoring device detects an abnormal working state of the current control device, it sends first activation indication information to a backup control device according to the first indication information, the current control device being one of the N control devices, the backup control device being one of the N control devices with a normal working state, and the first activation indication information indicating the backup control device to activate the replica scene information corresponding to the backup control device.
[0040] In this method, the current control device can be one of N control devices. The activation order of the replica scene information corresponding to the current control device is higher than the activation order of the replica scene information corresponding to the backup control device.
[0041] As an example, the current control device can be the cloud, and the backup control device can be the whole-house control unit.
[0042] In this method, when the current control device is in an abnormal state, the monitoring device can send an activation instruction to the backup control device's copy scenario information to avoid multiple smart devices being unable to work together due to the abnormal state of the current control device.
[0043] In some possible implementations, the first scene information includes marker information, which is used to indicate key action information among the plurality of action information; wherein the action information contained in each copy scene information is the key action information indicated by the marker information.
[0044] In some possible implementations, the method further includes: the monitoring device receiving the priority of each replica scenario information, the priority of each replica scenario information being used to determine the activation order of each replica scenario information among the N replica scenario information; wherein, the priority of the replica scenario information corresponding to the current control device is higher than the priority of the replica scenario information corresponding to the backup control device, and the priority of the replica scenario information corresponding to the backup control device is higher than the priority of the replica scenario information corresponding to any one of the N control devices other than the current control device and the backup control device.
[0045] In some possible implementations, the higher the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information, the higher the priority of each replica scene information.
[0046] In some possible implementations, the priority of the replica scenario information corresponding to the current control device is the highest priority among the N replica scenario information.
[0047] In some possible implementations, the method further includes: when the monitoring device detects that the current control device is operating normally, it sends deactivation indication information to the backup control device and sends a second activation indication information to the current control device, wherein the second activation indication information is used to instruct the current control device to activate the copy scene information corresponding to the current control device, and the deactivation indication information is used to instruct the backup control device to deactivate the copy scene information corresponding to the backup control device.
[0048] In this method, when the current control device returns to normal operation, the monitoring device can continue to send activation instruction information to the current control device, so that the activated replica scene information is always the highest priority replica scene information among the multiple replica scene information corresponding to multiple control devices in normal state, thereby improving the user experience.
[0049] Thirdly, this application provides a control method for a whole-house intelligent system, wherein the whole-house intelligent system includes a client, a monitoring device, multiple intelligent devices and M control devices, wherein the monitoring device is capable of monitoring the working status of the multiple control devices, and M is a positive integer greater than 1.
[0050] The method includes: a target control device receiving activation indication information from the monitoring device, the activation indication information being used to instruct the target control device to activate a copy scene information corresponding to the target control device, the copy information including action information; in response to the activation indication information, the target control device controlling at least one of the plurality of smart devices to perform the action indicated by the action information.
[0051] In this method, the control device that receives the activation instruction information can be referred to as the target control device. This target control device can be any one of N control devices.
[0052] In some possible implementations, the method further includes: the target control device receiving deactivation indication information from the monitoring device, the deactivation indication information being used to instruct the target control device to deactivate the scene information corresponding to the target control device.
[0053] Fourthly, this application provides a control device for a whole-house intelligent system, including modules or units for implementing the methods of the first aspect and any possible implementation of the first aspect. It should be understood that each module or unit can implement its corresponding function by executing a computer program.
[0054] Fifthly, this application provides a control device for a whole-house intelligent system, including modules or units for implementing the methods in the second aspect and any possible implementation of the second aspect. It should be understood that each module or unit can implement its corresponding function by executing a computer program.
[0055] Sixthly, this application provides a control device for a whole-house intelligent system, including modules or units for implementing the methods in the third aspect and any possible implementation of the third aspect. It should be understood that each module or unit can implement its corresponding function by executing a computer program.
[0056] In a seventh aspect, this application provides a control device for a whole-house intelligent system, including a processor for executing the control method described in any of the possible implementations of the first to third aspects.
[0057] The device may further include a memory for storing instructions and data. The memory is coupled to the processor, which, when executing the instructions stored in the memory, can implement the methods described in the foregoing aspects. The device may also include a communication interface for communicating with other devices; exemplary, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface.
[0058] Eighthly, this application provides a computer-readable storage medium storing program code for control device execution, the program code including instructions for implementing the methods of the first to third aspects.
[0059] Ninthly, this application provides a computer program product containing instructions that, when run on a control device, causes the control device to implement the methods of the first to third aspects.
[0060] It is understandable that the effects that can be obtained from the second to the ninth aspects can be referred to the descriptions in the first to the third aspects, and will not be repeated here. Attached Figure Description
[0061] Figure 1 This is a schematic diagram of a smart home scenario;
[0062] Figure 2 This is a schematic diagram of a whole-house smart system architecture;
[0063] Figure 3 This is a schematic diagram of another whole-house smart system architecture;
[0064] Figure 4 This application provides a schematic diagram of a whole-house intelligent system architecture;
[0065] Figure 5 This application provides a schematic diagram of a whole-house intelligent system architecture;
[0066] Figure 6 A schematic diagram of a control method for a whole-house intelligent system provided in this application;
[0067] Figure 7 This is a schematic diagram of a first user interface of a terminal device provided in one embodiment of this application;
[0068] Figure 8 This is a schematic diagram of a second user interface of a terminal device provided in one embodiment of this application;
[0069] Figure 9 This is a schematic diagram of a third user interface of a terminal device provided in one embodiment of this application;
[0070] Figure 10 A schematic diagram of a copy of scene information generated by a first control device according to an embodiment of this application;
[0071] Figure 11 This is a schematic flowchart of a control method for a whole-house smart system provided in one embodiment of this application;
[0072] Figure 12 A schematic diagram of the control method for a whole-house intelligent system provided in another embodiment of this application;
[0073] Figure 13 A schematic flowchart of a control method for a whole-house intelligent system provided in yet another embodiment of this application;
[0074] Figure 14 A schematic flowchart of a control method for a whole-house intelligent system provided in yet another embodiment of this application;
[0075] Figure 15 A schematic diagram of a copy of scene information generated by a first control device according to another embodiment of this application;
[0076] Figure 16 A schematic diagram of a copy scene information generated by a first control device according to yet another embodiment of this application;
[0077] Figure 17 A schematic diagram of a copy scene information generated by a first control device according to yet another embodiment of this application;
[0078] Figure 18 A schematic diagram of a copy scene information generated by a first control device according to yet another embodiment of this application;
[0079] Figure 19 A schematic flowchart of a control method for a whole-house intelligent system provided in yet another embodiment of this application;
[0080] Figure 20 This is a schematic diagram of the structure of a control device for a whole-house smart system according to an embodiment of this application;
[0081] Figure 21 This is a schematic diagram of the control device for a whole-house smart system according to another embodiment of this application;
[0082] Figure 22 This is a schematic diagram of the control device for a whole-house smart system according to yet another embodiment of this application.
[0083] Figure 23 This is a schematic diagram of the control device for a whole-house smart system according to another embodiment of this application. Detailed Implementation
[0084] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0085] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, "first information" and "second information" are only used to distinguish different information and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.
[0086] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a and b and c. Here, a, b, and c can be single or multiple.
[0087] This application can be applied to, for example Figure 1 In the smart home scenario shown, such as Figure 1 As shown, smart homes can include smart devices such as smart TVs, smart speakers, smart projectors, smart refrigerators, smart routers, smart door locks, smart air conditioners, and smart lights.
[0088] In the field of smart homes, it is necessary to link multiple smart devices together to achieve the need for coordinated control. For example, turning on the air conditioner to cool when the temperature is above 30°C, or closing the windows when the outdoor wind force is greater than level 3.
[0089] Currently, it is possible to achieve interconnection between multiple smart devices based on a whole-house smart system. Figure 2 This is a schematic diagram of a whole-house smart system architecture, such as Figure 2 As shown, the whole-house smart system may include: a client, a cloud, a whole-house host, and at least one slave gateway.
[0090] The client can communicate with the cloud or the whole-house host, the whole-house host can connect to and schedule at least one slave gateway, and each of the at least one slave gateway can connect to and control at least one smart device.
[0091] As an example, the at least one slave gateway may include a programmable logic controller (PLC) gateway, a Bluetooth gateway, and a Zigbee gateway, etc. Specifically, the PLC gateway can connect to and control the PLC device, the Bluetooth gateway can connect to and control the Bluetooth device, and the Zigbee gateway can connect to and control the Zigbee device.
[0092] Optionally, the whole-house control unit can also connect to and control at least one smart device. For example, the whole-house control unit can connect to and control a wireless fidelity (WiFi) device.
[0093] In this embodiment, cloud and whole-house hosting can be used to create scenes. Users can input scene creation requests on the client, and the client sends scene creation requests to the cloud or whole-house hosting based on the scene creation request. After receiving the scene creation request, the cloud or whole-house hosting creates the scene based on the scene creation request instructions.
[0094] As an example, the client can be deployed on the terminal device used by the user.
[0095] Optionally, when the user's terminal device is connected to the whole-house host via a router, or when the user's terminal device and the whole-house host are on the same local area network, the client can send a scene creation request to the whole-house host.
[0096] Optionally, when the user's terminal device is on a different local area network from the whole-house host, the client can send a scene creation request to the cloud.
[0097] As another example, the client can be deployed on a whole-house control panel. The whole-house control panel and the whole-house host can be connected via a router, meaning they are on the same local area network. The client can send scene creation requests to the whole-house host. Currently, scenes can be pre-installed by installation and maintenance personnel or created by the user. In some examples, the created scenes can be displayed in applications (Apps), such as smart living apps. In other examples, the created scenes can also be displayed on the whole-house control panel. Users can manage and trigger scenes by clicking on them in the App or the whole-house control panel.
[0098] A scene can consist of a triggering event, a condition, and an action. The triggering event is the starting point of the entire scene, representing a momentary change in state. When this change occurs, the execution of the entire scene flow begins.
[0099] Triggered events can be divided into manual triggered events and automatic triggered events. Manual triggered events refer to events triggered by users clicking scene cards in the app, using voice commands, or clicking buttons on the central control screen of the whole house. Automatic triggered events refer to changes in the state of smart devices or the environment.
[0100] An activation condition is a condition that must be met to execute an action. The corresponding action can only be executed after the triggering event meets the activation condition. The triggering event and the activation condition together form a scene's trigger.
[0101] The action to be performed is the action that a smart device needs to execute. For example, turning on a smart air conditioner or a smart light.
[0102] A scene can be associated with a pattern; a pattern can correspond to a scene.
[0103] As an example, in "Homecoming Mode," the scenarios created could include: the smart lock opening, the smart speaker announcing "Welcome Home," the smart lights turning on, and the smart air conditioner turning on. The smart lock opening can be the trigger event for this scenario.
[0104] As another example, in the "away from home" mode, the scenarios created could include: smart lock closing, smart lights turning off, smart air conditioning turning off, etc. Here, smart lock closing can be the trigger event for this scenario.
[0105] In this embodiment, scene engines can be deployed in both the cloud and the whole-house host.
[0106] After creating a scene in the cloud, you can deploy it to a cloud-based scene engine. The cloud-based scene engine can access a wealth of internet resources, such as music playback and weather forecasts for VIP members.
[0107] After creating a scene in the whole-house hosting system, you can deploy the scene to the system's scene engine. The whole-house hosting system's scene engine can then connect with all devices within the house, including Wi-Fi devices, Bluetooth devices, and more.
[0108] Optionally, a scene engine can also be deployed from the gateway. In some examples, after a scene is created in the cloud or whole-house hosting, the created scene can be deployed to the scene engine of the gateway. The scene engine of the gateway can be linked with devices under this gateway, is easy to modify, and updates quickly.
[0109] Alternatively, after creating a scenario on a cloud or whole-house hosting provider, the scenario can be deployed to a mesh network of devices. Mesh devices can also execute scenarios through mesh networking, but this is not easy to modify, creation is prone to failure, and deployment space is limited.
[0110] In this embodiment, the cloud, whole-house host, and slave gateway can be collectively referred to as control devices, and PLC devices, Bluetooth devices, Zigbee devices, and WiFi devices can be collectively referred to as execution devices.
[0111] In this application, the cloud can also be referred to as a cloud server, the whole-house host and at least one slave gateway can be local servers, and both the cloud server and the local server can be referred to as control devices.
[0112] Figure 3 This is a schematic diagram of another whole-house smart system architecture. (Example) Figure 3 As shown, the whole-house smart system may include: cloud, central gateway, backup central gateway, at least one slave gateway, blind gateway, router and WiFi device.
[0113] Among them, the central gateway can be equivalent to Figure 2 In a whole-house host system, the central gateway and WiFi devices can establish a communication connection through a router.
[0114] The backup hub serves as a standby hub gateway for the main hub gateway. This backup hub can also establish communication connections with WiFi devices. When the main hub gateway malfunctions, WiFi devices can be controlled via the backup hub. When the main hub gateway is functioning normally, the backup hub does not handle WiFi device control.
[0115] At least one slave gateway is a gateway that can be scheduled by the central gateway. The central gateway can control the smart devices under each slave gateway through each slave gateway to realize scene execution.
[0116] In this embodiment, the at least one slave gateway may include, for example: Figure 2 The PLC gateway, Bluetooth gateway, and Purple Bee gateway shown are examples of such gateways.
[0117] As an example, if the central gateway needs to control a Bluetooth device, it can first send control information to the Bluetooth gateway, so that the Bluetooth gateway can control the Bluetooth device based on the control information.
[0118] The blind gateway does not accept the scheduling of the central gateway. It can communicate with the cloud and is responsible for connecting some smart devices to the cloud, realizing the linkage of these smart devices through the source end.
[0119] In this embodiment, the system can deploy scenarios on a central gateway or in the cloud. For example, scenarios such as sunrise / sunset, outdoor weather, weekdays / restdays, notifications to terminal devices, switch and execution scenarios (nested), WiFi device events, voice control, door locks, and Rubik's Cube capabilities can be deployed in the cloud.
[0120] exist Figure 2 or Figure 3 In the smart home system shown, there are often situations where a scene is successfully created, but multiple smart devices in that scene cannot work together.
[0121] This is because existing smart home systems create a scene based on a scene creation request, and each scene is deployed in the scene engine of a control device. For example, after a scene is created in the cloud, it can be deployed in the scene engine in the cloud. Similarly, after a scene is created by the smart home unit, it can be deployed in the scene engine of the smart home unit.
[0122] Thus, when the control device malfunctions or the scene engine in the control device malfunctions, the scene deployed in the scene engine of the control device cannot be realized, meaning that multiple smart devices cannot achieve linkage.
[0123] Therefore, this application provides a technical solution that can solve the problem that multiple smart devices cannot achieve linkage in the prior art.
[0124] In the technical solution provided in this application, after receiving a scene creation request, the cloud or whole-house host can generate multiple replica scene information based on the scene creation request, and deploy these multiple replica scene information to multiple control devices respectively.
[0125] In this method, multiple replica scene information can be created based on a scene creation request, and these replica scene information are deployed in multiple control devices respectively. In this way, when one control device fails, the linkage between smart devices can be realized through other control devices based on the replica scene information.
[0126] Each of these multiple replica scene information includes a triggering event, activation conditions, and execution actions.
[0127] These multiple replica scene information pieces correspond one-to-one with multiple control devices, and each replica scene information piece can be deployed to the corresponding control device.
[0128] Each control device has different execution capabilities. The information for each replica scenario can be generated based on the execution capabilities of the control device corresponding to that replica scenario.
[0129] Each of these multiple replica scene information sets has a priority, which determines the activation order of each replica scene information among the multiple replica scene information sets. The higher the capability of the control device corresponding to a replica scene information set to execute actions, the higher the priority of that replica scene information set.
[0130] In addition, the whole-house smart system of this application may also include a monitoring device in which a monitoring process can be deployed.
[0131] The cloud or whole-house host can send instruction information to the monitoring device. This instruction information is used to indicate the correlation between multiple replica scene information and the correlation between multiple control devices and multiple replica scene information.
[0132] Optionally, the cloud or whole-house hosting provider can also send the priority of each replica scenario information among multiple replica scenario information to the monitoring device. The monitoring device can confirm whether the status of each control device is abnormal based on the monitoring process, and determine the control device that needs to be activated based on the status of each control device and the priority of the replica scenario information corresponding to each control device, and then activate the control device that needs to be activated.
[0133] Next, this application will combine Figures 4 to 23 This application provides a detailed description of its proposed solution.
[0134] Figure 4 This is a schematic diagram of a whole-house intelligent system architecture provided for this application. Figure 4 As shown, the whole-house smart system may include a client, M control devices, multiple smart devices and monitoring devices, where M is an integer greater than 1.
[0135] The M control devices can include a cloud platform, a whole-house central control unit, and at least one secondary gateway. Each of the M control devices can deploy a scene engine. The structure and connection relationships of the client, cloud platform, whole-house central control unit, at least one secondary gateway, and multiple smart devices can be found in [reference needed]. Figure 2 The embodiments shown are not described in detail here.
[0136] In this embodiment, after receiving a scene creation request from a client, the cloud or whole-house host can generate multiple replica scene information based on the request and deploy these replica scene information to multiple control devices. These multiple control devices are the control devices among M control devices.
[0137] Optionally, the scene creation request includes first scene information, which can be used to create a scene, and the first scene information includes multiple action information.
[0138] Each of these multiple instance scenario information sets includes a triggering event, an activation condition, and an execution action. The triggering event and activation condition are the same for each instance scenario, but the execution action can differ between them.
[0139] These multiple replica scene information pieces correspond one-to-one with multiple control devices, and each replica scene information piece can be deployed to the corresponding control device.
[0140] In this embodiment, deploying each replica scene information to the corresponding control device can be understood as sending each replica scene information to the control device corresponding to each replica scene information, and the control device corresponding to each replica scene information deploying each replica scene information to the scene engine of the control device.
[0141] In a plurality of control devices, each control device may have a different ability to execute the actions indicated by multiple action information. The ability of a control device to execute the actions indicated by multiple action information can be used to instruct the control device to control the intelligent device to execute the actions indicated by multiple action information. The ability to execute the actions indicated by multiple action information can be related to the number of actions indicated by multiple action information, the execution capability of the actions indicated by multiple action information, and the execution speed of the actions indicated by multiple action information.
[0142] Each replica scene information in multiple replica scene information can be generated based on the ability of the control device corresponding to each replica scene information to execute the actions indicated by multiple action information.
[0143] Each of these multiple replica scene information also has a priority. The priority of each replica scene information can be determined based on the ability of the control device corresponding to each replica scene information to execute the actions indicated by multiple action information. The priority of each replica scene information is used to determine the activation order of each replica scene information among these multiple replica scene information.
[0144] As an example, suppose that among these multiple control devices are control device 1 and control device 2, when the number of actions indicated by multiple action information executed by control device 1 is greater than that of control device 2, or when the execution capability of the actions indicated by multiple action information executed by control device 1 is higher than that of control device 2, or when the execution speed of the actions indicated by multiple action information executed by control device 1 is higher than that of control device 2, the priority of the copy scene information corresponding to control device 1 is higher than the priority of the copy scene information corresponding to control device 2.
[0145] A monitoring process can be deployed in the monitoring device. The monitoring device can communicate with each of the M control devices, enabling the monitoring process of the monitoring device to establish a heartbeat connection with the scene engine of each control device to detect the working status of each control device (or detect the working status of the scene engine of each control device), and activate or deactivate the duplicate scene information deployed by the scene engine of each control device based on the working status of each control device (or the working status of the scene engine of each control device).
[0146] The first control device among multiple control devices can send instruction information to the monitoring device. This instruction information is used to indicate the correlation between the multiple replica scene information and the correlation between the multiple replica scene information and the multiple control devices.
[0147] Optionally, the first control device may also send the priority of each copy of the scenario information to the monitoring device.
[0148] Optionally, the association between multiple replica scene information can be associated with the priority of each replica scene information within the multiple replica scene information. As an example, the association between multiple replica scene information can include the activation order of each replica scene information within these multiple replica scene information.
[0149] During scenario use, the monitoring device can monitor the status of each of the multiple control devices based on the monitoring process, and then determine the replica scenario information that needs to be activated based on the status of each control device, indication information, and priority of each replica scenario information.
[0150] It is understandable that the cloud or whole-house hosting provider can receive multiple scene creation requests, and each of these requests contains information about a first scene. Among the multiple action information contained in the first scene information of different scene creation requests, at least one action information will be different.
[0151] Figure 5 This is a schematic diagram of another whole-house smart system architecture provided for an embodiment of this application. Figure 5 In the system, the Bluetooth gateway can control smart door locks and smart lights, while the cloud and whole-house control unit can control smart door locks, smart lights, smart speakers, and smart air conditioners.
[0152] Figure 6 This is a schematic diagram illustrating the control method of a whole-house intelligent system provided in this application. Figure 6 As shown, the method may include S601 to S604.
[0153] In this embodiment, the whole-house smart system can be as follows: Figure 4 The whole-house smart system shown.
[0154] In this embodiment, the method can be applied to a first control device. For example, the method can be implemented by the first control device, or by a chip in the first control device, or by an application or service in the first control device.
[0155] In some embodiments, the first control device may be as follows: Figure 4 The cloud shown.
[0156] In other embodiments, the first control device can be as follows: Figure 4 The whole-house main unit shown.
[0157] S601, the first control device receives a scene creation request from the client. The first control device is one of M control devices. The scene creation request contains first scene information, which contains multiple action information. M is an integer greater than 1.
[0158] In this embodiment, the user can input a scene creation request on the client. After receiving the scene creation request from the user, the client can send the scene creation request to the first control device.
[0159] As an example, the client can be deployed on the terminal device used by the user.
[0160] As another example, the client can be deployed in a central control screen throughout the house.
[0161] Users can enter multiple scene creation requests in the client, and each scene creation request can correspond to a working mode.
[0162] Figure 7 This is a schematic diagram of a first user interface of a terminal device provided in one embodiment of this application. Figure 7 As shown in the image, the smart home interface can include multiple working modes, such as away mode, home mode, and night mode.
[0163] In this example, a user can create a "leaving home" scene by clicking the "create scene" button for "leaving home" mode. A user can create a "coming home" scene by clicking the "create scene" button for "coming home" mode. A user can create a "night" scene by clicking the "create scene" button for "night" mode.
[0164] Optionally, users can also add other working modes by clicking the custom button or the "+" button, and create corresponding scenarios based on the added working modes.
[0165] Taking the "Homecoming Mode" as an example, when a user clicks the "Create Scene" button for "Homecoming Mode," the terminal device can display something like this: Figure 8 The second user interface shown may include a date button and multiple action buttons.
[0166] In this example, users can enter the time information for the "Home Mode" by clicking the date button. This time information can be used to indicate the time when the "Home Mode" scenario is executed.
[0167] Additionally, users can input multiple actions for the "Home Mode" scenario by clicking multiple action buttons. Each action button corresponds to a specific action, and each button is used by the user to input the corresponding action.
[0168] As an example, when the user clicks the button for action 1, the terminal device can display something like this: Figure 9 The third user interface shown includes an "Add Smart Device" button, a "Smart Device Action" button, a key action selection box, and an "OK" button.
[0169] In this example, the user can click the "Add Smart Device" button to input the execution device corresponding to action 1. The user can also click the "Smart Device Action" button to input the action that the execution device needs to perform.
[0170] The client can determine whether the user has set action 1 as a critical action through the critical action selection box.
[0171] like Figure 9 As shown in (a), when the user clicks the key action selection box, a "√" mark can appear in the key action selection box, so that the client can determine that the user has set action 1 as the key action.
[0172] like Figure 9 As shown in (b), the user did not click the critical action selection box, and there was no "√" mark in the critical action selection box. This allows the client to determine that the user set action 1 as a non-critical action.
[0173] In this example, after the user clicks the OK button, the terminal device can return to, for example, Figure 8 The second user interface shown.
[0174] After the user enters the date and action, they can click on the following: Figure 8 The "Create" button is shown. After receiving the user's "Create" command, the client can send a scene creation request to the first control device.
[0175] Taking the "Homecoming" mode as an example, the scene creation request can include first scene information, which can contain multiple action information. These multiple action information are used to indicate multiple actions that need to be performed, such as opening the smart door lock, the smart speaker broadcasting a welcome message, turning on the smart lights, and turning on the smart air conditioner.
[0176] Optionally, the first scene information may also include the execution order among the multiple actions indicated by these multiple action information.
[0177] Suppose the user sets action 1 to open the smart door lock, action 2 to announce "Welcome home" via voice from the smart speaker, action 3 to turn on the smart lights, and action 4 to turn on the smart air conditioner. Then the execution order of the multiple actions indicated by these action information is: smart door lock open, smart speaker announces "Welcome home," smart lights turn on, and smart air conditioner turns on.
[0178] In this example, Action 1 can be the triggering event for this scene.
[0179] Optionally, the first scene information may also include tagging information, which is used to indicate key action information among the multiple action information.
[0180] If a user clicks the critical action selection box when inputting action 1, then action 1 includes this marker information, indicating that opening the smart door lock is the critical action.
[0181] If the user also clicks the key action selection box when entering action 3, then action 3 will also include this marker information, indicating that turning on the smart light is also a key action.
[0182] S602, the first control device generates N replica scene information according to the scene creation request, where N is a positive integer less than or equal to M. Each of the N replica scene information includes at least one action information among multiple action information. The N replica scene information corresponds one-to-one with the N control devices. The control device corresponding to each of the N replica scene information can execute the action indicated by each action information contained in each replica scene information.
[0183] In this embodiment, the method for the first control device to generate N replica scene information according to the scene creation request may include: determining N control devices from M control devices, wherein each of the N control devices is capable of executing at least one action information among multiple action information in the first scene information; determining the ability of each of the N control devices to execute multiple actions indicated by the multiple action information; and generating replica scene information corresponding to each control device based on the ability of each control device to execute multiple actions indicated by the multiple action information.
[0184] Taking the "coming home" mode as an example, suppose the first scene information includes four action information: the smart door lock is opened, the smart speaker announces "Welcome home" in voice, the smart lights are turned on, and the smart air conditioner is turned on. The smart devices involved in this first scene information include the smart door lock, smart lights, smart speaker, and smart air conditioner.
[0185] by Figure 5For example, a Bluetooth gateway can control the opening of smart door locks and the turning on of smart lights, while a cloud-based or whole-house control unit can control the opening of smart door locks, the voice broadcast of "Welcome Home" from a smart speaker, the turning on of smart lights, and the turning on of smart air conditioners. Therefore, the N control devices include the cloud, the whole-house control unit, and the Bluetooth gateway.
[0186] In this example, the first control device can be a cloud-based or whole-house control unit.
[0187] Assume the first control device generates three replica scene information sets: replica scene information 1, replica scene information 2, and replica scene information 3, based on the ability of each control device to execute multiple actions indicated by action information. Replica scene information 1 can correspond to the cloud, replica scene information 2 can correspond to the whole-house control unit, and replica scene information 3 can correspond to the Bluetooth gateway. Then, the cloud can execute the actions indicated by the action information in replica scene information 1, the whole-house control unit can execute the actions indicated by the action information in replica scene information 2, and the Bluetooth gateway can execute the actions indicated by the action information in replica scene information 3.
[0188] In this example, the Bluetooth gateway can control smart door locks and smart lights, but not smart speakers and smart air conditioners. Therefore, the action information in the copy scene information 3 can include the smart door lock opening and the smart light turning on.
[0189] The cloud and whole-house control unit can control smart door locks, smart lights, smart speakers, and smart air conditioners. Therefore, the action information in both copy scene information 1 and copy scene information 2 can include smart door locks opening, smart speakers broadcasting a welcome message, smart lights turning on, and smart air conditioners turning on.
[0190] Optionally, the smart lock and smart light can also interact via mesh networking, in which case the smart lock and smart light can be mesh devices. Correspondingly, the first control device can also generate a copy of scene information 4, which can be deployed to the smart lock and smart light. The action information in this copy of scene information 4 can include the smart lock opening and the smart light turning on.
[0191] In this embodiment, the action information contained in each of the N replica scene information can be key action information indicated by the tag information.
[0192] As an example, assuming that the smart door lock opening and the smart light turning on are the key action information, the actions indicated by the action information in each of these N replica scene information include the smart door lock opening and the smart light turning on.
[0193] The key actions indicated by multiple action information can be the basic requirements set by the user, so that each control device can execute the key actions indicated by multiple action information, that is, each control device can be used to meet the user's basic requirements.
[0194] Optionally, the first control device can also determine the priority of each replica scene information among the N replica scene information, and the priority of each replica scene information is used to determine the activation order of each replica scene information among the N replica scene information.
[0195] Optionally, the first control information may determine the priority of each replica scene information based on the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information.
[0196] Based on the priority of each replica scene information, the replica scene information that needs to be activated can be determined, and then the corresponding action can be performed according to the control device corresponding to the replica scene information that needs to be activated.
[0197] The higher the ability of the control device corresponding to each of the N replica scene information to execute multiple actions indicated by the action information, the higher the priority of each replica scene information.
[0198] The ability of a control device to execute multiple actions indicated by multiple action information can be related to the number of multiple actions indicated by multiple action information, the execution capability of the multiple actions indicated by multiple action information, or the execution speed of the multiple actions indicated by multiple action information.
[0199] As a first example, when playing music or videos, if a control device can use a membership to get better sound quality or use paid content, then the control device is more capable of playing music or videos.
[0200] As a second example, when using weather query services, the accuracy and response time of service forecasts provided by different developers vary. If a control device provides a service forecast with higher accuracy or a shorter response time than other control devices, then that control device has a stronger ability to query weather services.
[0201] As a third example, assuming that multiple control devices can perform the same action, the control device with a shorter response time or stronger action stability is more capable.
[0202] As a fourth example, suppose a control device can perform more actions than other control devices, and that control device has a stronger ability to perform multiple actions indicated by multiple action information.
[0203] by Figure 5 For example, cloud and whole-house hosts can control smart locks, smart lights, smart speakers, and smart air conditioners, while Bluetooth gateways and mesh devices can control smart locks and smart lights. If the number of action information that cloud and whole-house hosts can execute is greater than the number of action information that Bluetooth gateways can execute, then the priority of the replica scene information corresponding to cloud and whole-house hosts is higher than the priority of the replica scene information corresponding to Bluetooth gateways and mesh devices.
[0204] For smart speakers to announce "Welcome Home," when connected to the internet, the cloud can verify the user's music membership. Therefore, cloud-based voice announcements offer a better user experience, such as higher audio resolution. Consequently, the cloud-based scenario information has a higher priority than the scenario information provided by the home network's main unit.
[0205] In addition, the deployment process for replica scene information corresponding to mesh devices is more complex than that for replica scene information corresponding to Bluetooth gateways. Therefore, the priority of replica scene information corresponding to Bluetooth gateways is higher than that of replica scene information corresponding to mesh devices.
[0206] In this embodiment, the higher the priority of the replica scene information, the stronger the ability of the control device corresponding to the replica scene information to perform actions. This allows replica scene information to be activated in descending order of execution capability, ensuring that the activated replica scene information is always the highest priority replica scene information among the multiple replica scene information corresponding to multiple normally functioning control devices, thereby improving the user experience.
[0207] In this example, the replica scene information generated by the first control device can be as follows: Figure 10 As shown. The first control device can generate replica scene information 1, replica scene information 2, replica scene information 3, and replica scene information 4.
[0208] The actions indicated by the action information in Instance Scene Information 1 include: opening the smart door lock, broadcasting "Welcome Home" via smart speaker (member version), turning on the smart lights, and turning on the smart air conditioner. Instance Scene Information 1 has a priority of 0 and corresponds to the cloud.
[0209] The actions indicated by the action information in Scenario 2 include: opening the smart door lock, the smart speaker broadcasting "Welcome Home" (standard version), turning on the smart lights, and turning on the smart air conditioner. Scenario 2 has a priority of 1 and corresponds to the whole-house control unit.
[0210] The actions indicated by the action information in replica scene information 3 include: opening the smart door lock and turning on the smart light. Replica scene information 3 has a priority of 2 and corresponds to the Bluetooth gateway.
[0211] The actions indicated by the action information in replica scene information 4 include: opening the smart door lock and turning on the smart light. Replica scene information 4 has a priority of 3 and corresponds to the mesh device.
[0212] In this example, the smart lock opening is a trigger event for the copy scene information.
[0213] Optionally, the first control device can generate N copies of scene information through its scene engine.
[0214] S603, the first control device sends a copy of the scenario information corresponding to each of the N control devices (excluding the first control device itself). Correspondingly, each of the N control devices (excluding the first control device itself) receives the copy of the scenario information corresponding to its own scenario.
[0215] by Figure 10 For example, suppose the replica scene information generated by the first control device includes replica scene information 1, replica scene information 2, replica scene information 3 and replica scene information 4, where replica scene information 1 corresponds to the cloud, replica scene information 2 corresponds to the whole-house host, replica scene information 3 corresponds to the Bluetooth gateway, and replica scene information 4 corresponds to the mesh device.
[0216] As an example, when the first control device is the cloud, the cloud can send replica scene information 2, replica scene information 3 and replica scene information 4 to the whole-house host, Bluetooth gateway and mesh device respectively.
[0217] After receiving the replica scene information 2, the whole-house host can deploy the replica scene information 2 into the whole-house host's scene engine.
[0218] When the cloud sends a copy of scene information 3 to the Bluetooth gateway, the whole-house host can also send this copy of scene information 3 to the Bluetooth gateway. After receiving the copy of scene information 3, the Bluetooth gateway can deploy it into its scene engine.
[0219] When the cloud sends the replica scene information 4 to the mesh device, the replica scene information 4 can be sent to the mesh device through the whole-house host and Bluetooth gateway.
[0220] It is understandable that when the cloud sends replica scenario information 4 to the mesh devices, it is sending replica scenario information 4 to each mesh device.
[0221] Optionally, after each mesh device receives the replica scene information 4, it can deploy the replica scene information 4 to its own storage space.
[0222] In this example, the mesh devices include smart locks and smart lights. The cloud can send copy scene information to the smart locks and smart lights respectively through the whole-house host and Bluetooth gateway.
[0223] Optionally, the Bluetooth gateway can generate identification information for replica scenario information 4 based on replica scenario information 4, and send the identification information to the mesh device. As an example, the identification information can be the identity document (ID) of replica scenario information 4.
[0224] In this example, the cloud can deploy the replica scene information 1 to the scene engine in the cloud.
[0225] As another example, when the first control device is a whole-house host, the whole-house host can send replica scene information 1, replica scene information 3 and replica scene information 4 to the cloud, Bluetooth gateway and mesh device respectively.
[0226] After receiving the replica scene information 1 in the cloud, the replica scene information 1 can be deployed to the scene engine in the cloud.
[0227] After receiving the replica scene information 3, the Bluetooth gateway can deploy the replica scene information 3 into the scene engine of the Bluetooth gateway.
[0228] When the whole-house host sends replica scene information 4 to the mesh device, it can send the replica scene information 4 to the mesh device through the Bluetooth gateway.
[0229] It is understandable that when the whole-house host sends replica scene information 4 to the mesh devices, it is sending replica scene information 4 to each mesh device.
[0230] Optionally, after receiving the replica scenario information 4, the mesh device can deploy the replica scenario information 4 to the storage space of the mesh device.
[0231] In this example, the mesh devices include smart locks and smart lights. The whole-house host can send replica scene information to the smart locks and smart lights respectively via a Bluetooth gateway.
[0232] Optionally, the Bluetooth gateway can generate identification information for replica scenario information 4 based on replica scenario information 4, and send the identification information to the mesh device. As an example, the identification information can be the identification ID of replica scenario information 4.
[0233] In this example, the whole-house host can deploy replica scene information 2 into the whole-house host's scene engine.
[0234] S604, the first control device sends a first instruction message to the monitoring device. The first instruction message indicates the correlation between the N replica scene information and the correlation between the N control devices and the N replica scene information. Accordingly, the monitoring device receives the first instruction message.
[0235] Optionally, the first control device can also send the priority of each of the N replica scene information to the monitoring device.
[0236] In this method, multiple replica scene information can be created based on a scene creation request, and these replica scene information can be deployed in multiple control devices respectively. In this way, when one control device fails, the linkage between smart devices can still be achieved through other control devices based on the replica scene information.
[0237] The relationships between N replica scene information can be associated with the priority of each replica scene information among the N replica scene information. As an example, the relationships between the N replica scene information can include the activation order of each replica scene information among the N replica scene information, which is determined based on the priority of each replica scene information among the N replica scene information.
[0238] In some implementations, the first control device sending a first instruction message to the monitoring device may include: when there are N control devices, including the first control device, and the duration for which the first control device configures the corresponding copy scene information is less than the duration for which any of the N control devices configures the corresponding copy scene information, the first control device sends the first instruction message to the monitoring device before sending the copy scene information corresponding to each control device to each control device; and / or, after the first control device sends the copy scene information corresponding to the second control device to the second control device among the N control devices, and before the first control device sends the copy scene information corresponding to each third control device among the N control devices, the first control device sends the first instruction message to the monitoring device, wherein the duration for which the second control device configures the corresponding copy scene information is less than the duration for which each third control device configures the corresponding copy scene information.
[0239] As an example, suppose the first control device is the cloud, and the cloud corresponds to replica scene information 1. When configuring replica scene information 1 in the cloud, replica scene information 1 is deployed to the scene engine in the cloud.
[0240] When configuring replica scene information 2, the cloud needs to first determine that the control device corresponding to replica scene information 2 is the whole house host, then send replica scene information 2 to the whole house host, and finally the whole house host deploys replica scene information 2 into the scene engine.
[0241] When configuring replica scene information 3, the cloud needs to first determine that the control device corresponding to replica scene information 3 is a Bluetooth gateway, then send replica scene information 3 to the Bluetooth gateway through the whole-house host, and finally the Bluetooth gateway deploys replica scene information 3 into the scene engine.
[0242] When configuring replica scene information 4, the cloud needs to first determine that the control device corresponding to replica scene information 4 is a mesh device, and then send replica scene information 4 to each mesh device through the whole-house host and Bluetooth gateway. Finally, each mesh device deploys replica scene information 4 to its own storage space.
[0243] Generally, the more complex the configuration process for replica scene information, the shorter the configuration time. Therefore, in this example, the configuration time for replica scene information 1 is less than the configuration time for replica scene information 2, which is less than the configuration time for replica scene information 3, which is less than the configuration time for replica scene information 4.
[0244] In this example, before the cloud sends the replica scene information to the whole-house host, Bluetooth gateway, and mesh device, it can first send the first instruction information 1 to the monitoring device. The first instruction information 1 is used to indicate the association between the cloud and the replica scene information 1.
[0245] Optionally, after the cloud sends the first instruction information 1 to the monitoring device, it can also send a copy of the scene information 2 to the whole-house control unit. In this example, the second control device may include the whole-house control unit.
[0246] After the cloud sends the replica scene information 2 to the whole-house host and before sending the replica scene information 3 to the Bluetooth gateway, it can send the first instruction information 2 to the monitoring device. The first instruction information 2 is used to indicate the association between the whole-house host and the replica scene information 2.
[0247] In this example, the third control device may include a Bluetooth gateway.
[0248] After the cloud sends the copy scene information 3 to the Bluetooth gateway, it can send the first instruction information 3 to the monitoring device. The first instruction information 3 is used to indicate the association between the Bluetooth gateway and the copy scene information 3.
[0249] As another example, suppose the first control device is a whole-house host, and the whole-house host corresponds to replica scene information 1. When the whole-house host is configured with replica scene information 2, replica scene information 2 is deployed to the scene engine of the whole-house host.
[0250] When configuring replica scene information 1, the whole-house host needs to first determine that the control device corresponding to replica scene information 1 is the cloud, then send replica scene information 1 to the cloud, and finally the cloud deploys replica scene information 1 to the scene engine.
[0251] When configuring replica scene information 3, the whole-house host needs to first determine that the control device corresponding to replica scene information 3 is the Bluetooth gateway, then send replica scene information 3 to the Bluetooth gateway, and finally the Bluetooth gateway deploys replica scene information 3 into the scene engine.
[0252] When configuring replica scene information 4, the whole-house host needs to first determine that the control device corresponding to replica scene information 4 is a mesh device, then send replica scene information 4 to each mesh device through the Bluetooth gateway, and finally each mesh device deploys replica scene information 4 to its own storage space.
[0253] In this example, the configuration duration of replica scenario information 2 is less than the configuration duration of replica scenario information 1, which is less than the configuration duration of replica scenario information 3, which is less than the configuration duration of replica scenario information 4.
[0254] In this example, before the whole-house host sends the replica scene information to the cloud, Bluetooth gateway, and mesh device, it can first send a first instruction information 1 to the monitoring device. The first instruction information 1 is used to indicate the association between the whole-house host and the replica scene information 2.
[0255] Optionally, after the whole-house control unit sends the first instruction information 1 to the monitoring device, it can also send a copy of the scene information 1 to the cloud. In this example, the second control device may include the cloud.
[0256] After the whole-house host sends the copy scene information 1 to the cloud, but before sending the copy scene information 3 to the Bluetooth gateway, it can send the first instruction information 2 to the monitoring device. The first instruction information 2 is used to indicate the association between the cloud and the copy scene information 1.
[0257] In this example, the third control device may include a Bluetooth gateway.
[0258] After the whole-house host sends the copy scene information 3 to the Bluetooth gateway, it can send the first instruction information 3 to the monitoring device. The first instruction information 3 is used to indicate the association between the Bluetooth gateway and the copy scene information 3.
[0259] In this method, the first control device can send the control device corresponding to the short-duration replica scenario information to the monitoring device before deploying the long-duration replica scenario information. This allows the long-duration replica scenario information to be deployed simultaneously while executing the action indicated by the action information based on the short-duration replica scenario information. This avoids the problem of excessively long response times for intelligent devices caused by the long deployment time of replica scenario information when all N replica scenario information have been successfully deployed before using it to execute actions.
[0260] Next, this application will take the cloud as an example to further introduce the method of this application.
[0261] Figure 11 This is a schematic flowchart of a control method for a whole-house smart system according to an embodiment of this application. The control method may include steps S1101 to S1104.
[0262] In this embodiment, the whole-house smart system can be as follows: Figure 4 The whole-house smart system shown.
[0263] In this embodiment, the method can be applied in the cloud. For example, the method can be implemented in the cloud, or it can be implemented by a chip in the cloud, or it can be implemented by an application or service in the cloud.
[0264] S1101, the cloud receives a scene creation request from the client. The scene creation request contains first scene information, which contains multiple action information.
[0265] As an example, suppose the scene creation request can contain first scene information, which can contain multiple action information. The actions indicated by the multiple action information include: the smart door lock opens, the smart speaker announces "Welcome home" in voice, the smart lights turn on, and the smart air conditioner turns on.
[0266] In this embodiment, the steps for the user to input a scene creation request on the client can be referred to... Figures 7 to 9 This will not be elaborated upon here.
[0267] S1102, the cloud generates replica scene information 1, replica scene information 2 and replica scene information 3 according to the scene creation request. Replica scene information 1 corresponds to the cloud, replica scene information 2 corresponds to the whole house host, and replica scene information 3 corresponds to the Bluetooth gateway.
[0268] In this embodiment, each of the replica scene information 1, replica scene information 2 and replica scene information 3 includes at least one action information among multiple action information, and the control device corresponding to each replica scene information can execute the action indicated by each action information contained in each replica scene information.
[0269] For example, the action information in copy scene information 1 could include: the smart door lock opening, the smart speaker broadcasting "Welcome Home" (member version), the smart lights turning on, and the smart air conditioner turning on. The action information in copy scene information 2 could include: the smart door lock opening, the smart speaker broadcasting "Welcome Home" (standard version), the smart lights turning on, and the smart air conditioner turning on. The action information in copy scene information 3 could include: the smart door lock opening and the smart lights turning on.
[0270] Optionally, the cloud can also generate a replica scene information 4 based on the scene creation request, which can correspond to a mesh device.
[0271] In this example, the action information in the replica scene information 4 includes: the smart lock opening and the smart light turning on. The mesh device can include the smart lock and the smart light.
[0272] Optionally, the cloud can also determine the priority of each replica scene information, and the priority of each replica scene information is used to determine the activation order of each replica scene information.
[0273] Optionally, the cloud can determine the priority of each replica scene information based on the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information.
[0274] The higher the ability of the control device corresponding to each replica scene information to execute multiple actions indicated by the action information, the higher the priority of each replica scene information.
[0275] If the number of action information that the cloud and whole-house hosts can execute is greater than the number of action information that the Bluetooth gateway can execute, then the priority of the replica scene information corresponding to the cloud and whole-house hosts is higher than the priority of the replica scene information corresponding to the Bluetooth gateway and mesh devices.
[0276] Additionally, the cloud can verify a user's music membership, thus enabling a better voice broadcast experience. The deployment process for replica scene information corresponding to mesh devices is more complex than that for Bluetooth gateways.
[0277] Therefore, in this example, the priority of replica scene information 1 is 0, the priority of replica scene information 2 is 1, the priority of replica scene information 3 is 2, and the priority of replica scene information 4 is 3.
[0278] The steps for generating replica scene information 1, replica scene information 2, and replica scene information 3 in the cloud based on the scene creation request can refer to the content of S602 above, and will not be repeated here.
[0279] S1103, the cloud sends replica scene information 2 and replica scene information 3 to the whole-house host and Bluetooth gateway respectively. Correspondingly, the whole-house host and Bluetooth gateway receive replica scene information 2 and replica scene information 3 respectively.
[0280] Optionally, the cloud can also send replica scene information to each mesh device.
[0281] Optionally, the cloud can deploy the replica scene information 1 to the scene engine in the cloud.
[0282] The process of the cloud sending replica scene information 2 and replica scene information 3 to the whole-house host and Bluetooth gateway, as well as the process of the cloud sending replica scene information 4 to each mesh device, can be referred to the aforementioned S603 content, and will not be repeated here.
[0283] S1104, the cloud sends a first instruction message to the monitoring device. The first instruction message indicates the correlation between each copy of the scene information and the correlation between each copy of the scene information and the corresponding control device. Accordingly, the monitoring device receives the first instruction message.
[0284] Optionally, the cloud can also send the priority of each copy of the scene information to the monitoring device.
[0285] In this example, the cloud sending the first instruction information to the monitoring device may include: when the duration of the cloud-configured replica scene information is less than the duration of the replica scene information configured by other control devices, the cloud sends the first instruction information to the monitoring device before sending the replica scene information corresponding to each control device to each of the other control devices; and / or, after the cloud sends the replica scene information corresponding to the second control device to the second control device among the other control devices, and before the cloud sends the replica scene information corresponding to each third control device to each of the other control devices, the cloud sends the first instruction information to the monitoring device, wherein the duration of the replica scene information configured by the second control device is less than the duration of the replica scene information configured by each third control device.
[0286] When the configuration duration of replica scene information 1 is less than the configuration duration of replica scene information 2, which in turn is less than the configuration duration of replica scene information 3, the control method for the whole-house smart system can still be as follows: Figure 12 As shown.
[0287] S1101, the cloud receives a scene creation request from the client. The scene creation request contains first scene information, which contains multiple action information.
[0288] S1102, the cloud generates replica scene information 1, replica scene information 2 and replica scene information 3 according to the scene creation request. Replica scene information 1 corresponds to the cloud, replica scene information 2 corresponds to the whole house host, and replica scene information 3 corresponds to the Bluetooth gateway.
[0289] S1103, the cloud sends a first instruction information 1 to the monitoring device. The first instruction information 1 is used to indicate the association between the cloud and the copy scene information 1.
[0290] Optionally, after the cloud sends the first instruction information 1 to the monitoring device, it can also send the priority of the copy scenario information 1 to the monitoring device.
[0291] S1104, The cloud sends the replica scene information 2 to the whole house host.
[0292] In this example, the second control device may include a whole-house control unit.
[0293] S1105, the cloud sends a first instruction information 2 to the monitoring device. The first instruction information 2 is used to indicate the association between the whole house host and the copy scene information 2.
[0294] Optionally, after the cloud sends the first instruction information 2 to the monitoring device, it can also send the priority of the copy scenario information 2 to the monitoring device.
[0295] S1106, The cloud sends a copy of the scene information 3 to the Bluetooth gateway.
[0296] In this example, the third control device may include a Bluetooth gateway.
[0297] S1107, the cloud sends first instruction information 3 to the monitoring device. The first instruction information 3 is used to indicate the association between the Bluetooth gateway and the copy scene information 3.
[0298] Optionally, after the cloud sends the first instruction information 3 to the monitoring device, it can also send the priority of the copy scene information 3 to the monitoring device.
[0299] In some embodiments, the cloud may first execute S1104, and then execute S1103 and S1105.
[0300] Optionally, the cloud can also generate replica scene information based on the scene creation request.
[0301] In this case, after S1107, the cloud can also send replica scene information 4 to the mesh device and send first instruction information 4 to the monitoring device. The first instruction information 4 is used to indicate the association between the mesh device and the replica scene information 4.
[0302] In some embodiments, the cloud may first execute S1104 and S1106, and then execute S1103, S1105 and S1107. After S1107, the cloud sends replica scenario information 4 to the mesh device.
[0303] Next, this application will take the first control device as the whole-house host as an example to further introduce the method of this application.
[0304] Figure 13 This is a schematic flowchart of a control method for a whole-house smart system according to an embodiment of this application. The control method may include steps S1301 to S1304.
[0305] In this embodiment, the whole-house smart system can be as follows: Figure 4 The whole-house smart system shown.
[0306] In this embodiment, the method can be applied to a whole-house server. For example, the method can be implemented by the whole-house server, or by a chip in the whole-house server, or by an application or service in the whole-house server.
[0307] S1301, the whole-house host receives a scene creation request from the client. The scene creation request contains first scene information, which includes multiple action information.
[0308] As an example, suppose the scene creation request can contain first scene information, which can contain multiple action information, such as the smart door lock opening, the smart speaker broadcasting a welcome message, the smart lights turning on, and the smart air conditioner turning on.
[0309] In this embodiment, the steps for the user to input a scene creation request on the client can be referred to... Figures 7 to 9 This will not be elaborated upon here.
[0310] S1302, the whole-house host generates replica scene information 1, replica scene information 2 and replica scene information 3 according to the scene creation request. Replica scene information 1 corresponds to the cloud, replica scene information 2 corresponds to the whole-house host, and replica scene information 3 corresponds to the Bluetooth gateway.
[0311] In this embodiment, each of the replica scene information 1, replica scene information 2 and replica scene information 3 includes at least one action information among multiple action information, and the control device corresponding to each replica scene information can execute the action indicated by each action information contained in each replica scene information.
[0312] For example, the action information in copy scene information 1 could include: the smart door lock opening, the smart speaker broadcasting "Welcome Home" (member version), the smart lights turning on, and the smart air conditioner turning on. The action information in copy scene information 2 could include: the smart door lock opening, the smart speaker broadcasting "Welcome Home" (standard version), the smart lights turning on, and the smart air conditioner turning on. The action information in copy scene information 3 could include: the smart door lock opening and the smart lights turning on.
[0313] Optionally, the whole-house host can also generate a replica scene information 4 based on the scene creation request, which can correspond to the mesh device.
[0314] In this example, the action information in the replica scene information 4 includes: the smart lock opening and the smart light turning on. The mesh device can include the smart lock and the smart light.
[0315] Optionally, the cloud can also determine the priority of each replica scene information, and the priority of each replica scene information is used to determine the activation order of each replica scene information.
[0316] Optionally, the cloud can determine the priority of each replica scene information based on the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information.
[0317] The higher the ability of the control device corresponding to each replica scene information to execute multiple actions indicated by the action information, the higher the priority of each replica scene information.
[0318] If the number of action information that the cloud and whole-house hosts can execute is greater than the number of action information that the Bluetooth gateway can execute, then the priority of the replica scene information corresponding to the cloud and whole-house hosts is higher than the priority of the replica scene information corresponding to the Bluetooth gateway and mesh devices.
[0319] Additionally, the cloud can verify a user's music membership, thus enabling a better voice broadcast experience. The deployment process for replica scene information corresponding to mesh devices is more complex than that for Bluetooth gateways.
[0320] Therefore, in this example, the priority of replica scene information 1 is 0, the priority of replica scene information 2 is 1, the priority of replica scene information 3 is 2, and the priority of replica scene information 4 is 3.
[0321] The steps for generating replica scene information 1, replica scene information 2, and replica scene information 3 in the cloud based on the scene creation request can refer to the content of S602 above, and will not be repeated here.
[0322] S1303, the whole-house control unit sends replica scene information 1 and replica scene information 3 to the cloud and Bluetooth gateway respectively. Correspondingly, the cloud and Bluetooth gateway receive replica scene information 1 and replica scene information 3 respectively.
[0323] Optionally, the whole-house host can also send replica scene information to each mesh device.
[0324] Optionally, the whole-house hosting provider can deploy the replica scene information 2 into the whole-house hosting provider's scene engine.
[0325] The process of the whole-house host sending replica scene information 1 and replica scene information 3 to the cloud and Bluetooth gateway, as well as the process of the whole-house host sending replica scene information 4 to each mesh device, can be referred to the aforementioned S603 content, and will not be repeated here.
[0326] S1304, the whole-house control unit sends a first instruction message to the monitoring device. The first instruction message indicates the association between each copy of the scene information and the association between each copy of the scene information and its corresponding control device. Accordingly, the monitoring device receives the first instruction message.
[0327] Optionally, the whole-house host can also send priority information for each copy of the scene to the monitoring device.
[0328] In some embodiments, the whole-house host may not generate a corresponding copy scene information 1 in the cloud, and correspondingly, the whole-house host may not send the copy scene information 1 to the cloud.
[0329] In this example, the whole-house control unit sending a first instruction message to the monitoring device may include: when the duration of the replica scene information configured for the whole-house control unit is less than the duration of the replica scene information configured for other control devices, the whole-house control unit sends the first instruction message to the monitoring device before sending the replica scene information for each control device to each of the other control devices; and / or, after the whole-house control unit sends the replica scene information for the second control device to the second control device among the other control devices, and before the whole-house control unit sends the replica scene information for each third control device among the other control devices, the whole-house control unit sends the first instruction message to the monitoring device, wherein the duration of the replica scene information configured for the second control device is less than the duration of the replica scene information configured for each third control device.
[0330] When the configuration duration of replica scene information 1 is less than the configuration duration of replica scene information 2, which in turn is less than the configuration duration of replica scene information 3, the control method for the whole-house smart system can still be as follows: Figure 14 As shown.
[0331] S1301, the whole-house host receives a scene creation request from the client. The scene creation request contains first scene information, which includes multiple action information.
[0332] S1302, the whole-house host generates replica scene information 1, replica scene information 2 and replica scene information 3 according to the scene creation request. Replica scene information 1 corresponds to the cloud, replica scene information 2 corresponds to the whole-house host, and replica scene information 3 corresponds to the Bluetooth gateway.
[0333] S1303, the whole house host sends a first instruction information 1 to the monitoring device. The first instruction information 1 is used to indicate the association between the whole house host and the copy scene information 2.
[0334] Optionally, after the cloud sends the first instruction information 2 to the monitoring device, it can also send the priority of the copy scenario information 2 to the monitoring device.
[0335] S1304, the whole-house host sends a copy of the scene information to the cloud 1.
[0336] In this example, the second control device may include the cloud.
[0337] S1305, the whole-house host sends a first instruction message 2 to the monitoring device. The first instruction message 2 is used to indicate the association between the cloud and the copy scene information 1.
[0338] Optionally, after the whole-house host sends the first instruction information 2 to the monitoring device, it can also send the priority of the copy scene information 1 to the monitoring device.
[0339] S1306, the whole-house host sends a copy of the scene information 3 to the Bluetooth gateway.
[0340] In this example, the third control device may include a Bluetooth gateway.
[0341] S1307, the whole-house host sends a first instruction message 3 to the monitoring device. The first instruction message 3 is used to indicate the association between the Bluetooth gateway and the copy scene information 3.
[0342] Optionally, after the whole-house host sends the first instruction information 3 to the monitoring device, it can also send the priority of the copy scene information 3 to the monitoring device.
[0343] In some embodiments, the control method may exclude S1304 and S1305.
[0344] In some embodiments, the whole-house host may first execute S1304, and then execute S1303 and S1305.
[0345] Optionally, the whole-house hosting system can also generate duplicate scene information based on scene creation requests.
[0346] In this case, after S1307, the whole-house host can also send replica scene information 4 to the mesh device and send first instruction information 4 to the monitoring device. The first instruction information 4 is used to indicate the association between the mesh device and the replica scene information 4.
[0347] In some embodiments, the whole-house host may first execute S1304 and S1306, and then execute S1303, S1305 and S1307. After S1307, the whole-house host sends replica scenario information 4 to the mesh devices.
[0348] Optionally, in some embodiments, the first action information in the first scene information may further include second scene information, and the second scene information may include at least one action information. In this case, the N copies of scene information generated by the first control device may include copy scene information of the second scene information.
[0349] For example, suppose the action information in the first scene information includes: action information 1, action information 2, action information 3, and action information 4. Action information 1 indicates action 1, which is unlocking the smart door lock; action information 2 indicates action 2, which is the smart speaker's voice announcement welcoming you home; action information 3 indicates action 3, which is turning on the smart light; and action information 4 indicates action 4, which is the second scene information. Here, action information 1 can be the triggering event for the first scene information, and action information 4 is the first action information within the first scene information.
[0350] In this embodiment, the copy scene information of the second scene information may include one or more. The copy scene information of the first scene information may be referred to as the first copy scene information, and the copy scene information of the second scene information may be referred to as the second copy scene information.
[0351] When the second replica scenario information includes one instance, at least one of the N first replica scenario information instances may include the second replica scenario information. The control device corresponding to this at least one first replica scenario information instance may include control device 1 and control device 2. Control device 1 can be the control device corresponding to the second replica scenario information instance, and control device 2 can be used to schedule the control device corresponding to the second replica scenario information instance.
[0352] As an example, assume the first replica scenario information includes: First Replica Scenario 1, First Replica Scenario 2, First Replica Scenario 3, and First Replica Scenario 4. First Replica Scenario 1 corresponds to the cloud, First Replica Scenario 2 corresponds to the whole-house server, First Replica Scenario 3 corresponds to the Bluetooth gateway, and First Replica Scenario 4 corresponds to the mesh device. Also assume the second replica scenario information is deployed in the whole-house server.
[0353] In this example, the first replica scenario information can be as follows: Figure 15 As shown. Both the first instance scene information 1 and the first instance scene information 2 include the second instance scene information.
[0354] Optionally, in some examples, the first replica scenario information 1 and the first replica scenario information 2 may include an identifier of the second replica scenario information.
[0355] When there are multiple second replica scene information, at least one of the N first replica scene information generated by the first control device may include the second replica scene information. Specifically, the control device corresponding to each of the at least one first replica scene information and the control device corresponding to the second replica scene information included in each of the first replica scene information are the same control device.
[0356] As an example, assume the first replica scenario information includes: First Replica Scenario Information 1, First Replica Scenario Information 2, First Replica Scenario Information 3, and First Replica Scenario Information 4. First Replica Scenario Information 1 corresponds to the cloud, First Replica Scenario Information 2 corresponds to the whole-house control unit, First Replica Scenario Information 3 corresponds to the Bluetooth gateway, and First Replica Scenario Information 4 corresponds to the mesh device. And assume the second replica scenario information includes: Second Replica Scenario Information 1 and Second Replica Scenario Information 2. Second Replica Scenario Information 1 corresponds to the cloud, and Second Replica Scenario Information 2 corresponds to the whole-house control unit.
[0357] In this example, the copy scene information of the first scene information can be as follows: Figure 16 As shown. First replica scene information 1 includes second replica scene information 1, and first replica scene information 2 includes second replica scene information 2.
[0358] Optionally, in some examples, the first replica scenario information 1 may include an identifier of the second replica scenario information 1, and the first replica scenario information 2 may include an identifier of the second replica scenario information 2.
[0359] Optionally, in some embodiments, the second action information included in the second scene information may further include third scene information, and the second scene information may include at least one action information. In this case, the N copies of scene information generated by the first control device may also include copy scene information of the third scene information.
[0360] For example, suppose the action information in the first scene information includes: action information 1, action information 2, action information 3, and action information 4. Action information 1 indicates the action of unlocking the smart door lock; action information 2 indicates the action of the smart speaker broadcasting "Welcome home"; action information 3 indicates the action of turning on smart light 1; and action information 4 indicates the action of the second scene information. The second action information in this second scene information includes third scene information, and the action information in the third scene information indicates the action of turning on smart light 2. Here, action information 1 can indicate the triggering event of the first scene information, and action information 4 is the first action information in the first scene information.
[0361] In this embodiment, the copy scene information of the third scene information may include one or more copies. The copy scene information of the third scene information may be referred to as the third copy scene information. Hereinafter, this application will describe the example where both the second and third copy scene information are included.
[0362] When the third replica scenario information includes one, at least one of the N first replica scenario information can include the third replica scenario information.
[0363] As an example, assume the first replica scenario information includes: First Replica Scenario 1, First Replica Scenario 2, First Replica Scenario 3, and First Replica Scenario 4. First Replica Scenario 1 corresponds to the cloud, First Replica Scenario 2 corresponds to the whole-house control unit, First Replica Scenario 3 corresponds to the Bluetooth gateway, and First Replica Scenario 4 corresponds to the mesh device. Also assume the second replica scenario information is deployed in the whole-house control unit, and the third replica information is deployed in the Bluetooth gateway.
[0364] In this example, the first replica scenario information can be as follows: Figure 17 As shown. First replica scene information 1 may include second replica scene information, and first replica scene information 2 may include third replica scene information. First replica scene information 3 and first replica scene information 4 may include actions indicated by the action information in the third replica scene information.
[0365] Optionally, in some embodiments, the first copy scene information 1 may include an identifier of the second copy scene information, and the first copy scene information 2 may include second action information of the second copy scene information, which is used to indicate the identifier of the third copy scene information.
[0366] Optionally, when the first control device generates the first replica scene information, it can also directly create the lowest priority first replica scene information, which includes the action indicated by the action information in the third replica scene information. In this case, the first replica scene information can be as follows: Figure 18 As shown. In this embodiment, the first copy scene information includes the action information in the third copy scene information. This can avoid the situation where the action information in the third copy scene information cannot be executed due to a malfunction of the control device corresponding to the second copy scene information or the scene engine in the control device, thereby avoiding the situation where the action information in the first copy scene information cannot be executed.
[0367] It is understood that the above embodiments describe the process of generating and configuring replica scene information. Next, this application will describe the process of using the replica scene information.
[0368] Figure 19 This is a schematic flowchart illustrating a control method for a whole-house intelligent system, as provided in another embodiment of this application. Figure 19 As shown, the method may include S1901 to S1903.
[0369] In this embodiment, the whole-house smart system can be as follows: Figure 4 The whole-house smart system shown.
[0370] In this embodiment, the method can be applied to a monitoring device. For example, the method can be implemented by the monitoring device, by a chip in the monitoring device, or by an application or service in the monitoring device.
[0371] In this embodiment, the monitoring device can detect the working status of each of the N control devices in the whole-house smart system.
[0372] S1901, The monitoring device detects the current operating status of the control device.
[0373] In this embodiment, the current control device can be one of N control devices. As an example, the current control device can be a cloud-based system, a whole-house control unit, or a Bluetooth gateway.
[0374] In this embodiment, the monitoring device detects the working status of the current control device when all triggering events and activation conditions of the scene are met. The scene engine in the current control device contains a copy of the scene information corresponding to that scene.
[0375] As an example, suppose the triggering event for the scenario is the opening of a smart lock, and the effective condition is execution between 5 PM and 10 PM. After detecting the lock opening, the smart lock can send its status information to the Bluetooth gateway, indicating that the smart lock is in the open state. Upon receiving this status information, the Bluetooth gateway can determine whether the triggering and effective conditions of the scenario are met based on this status information and the replica scenario information deployed in the Bluetooth gateway. If the triggering and effective conditions are met, the Bluetooth gateway can send an indication message to the monitoring device, which instructs the control device corresponding to the detected scenario.
[0376] S1902, when the monitoring device detects an abnormal operating status of the current control device, it sends a first activation instruction to the backup control device according to the first instruction information. The backup control device is one of the N control devices that is operating normally. The first activation instruction is used to instruct the backup control device to activate the corresponding copy scene information. Accordingly, the backup control device receives the first activation instruction.
[0377] In this embodiment, the priority of the replica scene information corresponding to the current control device is higher than the priority of the replica scene information corresponding to the backup control device, and the priority of the replica scene information corresponding to the backup control device is higher than the priority of the replica scene information corresponding to any one of the N control devices that is in normal working condition.
[0378] As an example, suppose the priority of the replica scene information corresponding to the cloud is higher than the priority of the replica scene information corresponding to the whole-house control unit, and the priority of the replica scene information is higher than the priority of the replica scene information corresponding to the Bluetooth host. Then the current control device can be the cloud, and the backup control device can be the whole-house control unit.
[0379] Optionally, the priority of the replica scenario information corresponding to the current control device can be the highest priority among the N replica scenario information.
[0380] S1903, the backup control device responds to the first activation indication information by controlling at least one smart device to perform an action.
[0381] In this method, the at least one smart device is a smart device that can be controlled by the backup control device.
[0382] As an example, assuming the backup control device is a whole-house control unit that can be used to control smart door locks, smart speakers, smart lights, and smart air conditioners, then the at least one smart device may include smart door locks, smart speakers, smart lights, and smart air conditioners.
[0383] The scene engine in the backup control device can include replica scene information corresponding to the backup control device, which includes action information.
[0384] In this embodiment, the action performed by at least one smart device can be the action indicated by the action information.
[0385] Assuming the action information in the replica scene information corresponding to the whole-house host includes: the smart door lock opens, the smart speaker announces "Welcome Home" (standard version), the smart lights turn on, and the smart air conditioner turns on, then the whole-house host can control the smart door lock, smart speaker, smart lights, and smart air conditioner to perform the actions indicated by the above action information.
[0386] After receiving the first activation instruction, the whole-house control unit can send a first command to the smart speaker, which instructs the smart speaker to turn on. Accordingly, the smart speaker turns on upon receiving the first command.
[0387] After receiving the first activation instruction, the whole-house control unit can send a second command to the smart air conditioner, which instructs the smart air conditioner to turn on. Accordingly, the smart air conditioner turns on upon receiving the second command.
[0388] After receiving the first activation instruction, the whole-house control unit can send a third command to the smart light via the Bluetooth gateway. This third command instructs the smart light to turn on. The smart light then turns on upon receiving the third command.
[0389] Optionally, the control device receiving the activation instruction information can be referred to as the target control device. In this example, the target control device is the backup control device.
[0390] Optionally, the method may also include S1904 to S1906.
[0391] S1904, when the monitoring device detects that the current control device is operating normally, it sends a deactivation instruction to the backup control device. The deactivation instruction instructs the backup control device to deactivate the corresponding copy of the scenario information. Accordingly, the backup control device receives the deactivation instruction.
[0392] In this method, the backup control device responds to the deactivation instruction information by activating the corresponding copy scene information of the backup control device, so that the backup control device no longer controls at least one smart device to perform an action.
[0393] S1905, the monitoring device sends a second activation instruction to the current control device. The second activation instruction is used to instruct the current control device to activate the copy scene information corresponding to the current control device. Accordingly, the current control device receives the second activation instruction.
[0394] S1906, the current control device responds to the second activation indication information by controlling at least one smart device to perform an action.
[0395] In this method, the at least one smart device is a smart device that can be controlled by the current control device.
[0396] As an example, if the current backup control device is the cloud, which can be used to control smart door locks, smart speakers, smart lights, and smart air conditioners, then the at least one smart device can include smart door locks, smart speakers, smart lights, and smart air conditioners.
[0397] The scene engine in the current control device can include replica scene information corresponding to the current control device, which includes action information.
[0398] In this embodiment, the action performed by at least one smart device can be the action indicated by the action information.
[0399] Assuming the action information in the corresponding scene information in the cloud includes: the smart door lock opens, the smart speaker announces "Welcome Home (Member Version)" via voice, the smart light turns on, and the smart air conditioner turns on, then the cloud can control the smart door lock, smart speaker, smart light, and smart air conditioner to perform the actions indicated by the above action information.
[0400] After receiving the second activation instruction, the cloud can send a first command to the smart speaker through the whole-house control unit. This first command instructs the smart speaker to turn on. Accordingly, the smart speaker turns on upon receiving the first command.
[0401] After receiving the second activation instruction, the cloud can send a second command to the smart air conditioner through the whole-house control unit. This second command instructs the smart air conditioner to turn on. Accordingly, the smart air conditioner turns on upon receiving the second command.
[0402] After receiving the second activation instruction, the cloud can send a third command to the smart light via the whole-house control unit and Bluetooth gateway. This third command instructs the smart light to turn on. Accordingly, the smart light turns on upon receiving the third command.
[0403] In this example, the target control device is the current control device.
[0404] Optionally, when the monitoring device detects that the working status of both the current control device and the backup control device is abnormal, the monitoring device may send a third activation instruction to other control devices. The third activation instruction is used to instruct other control devices to activate the copy scene information corresponding to the current control device.
[0405] Among them, the priority of the replica scenario information corresponding to other control devices is higher than that of any control device among the N control devices except for the current control device, the backup control device, and other control devices.
[0406] As an example, assume that the priority of the replica scene information corresponding to the cloud is higher than the priority of the replica scene information corresponding to the whole-house host, and the priority of the replica scene information is higher than the priority of the replica scene information corresponding to the Bluetooth host. Then, the current control device can be the cloud, the backup control device can be the whole-house host, and the other control devices are Bluetooth hosts.
[0407] Assuming the action information in the replica scene information corresponding to the Bluetooth host includes: the smart air conditioner is turned on, the Bluetooth host can control the smart light to perform the action indicated by the above action information.
[0408] After receiving the third activation instruction, the Bluetooth host can send a third command to the smart light, which instructs the smart light to turn on. Accordingly, the smart light turns on upon receiving the third command.
[0409] In this example, the target control device is the other control device.
[0410] In some embodiments, replica scene information can also be deployed within a mesh device. For example, a mesh device may include a smart lock and a smart light.
[0411] Optionally, when the cloud, whole-house host, and Bluetooth gateway are all in abnormal states, after the smart lock is opened, the smart lock determines whether the scene's activation conditions are met. If the scene's activation conditions are met, the smart lock can broadcast the scene identifier for that scene. After receiving the scene identifier, the smart light can determine the corresponding copy scene information based on the scene identifier and then turn on based on the copy scene information.
[0412] In this example, the smart lock can be considered a control device.
[0413] Figure 20 This is a schematic diagram of the control device for a whole-house smart system according to an embodiment of this application. Figure 20 As shown, the control device 2000 of the whole-house smart system may include a receiving module 2001, a processing module 2002, and a transmitting module 2003.
[0414] The control device 2000 for the whole-house intelligent system can be applied to the first control equipment.
[0415] As a first example, the control device 2000 for a whole-house smart system can be used to achieve... Figure 6The control method for a whole-house smart system shown in the embodiment. The receiving module 2001 can be used to execute S601, the processing module 2002 can be used to execute S602, and the sending module 2003 can be used to execute S603 and S604.
[0416] As a second example, the control device 2000 for a whole-house smart system can be used to achieve... Figure 11 The control method for a whole-house smart system shown in the embodiment. The receiving module 2001 can be used to execute S1101, the processing module 2002 can be used to execute S1102, and the sending module 2003 can be used to execute S1103 and S1104.
[0417] As a third example, the control device 2000 for a whole-house smart system can be used to achieve... Figure 12 The control method of the whole-house intelligent system shown in the embodiment. The receiving module 2001 can be used to execute S1101, the processing module 2002 can be used to execute S1102, and the sending module 2003 can be used to execute S1103 to S1107.
[0418] As a fourth example, the control device 2000 for a whole-house smart system can be used to achieve... Figure 13 The control method for a whole-house smart system shown in the embodiment. The receiving module 2001 can be used to execute S1301, the processing module 2002 can be used to execute S1302, and the sending module 2003 can be used to execute S1303 and S1304.
[0419] As a fifth example, the control device 2000 for a whole-house smart system can be used to achieve... Figure 14 The control method for a whole-house smart system shown in the embodiment. The receiving module 2001 can be used to execute S1301, the processing module 2002 can be used to execute S1302, and the sending module 2003 can be used to execute S1303 to S1307.
[0420] Figure 21 This is a schematic diagram of the control device for a whole-house smart system according to another embodiment of this application. Figure 21 As shown, the control device 2100 of the whole-house smart system may include a receiving module 2101, a monitoring module 2102, and a transmitting module 2103.
[0421] The control device 2100 for the whole-house smart system can be used in monitoring equipment.
[0422] As a first example, the control device 2100 of the whole-house smart system can be used to achieve... Figure 6 The control method for a whole-house smart system shown in the embodiment. The receiving module 2101 can be used to execute S604.
[0423] As a second example, the control device 2100 for a whole-house smart system can be used to achieve... Figure 11 The control method of the whole-house smart system shown in the embodiment. The receiving module 2101 can be used to execute S1104.
[0424] As a third example, the control device 2100 for a whole-house smart system can be used to achieve... Figure 12 The control method for a whole-house smart system shown in the embodiment. The receiving module 2101 can be used to execute steps S1103, S1105, and S1107.
[0425] As a fourth example, the control device 2100 for a whole-house smart system can be used to achieve... Figure 13 The control method for a whole-house smart system shown in the embodiment. The receiving module 2101 can be used to execute S1304.
[0426] As a fifth example, the control device 2100 for a whole-house smart system can be used to achieve... Figure 14 The control method for a whole-house smart system shown in the embodiment. The receiving module 2101 can be used to execute steps S1303, S1305, and S1307.
[0427] As a sixth example, the control device 2100 for a whole-house smart system can be used to achieve... Figure 19 The control method for a whole-house smart system shown in the embodiment. The monitoring module 2102 can be used to execute S1901, and the sending module 2103 can be used to execute S1902, S1904, and S1905.
[0428] Figure 22 This is a schematic diagram of the control device for a whole-house smart system according to another embodiment of this application. Figure 22 As shown, the control device 2200 of the whole-house smart system may include a receiving module 2201 and a processing module 2202.
[0429] The control device 2200 for the whole-house smart system can be applied to target control devices.
[0430] As an example, the control device 2200 for a whole-house smart system can be used to achieve... Figure 19 The control method of the whole-house intelligent system shown in the embodiment. The receiving module 2201 can be used to execute S1902, S1904 and S1905, and the processing module 2202 can be used to execute S1903 and S1906.
[0431] Figure 23 This is a schematic diagram of the control device for a whole-house smart system provided in another embodiment of this application. Figure 23 As shown, the control device 2300 of the whole-house smart system includes a processor 2301 and an interface circuit 2302. The processor 2301 and the interface circuit 2302 are coupled to each other. It is understood that the interface circuit 2302 can be a transceiver or an input / output interface. Optionally, the control device 2300 of the whole-house smart system may also include a memory 2303 for storing instructions executed by the processor 2301, or storing input data required by the processor 2301 to execute instructions, or storing data generated after the processor 2301 executes instructions.
[0432] As a first example, processor 2301 is used to implement the functions of the aforementioned processing module 2002, and interface circuit 2302 is used to implement the functions of the aforementioned receiving module 2001 and transmitting module 2003.
[0433] As a second example, processor 2301 is used to implement the functions of the monitoring module 2102 mentioned above, and interface circuit 2302 is used to implement the functions of the receiving module 2101 and the transmitting module 2103 mentioned above.
[0434] As a third example, processor 2301 is used to implement the functions of the processing module 2202 described above, and interface circuit 2302 is used to implement the functions of the receiving module 2201 described above.
[0435] The method steps in the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Additionally, the ASIC can reside in a network device or terminal device. Alternatively, the processor and storage medium can exist as discrete components in the network device or terminal device.
[0436] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive.
[0437] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0438] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers described above does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.
Claims
1. A control method of a whole-house smart system, the method comprising: The whole-house smart system includes a client, a monitoring device, multiple smart devices, and M control devices. The monitoring device can monitor the working status of the M control devices, where M is an integer greater than 1. The method includes: The first control device receives a scene creation request from the client. The first control device is one of the M control devices. The scene creation request contains first scene information, which includes multiple action information. The first control device generates N replica scene information according to the scene creation request, where N is a positive integer less than or equal to M. Each of the N replica scene information includes at least one action information among the plurality of action information. The N replica scene information corresponds one-to-one with N control devices. The control device corresponding to each of the N replica scene information can execute the action indicated by each action information contained in each replica scene information. The first control device sends a copy of the scene information corresponding to each of the N control devices, excluding the first control device itself. The first control device sends a first instruction message to the monitoring device. The first instruction message is used to indicate the correlation between the N replica scene information and the correlation between the N control devices and the N replica scene information.
2. The method of claim 1, wherein, The first scene information includes marker information, which is used to indicate key action information among the plurality of action information; The action information contained in each copy scene information is the key action information indicated by the tag information.
3. The method according to claim 1 or 2, characterized in that, The method further includes: The first control device determines the priority of each replica scene information, and the priority of each replica scene information is used to determine the activation order of each replica scene information among the N replica scene information; The first control device sends the priority of each copy of the scene information to the monitoring device.
4. The method of claim 3, wherein, The first control device determines the priority of each copy of the scene information by including: The priority of each replica scene information is determined based on the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information. The higher the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information, the higher the priority of each replica scene information.
5. The method according to any one of claims 1 to 2, 4, characterized in that, The first control device sends a first instruction message to the monitoring device, including: When the N control devices include the first control device, and the duration for which the first control device configures the corresponding replica scene information is less than the duration for which any of the N control devices configures the corresponding replica scene information, the first control information sends the first indication information to the monitoring device before the first control device sends the replica scene information corresponding to each control device to each control device; and / or, After the first control device sends the copy scene information corresponding to the second control device to the second control device among the N control devices, and before the first control device sends the copy scene information corresponding to each third control device to each of the N control devices, the first control device sends the first instruction information to the monitoring device. The duration for the second control device to configure the corresponding copy scene information is less than the duration for each third control device to configure the corresponding copy scene information.
6. The method of any one of claims 1 to 2, 4, characterized in that, The first action information in the first scene information includes the second scene information, and the second scene information includes at least one action information, wherein the N copy scene information includes copy scene information of the second scene information.
7. The method according to claim 6, characterized in that, The second action information included in the second scene information includes the third scene information, wherein the N copy scene information includes copy scene information of the third scene information.
8. A control method for a whole-house intelligent system, characterized in that, The whole-house smart system includes a client, a monitoring device, multiple smart devices, and M control devices. The monitoring device can monitor the working status of the M control devices, where M is a positive integer greater than 1. The method includes: The monitoring device receives first instruction information from the first control device. The first instruction information is used to indicate the correlation between N replica scene information and the correlation between N control devices and the N replica scene information. The first control device is one of the N control devices, where N is a positive integer less than or equal to M. Each of the N replica scene information includes at least one action information from multiple action information in the first scene information. The N replica scene information corresponds one-to-one with the N control devices. The control device corresponding to each of the N replica scene information can execute the action indicated by each action information contained in each replica scene information. When the monitoring device detects an abnormal working status of the current control device, it sends a first activation instruction to the backup control device according to the first instruction information. The current control device is one of the N control devices, and the backup control device is one of the N control devices that is working normally. The first activation instruction is used to instruct the backup control device to activate the copy scene information corresponding to the backup control device.
9. The method according to claim 8, characterized in that, The first scene information includes marker information, which is used to indicate key action information among the plurality of action information; The action information contained in each copy scene information is the key action information indicated by the tag information.
10. The method according to claim 8 or 9, characterized in that, The method further includes: The monitoring device receives the priority of each replica scene information, and the priority of each replica scene information is used to determine the activation order of each replica scene information among the N replica scene information; The priority of the replica scene information corresponding to the current control device is higher than that of the replica scene information corresponding to the backup control device, and the priority of the replica scene information corresponding to the backup control device is higher than that of the replica scene information corresponding to any one of the N control devices other than the current control device and the backup control device.
11. The method according to claim 10, characterized in that, The higher the ability of the control device corresponding to each replica scene information to execute the multiple actions indicated by the multiple action information, the higher the priority of each replica scene information.
12. The method according to claim 8 or 9, characterized in that, The priority of the replica scene information corresponding to the current control device is the highest among the N replica scene information.
13. The method according to any one of claims 8 to 9, 11, characterized in that, The method further includes: When the monitoring device detects that the current control device is working normally, it sends a deactivation instruction to the backup control device and a second activation instruction to the current control device. The second activation instruction is used to instruct the current control device to activate the copy scene information corresponding to the current control device, and the deactivation instruction is used to instruct the backup control device to deactivate the copy scene information corresponding to the backup control device.
14. A control method for a whole-house intelligent system, characterized in that, The whole-house smart system includes a monitoring device, multiple smart devices, and M control devices. The monitoring device can monitor the working status of the multiple control devices, where M is a positive integer greater than 1. The method includes: The target control device receives activation instruction information from the monitoring device. The activation instruction information is used to instruct the target control device to activate the corresponding replica scene information. The replica scene information includes action information. The target control device is one of N control devices that is in normal working condition. The activation instruction information is sent to the target control device by the monitoring device when it detects that the current control device is in abnormal working condition, based on the first instruction information. The first instruction information is used to indicate the correlation between the N replica scene information and the correlation between the N control devices and the N replica scene information. Each of the N replica scene information includes at least one action information from multiple action information in the first scene information indicated by the user. The N replica scene information corresponds one-to-one with the N control devices, where N is a positive integer less than or equal to M. In response to the activation instruction information, the target control device controls at least one of the plurality of smart devices to perform the action indicated by the action information.
15. The method according to claim 14, characterized in that, The method further includes: The target control device receives deactivation instruction information from the monitoring device, the deactivation instruction information being used to instruct the target control device to deactivate the scene information corresponding to the target control device.
16. A control device for a whole-house intelligent system, characterized in that, It includes functional modules for implementing the method as described in any one of claims 1 to 7, or includes functional modules for implementing the method as described in any one of claims 8 to 13, or includes functional modules for implementing the method as described in claim 14 or 15.
17. A control device for a whole-house intelligent system, characterized in that, include: Memory and processor; The memory is used to store program instructions; The processor is configured to execute program instructions in the memory to implement the method as described in any one of claims 1 to 7, or to execute program instructions in the memory to implement the method as described in any one of claims 8 to 13, or to execute program instructions in the memory to implement the method as described in claim 14 or 15.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code for computer execution, the program code including instructions for implementing the method as described in any one of claims 1 to 7, or any one of claims 8 to 13, or any one of claims 14 to 15.
19. A computer program product, characterized in that, The computer program product contains instructions for implementing the method as described in any one of claims 1 to 7, or as described in any one of claims 8 to 13, or as described in any one of claims 14 to 15.