A control method of a smart home device and a scene control device

CN116300485BActive Publication Date: 2026-09-08MIDEA GROUP CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111574418.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2026-09-08
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

然而,在实践中发现,目前的这种智能家居设备的控制方式虽然能够在一定程度上实现智能化,但是却仍然避免不了用户对智能家居设备进行完整的控制,从而使得用户每次使用都需要通过重复操作一次,进而增加了用户操作量,影响用户的使用体验

Benefits of technology

[0024] The judgment unit is used to determine whether the scenario-based control scheme matches the work scenario information;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116300485B_ABST
    Figure CN116300485B_ABST
Patent Text Reader

Abstract

The application provides a control method of a smart home device and a scene control device. The control method of the smart home device comprises: when at least one smart home device or the scene control device detects trigger information, determining a scene control scheme according to the trigger information; acquiring working scene information of the at least one smart home device; judging whether the scene control scheme matches the working scene information; and when the scene control scheme matches the working scene information, controlling the at least one smart home device to execute the scene control scheme. It can be seen that, by implementing this embodiment, when it is detected that a user is using the smart home device, it can be automatically judged whether there is a corresponding scene control scheme, so that the user can be prevented from performing complete operation on the smart home device, the smart work of the smart home device can be realized, and the operation amount of the user can be reduced and the use experience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart homes, and more specifically, to a control method for smart home devices and a scenario-based control device. Background Technology

[0002] With the increasing popularity of smart homes, people's daily lives are becoming more and more convenient. Currently, users typically control smart home devices one command at a time via mobile devices to achieve precise control. However, in practice, it has been found that while this method of controlling smart home devices achieves a certain degree of intelligence, it still requires users to perform complete control each time, increasing the workload and negatively impacting the user experience. Summary of the Invention

[0003] The purpose of this application is to provide a control method and a scenario-based control device for smart home devices. When it is detected that a user is using a smart home device, it can automatically determine whether there is a corresponding scenario-based control scheme, thereby avoiding the user's complete operation of the smart home device and realizing the effect of intelligent operation of the smart home device, thereby reducing the amount of operation by the user and improving the user experience.

[0004] A first aspect of this application provides a method for controlling a smart home device, the method being applied to a scenario-based control device, the method comprising:

[0005] When at least one smart home device or the scenario control device detects trigger information, a scenario control scheme is determined based on the trigger information;

[0006] Obtain the working scene information of the at least one smart home device;

[0007] Determine whether the scenario-based control scheme matches the work scenario information;

[0008] When the scenario-based control scheme matches the work scenario information, the at least one smart home device is controlled to execute the scenario-based control scheme.

[0009] In the above implementation process, this method can detect user operations or behaviors in real time and determine whether the user wants to perform scene-based control of smart home devices based on the detection results. If the user does want to perform scene-based control of smart home devices, it automatically selects a scene-based control scheme corresponding to the current operation or behavior and controls the smart home devices to perform automated control according to the scene-based control scheme. It is evident that implementing this method can automatically complete corresponding scene-based control based on user operations or behaviors, thereby enabling scene-based operation of smart home devices with less user operation or triggering, thus improving the user experience.

[0010] Furthermore, the step of determining a scenario-based control scheme based on the trigger information when at least one smart home device or the scenario-based control device detects trigger information includes:

[0011] When the scenario-based control device captures a user's operation command for at least one smart home device, it matches the scenario-based control scheme corresponding to the operation command in a preset scenario-based control scheme database.

[0012] Furthermore, the step of determining a scenario-based control scheme based on the trigger information when at least one smart home device or the scenario-based control device detects trigger information includes:

[0013] When at least one smart home device detects a triggering behavior, a corresponding scenario-based control scheme is matched against a preset scenario-based control scheme database.

[0014] Furthermore, the step of determining whether the scenario-based control scheme matches the work scenario information includes:

[0015] Obtain the scenario information corresponding to the scenario-based control scheme;

[0016] Determine whether the proposed scenario information matches the work scenario information;

[0017] When the scenario information matches the work scenario information, the step of controlling at least one smart home device to execute the scenario-based control scheme is performed.

[0018] Furthermore, the step of controlling the at least one smart home device to execute the scenario-based control scheme includes:

[0019] Extract at least one control instruction, at least one control moment, and at least one control object from the scenario-based control scheme; wherein, the at least one control instruction, the at least one control moment, and the at least one control object correspond one-to-one;

[0020] The at least one control command is sent to the at least one smart home device according to the at least one controlled object, so that the at least one smart home device executes at least one control command corresponding to the at least one control time based on the at least one control time.

[0021] A second aspect of this application provides a scenario-based control device, the scenario-based control device comprising:

[0022] The determining unit is configured to determine a scenario control scheme based on the trigger information when at least one smart home device or the scenario control device detects the trigger information.

[0023] The acquisition unit is used to acquire the working scene information of the at least one smart home device;

[0024] The judgment unit is used to determine whether the scenario-based control scheme matches the work scenario information;

[0025] The control unit is used to control at least one smart home device to execute the scenario-based control scheme when the scenario-based control scheme matches the work scenario information.

[0026] In the above implementation process, the scenario-based control device can automatically detect a small number of user operations or behaviors, and determine the scenario-based operations that the user wants the smart home devices to perform based on these operations or behaviors. Furthermore, the scenario-based control device determines a scenario-based control scheme based on the determined scenario-based operation intent, and controls the smart home devices to perform scenario-based control according to the scheme. Therefore, implementing this method can automatically identify the user's operational intent, thereby controlling the smart home devices to execute the corresponding scenario-based control scheme, improving the intelligence of scenario-based control, and enhancing the user experience of the smart home devices.

[0027] Furthermore, the determining unit is specifically used to match the scene-based control scheme corresponding to the operation instruction in a preset scene-based control scheme database when the scene-based control device captures the user's operation instruction for at least one smart home device.

[0028] Furthermore, the determining unit is specifically used to match the determined scenario-based control scheme corresponding to the triggering behavior in a preset scenario-based control scheme database when at least one smart home device detects the triggering behavior.

[0029] A third aspect of this application provides an electronic device, including a memory and a processor. The memory stores a computer program, and the processor runs the computer program to cause the electronic device to perform the control method for a smart home device as described in any one of the first aspects of this application.

[0030] A fourth aspect of this application provides a computer-readable storage medium storing computer program instructions, which, when read and executed by a processor, perform the control method for a smart home device as described in any one of the first aspects of this application. Attached Figure Description

[0031] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1 This is a schematic flowchart of a method for generating a scenario-based control scheme provided in an embodiment of this application;

[0033] Figure 2 This is a schematic diagram of the structure of a scenario-based control device provided in an embodiment of this application;

[0034] Figure 3 A flowchart illustrating an application method for a scenario-based control scheme provided in an embodiment of this application;

[0035] Figure 4 This is a schematic flowchart of a method for generating a scenario-based control scheme provided in an embodiment of this application;

[0036] Figure 5 This is a schematic flowchart of a method for generating a scenario-based control scheme provided in an embodiment of this application;

[0037] Figure 6 This is a schematic diagram of the structure of a scenario-based control device provided in an embodiment of this application;

[0038] Figure 7 This is a schematic diagram of the structure of a scenario-based control device provided in an embodiment of this application;

