A method for recommending a preset control scheme of a manufacturer and a scene control device

By generating scenario-based control schemes and matching them with manufacturer-preset control schemes, the problem of users needing to manually adjust smart home devices is solved, achieving automated control of smart home devices and improving the user experience.

CN116300483BActive Publication Date: 2026-03-24MIDEA GROUP CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

While existing smart home device control methods possess a certain degree of intelligence, users need to adjust them according to actual scenarios, which prevents true intelligence from being achieved and affects the user experience.

Method used

By generating scenario-based control schemes, matching them with manufacturer-preset control schemes, and recommending them to users when the similarity reaches a threshold, automated control of smart home devices can be achieved.

Benefits of technology

It improves the automation control capabilities of smart home devices and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116300483B_ABST
    Figure CN116300483B_ABST
Patent Text Reader

Abstract

The application provides a method for recommending a preset control scheme of a manufacturer and a scene control device. The method comprises the following steps: generating a scene control scheme according to an operation instruction of a user to at least one smart home device; matching a preset scene of the manufacturer corresponding to the at least one smart home device in a preset scene library of the manufacturer; obtaining a preset control scheme of the manufacturer matched with the preset scene of the manufacturer; judging whether the approximation degree of the preset control scheme of the manufacturer and the scene control scheme is greater than a preset approximation threshold; and recommending the preset control scheme of the manufacturer when the approximation degree of the preset control scheme of the manufacturer and the scene control scheme is greater than the preset approximation threshold. It can be seen that, by implementing the embodiment, the user can use the preset control scheme of the manufacturer to realize automatic control of the smart home device, thereby realizing smart home control automation and improving the user experience.
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 recommended method for manufacturer-preset control schemes 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 can achieve a certain degree of intelligence, users often make adjustments to the devices according to the actual scenario, thus failing to achieve true intelligence and consequently affecting the user experience. Summary of the Invention

[0003] The purpose of this application is to provide a method for recommending manufacturer-preset control schemes and a scenario-based control device. This method can generate scenario-based control schemes based on user operations, and then find suitable manufacturer-preset control schemes based on the generated scenario-based control schemes and recommend them to the user. This allows the user to use the manufacturer-preset control schemes to achieve automatic control of smart home devices, thereby realizing the automation of smart home control and improving the user experience.

[0004] The first aspect of this application provides a method for recommending manufacturer-preset control schemes, the method being applied to scenario-based control devices, the method comprising:

[0005] Generate a scenario-based control scheme based on the user's operation instructions for at least one smart home device;

[0006] Match the manufacturer's preset scene to the manufacturer's preset scene library;

[0007] Obtain the manufacturer's preset control scheme that matches the manufacturer's preset scenario;

[0008] Determine whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than a preset similarity threshold;

[0009] When the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than the preset similarity threshold, the manufacturer's preset control scheme is recommended.

[0010] In the above implementation process, this method first generates a scenario-based control scheme, and then searches for similar manufacturer-preset control schemes based on the generated scenario-based control scheme. Once a manufacturer-preset control scheme that is similar to or even identical to the scenario-based control scheme is found, the method begins to recommend that manufacturer-preset control scheme, enabling the user or smart home device to use it for automatic control. Therefore, implementing this method can automatically match a suitable manufacturer-preset control scheme for the current scenario based on the user's operation, thereby enabling smart home devices to achieve automated control according to the manufacturer-preset control scheme and improving the user experience.

[0011] Furthermore, the step of matching the manufacturer's preset scene corresponding to the at least one smart home device in the manufacturer's preset scene library includes:

[0012] Obtain the smart home device type, smart home device function, and smart home device parameters corresponding to the at least one smart home device;

[0013] Match at least one preset home device from the manufacturer's preset home device library that corresponds to the smart home device type, the smart home device function, and the smart home device parameters;

[0014] In the manufacturer's preset scene library, match the manufacturer's preset scene corresponding to the at least one preset home device.

[0015] Furthermore, the step of matching the manufacturer's preset scene corresponding to the at least one smart home device in the manufacturer's preset scene library includes:

[0016] Obtaining users' personal preference information;

[0017] In the manufacturer's preset scene library, match the manufacturer's preset scenes that correspond to both the personal preference information and the at least one smart home device.

[0018] Furthermore, before the step of determining whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than a preset similarity threshold, the method further includes:

[0019] Obtain the preset home device type, preset home device function, and preset home device parameters of at least one preset home device in the manufacturer's preset control scheme;

[0020] Obtain the smart home device type, smart home device function, and smart home device parameters of at least one smart home device in the scenario-based control scheme;

[0021] Calculate the first approximation between the preset home device type and the smart home device type, calculate the second approximation between the preset home device function and the smart home device function, and calculate the third approximation between the preset home device parameters and the smart home device parameters;

[0022] Based on the first approximation, the second approximation, and the third approximation, the approximation between the manufacturer's preset control scheme and the scenario-based control scheme is calculated.

[0023] Furthermore, the method also includes:

[0024] When the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is not greater than the preset similarity threshold, at least one preset home appliance corresponding to the manufacturer's preset scenario is obtained.

[0025] Identify other home devices besides the at least one smart home device among the at least one preset home devices;

[0026] Output startup prompts that match the other home appliances.

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

[0028] The generation unit is used to generate a scenario-based control scheme based on the user's operation instructions for at least one smart home device;

[0029] The matching unit is used to match the manufacturer's preset scene corresponding to the at least one smart home device in the manufacturer's preset scene library;

[0030] The acquisition unit is used to acquire a manufacturer-preset control scheme that matches the manufacturer-preset scenario.

[0031] The judgment unit is used to determine whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than a preset similarity threshold.

[0032] The recommendation unit is used to recommend the manufacturer's preset control scheme when the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than the preset similarity threshold.

[0033] In the above implementation process, the scenario-based control device can automatically generate a scenario-based control scheme according to the user's operation instructions, and automatically find the closest manufacturer's preset control scheme according to the scenario-based control scheme. This allows smart home devices to use the manufacturer's preset control scheme for automated control, thereby avoiding the need for users to make adjustments or errors based on actual scenarios, and achieving true automated control.

[0034] Furthermore, the matching unit includes:

[0035] The acquisition subunit is used to acquire the smart home device type, smart home device function, and smart home device parameters corresponding to the at least one smart home device;

[0036] The matching subunit is used to match at least one preset home device in the manufacturer's preset home device library that corresponds to the smart home device type, the smart home device function, and the smart home device parameters.

[0037] The matching subunit is also used to match the manufacturer's preset scene corresponding to the at least one preset home appliance in the manufacturer's preset scene library.

[0038] Furthermore, the matching unit includes:

[0039] The sub-unit is used to obtain the user's personal preference information;

[0040] The matching subunit is used to match the manufacturer's preset scene in the manufacturer's preset scene library with the personal preference information and the at least one smart home device.

[0041] 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 a recommended method of a manufacturer-preset control scheme as described in any one of the first aspects of this application.

[0042] 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 a recommended method of a manufacturer-preset control scheme as described in any one of the first aspects of this application. Attached Figure Description

[0043] 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.

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

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

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

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

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

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

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

[0051] Figure 8 A flowchart illustrating a recommended method for a manufacturer-preset control scheme provided in an embodiment of this application;

[0052] 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

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

[0054] 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.

[0055] Example 1

[0056] 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:

[0057] 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.

[0058] 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.

[0059] 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.

[0060] 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).

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

[0062] 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.

[0063] 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.

[0064] 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.

[0065] 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.

[0066] 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".

[0067] 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.

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

[0069] 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.

[0070] 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.

[0071] 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.

[0072] 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.

[0073] 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.

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

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

[0076] 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.

[0077] 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.

[0078] 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.

[0079] 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.

[0080] 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.

[0081] 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.

[0082] 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.

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

[0084] 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.

[0085] 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.

[0086] 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.

[0087] 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.

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

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

[0090] 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.

[0091] 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.

[0092] 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.

[0093] 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.

[0094] 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.

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

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

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

[0098] 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.

[0099] 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.

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

[0101] 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.

[0102] 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.

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

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

[0105] 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.

[0106] 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.

[0107] 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.

[0108] 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.

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

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

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

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

[0113] 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.

[0114] 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:

[0115] 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.

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

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

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

[0119] 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.

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

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

[0122] 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.

[0123] 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.

[0124] 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.

[0125] 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.

[0126] 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.

[0127] 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.

[0128] Example 2

[0129] Please refer to Figure 2 , Figure 2 This 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:

[0130] 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.

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

[0132] 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.

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

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

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

[0136] 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.

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

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

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

[0140] The determination 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.

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

[0142] 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.

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

[0144] 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.

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