[0039] Figure 8 A flowchart illustrating a control method for a smart home device provided in an embodiment of this application;

[0040] Figure 9 This is a schematic diagram of the structure of a scenario-based control device provided in an embodiment of this application. Detailed Implementation

[0041] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0042] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0043] Example 1

[0044] Please refer to Figure 1 , Figure 1 This application provides a method for generating a scenario-based control scheme. The method is applied to a scenario-based control device and includes:

[0045] S101. When a user's operation command on at least one smart home device is detected, start recording multiple operation commands within the detection time window.

[0046] In this embodiment, a local area network (LAN) may include many smart home devices. This LAN can be a home LAN or an outdoor LAN.

[0047] In this embodiment, when a user operates at least one smart home device, the user can send an operation command through the control device. At this time, the scene-based control device can capture the operation command sent by the control device and record the operation command.

[0048] In this embodiment, the control device that sends the operation command can be the user's mobile phone or the controller of a smart home device (such as a remote control for a smart air conditioner or a remote control for a smart TV).

[0049] In this embodiment, no limitation is made on the signal type of the operation command.

[0050] In this embodiment, the scenario-based control device has multiple communication functions, which can be used to represent Wi-Fi communication, Bluetooth communication, infrared communication, etc.

[0051] In this embodiment, the scene-based control device captures all possible operation commands in real time. These operation commands are those used by the user when operating smart home devices normally. Therefore, this scene-based control device can capture and record operation commands without interfering with the normal use of smart home devices.

[0052] In this embodiment, when a user turns on a group of associated smart home devices such as a TV and speakers, the user may turn on the TV and set the TV's signal source using the TV remote control, and then send a signal to control the speakers to turn on via their mobile phone. In this scenario, the contextual control device can capture the operation commands sent by the remote control and also the operation commands sent by the mobile phone. Therefore, this contextual control device can capture and record all commands during normal user operation.

[0053] In this embodiment, the use of the scenario-based control device can effectively acquire all operation instructions, thereby enabling subsequent steps to be customized based on all operation instructions and effectively generating a scenario-based control scheme.

[0054] In this embodiment, the operation instructions include switch instructions, volume adjustment instructions, signal source adjustment instructions, etc. The operation instructions may differ for different smart home devices. The scene-based control device can capture and record all these different operation instructions and mark or number them accordingly for each smart home device. For example, an operation instruction sent to a refrigerator with model number XXX to control it to perform operation YYY; this operation instruction, when recorded, can be "XXX: YYY".

[0055] In this embodiment, the operation command can also be a voice command. The scenario-based control device has both voice recognition and voice conversion functions.

[0056] In this embodiment, the detection time window is a preset detection duration.

[0057] In this embodiment, when the method detects a user's operation command to control the smart home, it considers that the user has started to control the smart home. The detection time window is opened with this moment as the starting point, and all operation commands of the user in this detection time window are recorded.

[0058] In this embodiment, the length of the detection time window can be ΔT, and the moment the first operation command is received is t1. At this time, the detection end time t2 can be calculated as t1 + ΔT. It can be seen that the operation commands within the time period t1 to t2 will be recorded.

[0059] In this embodiment, the detection time window is preset, and the general operation time will not exceed the detection time window. Therefore, if multiple operation instructions corresponding to the operation time exceeding the detection time window are received, there is a high probability that many invalid operation instructions will be included.

[0060] In this embodiment, the method can detect the validity of operation instructions in real time. If 80% of the operation instructions are valid, the detection time window is dynamically adjusted so that the operation instructions can be completely recorded, avoiding the situation where the operation instructions are not fully recorded due to a short detection time window.

[0061] In this embodiment, the multiple operation instructions may include repetitive operation instructions. The scenario-based control device accepts all such instructions and leaves the analysis and processing to subsequent steps.

[0062] S102. Determine the order of operations among multiple operation instructions.

[0063] In this embodiment, the multiple operation instructions are not issued simultaneously, because the multiple operation instructions have a sequential order of operation.

[0064] In this embodiment, the method can first perform a validity check on multiple operation instructions, identify invalid instructions, and then determine the order of operation for all valid instructions.

[0065] In this embodiment, the order of operations refers to the sequential order of each instruction among multiple operation commands. For example, this method can number all operation commands, with the earlier received commands having smaller numbers and the later received commands having progressively larger numbers.

[0066] S103. Determine whether the order of operations does not contradict the preset logical order of operations. If yes, proceed to steps S104 to S105; otherwise, end the process.

[0067] In this embodiment, after determining the order of operations, the method can determine whether the operation order conforms to the normal logical operation order based on the specific operation content of the operation instruction.

[0068] In this embodiment, the normal logical operation sequence is the preset logical operation sequence; the only difference is that this method encapsulates the normal logical operation sequence into the scenario-based control device.

[0069] For example, when operating a TV, users typically turn it on first and then perform subsequent operations. This order of operations follows normal logic, therefore it is a normal logical operation sequence. However, if a user turns the TV off first and then performs subsequent operations, this order is considered illogical, therefore it is not a normal logical operation sequence.

[0070] In this embodiment, as illustrated by the above example, the logical operation sequence stored in the scenario-based control device conforms to the behavioral cognition of a normal user. When the sequence of operations by multiple users is detected to conform to the logical operation sequence, it means that the user operation is a normal, orderly, and forward operation; otherwise, the user operation is considered invalid, and the process of generating this scenario-based control scheme ends.

[0071] S104. Determine multiple operation time intervals between multiple operation instructions.

[0072] In this embodiment, the operation time interval has multiple layers of meaning. Essentially, it refers to the operation time interval between each operation instruction, because normally the operation time interval between each operation instruction will not be too small or too large.

[0073] In this embodiment, the first level of the above multi-level meaning indicates that the user's operation is normal, with an operation command sent every few seconds. The second level of the above multi-level meaning indicates that the operation is based on the actual object being operated on. For example, turning on a TV takes 5 seconds, so the operation time interval is 5 seconds. Normally, the time interval for changing channels or adjusting the volume on a TV is about 1 second. Therefore, this method can determine the validity of the operation through multiple operation time intervals, and only execute subsequent steps if the operation is valid.

[0074] S105. Determine whether the time intervals of multiple operations are all greater than the preset time interval threshold. If yes, proceed to steps S106 to S107; otherwise, end the process.

[0075] In this embodiment, step S105 focuses on determining the validity of the time interval between the operation commands with the first level of meaning mentioned above. The effect of implementing this method is to avoid continuous random pressing and, if the operation command is considered to be continuous random pressing, to prevent the generation of a scenario-based control scheme.

[0076] In this embodiment, the time interval threshold can be 200ms or 500ms, and this threshold can be determined according to the actual situation.

[0077] S106. Count the first occurrence frequency of multiple operation instructions in the preset instruction record database; the instruction database includes all recorded operation instructions.

[0078] In this embodiment, the instruction database includes all operation instructions, which typically correspond to multiple smart home devices. Specifically, this refers to operation instructions for the controlled smart home devices. It is understood that the user has performed multiple operations on the smart home device, and the scene-based control device has recorded multiple operation instructions that meet the detection time window.

[0079] In this embodiment, the first occurrence frequency represents the ratio between the number of occurrences of the multiple operation commands captured this time and the total number of operation commands. Specifically, the first occurrence frequency indicates that a set of operation commands used to control the same television set occurs more frequently; specifically, if the user has operated the television set 50 times, and this set of operation commands was used 20 times, then 20 / 50 = 40% is calculated as the first occurrence probability.

[0080] S107. Determine whether the first occurrence frequency is greater than the preset first frequency threshold. If yes, proceed to steps S108 to S109; otherwise, end the process.

[0081] In this embodiment, the preset first frequency threshold is used to determine whether the multiple operation instructions corresponding to the first occurrence frequency are a commonly used set of operation instructions.

[0082] For example, if the method has determined that the probability of the first occurrence is 40%, and the first frequency threshold is 25%, then it means that the set of operation instructions is frequently used, and the subsequent process will be executed.

[0083] As an optional implementation, the method further includes:

[0084] When the first occurrence frequency is not greater than the first frequency threshold, extract consecutive related instructions from multiple operation instructions;

[0085] Count the second frequency of consecutive related instructions in the instruction record database;

[0086] When the frequency of the second occurrence is greater than the preset second frequency threshold, a scenario-based control scheme is generated based on the continuous association instructions.

[0087] In this embodiment, when a set of multiple operation instructions is determined to be not frequently used, the method can extract the closely related consecutive instructions from the multiple operation instructions and determine whether the consecutive related instructions appear frequently.

[0088] In this embodiment, consecutive associated instructions are determined through instruction association.

[0089] In this embodiment, the continuous association instruction also includes multiple operation instructions, but the number of operation instructions in the continuous association instruction is less than the original number of multiple operation instructions.

[0090] In this embodiment, the method can further determine whether there are multiple operation instructions capable of generating a scenario-based control scheme by using a smaller number of instructions.

[0091] In this embodiment, the second frequency threshold is typically larger than the first frequency threshold.

[0092] S108. Count the third frequency of occurrence of multiple operation instructions in the instruction record database at a specified time.

[0093] In this embodiment, when multiple operation instructions constitute a group of operation instructions, and the group of operation instructions has appeared multiple times, the method can further determine whether the group of operation instructions appeared within a fixed time period.

[0094] For example, when the set of operation commands includes multiple commands to control the air conditioner to turn on, adjust the temperature, adjust the airflow, and adjust the air direction, it is determined whether this set of operation commands is frequently input at 8 PM. The ratio of the number of times this set of operation commands is input at 8 PM to the number of days monitored is the third frequency of occurrence.

[0095] S109. Determine whether the third occurrence frequency is greater than the preset third frequency threshold. If yes, proceed to step S110; otherwise, proceed to steps S111 to S113.

[0096] In this embodiment, the fact that the third frequency of occurrence is greater than the third frequency threshold means that this group of multiple operation instructions does indeed occur at a high frequency at the same time.

[0097] S110. Generate a scenario-based control scheme based on multiple operation instructions.

[0098] In this embodiment, the scenario-based control scheme is a scenario-based control scheme that users frequently use at specified times each day.

[0099] As an optional implementation, the step of generating a scenario-based control scheme based on the plurality of operation instructions includes:

[0100] Home appliance control scenarios are generated based on the aforementioned multiple operation instructions.

[0101] In this embodiment, the plurality of operation instructions include the corresponding home appliance combination relationship between each operation instruction and the time interval relationship between each operation instruction.

[0102] As a further optional implementation, the step of determining whether the number of operations of the plurality of operation instructions matches a preset number of operations, and generating a home appliance control scenario based on the plurality of operation instructions, includes:

[0103] The relationship between the home appliances corresponding to the multiple operation instructions and the time interval relationship between the operation instructions are determined and matched with a preset scenario, and a home appliance control scenario is generated based on the multiple operation instructions.

[0104] The multiple operation commands are input by two or more input devices.

[0105] In this embodiment, the input device includes buttons on the home appliance control panel, an application program, a remote control, and a speaker.

[0106] S111 Extract consecutive related instructions from multiple operation instructions.

[0107] In this embodiment, the consecutive associated instructions are multiple operation instructions, and the number of these multiple operation instructions is less than the original multiple operation instructions.

[0108] S112. Count the fourth occurrence frequency of consecutive related instructions in the instruction record database.

[0109] In this embodiment, the fourth frequency of occurrence is the frequency of occurrence of the continuous association instruction in the database.

[0110] S113. When the frequency of the fourth occurrence is greater than the preset fourth frequency threshold, a scenario-based control scheme is generated based on the continuous association instructions.

[0111] In this embodiment, if the frequency of the fourth occurrence is greater than the fourth frequency threshold, it means that the continuous associated instructions are a set of instructions that the user uses every day.

[0112] In this embodiment, generating a scenario-based control scheme based on the continuous association instructions can greatly improve the effectiveness and control accuracy of the scenario-based control scheme.

[0113] In this embodiment, the execution subject of the method is a scenario-based control device. The scenario-based control device can be a computer device with multiple communication functions or other smart devices such as smartphones or tablets. This embodiment does not impose any limitations on this.

[0114] In this embodiment, the scenario control device can be one of at least one smart home device, that is, one of the at least one smart home device is the scenario control device.

[0115] As can be seen, the application method of the scenario-based control scheme described in this embodiment can record all operation commands within a preset time period when the user operates the smart home device through the scenario-based control device, and determine in real time whether the automatically recorded operation commands can generate a scenario-based control scheme. When the operation commands meet the conditions, the scenario-based control scheme is automatically generated, so that the smart home device can directly call the scenario-based control scheme in future use.

[0116] Example 2

[0117] Please refer to Figure 2 , Figure 2This is a schematic diagram of a scenario-based control device provided in an embodiment of this application. Specifically, this scenario-based control device is used to automatically generate scenario-based control schemes, such as... Figure 2 As shown, the scenario-based control device includes:

[0118] The recording unit 210 is configured to start recording multiple operation commands within a detection time window when a user operation command on at least one smart home device is detected.

[0119] The first judgment unit 220 is used to judge whether multiple operation instructions meet the preset scene generation conditions;

[0120] The first generation unit 230 is used to generate a scenario-based control scheme based on multiple operation instructions when multiple operation instructions meet the scenario generation conditions.

[0121] As an optional implementation, the first determination unit 220 includes:

[0122] Determine subunit 221, used to determine the order of operations among multiple operation instructions;

[0123] The first judgment subunit 222 is used to determine whether the order of operations does not contradict the preset logical operation order;

[0124] The subunit 221 is used to determine that multiple operation instructions meet the scene generation conditions when the order of operations does not contradict the logical operation order.

[0125] As an optional implementation, the first determination unit 220 includes:

[0126] Determine subunit 221, used to determine multiple operation time intervals between multiple operation instructions;

[0127] The first judgment subunit 222 is used to determine whether multiple operation time intervals are all greater than a preset time interval threshold.

[0128] The subunit 221 is used to determine that multiple operation instructions meet the scene generation conditions when multiple operation time intervals are all greater than the time interval threshold.

[0129] As an optional implementation, the first generation unit 230 includes:

[0130] The statistics subunit 231 is used to count the first occurrence frequency of multiple operation instructions in a preset instruction record database when multiple operation instructions meet the scene generation conditions; the instruction database includes all recorded operation instructions.

[0131] The second judgment subunit 232 is used to determine whether the first occurrence frequency is greater than a preset first frequency threshold.