[0146] 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.

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

[0148] 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.

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

[0150] 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.

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

[0152] 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.

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

[0154] 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.

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

[0156] 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.

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

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

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

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

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

[0162] 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.

[0163] 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.

[0164] 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.

[0165] Example 3

[0166] 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:

[0167] S301: 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;

[0168] 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.

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

[0170] 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.

[0171] 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.

[0172] 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.

[0173] 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.

[0174] 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.

[0175] 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.

[0176] 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 your input information on the user interface. For example, first turn on the air conditioner, then set the temperature to 26.5°C.

[0177] 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.

[0178] 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.

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

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

[0181] 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.

[0182] 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.

[0183] 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.

[0184] 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.

[0185] 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:

[0186] 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.

[0187] 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.

[0188] 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.

[0189] 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.

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

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

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

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

[0194] 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.

[0195] S307: Issue an alarm message.

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

[0197] 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.

[0198] 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 cause danger. Based on the above implementation method, the user's life safety can be guaranteed.

[0199] 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.

[0200] 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°.

[0201] 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.

[0202] 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.

[0203] 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.

[0204] 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.

[0205] 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.

[0206] 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.

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

[0208] 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.

[0209] 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.

[0210] 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.

[0211] 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.

[0212] 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.

[0213] Example 4

[0214] See Figure 5 This application provides a home appliance control method for use in scenario-based control devices. The method includes:

[0215] 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.

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

[0217] 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.

[0218] 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.

[0219] 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.

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

[0221] Example 5

[0222] See Figure 6 This application provides a control device for a smart home device, the device comprising:

[0223] 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;

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

[0225] 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.

[0226] 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.

[0227] 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.

[0228] 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.

[0229] 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.

[0230] 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.

[0231] 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.

[0232] 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.

[0233] 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.

[0234] 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 various smart home devices in 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, improving the ease of user operation.

[0235] Example 6

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

[0237] 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.

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

[0239] 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.

[0240] 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.

[0241] 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.

[0242] 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.

[0243] Example 7

[0244] Please refer to Figure 8 , Figure 8 This application provides a flowchart illustrating an application method for a scenario-based control scheme. The method is applied to a scenario-based control device; specifically, it is a recommended method for scenario-based control schemes, comprising:

[0245] S701. Generate a scenario-based control scheme based on the user's operation instructions for at least one smart home device.

[0246] In this embodiment, the user operates on at least one smart home device. The number of operation commands is not limited in this embodiment.

[0247] In this embodiment, the method can generate a scenario-based control scheme based on multiple operation commands sent by the user to at least one smart home device.

[0248] In this embodiment, the scenario-based control scheme is an automated control scheme that is automatically generated for the current scenario. This scenario-based control scheme is used to control all smart home devices in the current scenario.

[0249] In this embodiment, the scenario-based control scheme is automatically generated based on the user's actions. However, this scenario-based control scheme may not be the optimal one. Therefore, the user can continuously adjust and optimize the scenario-based control scheme. Simply put, this scenario-based control scheme can be understood as a customized control scheme for multiple smart home devices specific to the current scenario.

[0250] In this embodiment, although the scenario-based control device provides a method for generating such a scenario-based control scheme, in practice, manufacturers usually preset many scenario-based control schemes. These manufacturer-preset control schemes are obtained through debugging, calibration, and optimization before the smart home device leaves the factory. Therefore, when using these manufacturer-preset control schemes, smart home devices can usually achieve the best performance.

[0251] In this embodiment, the scenario-based control device can prioritize capturing the user's operation commands for smart home devices and generate a scenario-based control scheme based on the operation commands.

[0252] In this embodiment, the scenario-based control scheme can be used to control smart home devices in a scenario-based manner. However, in general, this scenario-based control scheme is not the optimal control scheme. That is, it still needs to continuously learn and optimize based on the user's operation instructions in order to obtain the optimal scenario-based control scheme.

[0253] S702. Obtain the smart home device type, smart home device function, and smart home device parameters corresponding to at least one smart home device.

[0254] In this embodiment, because there are typically many smart home devices, and the method targets a complete scenario, the recommendation process first requires defining the scenario before making recommendations. Defining the scenario essentially involves identifying the smart home devices, which is determined by their types and capabilities.

[0255] In this embodiment, the type of smart home device is used to refer to a type of smart home device, such as a lamp, kitchenware, or home appliance.