[0132] The generation subunit 233 is used to generate a scenario-based control scheme based on multiple operation instructions when the first occurrence frequency is greater than the first frequency threshold.

[0133] As an optional implementation, the first generation unit 230 further includes:

[0134] The first extraction subunit 234 is used to extract consecutively associated instructions from multiple operation instructions when the first occurrence frequency is not greater than the first frequency threshold.

[0135] Statistical subunit 231 is used to count the second occurrence frequency of consecutively related instructions in the instruction record database;

[0136] The generation subunit 233 is used to generate a scenario-based control scheme based on continuous association instructions when the second occurrence frequency is greater than the preset second frequency threshold.

[0137] As an optional implementation, the generation subunit 233 includes:

[0138] The statistics module is used to count the third frequency of multiple operation instructions appearing at a specified time in the instruction record database when the first frequency of occurrence is greater than the first frequency threshold.

[0139] The judgment module is used to determine whether the third occurrence frequency is greater than the preset third frequency threshold.

[0140] The generation module is used to generate a scenario-based control scheme based on multiple operation instructions when the frequency of the third occurrence is greater than the third frequency threshold.

[0141] As an optional implementation, the generation subunit 233 further includes:

[0142] The extraction module is used to extract consecutively related instructions from multiple operation instructions when the frequency of the third occurrence is not greater than the third frequency threshold.

[0143] The statistics module is used to count the fourth occurrence frequency of consecutive related instructions in the instruction record database;

[0144] The generation module is used to generate a scenario-based control scheme based on continuous association instructions when the frequency of the fourth occurrence is greater than the preset fourth frequency threshold.

[0145] As an optional implementation, the first generation unit 230 includes:

[0146] The first extraction subunit 234 is used to extract multiple valid instructions from multiple operation instructions;

[0147] Subunit 235 is used to construct a sequence of instructions from multiple valid instructions.

[0148] The first acquisition subunit 236 is used to acquire contextual information that matches the instruction sequence;

[0149] The generation subunit 233 is used to generate a scenario-based control scheme based on the instruction sequence and scenario-based information.

[0150] As an optional implementation, the first extraction subunit 234 is specifically used to extract multiple valid instructions based on the operation sequence and operation correlation among multiple operation instructions.

[0151] In this embodiment, the explanation of the scene-based control device can be referred to the description in Embodiment 1, and will not be repeated here.

[0152] As can be seen, the scenario-based control device described in this embodiment can exist as a standalone auxiliary device. This device captures and records user operation commands through its infrared communication, Wi-Fi communication, and other communication functions. Once the device has recorded the user's operation commands, it automatically determines whether a scenario-based control scheme can be generated and then automatically generates one. Therefore, this scenario-based control device can automatically generate scenario-based control schemes and automatically apply these schemes to smart home devices through various communication functions, thereby facilitating the intelligentization of scenario-based control in smart homes.

[0153] Example 3

[0154] Please refer to Figure 3 , Figure 3 This application provides a method for generating a scenario-based control scheme. The method is applied to a scenario-based control device and includes:

[0155] S301: Receive user input operation information, wherein the operation information includes multiple home appliance operation commands and the trigger time interval between the multiple home appliance operation commands; the multiple home appliance operation commands correspond to at least two smart home devices;

[0156] In the above embodiments, the trigger time interval of multiple home appliance operation commands can be obtained by acquiring the time of multiple home appliance operation commands input by the user and based on the time corresponding to the multiple home appliance operation commands.

[0157] S302: Store operation information to send the operation information to at least two smart home devices.

[0158] In S302, storing operation information refers to storing operation information locally or in a contextualized control device. It can be understood that the operation information is not necessarily stored locally on the mobile terminal. The mobile terminal can send the operation information to the contextualized control device for storage.

[0159] The user-input operation information includes multiple appliance operation commands and the trigger time intervals between these commands. After storing this information, multiple personalized settings for various smart home devices within the smart home system can be achieved. This avoids the need for users to send multiple commands each time they personalize the smart home system, thus improving user convenience.

[0160] It is understood that, based on the above implementation method, in another possible implementation method, the operation information input by the user includes the start execution time of multiple home appliance commands. This execution time is used to enable the mobile terminal, the scene-based control device, or the smart home device to perform operation control according to the operation information at a certain time.

[0161] For example, the user inputs the execution time as 8 PM every night, and the mobile terminal sends the operation information to multiple smart home devices at 8 PM every night.

[0162] Based on the above implementation methods, the method of this application embodiment is applied to the customized control scenario of smart home. The user first records operation information, which includes the execution time. Based on the operation information, multiple smart home devices in the smart home system can perform one or more operations in a preset order within a preset time period.

[0163] In one possible implementation, S13 is achieved by: generating a device plugin page in response to a recording scene instruction; displaying the device plugin page; and receiving operation information input by the user based on the device plugin page.

[0164] See Figure 4 This application provides a device plugin page, which allows users to select smart home devices they wish to control. After a user selects a smart home device, the mobile terminal will display the control page for that device, allowing the user to... Figure 6 Enter the operation information on the operation page. For example, first turn on the air conditioner, and then adjust the temperature of the air conditioner to 26.5°.

[0165] Due to the rapid development of artificial intelligence technology, S301 can complete the following sub-steps: receiving voice information input by the user; recognizing operation information based on the voice information; or receiving text information input by the user; recognizing operation information based on the text information.

[0166] For example, a user inputs the voice message "Turn on the smart speaker, turn it off in 45 minutes, turn on the air conditioner, set the air conditioner to 26.5°C, and turn it off in 3 hours" on a mobile terminal. The mobile terminal recognizes the appliance operation commands for the two devices: turn on the smart speaker, turn off the smart speaker, turn on the air conditioner, set the air conditioner to 26.5°C, and turn off the air conditioner. The trigger time interval between turning on and off the smart speaker is 45 minutes, and the time interval between turning on the air conditioner and setting the air conditioner to 26.5°C is 3 hours.

[0167] The step of receiving user input operation information includes:

[0168] The operation information is input by two or more input devices, wherein the input devices are associated with the user.

[0169] For example, the user's operation commands can be a combination of multiple input methods described above. For instance, first, a voice command to control the air conditioner temperature can be input via a smart speaker; then, a command to control the brightness and color temperature of lights can be input via an 86-type switch on the wall; next, a remote control for electric curtains can be used to close the curtains; and finally, a user can input the channel to turn on the projector to watch a movie via a mobile app. At least some of these devices are bound to the same user account or family account, thus forming a correspondence with the user and recognizing the multiple operation commands as the same user's actions, thereby creating a home appliance control scenario.

[0170] For example, if a user first clicks the icon corresponding to the command "Turn on the air conditioner" on the device plugin page, and then clicks the icon corresponding to the operation "3-way airflow" 3 seconds later, the trigger time interval between these two appliance operation commands can be calculated based on the time it takes for the user to click these two icons.

[0171] It should be noted that in the above embodiments, the trigger time interval between multiple appliance operations is obtained from the time the user inputs the command. In one possible implementation, the user can directly input the trigger time interval between two commands. For example, the user can trigger the command to turn on the air conditioner and the command to adjust the air conditioner bar to 26.5°C, and the time interval between the two commands is 3 seconds. In this way, the trigger time interval between the two appliance operation commands can be obtained as 3 seconds.