[0256] In this embodiment, the capabilities of a smart home device include its functions and parameters. The functions of a smart home device indicate what it can do, while its parameters indicate the extent to which it is capable of performing those functions.

[0257] In this embodiment, the functions of smart home devices may include tiered control of light brightness for lamps and tiered control of heat output for electric heaters.

[0258] In this embodiment, the parameters of the smart home device may include how bright and dim a light can be displayed at its brightest and dimmest settings; it may also include how hot and weak an electric heater can be set to its hottest and lowest settings.

[0259] In this embodiment, the method can obtain the smart home device type, smart home device function and smart home device parameters corresponding to each smart home device, and perform subsequent steps based on these.

[0260] S703. Match at least one preset home device from the manufacturer's preset home device library that corresponds to the smart home device type, smart home device function, and smart home device parameters.

[0261] In this embodiment, the manufacturer's preset home device library includes information on all smart home devices manufactured by all manufacturers. It is understood that information about the smart home devices used by the user is stored in this manufacturer's preset home device library.

[0262] In this embodiment, the preset home devices are smart home devices that match the above-mentioned types, functions, and parameters. Typically, a set of smart home device types, functions, and parameters can be matched with multiple preset home devices.

[0263] In this embodiment, the method can match all corresponding preset home devices based on three factors: smart home device type, smart home device function, and smart home device parameters. Then, the method can freely combine these preset home devices to obtain the most suitable set of preset home devices.

[0264] In this embodiment, during the process of combining all the acquired preset home devices, the method can obtain other information in the current scene and filter the preset home devices based on the other information, thereby obtaining at least one preset home device that best matches the current scene.

[0265] In this embodiment, at least one preset home appliance can be considered as a set of preset home appliances. It is understood that "at least one preset home appliance" and "set of preset home appliances" are used to represent the same meaning, namely, at least one preset home appliance obtained through matching.

[0266] In this embodiment, the most ideal situation is to match a preset home device combination that is completely consistent with the smart home device combination.

[0267] In this embodiment, the ideal situation is not easily obtained; therefore, this method can obtain an approximate preset combination of home appliances. The approximate situation includes various possibilities, and this embodiment only provides the following two examples:

[0268] Example 1: The smart home device combination consists of a living room light and a smart speaker, with the default home devices being a bedroom light and a smart speaker. Although the functions and parameters of the lights differ, their essence is the same; therefore, this can be used as a basis for recommending manufacturer-preset control schemes.

[0269] Example 2: A smart home device setup consists of five lights, while the default setup includes six lights. Although the number of lights differs, both methods control the lights, and the essence is the same. Therefore, this can be used as a basis for recommending the manufacturer's default control scheme.

[0270] S704. Obtain the user's personal preference information.

[0271] In this embodiment, personal preference information includes the user's age, personal preferences, etc. The user's personal preferences can include their favorite song genres or other interests; this embodiment does not impose any limitations on these.

[0272] S705. In the manufacturer's preset scene library, match the manufacturer's preset scene corresponding to the personal preference information and at least one preset home device.

[0273] In this embodiment, the method can match a manufacturer's preset scene corresponding to at least one preset home appliance from the manufacturer's preset scene library; then, it performs a homogenization process on the manufacturer's preset scene based on personal preference information to obtain a new manufacturer's preset scene. In this way, a manufacturer's preset scene that matches the user's operating habits can be matched.

[0274] For example, if the user is an elderly person who prefers light music, then the manufacturer's preset scenario should be one where the elderly person listens to light music. Therefore, the corresponding preset control scheme could be used to adjust the indoor temperature to a comfortable level and control the smart speaker to play light music.

[0275] S706. Obtain the manufacturer's preset control scheme that matches the manufacturer's preset scenario.

[0276] In this embodiment, the manufacturer's preset scenarios are not as monotonous as the examples above. In fact, the manufacturer's preset scenarios include many more, such as scenarios where the volume of the TV is adjusted while watching TV and the volume of the corresponding speakers is adjusted, or scenarios where the air conditioner is turned on and water is boiled after returning home, etc.

[0277] In this embodiment, for each manufacturer-preset scenario, the manufacturer will pre-set a manufacturer-preset control scheme.

[0278] In this embodiment, the manufacturer's preset control scheme can be stored in the cloud or in a scenario-based control device, and no limitation is made in this embodiment.

[0279] S707. Obtain the preset home device type, preset home device function, and preset home device parameters of at least one preset home device in the manufacturer's preset control scheme.

[0280] In this embodiment, similar to the smart home device types, smart home device functions, and smart home device parameters of smart homes, the preset home device types, preset home device functions, and preset home device parameters are used to represent the type and capabilities of at least one preset home device applicable in the manufacturer's preset control scheme.

[0281] In this embodiment, at least one preset home appliance is the preset home appliance obtained in the above steps.

[0282] In this embodiment, each preset home device corresponds to a preset home device type, preset home device function, and preset home device parameters.

[0283] S708. Calculate the first approximation between the preset home device type and the smart home device type, calculate the second approximation between the preset home device function and the smart home device function, and calculate the third approximation between the preset home device parameters and the smart home device parameters.

[0284] In this embodiment, the first approximation degree is used to indicate whether the preset home appliance type and the smart home appliance type are similar or the same type. For example, electric heaters and electric stoves are both types of indoor heating, but they are not the same type of device.

[0285] In this embodiment, the method can calculate the major class approximation based on the major class comparison result (0 or 1) and the first weight; then the method can calculate the minor class approximation based on the minor class comparison result (0 or 1) and the second weight; finally, the sum of the major class approximation and the minor class approximation is calculated and used as the first approximation.

[0286] In this embodiment, the second approximation degree is used to indicate whether the functions of the preset home device type and the smart home device are similar or the same. If they are similar, it means that they are not the same device, but they both have similar functions, such as lighting and heating.

[0287] In this embodiment, the method assigns a corresponding approximation score to similar, identical, or different device types (e.g., 0 for different, 0.5 for similar, and 1 for identical), and the score result is the second approximation score.

[0288] In this embodiment, the third approximation degree is used to indicate whether the parameters of the preset home device type and the smart home device are the same or similar. This third approximation degree includes many sub-values, which represent the score for whether each parameter is similar or identical. The method can obtain the aforementioned third approximation degree through weighted summation; however, the calculation process will not be elaborated upon in this embodiment.

[0289] S709. Calculate the approximation between the manufacturer's preset control scheme and the scenario-based control scheme based on the first approximation, the second approximation, and the third approximation.

[0290] In this embodiment, this step aims to improve the accuracy and reliability of the approximation by comprehensively calculating the approximation between the manufacturer's preset control scheme and the scenario-based control scheme through multiple approximation values.

[0291] In this embodiment, the above calculation method can also be a weighted summation method, which will not be elaborated on in this embodiment.

[0292] S710. Determine whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than the preset similarity threshold. If yes, proceed to step S711; otherwise, proceed to steps S712 to S713.

[0293] In this embodiment, a value greater than the preset approximation threshold means that the manufacturer's preset control scheme is suitable for the current scenario and can be used to control smart home devices, thereby avoiding further adjustments and optimizations by the user.

[0294] In this embodiment, a value less than the preset approximation threshold means that there is a significant difference between the manufacturer's preset control scheme and the scenario-based control scheme, and it is not recommended to use the manufacturer's preset control scheme for control.

[0295] S711, Recommended manufacturer-preset control scheme.

[0296] In this embodiment, the method can recommend manufacturer-preset control schemes to users, and the method can also recommend manufacturer-preset control schemes to at least one smart home device; however, no limitation is made in this embodiment.

[0297] In this embodiment, when the method recommends a manufacturer-preset control scheme to at least one smart home device, the at least one smart home device can perform corresponding automatic control according to the manufacturer-preset control scheme.

[0298] S712. Identify at least one preset home device other than at least one smart home device.

[0299] In this embodiment, the method can determine the other home device that is not present in the current scenario by eliminating at least one smart home device from at least one preset home device. This other home device, combined with at least one smart home device, can form at least one preset home device. It can be understood that the current scenario is only missing this other home device to match the manufacturer's preset scenario.

[0300] In this embodiment, based on the above situation, the scenario control device can detect whether the other home appliance exists. If it exists, step S713 is executed; if it does not exist, the user is advised to purchase the other home appliance.

[0301] S713 outputs startup prompts that match other home appliances.

[0302] In this embodiment, the startup prompt message can be output to the user or to other home devices.

[0303] In this embodiment, when the startup prompt message is output to the user, it is used to notify the user to turn on the other home devices in order to achieve a better smart home experience.

[0304] In this embodiment, when the startup prompt message is output to other home devices, it is used to automatically control the other home devices to start automatically and realize the intelligent operation of the smart home.