[0172] It is understandable that when a user inputs multiple commands, the trigger time interval between these commands does not necessarily include the trigger time interval between each individual command. The trigger time interval between multiple commands only needs to include at least two of the commands. For example, the commands "turn on the bedroom light" and "turn on the living room light" do not necessarily require a trigger time interval.

[0173] Therefore, in one possible implementation, before S11, the method further includes: presetting a trigger time-sensitive set, the trigger time-sensitive set including paired home appliance commands sensitive to trigger time, and S11 includes the following sub-steps:

[0174] It receives multiple home appliance operation commands input by the user, as well as the trigger time interval between paired trigger time-sensitive commands located in the trigger time-sensitive set among the multiple home appliance operation commands.

[0175] For example, there is no time interval requirement between the two appliance operation commands: turning on the living room LED light and turning on the kitchen LED light. Since these two commands are not included in the trigger time-sensitive set, the trigger time interval for these two appliance operation commands is not included in the operation information.

[0176] In one possible implementation, prior to S11, the method further includes: presetting a sequence-sensitive set, which includes paired appliance operation instructions that are sensitive to the execution sequence. S11 includes the following sub-steps: obtaining multiple appliance operation instructions and their trigger times; obtaining the trigger time interval between the multiple operation instructions based on the trigger times of one or more appliance operation instructions that are not in the sequence-sensitive set.

[0177] For example, the sequence-sensitive set contains paired appliance operation commands such as "turn on the air conditioner - adjust the air conditioner temperature". When the user records a scene, the trigger times for turning on the speaker, turning on the lights, turning on the air conditioner, and adjusting the air conditioner to 26.5°C are obtained. Therefore, when generating the trigger time interval between multiple appliance operation commands, the trigger time interval between turning on the lights and turning on the smart speaker does not need to be calculated; only the trigger time between turning on the air conditioner and adjusting the air conditioner to 26.5°C needs to be calculated. In addition, the sequence-sensitive set can also be "turn on the hallway light - turn on the washing machine", "turn on the bathroom light - turn on the water heater", etc.

[0178] See Figure 4 This application provides an application method for a scenario-based control scheme, the method comprising:

[0179] S303: Preset sequence-sensitive set, which includes the execution order of paired home appliance operation instructions that are sensitive to the execution order;

[0180] S304: The trigger time for receiving the multiple home appliance operation commands input by the user;

[0181] S305: Obtain the execution order of the multiple home appliance operation instructions based on their trigger times;

[0182] S306: Determine whether the execution order of the paired, order-sensitive appliance operation instructions in the order-sensitive set is the same as the execution order of the order-sensitive appliance operation instructions in the multiple appliance operation instructions; if yes, proceed to S307; if yes, proceed to S308.

[0183] S307: Issue an alarm message.

[0184] S308: Obtain the trigger time interval between multiple home appliance operation commands based on their trigger times;

[0185] S309: Store operation information to send the operation information to at least two smart home devices. The operation information includes multiple appliance operation commands and trigger time intervals between the multiple operation commands. For example, the sequence-sensitive set includes the appliance operation command "turn on the range hood - turn on the induction cooker," which is sensitive to the execution order. During the user's scene recording process, the mobile terminal obtains the execution times corresponding to these two commands. Based on the execution implementation, the execution order of the two appliance operation commands input by the user is determined to be "turn on the induction cooker - turn on the range hood." It is determined that this order is different from the order of appliance operation commands in the sequence-sensitive set, therefore an alarm message is issued to inform the user that doing so may cause excessive oil fumes when the induction cooker is turned on.

[0186] The above embodiments take into account that during the scene recording process, users may need to record the operation of multiple smart home devices at once, and may not remember which smart home devices' operation commands have been recorded. If they subsequently control the smart home devices in this order, it may lead to danger. Based on the above implementation method, the user's life safety can be guaranteed.

[0187] In one possible implementation, S302 includes the following sub-step: sending each of the multiple home appliance operation instructions to its corresponding smart home device according to the multiple home appliance operation instructions and the trigger time interval between the multiple home appliance operation instructions.

[0188] It should be noted that the above-mentioned multiple appliance operation commands correspond to at least two smart home devices, and each smart home device does not necessarily correspond to only one appliance operation command. For example, an air conditioner corresponds to two appliance operation commands: turning on the air conditioner and setting the air conditioner temperature to 26.5°.

[0189] In one possible implementation, S302 includes the following sub-steps: generating an operation instruction sequence based on operation information; and sending the operation instruction sequence to at least two smart home devices.

[0190] Considering that existing smart home systems have their own universal decoding methods for smart home devices, an operation command sequence can be generated based on the operation information. This sequence includes multiple recorded appliance operation commands and the intervals between them. The operation command sequence is then sent to at least two smart home devices, each of which can parse its corresponding appliance operation command and the trigger time interval between them from the sequence.

[0191] In one possible implementation, S302 includes the following sub-steps: sending operation information to a scenario-based control device, so that the scenario-based control device sends each of the multiple home appliance operation instructions to its corresponding smart home device according to the multiple home appliance operation instructions and the trigger time interval between the multiple home appliance operation instructions.

[0192] In the above embodiments, based on the trigger time interval between multiple home appliance operation commands, each of the multiple home appliance operation commands is sent to the scene-based control device, and the scene-based control device further sends the multiple home appliance operation commands to its corresponding smart home device.

[0193] For example, multiple appliance operation commands are: "Turn on range hood - Turn on induction cooker". Both the range hood and the induction cooker are controlled by infrared, and the triggering time interval between the two is 5 seconds. Therefore, the command to turn on the range hood is sent to the infrared scene-based control device first, and the command to turn on the induction cooker is sent to the infrared scene-based control device after a 5-second interval.

[0194] In one possible implementation, the step of sending the operation instruction sequence to the smart home devices includes: sending the operation instruction sequence to a scene-based control device, so that the scene-based control device sends the operation instruction sequence to at least two smart home devices.

[0195] In the above embodiments, the sequence of operation instructions is sent to the scene-based control device, which then sends the sequence of instructions to each smart home device.

[0196] In one possible implementation, before S302, the method further includes: obtaining identification information of the contextualized control device; the identification information is used to identify the network contextualized control device, the infrared contextualized control device, and the radio frequency contextualized control device; S302 includes: sending operation information to the contextualized control device according to the identification information.

[0197] Considering that each smart home device has its own signal transmission method when recording application scenarios; in one possible implementation, before S12, the method further includes: obtaining the communication method corresponding to each smart home device in multiple home appliance operation instructions; S12 includes: sending multiple home appliance operation instructions to at least two devices according to the communication method corresponding to each smart home device.

[0198] The above embodiments take into account the presence of multiple smart home devices in smart home application scenarios, and the diverse characteristics of the actual terrain in smart home application scenarios. Different communication methods can be adopted for different home devices and different actual terrains in different application scenarios. The scenario-based control device sends multiple appliance operation commands to multiple smart home devices.

[0199] In summary, based on the characteristics of existing smart home application scenarios, this application provides multiple solutions for both instruction recording and sending appliance operation instructions to smart home devices. The various possible implementation methods provided in the above embodiments can be combined and implemented.

[0200] It is understandable that the above embodiments only illustrate how to send multiple appliance operation commands to various smart home devices, without explaining how to initiate the sending process. In smart home application scenarios, users also need to input an execution time so that multiple appliance operation commands can be sent to multiple smart home devices at fixed times in the future.

[0201] Example 4

[0202] See Figure 5 This application provides a method for generating a scenario-based control scheme, applied to a scenario-based control device. Specifically, this method is a manual generation method for scenario-based control schemes, which includes:

[0203] S401: Receive operation information sent by the mobile terminal. The operation information includes multiple home appliance operation commands and the trigger time interval between the multiple home appliance operation commands.

[0204] S402: Store operation information to send the operation information to at least two smart home devices.

[0205] In the above implementation process, the user records operation commands for multiple home appliances and the trigger time intervals for these commands on a mobile terminal. These commands and their trigger intervals are then sent to a scene-based control device. This device stores the operation information, which can then be used to personalize settings for multiple smart home devices within the system. This avoids the need for the user to send multiple commands each time they personalize the smart home system, thus improving user convenience.

[0206] In one possible implementation, S402 includes: sending each of the multiple appliance operation instructions to its corresponding smart home device according to the trigger time interval between the multiple appliance operation instructions.

[0207] In one possible implementation, the operation information is encapsulated by the mobile terminal into an operation instruction sequence; S401 includes: receiving the operation instruction sequence sent by the mobile terminal; S402 includes: sending the operation instruction sequence to a smart home device.

[0208] In one possible implementation, S402 includes: generating an instruction sequence based on operation information; and sending the instruction sequence to a smart home device.

[0209] Example 5

[0210] See Figure 6 This application provides a control device for a smart home device. Specifically, the device includes:

[0211] The first receiving module 510 is used to receive operation information input by the user, wherein the operation information includes multiple home appliance operation commands and the trigger time interval between the multiple home appliance operation commands; the multiple home appliance operation commands correspond to at least two smart home devices;

[0212] The first storage module 520 stores operation information for sending the operation information to at least two smart home devices.

[0213] In one possible implementation, the first receiving module 510 is further configured to generate a device plugin page in response to a recording scene instruction; display the device plugin page; and receive operation information input by the user based on the device plugin page.

[0214] In one possible implementation, the first receiving module 510 is further configured to receive voice information input by the user and identify operation information based on the voice information.

[0215] In one possible implementation, the first receiving module 510 is further configured to receive text information input by the user and identify operation information based on the text information.

[0216] In one possible implementation, the first storage module 520 is further configured to send each of the multiple home appliance operation instructions to its corresponding smart home device according to the multiple home appliance operation instructions and the trigger time interval between the multiple home appliance operation instructions.

[0217] In one possible implementation, the first storage module 520 is further configured to generate an operation instruction sequence based on the operation information and send the operation instruction sequence to at least two smart home devices.

[0218] In one possible implementation, the first storage module 520 is further configured to send operation information to the scene-based control device, so that the scene-based control device sends each of the multiple home appliance operation instructions to its corresponding smart home device according to the multiple home appliance operation instructions and the trigger time interval between the multiple home appliance operation instructions.

[0219] In one possible implementation, a sequence of operation instructions is sent to a contextualized control device, which then sends the sequence of operation instructions to at least two smart home devices.

[0220] In one possible implementation, the device further includes an identification information acquisition module for acquiring identification information of the contextualized control device; the first receiving module 510 is also used to send operation information to the contextualized control device, the network contextualized control device, the infrared contextualized control device, or the radio frequency contextualized control device according to the identification information.

[0221] In one possible implementation, the first receiving module 510 is further configured to send the operation instruction sequence to the contextualized control device, the network contextualized control device, the infrared contextualized control device, or the radio frequency contextualized control device according to the identification information.

[0222] In the above embodiments, the user-input operation information includes multiple appliance operation commands and the trigger time intervals between these commands. After storing this operation information, multiple personalized settings for multiple smart home devices in the smart home system can be achieved through this information. This avoids the need for users to send multiple commands each time they personalize the smart home system, improving the ease of user operation.

[0223] Example 6

[0224] See Figure 7 This application provides a control device for smart home devices, applied in scenario-based control devices. The device includes:

[0225] The second receiving module 610 is used to receive operation information sent by the mobile terminal. The operation information includes multiple home appliance operation commands and the trigger time interval between the multiple home appliance operation commands.

[0226] The second storage module 620 is used to send operation information to smart home devices.

[0227] In one possible implementation, the second storage module is further configured to send each of the multiple appliance operation instructions to its corresponding smart home device based on the trigger time interval between the multiple appliance operation instructions.

[0228] In one possible implementation, the operation information is encapsulated by the mobile terminal into an operation instruction sequence; the second storage module 620 is also used to send the operation instruction sequence to the smart home device.

[0229] In one possible implementation, the second receiving module 610 is further configured to receive a sequence of operation instructions sent by the mobile terminal; the second storage module 620 is further configured to send the sequence of operation instructions to a smart home device.

[0230] In the above embodiments, the scenario-based control device receives operation information sent by the user. This operation information includes multiple appliance operation commands and the trigger time intervals between these commands. Each appliance operation command corresponds to at least two smart home devices. The scenario-based control device stores this operation information, enabling multiple personalized settings for multiple smart home devices within the smart home system. This avoids the need for users to send multiple commands each time they personalize the smart home system, improving user convenience.

[0231] Example 7

[0232] Please refer to Figure 8 , Figure 8 This application provides a flowchart illustrating an application method for a scenario-based control scheme. The method applies to a scenario-based control device; specifically, it is a method for applying or triggering a scenario-based control scheme, and includes:

[0233] S1101. When at least one smart home device detects a triggering behavior or a scenario control device captures a user's operation command on at least one smart home device, a scenario control scheme corresponding to the triggering behavior is matched in a preset scenario control scheme database, or a scenario control scheme corresponding to the operation command is matched.

[0234] In this embodiment, two scenarios are described in this step, and the method only needs to satisfy one of these scenarios to execute the subsequent steps.

[0235] In this embodiment, the first scenario included in this step is that at least one smart home device detects a triggering behavior. It is understood that this scenario illustrates that the contextual control scheme has triggering conditions, and the triggering behavior happens to satisfy those conditions.

[0236] In this embodiment, the triggering behavior is the behavior used to trigger the step of determining the scenario-based control scheme by matching the triggering behavior in the preset scenario-based control scheme database.

[0237] For example, a user can set the trigger time for a scenario-based control scheme in a timer. When the timer confirms that the current time is the trigger time, it can match the steps for determining the scenario-based control scheme corresponding to the trigger behavior in the preset scenario-based control scheme database. In this example, the trigger behavior is that the current time is the trigger time; here, the behavior is equivalent to a condition.

[0238] To give another example, when a user arrives home, the home sensors detect their arrival. This arrival is considered a user action. The contextual control device can then match this action to determine the appropriate contextual control scheme to execute. In this example, the triggering action is the user's act of arriving home; specifically, it could be the user turning on the lights. More specifically, it could be the smart home device detecting the user's habit of unlocking the door upon arrival, confirming their arrival, and then executing the contextual control scheme accordingly.

[0239] To give another example, at least one smart home device can simultaneously detect whether a user has returned home and whether they returned home at 8 PM. It's clear that in this case, the triggering behavior includes both the specified time and the user's action. Based on this example, we can see that the triggering behavior is not necessarily a single action; it can also be a combination of actions. In practice, such combination behaviors occur more frequently, have a higher detection accuracy, and result in more accurate scenario-based control solutions.