[0305] 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.

[0306] 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.

[0307] As can be seen, the application method of the scenario-based control scheme described in this embodiment can first generate the scenario-based control scheme, and then search for similar manufacturer-preset control schemes based on the generated scenario-based control scheme. Once a manufacturer-preset control scheme that is similar to or even identical to the scenario-based control scheme is found, the method begins to recommend that manufacturer-preset control scheme, so that the user or smart home device can use that manufacturer-preset control scheme for automatic control of the smart home device. Therefore, implementing this method can automatically match a suitable manufacturer-preset control scheme for the current scenario based on the user's operation, thereby enabling the smart home device to achieve automated control according to the manufacturer-preset control scheme and improving the user experience.

[0308] Example 8

[0309] 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 is used to share a method for scenario-based control schemes, such as... Figure 9 As shown, the scenario-based control device includes:

[0310] The second generation unit 810 is used to generate a scenario-based control scheme based on the user's operation instructions for at least one smart home device.

[0311] Matching unit 820 is used to match a manufacturer preset scene corresponding to at least one smart home device in the manufacturer preset scene library;

[0312] The second acquisition unit 830 is used to acquire the manufacturer's preset control scheme that matches the manufacturer's preset scenario;

[0313] The second judgment unit 840 is used to determine whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than the preset similarity threshold.

[0314] Recommendation unit 850 is used to recommend the manufacturer's preset control scheme when the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than a preset similarity threshold.

[0315] As an optional implementation, the matching unit 820 includes:

[0316] The second acquisition subunit 821 is used to acquire the smart home device type, smart home device function and smart home device parameters corresponding to at least one smart home device;

[0317] The second matching subunit 822 is used to match at least one preset home device in the manufacturer's preset home device library that corresponds to the three elements of smart home device type, smart home device function and smart home device parameters.

[0318] The second matching subunit 822 is also used to match a manufacturer preset scene corresponding to at least one preset home appliance in the manufacturer preset scene library.

[0319] As an optional implementation, the matching unit 820 includes:

[0320] The second acquisition subunit 821 is used to acquire the user's personal preference information;

[0321] The second matching subunit 822 is used to match a manufacturer's preset scene in the manufacturer's preset scene library that corresponds to both personal preference information and at least one smart home device.

[0322] As an optional implementation, the scenario-based control device further includes:

[0323] The second acquisition unit 830 is used to acquire the preset home device type, preset home device function and preset home device parameters of at least one preset home device in the manufacturer's preset control scheme.

[0324] The second acquisition unit 830 is also used to acquire the smart home device type, smart home device function and smart home device parameters of at least one smart home device in the scenario-based control scheme.

[0325] The calculation unit 860 is used to calculate the first approximation between the preset home device type and the smart home device type, calculate the second approximation between the preset home device function and the smart home device function, and calculate the third approximation between the preset home device parameter and the smart home device parameter;

[0326] The calculation unit 860 is also used to calculate the approximation between the manufacturer's preset control scheme and the scenario-based control scheme based on the first approximation, the second approximation, and the third approximation.

[0327] In this embodiment, after the calculation unit 860 calculates the similarity between the manufacturer's preset control scheme and the scenario-based control scheme, it triggers the second judgment unit 840 to perform the operation of judging whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than the preset similarity threshold.

[0328] As an optional implementation, the scenario-based control device further includes:

[0329] The second acquisition unit 830 is also used to acquire at least one preset home device corresponding to the manufacturer's preset scenario when the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is not greater than the preset similarity threshold.

[0330] The second determining unit 870 is used to determine other home devices in at least one preset home device, excluding at least one smart home device.

[0331] Output unit 820 is used to output startup prompts that are compatible with other home appliances.

[0332] 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 recommended method of the manufacturer's preset control scheme in embodiment 7 of this application.

[0333] This application provides a computer-readable storage medium storing computer program instructions. When these computer program instructions are read and executed by a processor, they perform the recommended method of the manufacturer's preset control scheme in embodiment 7 of this application.

[0334] 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.

[0335] 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.

[0336] 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.

[0337] 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.

[0338] 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.