[0240] In this embodiment, the triggering behavior includes machine behavior and user behavior. Machine behavior includes timed behavior, temperature and humidity specified behavior, light specified behavior, etc., while user behavior includes user action behavior, user identification behavior, and other user behavior. Among them, user identification behavior refers to the behavior of smart home devices performing facial recognition on users to determine that the user's identity is a family member.

[0241] In this embodiment, a common method is to identify the user's action and the user's identity. For example, the method can determine whether the user has returned home by themselves. If yes, a scenario-based control scheme corresponding to the scenario of the user returning home is executed; if the identified identity is another person, a scenario-based control scheme corresponding to the scenario of another person entering the home is executed (this scheme can be used for anti-theft or receiving guests).

[0242] In this embodiment, no limitation is imposed on the detection capability of the smart home device.

[0243] In this embodiment, the second case included in this step is that the scenario-based control device captures the user's operation instruction for at least one smart home device, and when the operation instruction is captured, matches the scenario-based control scheme corresponding to the operation instruction.

[0244] In this embodiment, this scheme corresponds to a scenario-based control effect that the user is currently controlling the smart home device to achieve the expected corresponding effect through the smart home device. However, this type of control has occurred frequently in the past, so that it has been recorded as a preset scenario-based control scheme. Therefore, when the smart home device is started for intelligent control, the scenario-based control device can determine the user's operation intention through a small number of captured operation instructions, and call the corresponding scenario control scheme for scenario-based control. It can be seen that this method can avoid the need for the user to perform complete control over the smart home device, thereby improving the user's usage experience.

[0245] For example, the user turns on the air conditioner when returning home in recent days, and sets the air conditioner to cooling mode at 26 degrees Celsius with high fan speed. Then, when the user turns on the air conditioner and activates the cooling function when returning home this time, the scenario-based control device can determine that the user wants to set the air conditioner to 26 degrees Celsius with high fan speed, and then the scenario-based control device automatically controls the air conditioner to make the adjustment, avoiding the need for subsequent adjustment by the user.

[0246] For another example, when the user controls the smart curtain to close, the user usually also turns off the indoor light and turns on the night light. In this case, when the user controls the smart curtain to close and turns off the indoor light, the scenario-based control device determines that the user is preparing to go to bed, and thus automatically invokes the corresponding scenario-based control scheme to turn on the night light. It can be seen that this method includes linkage between multiple smart home devices.

[0247] In this embodiment, the process of the user operating at least one smart home device can generate a corresponding scenario-based control scheme by itself; however, when the scenario-based control scheme already exists and the user still operates in this way, the scenario-based control device can automatically match the scenario-based operation scheme and control the smart home device to execute the scenario-based control scheme, thereby achieving the automatic control effect of the smart home device.

[0248] S1102. Obtain the working scene information of at least one smart home device.

[0249] In this embodiment, the working scenario information is determined by the working status of each smart home device.

[0250] In this embodiment, the working state of each smart home device typically includes on / off state, standby state, working intensity state, working power information, and information obtained by the smart home device through its operation, etc.

[0251] In this embodiment, the work scenario information is used to indicate what the smart home devices in the home are currently doing, and can indicate which scenario the smart home devices are doing.

[0252] S1103. Obtain the scenario information corresponding to the scenario-based control scheme.

[0253] In this embodiment, the scenario-based control scheme includes operation instructions for controlling at least one smart home device, and the scenario information of the smart home device can be determined based on these operation instructions.

[0254] In this embodiment, the scenario information is used to represent the working status of the smart home devices before or after scenario-based control is performed.

[0255] In this embodiment, the working state of each smart home device typically includes on / off state, standby state, working intensity state, working power information, and information obtained by the smart home device through its operation, etc.

[0256] S1104. Determine whether the solution scenario information matches the work scenario information. If yes, proceed to steps S1105 to S1106; otherwise, end the process.

[0257] In this embodiment, this step is used to determine whether the current scenario needs to execute the scenario-based control scheme before executing the scenario-based control scheme.

[0258] In this embodiment, the scenario is going home, so the work scenario should not be someone at home; if the scenario is a karaoke bar, then the work scenario should not be sleeping.

[0259] In this embodiment, the working status of smart home devices will be reflected regardless of the scenario, and these working statuses will constitute the working scenario information. Therefore, this working scenario information can be used to determine whether a scenario-based control scheme can be executed.

[0260] In this embodiment, the scenario information generally refers to the working scenario information of the smart home devices corresponding to the scenario-based control scheme before they are started.

[0261] For example, when a user returns home, smart home devices should trigger the home-return scenario's contextual control scheme. However, if someone is already home, then there's no need to trigger the home-return scenario's contextual control scheme. In the home-return scenario's contextual control scheme, the smart home devices should initially be in standby mode, while when someone is home, the smart home devices are usually in an active state, such as with the lights on.

[0262] S1105. Extract at least one control instruction, at least one control moment, and at least one control object from the scenario-based control scheme; wherein, at least one control instruction, at least one control moment, and at least one control object correspond one-to-one.

[0263] In this embodiment, the scenario-based control scheme can control multiple smart home devices. During the control process, the controlled object, control commands, and control timing are typically considered. Therefore, this step extracts all the information corresponding to these three elements to facilitate accurate subsequent control of the smart home devices.

[0264] S1106. Send at least one control instruction to at least one smart home device based on at least one controlled object, so that at least one smart home device executes at least one control instruction corresponding to at least one control moment based on at least one control moment.

[0265] In this embodiment, the method sends corresponding control instructions based on the controlled object, thereby enabling the controlled object to execute its own control instructions.

[0266] In this embodiment, when multiple smart home devices are controlled, they can execute corresponding control commands at the same time.

[0267] In this embodiment, for the same controlled object (i.e., the same smart home device), the smart home device can obtain multiple control commands. In this case, the smart home device should control the object according to the control time corresponding to the control command.

[0268] In this embodiment, when a smart home device executes multiple control commands, it can detect the control timing of the control commands and perform corresponding control operations only when the control timing conforms to preset normal logic. For example, a television must be turned on before any other operation can be performed.

[0269] In this embodiment, when a smart home device executes multiple control commands, it can adaptively adjust the control commands according to the actual scenario to obtain a new set of control commands, and then perform scenario-based control based on this new set of control commands. For example, if the television is currently on, there is no need to execute the television power-on command; if the television takes a while to start after the power-on command is sent, the television can wait until it is turned on before executing subsequent commands.

[0270] In this embodiment, the execution subject of the method is a scene-based control device. The scene-based control device can be a computer device with multiple communication functions or other smart home devices such as smartphones and tablets. This embodiment does not impose any limitations on this.

[0271] In this embodiment, the scenario control device can be one of at least one smart home device, that is, one of the at least one smart home device is the scenario control device.

[0272] As can be seen, the application method of the scenario-based control scheme described in this embodiment can detect user operations or behaviors in real time, and determine whether the user wants to perform scenario-based control of smart home devices based on the detection results. If the user does want to perform scenario-based control of smart home devices, the system automatically selects the scenario-based control scheme corresponding to the current operation or behavior, and controls the smart home devices to perform automated control according to the scenario-based control scheme. Therefore, implementing this method can automatically complete the corresponding scenario-based control based on the user's operations or behaviors, thereby enabling scenario-based operation of smart home devices with less user operation or triggering, resulting in a better user experience.

[0273] Example 8

[0274] Please refer to Figure 9 , Figure 9 This is a schematic diagram of a scenario-based control device provided in an embodiment of this application. Specifically, this scenario-based control device triggers and applies scenario-based control schemes, such as... Figure 9 As shown, the scenario-based control device includes:

[0275] The fourth determining unit 1210 is used to determine a scenario-based control scheme based on the trigger information when at least one smart home device or scenario-based control device detects trigger information.

[0276] The fourth acquisition unit 1220 is used to acquire the working scene information of at least one smart home device;

[0277] The fourth judgment unit 1230 is used to determine whether the scenario-based control scheme matches the work scenario information;

[0278] The control unit 1240 is used to control at least one smart home device to execute the scenario-based control scheme when the scenario-based control scheme matches the work scenario information.

[0279] As an optional implementation, the fourth determining unit 1210 is specifically used to match the scene-based control scheme corresponding to the operation instruction in a preset scene-based control scheme database when the scene-based control device captures the user's operation instruction for at least one smart home device.

[0280] As an optional implementation, the fourth determining unit 1210 is specifically used to match the determined scenario-based control scheme corresponding to the triggering behavior in a preset scenario-based control scheme database when at least one smart home device detects the triggering behavior.

[0281] As an optional implementation, the fourth determination unit 1230 includes:

[0282] The fourth acquisition subunit 1231 is used to acquire the scenario information corresponding to the scenario-based control scheme;

[0283] Judgment subunit 1232 is used to determine whether the scheme scenario information matches the work scenario information;

[0284] Specifically, the control unit 1240 is used to control at least one smart home device to execute a scenario-based control scheme when the scheme scenario information matches the working scenario information.

[0285] As an optional implementation, the control unit 1240 includes:

[0286] The fourth extraction subunit 1241 is used to extract at least one control instruction, at least one control moment, and at least one control object from the scenario-based control scheme; wherein, at least one control instruction, at least one control moment, and at least one control object correspond one-to-one.

[0287] The transmitting subunit 1242 is configured to transmit at least one control instruction to at least one smart home device based on at least one controlled object, so that at least one smart home device executes at least one control instruction corresponding to at least one control moment based on at least one control moment.

[0288] As can be seen, the scenario-based control device described in this embodiment can automatically detect a small number of user operations or behaviors, and determine the scenario-based operations that the user wants the smart home devices to perform based on these operations or behaviors. Furthermore, the scenario-based control device determines a scenario-based control scheme based on the determined scenario-based operation intent, and controls the smart home devices to perform scenario-based control according to the scheme. Therefore, implementing this method can automatically identify the user's operational intent, thereby controlling the smart home devices to execute the corresponding scenario-based control scheme, thus improving the intelligence of scenario-based control and enhancing the user experience of the smart home devices.

[0289] This application provides an electronic device, including a memory and a processor. The memory stores a computer program, and the processor runs the computer program to enable the electronic device to perform the control method for a smart home device as described in Embodiment 1 of this application.

[0290] This application provides a computer-readable storage medium storing computer program instructions. When these computer program instructions are read and executed by a processor, the control method for a smart home device described in Embodiment 1 of this application is performed.

[0291] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0292] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0293] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0294] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0295] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0296] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A control method for a smart home device, characterized in that, The method is applied to a scenario-based control device, and the method includes: When at least one smart home device or the scenario control device detects trigger information, a scenario control scheme is determined based on the trigger information; Obtain the working scene information of the at least one smart home device; Obtain the scenario information corresponding to the scenario-based control scheme; the scenario information is used to indicate the working state of the smart home device before or after scenario-based control is performed on the smart home device. Determine whether the proposed scenario information matches the work scenario information; When the scenario-based control scheme matches the work scenario information, the at least one smart home device is controlled to execute the scenario-based control scheme. The scenario-based control scheme is generated based on multiple operation commands within the detection time window; these multiple operation commands are captured in real time and are multiple operation commands that the user uses when using at least one smart home device normally.

2. The control method for smart home devices according to claim 1, characterized in that, The step of determining a scenario control scheme based on the trigger information when at least one smart home device or the scenario control device detects trigger information includes: When the scenario-based control device captures a user's operation command for at least one smart home device, it matches the scenario-based control scheme corresponding to the operation command in a preset scenario-based control scheme database.

3. The control method for smart home devices according to claim 1, characterized in that, The step of determining a scenario control scheme based on the trigger information when at least one smart home device or the scenario control device detects trigger information includes: When at least one smart home device detects a triggering behavior, a corresponding scenario-based control scheme is matched against a preset scenario-based control scheme database.

4. The control method for smart home devices according to claim 1, characterized in that, The steps of controlling the at least one smart home device to execute the scenario-based control scheme include: Extract at least one control instruction, at least one control moment, and at least one control object from the scenario-based control scheme; wherein, the at least one control instruction, the at least one control moment, and the at least one control object correspond one-to-one; The at least one control instruction is sent to the at least one smart home device according to the at least one controlled object, so that the at least one smart home device executes at least one control instruction corresponding to the at least one control time based on the at least one control time.

5. A scenario-based control device, characterized in that, The scenario-based control device includes: The determining unit is configured to determine a scenario control scheme based on the trigger information when at least one smart home device or the scenario control device detects the trigger information. The acquisition unit is used to acquire the working scene information of the at least one smart home device; The judgment unit is used to determine whether the scenario-based control scheme matches the work scenario information; A control unit is configured to control at least one smart home device to execute the scenario-based control scheme when the scenario-based control scheme matches the work scenario information. The scenario-based control scheme is generated based on multiple operation commands within a detection time window; these multiple operation commands are captured in real time and are multiple operation commands that the user uses when normally using at least one smart home device. The fourth judgment unit includes: The fourth acquisition subunit is used to acquire the scenario information corresponding to the scenario control scheme; the scenario information is used to indicate the working status of the smart home device before or after scenario control is performed. The judgment sub-unit is used to determine whether the solution scenario information matches the work scenario information; Specifically, the control unit is used to control at least one smart home device to execute a scenario-based control scheme when the scheme scenario information matches the working scenario information.

6. The scenario-based control device according to claim 5, characterized in that, The determining unit is specifically used to match the scene-based control scheme corresponding to the operation instruction in a preset scene-based control scheme database when the scene-based control device captures the user's operation instruction for at least one smart home device.

7. The scenario-based control device according to claim 5, characterized in that, The determining unit is specifically used to match a determined scenario-based control scheme corresponding to the triggering behavior in a preset scenario-based control scheme database when at least one smart home device detects the triggering behavior.

8. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory being used to store a computer program, and the processor running the computer program to cause the electronic device to perform the control method of the smart home device according to any one of claims 1 to 4.

9. A readable storage medium, characterized in that, The readable storage medium stores computer program instructions, which, when read and executed by a processor, perform the control method of the smart home device according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Scene linkage control method and system, gateway equipment and storage medium

    CN109936489A

  • Method and device for determining smart home scene execution

    CN111352350A

  • Smart home equipment control method and device

    CN111766798A