[0339] It should be noted that, in this document, relational terms such as "first" and "second" are used only 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 method for recommending a manufacturer-preset control scheme, characterized in that, The method is applied to a scenario-based control device, and the method includes: Generate a scenario-based control scheme based on the user's operation instructions for at least one smart home device; Match the manufacturer's preset scene to the manufacturer's preset scene library; Obtain the manufacturer's preset control scheme that matches the manufacturer's preset scenario; Determine whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than a preset similarity threshold; the similarity is calculated based on a first similarity, a second similarity, and a third similarity; the first similarity is the similarity between preset home device types and smart home device types; the second similarity is the similarity between preset home device functions and smart home device functions; the third similarity is the similarity between preset home device parameters and smart home device parameters; When the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than the preset similarity threshold, the manufacturer's preset control scheme is recommended.

2. The method for recommending a manufacturer-preset control scheme according to claim 1, characterized in that, The step of matching the manufacturer's preset scene corresponding to the at least one smart home device in the manufacturer's preset scene library includes: Obtain the smart home device type, smart home device function, and smart home device parameters corresponding to the at least one smart home device; Match at least one preset home device from the manufacturer's preset home device library that corresponds to the smart home device type, the smart home device function, and the smart home device parameters; In the manufacturer's preset scene library, match the manufacturer's preset scene corresponding to the at least one preset home device.

3. The method for recommending a manufacturer-preset control scheme according to claim 1, characterized in that, The step of matching the manufacturer's preset scene corresponding to the at least one smart home device in the manufacturer's preset scene library includes: Obtaining users' personal preference information; In the manufacturer's preset scene library, match the manufacturer's preset scenes that correspond to both the personal preference information and the at least one smart home device.

4. The method for recommending a manufacturer-preset control scheme according to claim 1, characterized in that, Before the step of determining whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than a preset similarity threshold, the method further includes: Obtain the preset home device type, preset home device function, and preset home device parameters of at least one preset home device in the manufacturer's preset control scheme; Obtain the smart home device type, smart home device function, and smart home device parameters of at least one smart home device in the scenario-based control scheme; Calculate the first approximation between the preset home device type and the smart home device type, calculate the second approximation between the preset home device function and the smart home device function, and calculate the third approximation between the preset home device parameters and the smart home device parameters; Based on the first approximation, the second approximation, and the third approximation, the approximation between the manufacturer's preset control scheme and the scenario-based control scheme is calculated.

5. The method for recommending a manufacturer-preset control scheme according to claim 1, characterized in that, The method further includes: When the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is not greater than the preset similarity threshold, at least one preset home appliance corresponding to the manufacturer's preset scenario is obtained. Identify other home devices besides the at least one smart home device among the at least one preset home devices; Output startup prompts that match the other home appliances.

6. A scenario-based control device, characterized in that, The scenario-based control device includes: The generation unit is used to generate a scenario-based control scheme based on the user's operation instructions for at least one smart home device; The matching unit is used to match the manufacturer's preset scene corresponding to the at least one smart home device in the manufacturer's preset scene library; The acquisition unit is used to acquire a manufacturer-preset control scheme that matches the manufacturer-preset scenario. The judgment unit is used to determine whether the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than a preset similarity threshold; the similarity is calculated based on a first similarity, a second similarity, and a third similarity; the first similarity is the similarity between preset home device types and smart home device types; the second similarity is the similarity between preset home device functions and smart home device functions; the third similarity is the similarity between preset home device parameters and smart home device parameters; The recommendation unit is used to recommend the manufacturer's preset control scheme when the similarity between the manufacturer's preset control scheme and the scenario-based control scheme is greater than the preset similarity threshold.

7. The scenario-based control device according to claim 6, characterized in that, The matching unit includes: The acquisition subunit is used to acquire the smart home device type, smart home device function, and smart home device parameters corresponding to the at least one smart home device; The matching subunit is used to match at least one preset home device in the manufacturer's preset home device library that corresponds to the smart home device type, the smart home device function, and the smart home device parameters. The matching subunit is also used to match the manufacturer's preset scene corresponding to the at least one preset home appliance in the manufacturer's preset scene library.

8. The scenario-based control device according to claim 6, characterized in that, The matching unit includes: The sub-unit is used to obtain the user's personal preference information; The matching subunit is used to match the manufacturer's preset scene in the manufacturer's preset scene library with the personal preference information and the at least one smart home device.

9. 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 recommended method of the manufacturer's preset control scheme as described in any one of claims 1 to 5.

10. 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 recommended method of the manufacturer's preset control scheme as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Smart home control method, system and device based on artificial intelligence

    CN109683576A