CN114326423A - Automatic generation method of scene control scheme and scene control equipment - Google Patents

Automatic generation method of scene control scheme and scene control equipment Download PDF

Info

Publication number
CN114326423A
CN114326423A CN202111572257.0A CN202111572257A CN114326423A CN 114326423 A CN114326423 A CN 114326423A CN 202111572257 A CN202111572257 A CN 202111572257A CN 114326423 A CN114326423 A CN 114326423A
Authority
CN
China
Prior art keywords
instructions
scene
control scheme
user
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111572257.0A
Other languages
Chinese (zh)
Inventor
邱嘉楠
樊思远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202111572257.0A priority Critical patent/CN114326423A/en
Publication of CN114326423A publication Critical patent/CN114326423A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application provides an automatic generation method of a scene control scheme and scene control equipment, wherein the automatic generation method of the scene control scheme comprises the following steps: acquiring a plurality of operation instructions in a detection time window; and determining that the operation times of the operation instructions are matched with the preset operation times, and generating a household appliance control scene based on the operation instructions. Therefore, by implementing the implementation mode, each operation of the user can be automatically recorded, and a proper scene control scheme is automatically generated based on the recorded operation, so that the intelligent home equipment automatically applies the scene control scheme at a proper time, repeated operation of the user can be avoided, the intelligence of the intelligent home equipment is improved, and the use experience of the user is improved.

Description

Automatic generation method of scene control scheme and scene control equipment
Technical Field
The application relates to the field of smart home, in particular to an automatic generation method of a scene control scheme and scene control equipment.
Background
With the popularization of smart homes, the daily life of people becomes more and more convenient. At present, when a user uses daily home, the user generally controls the smart home equipment by one instruction through the mobile terminal, so that the effect of accurately controlling the smart home equipment is realized. However, in practice, it is found that the current control mode of the smart home devices can realize intellectualization to a certain extent, but the intellectualization degree is far from enough, so that the smart home devices cannot effectively work when the user is not fully operating, and the use experience of the user is affected.
Disclosure of Invention
An object of the embodiment of the application is to provide an automatic generation method of a scenario control scheme and a scenario control device, which can automatically record each operation of a user, and automatically generate a proper scenario control scheme based on the recorded operation, so that an intelligent home device automatically applies the scenario control scheme at a proper time, thereby avoiding repeated operations of the user, further improving the intelligence of the intelligent home device, and improving the use experience of the user.
A first aspect of an embodiment of the present application provides an automatic generation method for a scenario-based control scheme, where the method is applied to a scenario-based control device, and the method includes:
acquiring a plurality of operation instructions in a detection time window;
confirming that the plurality of operation instructions meet preset scene generation conditions, generating a scene control scheme according to the plurality of operation instructions,
the method comprises the following steps of confirming that the plurality of operation instructions meet preset scene generation conditions, and generating a scene control scheme according to the plurality of operation instructions, wherein the steps comprise:
and determining that the operation times of the operation instructions are matched with a preset operation time, and generating a household appliance control scene based on the operation instructions.
In the implementation process, the method can record all operation instructions within a preset time length when the user operates the intelligent home device through the scene control device, judge whether the automatically recorded operation instructions can generate the scene control scheme or not in real time, and automatically generate the scene control scheme when the operation instructions meet the conditions, so that the intelligent home device can directly call the scene control scheme in the future use process.
Further, the step of confirming that the plurality of operation instructions meet the preset scene generation condition and generating the scene control scheme according to the plurality of operation instructions includes:
determining the operation sequence among the plurality of operation instructions;
and determining whether the operation sequence is not violated with a preset logic operation sequence, and generating a household appliance control scene based on the plurality of operation instructions.
Further, the step of confirming that the plurality of operation instructions match a preset scene generation condition and generating a scene control scheme according to the plurality of operation instructions includes:
determining a plurality of operation time intervals between the plurality of operation instructions;
and confirming that the operation time intervals are matched with a preset time interval threshold value, and generating a household appliance control scene based on the operation instructions.
Further, the plurality of operation instructions comprise a corresponding household appliance combination relationship among the operation instructions and a time interval relationship among the operation instructions;
the step of determining that the operation times of the operation instructions are matched with a preset operation time, and generating a household appliance control scene based on the operation instructions comprises the following steps:
determining that the household appliance combination relation corresponding to the multiple operation instructions and the time interval relation among the operation instructions are matched with a preset scene, and generating a household appliance control scene based on the multiple operation instructions;
wherein the plurality of operation commands are input by more than 2 input devices.
Further, the input device comprises keys of the household appliance control panel, an application program, a remote controller and a sound box.
Further, the method further comprises:
and confirming that the detection time window is not started when the operation instruction is obtained, and starting the detection time window.
Further, the step of confirming that the plurality of operation instructions meet the preset scene generation condition and generating the scene control scheme according to the plurality of operation instructions includes:
extracting successive associated instructions from the plurality of operational instructions;
counting the frequency of occurrence of the successive correlation instructions in the instruction record database;
and when the occurrence frequency is confirmed to be larger than a preset frequency threshold value, generating a scene control scheme according to the continuous association instruction.
Further, the step of generating a scenario control scheme according to the plurality of operation instructions comprises:
extracting a plurality of valid instructions from the plurality of operation instructions;
constructing the plurality of valid instructions into an instruction sequence;
acquiring scene information matched with the instruction sequence;
and generating a scene control scheme according to the instruction sequence and the scene information.
Further, the step of extracting a plurality of valid instructions from the plurality of operation instructions comprises:
and extracting a plurality of effective instructions according to the operation sequence and the operation correlation among the plurality of operation instructions.
A second aspect of the embodiments of the present application provides an electronic device, where the electronic device includes a processor and a memory, where the processor is configured to read a program stored in the memory, and the program is configured to execute the method for automatically generating a scenario-based control scheme according to the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of an automatic generation method of a scenario control scheme according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a scene control device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an application method of a scenario control scheme according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a scene control device according to an embodiment of the present application;
fig. 5 is a schematic flowchart of an application method of a scenario control scheme according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a scene control device according to an embodiment of the present application;
fig. 7 is a schematic flowchart of an application method of a scenario control scheme according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a scene control device according to an embodiment of the present application;
fig. 9 is a schematic flowchart of an application method of a scenario control scheme according to an embodiment of the present application;
fig. 10 is a schematic flowchart of an application method of a scenario control scheme according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a scene control device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart of an automatic generation method of a scenario control scheme according to an embodiment of the present application. The automatic generation method of the scene control scheme is applied to scene control equipment, and comprises the following steps:
s101, when an operation instruction of a user on at least one piece of intelligent household equipment is detected, recording a plurality of operation instructions in a detection time window.
In this embodiment, one local area network may include many smart home devices. The local area network may be a home local area network or an outdoor local area network.
In this embodiment, when the user operates at least one smart home device, the user may send an operation instruction through the control device, and at this time, the scene control device may capture the operation instruction sent by the control device and record the operation instruction.
In this embodiment, the control device sending the operation instruction may be a mobile phone of the user, or a controller of the smart home device (e.g., a remote controller of a smart air conditioner, a remote controller of a smart television).
In this embodiment, the signal type of the operation instruction is not limited at all.
In this embodiment, the scene control device has a plurality of communication functions, and the communication functions are used for indicating a wifi communication function, a bluetooth communication function, an infrared communication function, and the like.
In this embodiment, the scenarized control device captures all the operation instructions that can be captured in real time, and the operation instructions are operation instructions when the user normally operates the smart home device. Therefore, the scene control equipment can finish the capture and recording of the operation instruction in the process of not interfering the normal use of the intelligent household equipment.
In this embodiment, when a user turns on a television, a sound box, and other related smart home devices, the user may turn on the television through a television remote controller and set a signal source of the television, and then the user sends a signal for controlling the sound box to be turned on through a mobile phone. In such a scenario, the scenized control device may capture an operation instruction sent by the remote controller, or capture an operation instruction sent by the mobile phone. Therefore, the scene control device can capture all instructions and record the instructions in the normal use process of the user.
In this embodiment, all the operation instructions can be effectively obtained by using the scenario control device, so that the subsequent steps can be customized based on all the operation instructions, and the scenario control scheme can be effectively generated.
In this embodiment, the operation instruction includes a switch instruction, a volume adjustment instruction, a signal source adjustment instruction, and the like. The operation instructions for different intelligent household devices may be different, and for the different operation instructions, the scenarized control device may capture all the records, and correspondingly mark or number the records according to the different intelligent household devices. If a certain operation instruction is an instruction which is sent to the refrigerator with the model XXX and is used for controlling the refrigerator to execute the operation of YYY; the operation instruction may be "XXX: YYY ".
In this embodiment, the operation instruction may also be a voice instruction, and the scenario control device has a voice recognition function and also has a voice conversion function.
In this embodiment, the detection time window is a preset detection duration.
In this embodiment, when an operation instruction of a user for controlling the smart home is detected, the method considers that the user starts to control the smart home, starts a detection time window with the time as a time starting point, and records all operation instructions of the user in the detection time window.
In this embodiment, the length of the detection time window may be Δ T, and the time when the first operation command is received is T1, at which time the detection end time T2 may be calculated as T1+ Δ T. As can be seen, the operation commands from t1 to t2 are recorded.
In this embodiment, the detection time window is preset, and the general operation duration is not greater than the detection time window, so if a plurality of operation instructions corresponding to the operation duration exceeding the detection time window are received, the general operation duration may include a plurality of invalid operation instructions.
In this embodiment, the method can detect the effectiveness of the operation instruction in real time, and if 80% of the operation instructions are effective, the detection time window is dynamically adjusted at this time, so that the operation instruction can be completely recorded, and the situation that the operation instruction is incompletely recorded due to a short detection time window is avoided.
In this embodiment, the multiple operation instructions may include repeated operation instructions, and the analysis process is performed in subsequent steps after the scenized control device receives the order and receives the order.
And S102, determining the operation sequence among the plurality of operation instructions.
In this embodiment, the plurality of operation instructions are not issued at the same time, because the plurality of operation instructions have the operation sequence.
In this embodiment, the method may perform a validity check on a plurality of operation instructions, and after an invalid instruction is proposed, determine the operation sequence of all valid instructions.
In this embodiment, the operation sequence refers to a sequence of each of the plurality of operation instructions. For example, the method may number all the operation instructions, where the number received first is small and the number received later is gradually increased.
S103, judging whether the operation sequence is not violated with a preset logic operation sequence, if so, executing steps S104-S105; if not, the flow is ended.
In this embodiment, after the operation sequence is determined, the method may determine whether the normal logical operation sequence is met according to the specific operation content of the operation instruction.
In this embodiment, the normal logical operation sequence is the preset logical operation sequence, but the method encapsulates the normal logical operation sequence into the scene control device.
For example, when operating a television, a user usually starts the television first and then performs subsequent operations. This sequence of operations conforms to normal logic and is therefore a normal logical sequence of operations. However, the operation sequence of the user turning off the television first and then performing the subsequent operations is not considered to be the normal logical operation sequence.
In this embodiment, as can be seen from the above example, the logic operation sequence stored in the scenario control device conforms to the behavior awareness of the normal user. When the operation sequence of a plurality of users is detected to accord with the logic operation sequence, the user operation is normal and ordered forward operation; otherwise, the operation of the user is considered to be invalid, and the process of generating the scene control scheme is ended.
And S104, determining a plurality of operation time intervals among the plurality of operation instructions.
In this embodiment, the operation time interval includes various hierarchical meanings. It essentially refers to the operation time interval between each operation instruction, since normally the operation time interval between each operation instruction is neither too small nor too large.
In this embodiment, the first level in the above-mentioned multi-level meaning is used to indicate that the operation of the user is normal, and an operation instruction is sent every few seconds. The second level in the above multi-level meaning is used to indicate that the operation is based on an actual operation object, for example, when the television is turned on, the television is turned on for 5s, the operation time interval is 5s, and the operation time interval for broadcasting and adjusting the volume of the television is 1 s. Thus, the method may determine the validity of an operation by a plurality of operation time intervals, and if valid, perform subsequent steps.
S105, judging whether the operation time intervals are all larger than a preset time interval threshold value, if so, executing the steps S106 to S107; if not, the flow is ended.
In this embodiment, step S105 emphasizes the validity determination of the time interval between the operation commands in the first level meaning. The effect of implementing this embodiment is that it is possible to avoid the occurrence of the continuous shuffle, and to prohibit the generation of the scenized control scheme in the case where the operation instruction is considered to be the continuous shuffle.
In this embodiment, the time interval threshold may be 200ms or 500ms, and this threshold may be determined according to actual situations.
S106, calculating first appearance frequencies of a plurality of operation instructions in a preset instruction record database; the instruction database comprises all recorded operation instructions.
In this embodiment, the instruction database includes all the operation instructions, where the operation instructions generally correspond to a plurality of smart home devices, and in this case, refer to the operation instructions for the controlled smart home devices. It can be understood that the user performs multiple operations on the smart home device, and the scene control device has recorded multiple operation instructions that meet the detection time window.
In the present embodiment, the first appearance frequency represents a ratio between the number of occurrences of the plurality of operation instructions captured this time and the number of all the operation instructions. In the case of drama, the first frequency of occurrence is used to indicate that a set of operation instructions used for controlling the same tv set appears more frequently; specifically, after the user has operated 50 times, wherein 20 times all use the set of operation instructions, the first occurrence probability is calculated 20/50-40%.
S107, judging whether the first occurrence frequency is greater than a preset first frequency threshold value, if so, executing the steps S108-S109; if not, the flow is ended.
In this embodiment, the preset first frequency threshold is used to determine whether the operation instructions corresponding to the first occurrence frequency are a group of commonly used operation instructions.
For example, the method has determined that the first probability of occurrence is 40%, and the first frequency threshold is 25%, then it is indicated that the set of operation instructions is frequently used, and the subsequent process is performed.
As an optional implementation, the method further comprises:
when the first frequency of occurrence is not greater than a first frequency threshold, extracting a continuous correlation instruction from the plurality of operation instructions;
counting a second frequency of occurrence of consecutive associated instructions in an instruction record database;
and when the second occurrence frequency is greater than a preset second frequency threshold, generating a scene control scheme according to the continuous correlation instruction.
In this embodiment, when it is determined that the plurality of operation instructions are not a group of operation instructions that are commonly used, the method may extract a continuous association instruction having strong correlation among the plurality of operation instructions, and determine whether the continuous association instruction frequently appears.
In the present embodiment, the successive association instruction is determined by instruction association.
In this embodiment, the consecutive associated instruction also includes a plurality of operation instructions, but the number of operation instructions in the consecutive associated instruction is smaller than the number of the plurality of operation instructions originally.
In this embodiment, the method may further determine whether there are multiple operation instructions capable of generating the scenized control scheme by a smaller instruction number.
In this embodiment, the second frequency threshold is typically greater than the first frequency threshold.
And S108, counting a third occurrence frequency of the plurality of operation instructions in the instruction record database at the appointed time.
In this embodiment, when a group of operation instructions is formed by a plurality of operation instructions, and the group of operation instructions has occurred for a plurality of times, the method may further determine whether the group of operation instructions occurred within a fixed time period.
For example, when the set of operation commands is a plurality of operation commands for controlling the air conditioner to be turned on, adjusting the temperature, adjusting the air supply, and adjusting the wind direction, it is determined whether the set of operation commands is frequently input eight times late. And the ratio of the number of times of inputting the group of operation instructions at eight late points to the number of detection days is the third occurrence frequency.
S109, judging whether the third occurrence frequency is greater than a preset third frequency threshold, if so, executing a step S110; if not, steps S111 to S113 are executed.
In this embodiment, the third frequency of occurrence is greater than the third frequency threshold, which means that the group of multiple operation commands actually occur at the same time with high frequency.
And S110, generating a scene control scheme according to the plurality of operation instructions.
In this embodiment, the scenario control scheme is a scenario control scheme that is often used by a user at a specified time every day.
As an optional implementation, the step of generating the scenized control plan according to the plurality of operation instructions includes:
and generating a household appliance control scene based on the plurality of operation instructions.
In this embodiment, the plurality of operation instructions include a corresponding household appliance combination relationship between the operation instructions and a time interval relationship between the operation instructions.
As a further optional implementation manner, the determining that the operation times of the plurality of operation instructions match a preset operation time, and the generating a home appliance control scene based on the plurality of operation instructions includes:
determining that the household appliance combination relation corresponding to the multiple operation instructions and the time interval relation among the operation instructions are matched with a preset scene, and generating a household appliance control scene based on the multiple operation instructions;
wherein the plurality of operation commands are input by more than 2 input devices.
In this embodiment, the input device includes a button of the appliance control panel, an application program, a remote controller, and a speaker.
And S111, extracting continuous associated instructions from the plurality of operation instructions.
In this embodiment, the continuous associated instruction is a plurality of operation instructions, and the number of the plurality of operation instructions is smaller than that of the original plurality of operation instructions.
And S112, counting the fourth frequency of occurrence of the continuous correlation instructions in the instruction record database.
In this embodiment, the fourth occurrence frequency is an occurrence frequency of the consecutive correlation instruction in the database.
And S113, when the fourth occurrence frequency is greater than a preset fourth frequency threshold, generating a scene control scheme according to the continuous correlation instruction.
In this embodiment, if the fourth frequency of occurrence is greater than the fourth frequency threshold, it means that the consecutive associated instructions are an instruction set that the user will use every day.
In this embodiment, generating the scenized control scheme according to the continuous correlation instruction can greatly improve the effectiveness and the control accuracy of the scenized control scheme.
In this embodiment, the main execution body of the method is a scenario control device, and the scenario control device may be a computer device with multiple communication functions or other intelligent devices such as a smart phone and a tablet computer, which is not limited in this embodiment.
In this embodiment, the scenario control device may be one of the at least one smart home device, that is, one of the at least one smart home device is the scenario control device.
It can be seen that, by implementing the method for automatically generating the scenized control scheme described in this embodiment, all the operation instructions within a preset time period can be recorded by the scenized control device when the user operates the smart home device, whether the automatically recorded operation instructions can generate the scenized control scheme or not can be judged in real time, and the scenized control scheme can be automatically generated when the operation instructions meet conditions, so that the intelligent home device can directly invoke the scenized control scheme in a future use process.
Example 2
Referring to fig. 2, fig. 2 is a schematic structural diagram of a scene control device according to an embodiment of the present application. As shown in fig. 2, the scene control apparatus includes:
the recording unit 210 is configured to start recording a plurality of operation instructions in a detection time window when an operation instruction of a user on at least one piece of smart home equipment is detected;
a first determining unit 220, configured to determine whether the multiple operation instructions meet a preset scene generation condition;
a first generating unit 230, configured to generate a scenario control scheme according to the plurality of operation instructions when the plurality of operation instructions meet the scenario generation condition.
As an alternative implementation, the first determining unit 220 includes:
the determining subunit 221 is configured to determine an operation order among the plurality of operation instructions;
a first determining subunit 222, configured to determine whether the operation sequence is not violated from a preset logical operation sequence;
the determining subunit 221 is configured to determine that the plurality of operation instructions meet the scene generation condition when the operation sequence does not violate the logical operation sequence.
As an alternative implementation, the first determining unit 220 includes:
a determining subunit 221, configured to determine a plurality of operation time intervals between a plurality of operation instructions;
a first determining subunit 222, configured to determine whether each of the plurality of operation time intervals is greater than a preset time interval threshold;
the determining subunit 221 is configured to determine that the plurality of operation instructions meet the scene generation condition when the plurality of operation time intervals are all greater than the time interval threshold.
As an alternative embodiment, the first generating unit 230 includes:
a counting subunit 231, configured to count, when the plurality of operation instructions meet the scene generation condition, a first frequency of occurrence of the plurality of operation instructions in a preset instruction record database; the instruction database comprises all recorded operation instructions;
a second determining subunit 232, configured to determine whether the first occurrence frequency is greater than a preset first frequency threshold;
the generating subunit 233 is configured to generate the scenized control scheme according to the plurality of operation instructions when the first frequency of occurrence is greater than the first frequency threshold.
As an optional implementation, the first generating unit 230 further includes:
a first extracting subunit 234, configured to extract a continuous associated instruction from the plurality of operation instructions when the first frequency of occurrence is not greater than the first frequency threshold;
a statistics subunit 231, configured to count a second frequency of occurrence of the consecutive associated instructions in the instruction record database;
the generating subunit 233 is configured to generate the scenized control scheme according to the continuous association instruction when the second occurrence frequency is greater than a preset second frequency threshold.
As an alternative embodiment, the generating subunit 233 includes:
the counting module is used for counting a third occurrence frequency of a plurality of operation instructions in the instruction record database at the appointed time when the first occurrence frequency is greater than a first frequency threshold;
the judging module is used for judging whether the third occurrence frequency is greater than a preset third frequency threshold value;
and the generating module is used for generating a scene control scheme according to the plurality of operation instructions when the third frequency of occurrence is greater than the third frequency threshold.
As an alternative embodiment, the generating subunit 233 further includes:
the extracting module is used for extracting continuous correlation instructions from the plurality of operation instructions when the third frequency of occurrence is not greater than a third frequency threshold;
the counting module is used for counting the fourth frequency of occurrence of the continuous correlation instructions in the instruction record database;
and the generating module is used for generating a scene control scheme according to the continuous association instruction when the fourth occurrence frequency is greater than a preset fourth frequency threshold.
As an alternative embodiment, the first generating unit 230 includes:
a first fetch subunit 234, configured to fetch a plurality of valid instructions among the plurality of operation instructions;
a construction subunit 235 for constructing a plurality of valid instructions into an instruction sequence;
a first obtaining subunit 236, configured to obtain scenarization information matched to the instruction sequence;
a generating subunit 233, configured to generate a scenario control scheme according to the instruction sequence and the scenario information.
As an alternative embodiment, the first fetch sub-unit 234 is specifically configured to fetch a plurality of valid instructions according to an operation order and an operation dependency between the plurality of operation instructions.
In the embodiment of the present application, for the explanation of the scenario control device, reference may be made to the description in embodiment 1, and details are not repeated in this embodiment.
It can be seen that, with the implementation of the scenario control device described in this embodiment, the scenario control device can exist as an independent auxiliary device, and the scenario control device captures and records the user operation instruction through its own infrared communication function, wifi communication function, and other various communication functions; and when the operation instruction of the user is recorded by the scene control equipment, automatically judging whether a scene control scheme can be generated or not, and automatically generating the scene control scheme. Therefore, the scene control equipment can automatically generate the scene control scheme and can automatically apply the scene control scheme to the intelligent home equipment through various communication functions, and therefore the intelligent home scene control is facilitated to be achieved.
Example 3
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating an application method of a scenario control scheme according to an embodiment of the present application. The application method of the scene control scheme is applied to scene control equipment, and comprises the following steps:
s701, generating a scene control scheme according to an operation instruction of a user on at least one piece of intelligent household equipment.
In this embodiment, a user is operating at least one smart home device. In this embodiment, the number of operation instructions is not limited.
In this embodiment, the method may generate a scenarized control scheme according to a plurality of operation instructions sent by a user to at least one smart home device.
In this embodiment, the scenario control scheme is an automatic control scheme that is automatically generated for a current scenario, and the scenario control scheme is used to control all the smart home devices in the current scenario.
In the present embodiment, the scenario control scheme is automatically generated just according to the user's operation, but the scenario control scheme is not necessarily the optimal control scheme, and therefore, the scenario control scheme can be continuously adjusted and optimized by the user. In short, the scenario control scheme can be understood as a self-defined control scheme of multiple smart home devices aiming at the current scenario.
In this embodiment, although the scenario control device provides the generation method of the scenario control scheme, in practice, a manufacturer usually presets a manufacturer preset control scheme under a plurality of scenarios. The factory preset control scheme is obtained by debugging, correcting and optimizing the intelligent household equipment before leaving the factory, so that the intelligent household equipment can generally achieve the best use effect when using the factory preset control scheme.
In this embodiment, the scenarized control device may preferentially capture an operation instruction of the user on the smart home device, and generate a scenarized control scheme according to the operation instruction.
In this embodiment, the scenarized control scheme may be used to control the smart home device to perform scenarized control, but generally, the scenarized control scheme is not an optimal control scheme, that is, learning and optimization still need to be performed continuously according to an operation instruction of a user, so as to obtain an optimal scenarized control scheme.
S702, acquiring the type of the intelligent household equipment, the function of the intelligent household equipment and the parameter of the intelligent household equipment corresponding to at least one intelligent household equipment.
In this embodiment, because there are usually many smart home devices, the object targeted by the method is a complete scene. It is first necessary to make explicit what the scene is in the process of recommendation and then make the recommendation. The process of determining what a scene is actually to determine what the smart home devices are, and what the smart home devices are needs to be determined according to the types and capabilities of the smart home devices.
In this embodiment, the type of the smart home device is used to indicate that the smart home device is a certain type of a lamp type, a kitchen ware type, a home appliance type, and the like.
In this embodiment, the capabilities of the smart home devices include functions and parameters of the smart home devices. The intelligent home equipment comprises a function display module, a parameter display module and a parameter display module, wherein the function of the intelligent home equipment is used for showing what the intelligent home equipment can do, and the parameter of the intelligent home equipment is used for showing how much capacity the intelligent home equipment has to complete the function.
In this embodiment, the functions of the smart home device may include the brightness of the light controlled by the electric lamp in a grading manner, and the heat dissipating capacity controlled by the electric heater in a grading manner.
In this embodiment, the parameters of the smart home device may include how bright the brightest electric lamp can be displayed, and how dark the darkest electric lamp can be displayed; and the electric heater can be opened to the hottest degree and the weakest degree.
In this embodiment, the method may obtain the type of the smart home device, the function of the smart home device, and the parameter of the smart home device corresponding to each smart home device, and perform the subsequent steps based on the type of the smart home device, the function of the smart home device, and the parameter of the smart home device.
And S703, matching at least one preset household device corresponding to the type of the intelligent household device, the function of the intelligent household device and the parameter of the intelligent household device in a preset household device library of a manufacturer.
In this embodiment, the factory preset home device library includes information of all smart home devices manufactured by the factory. It can be understood that the information of the smart home devices used by the user is necessarily stored in the factory preset home device library.
In this embodiment, the preset home devices are smart home devices that are obtained by matching and conform to the types, functions, and parameters. The smart home device type, the smart home device function and the smart home device parameter can be matched with a plurality of preset home devices.
In this embodiment, the method may match all the corresponding preset home devices according to the type of the smart home device, the function of the smart home device, and the parameter of the smart home device. Then, the method can be freely combined in the preset household devices, so that a group of best-matched preset household devices is obtained.
In this embodiment, in the process of combining all the acquired preset home devices, the method may acquire other information in the current scene, and filter the preset home devices according to the other information, so as to obtain at least one preset home device that best conforms to the current scene.
In this embodiment, at least one preset home device may be regarded as a preset home device combination. It is understood that at least one preset home device and a combination of preset home devices are used to indicate the same meaning, that is, at least one preset home device obtained by matching.
In this embodiment, it is most desirable to match a preset home device combination completely consistent with the smart home device combination.
In this embodiment, the ideal situation is not easy to obtain, so the method can obtain an approximate preset household equipment combination. The approximation includes a plurality of cases, and only the following two examples are given in this embodiment:
in an example, the combination of the smart home devices is a hall lamp and a smart sound box, and the preset home devices are a bedroom lamp and a smart sound box. The functions and parameters of the lamps are different, but the lamp is the same in nature, so that the recommendation of a factory preset control scheme can be carried out on the basis of the functions and parameters;
in the second example, the combination of the smart home devices is five lamps, and the preset home devices are six lamps. Although the number of the lamps is different, the lamps are controlled correspondingly, and the essence is the same, so that the recommendation of a factory preset control scheme can be carried out on the basis of the lamp number.
S704, acquiring personal preference information of the user.
In the present embodiment, the personal preference information includes the personal age of the user, the personal taste of the user, and the like. The personal preference of the user may be a song type or other preference that the user likes, and this embodiment is not limited in any way.
S705, matching factory preset scenes corresponding to the personal preference information and at least one preset household device in a factory preset scene library.
In this embodiment, the method may match a factory preset scene corresponding to at least one preset home device in a factory preset scene library; and then, homogenizing the preset scene of the manufacturer according to the personal preference information to obtain a new preset scene of the manufacturer. Therefore, a factory preset scene which is matched with the operation habits of the user can be matched.
For example, the user is an elderly person with a preference for light music. Then, at this time, the factory preset scene should be a scene in which the old listens to light music. Therefore, the corresponding factory preset control scheme can adjust the indoor temperature to be comfortable for control and control, and the intelligent sound box is controlled to play the light music.
And S706, acquiring a factory preset control scheme matched with the factory preset scene.
In this embodiment, the factory preset scenario is not just monotonous as in the above example. Actually, the factory preset scenes include many scenes, such as a scene in which a television is watched to adjust the volume of the television and a corresponding sound box is adjusted, a scene in which an air conditioner is turned on and water is boiled when the user just returns home, and the like.
In this embodiment, for each factory preset scene, a factory preset control scheme is preset by the factory.
In this embodiment, the factory preset control scheme may be stored in the cloud or the scenario control device, and this embodiment is not limited at all.
S707, obtaining a preset home device type, a preset home device function and a preset home device parameter of at least one preset home device in a factory preset control scheme.
In this embodiment, similar to the smart home device type, the smart home device function, and the smart home device parameter of the smart home, the preset home device type, the preset home device function, and the preset home device parameter are used to indicate the type and capability of at least one preset home device applicable to the factory preset control scheme.
In this embodiment, at least one preset home device is the preset home device obtained in the above step.
In this embodiment, each preset home device corresponds to one preset home device type, one preset home device function, and one preset home device parameter.
S708, calculating a first approximation degree between the preset household equipment type and the intelligent household equipment type, calculating a second approximation degree between the preset household equipment function and the intelligent household equipment function, and calculating a third approximation degree between the preset household equipment parameter and the intelligent household equipment parameter.
In this embodiment, the first approximation degree is used to indicate whether the preset home device type and the smart home device type are similar or the same. For example, electric heaters and electric ovens are both of the indoor heating type, but they are not the same device.
In this embodiment, the method may calculate according to the large class comparison result (0 or 1) and the first weight, to obtain a large class approximation; then, the method calculates according to the comparison result (0 or 1) of the subclasses and the second weight to obtain the approximation degree of the subclasses; and finally, calculating the sum of the large class approximation degree and the small class approximation degree, and taking the sum as the first approximation degree.
In this embodiment, the second approximation degree is used to indicate whether the preset home device type and the smart home device function are similar or identical. If similar, it is stated that the two are not the same device, but both have similar functions, such as illumination, heating.
In this embodiment, the method has corresponding similarity scores (e.g., different 0, similar 0.5, and the same 1) for similar device types, the same device type, or different device types, and the score result is a second similarity.
In this embodiment, the third approximation degree is used to indicate whether the preset home device type and the parameters of the smart home device are the same or similar, where the third approximation degree includes a plurality of sub-values, and the sub-values are used to indicate whether each of the parameters is similar or the same score. The method may obtain the third approximation degree by means of weighted calculation and value, wherein details are not repeated in the calculation process in this embodiment.
And S709, calculating the approximation degree of the factory preset control scheme and the scene control scheme according to the first approximation degree, the second approximation degree and the third approximation degree.
In this embodiment, the step is intended to improve the accuracy and the reliability of the approximation degree by presetting the approximation degree of the control scheme and the scenized control scheme by a computer manufacturer with a plurality of comprehensive approximation values.
In this embodiment, the above calculation manner may also be a weighted summation manner, which is not described in detail in this embodiment.
S710, judging whether the similarity between the factory preset control scheme and the scene control scheme is larger than a preset similarity threshold, if so, executing a step S711; if not, steps S712-S713 are executed.
In this embodiment, a value greater than the preset proximity threshold means that the preset control scheme of the manufacturer conforms to the current scene, and may be used to control the smart home device, thereby avoiding further adjustment and optimization of the user.
In this embodiment, a value smaller than the preset proximity threshold means that there is a large difference between the factory preset control scheme and the scenario control scheme, and it is not recommended to use the factory preset control scheme for control.
And S711, recommending a preset control scheme by a manufacturer.
In this embodiment, the method may recommend the manufacturer preset control scheme to the user, and the method may also recommend the manufacturer preset control scheme to the at least one smart home device, which is not limited in this embodiment.
In this embodiment, when the method recommends a factory preset control scheme to at least one piece of smart home equipment, the at least one piece of smart home equipment may perform corresponding automatic control according to the factory preset control scheme.
S712, determining other household devices except the at least one intelligent household device in the at least one preset household device.
In this embodiment, the method may obtain the other home devices that are not present in the current scene according to the at least one preset home device and the at least one smart home device being removed. The other household equipment and the at least one intelligent household equipment are combined together to obtain at least one preset household equipment. It can be understood that the other home devices in the current scene are consistent with the preset scene of the manufacturer.
In this embodiment, based on the above situation, the scenarized control device may detect whether the other household devices exist, and if so, execute step S713; and if not, suggesting the user to purchase the other household equipment.
And S713, outputting starting prompt information matched with other household equipment.
In this embodiment, the start prompt information may be output to the user or may be output to other home equipment.
In this embodiment, when the start prompt information is output to the user, the start prompt information is used for notifying the user that the other home devices can be started, so that a better smart home use effect is achieved.
In this embodiment, when the start prompt information is output to other home devices, the start prompt information is used to automatically control the other home devices to automatically start, and to implement intelligent work of the smart home.
In this embodiment, the main execution body of the method is a scenario control device, and the scenario control device may be a computer device with multiple communication functions or other smart home devices such as a smart phone and a tablet computer, which is not limited in this embodiment.
In this embodiment, the scenario control device may be one of the at least one smart home device, that is, one of the at least one smart home device is the scenario control device.
It can be seen that, by implementing the application method of the scenarized control scheme described in this embodiment, the generation of the scenarized control scheme can be completed first, and the factory preset control scheme similar to or even identical to the generated scenarized control scheme is found based on the generated scenarized control scheme, until the factory preset control scheme similar to or even identical to the scenarized control scheme is found, the method starts to recommend the factory preset control scheme, so that the user or the smart home device waits for the factory preset control scheme to perform the automatic control of the smart home device. Therefore, by the implementation of the implementation mode, the factory preset control scheme suitable for the current scene can be automatically matched based on the operation of the user, so that the intelligent home equipment can realize automatic control according to the factory preset control scheme, and the use experience of the user is improved.
Example 4
Referring to fig. 4, fig. 4 is a schematic structural diagram of a scene control device according to an embodiment of the present application. As shown in fig. 4, the scenizable control apparatus includes:
the second generating unit 810 is configured to generate a scenario control scheme according to an operation instruction of a user on at least one smart home device;
the matching unit 820 is used for matching a factory preset scene corresponding to at least one piece of intelligent home equipment in a factory preset scene library;
a second obtaining unit 830, configured to obtain a factory preset control scheme matched with the factory preset scene;
a second judging unit 840, configured to judge whether an approximation degree between the factory preset control scheme and the scenized control scheme is greater than a preset approximation degree threshold;
and the recommending unit 850 is used for recommending the factory preset control scheme when the approximation degree of the factory preset control scheme and the scene control scheme is greater than a preset approximation degree threshold value.
As an alternative embodiment, the matching unit 820 includes:
the second obtaining subunit 821 is configured to obtain an intelligent home device type, an intelligent home device function, and an intelligent home device parameter corresponding to at least one intelligent home device;
a second matching subunit 822, configured to match, in the factory-preset home device library, at least one preset home device corresponding to the type of the smart home device, the function of the smart home device, and the parameter of the smart home device;
the second matching subunit 822 is further configured to match, in the factory preset scene library, a factory preset scene corresponding to at least one preset home device.
As an alternative embodiment, the matching unit 820 includes:
a second obtaining sub-unit 821 for obtaining personal preference information of the user;
and a second matching subunit 822, configured to match, in the factory preset scene library, a factory preset scene corresponding to both the personal preference information and the at least one smart home device.
As an optional implementation manner, the scene control device further includes:
a second obtaining unit 830, configured to obtain a preset home device type, a preset home device function, and a preset home device parameter of at least one preset home device in a factory preset control scheme;
the second obtaining unit 830 is further configured to obtain an intelligent home device type, an intelligent home device function, and an intelligent home device parameter of at least one intelligent home device in the scenario control scheme;
the calculating unit 860 is configured to calculate a first approximation degree between a preset home device type and an intelligent home device type, calculate a second approximation degree between a preset home device function and an intelligent home device function, and calculate a third approximation degree between a preset home device parameter and an intelligent home device parameter;
the calculating unit 860 is further configured to calculate an approximation degree of the factory preset control scheme and the scenized control scheme according to the first approximation degree, the second approximation degree and the third approximation degree.
In this embodiment, after the calculating unit 860 calculates the similarity between the factory default control scheme and the scenized control scheme, the second determining unit 840 is triggered to perform an operation of determining whether the similarity between the factory default control scheme and the scenized control scheme is greater than a preset similarity threshold.
As an optional implementation manner, the scene control device further includes:
the second obtaining unit 830 is further configured to obtain at least one preset home device corresponding to a preset scene of the manufacturer when the approximation degree between the preset control scheme of the manufacturer and the scenarized control scheme is not greater than a preset approximation degree threshold;
a second determining unit 870, configured to determine other home devices, except for the at least one smart home device, in the at least one preset home device;
and the output unit 820 is used for outputting the starting prompt information matched with other household equipment.
Example 5
Referring to fig. 5, fig. 5 is a flowchart illustrating an application method of a scenario control scheme according to an embodiment of the present application. The application method of the scene control scheme is applied to scene control equipment of a first user, and comprises the following steps:
s901, generating a scene control scheme according to an operation instruction of a first user on at least one piece of intelligent household equipment.
In this embodiment, the first user refers to a user of the current home lan, and the subsequent second user refers to a user of the corresponding home lan.
In this embodiment, the home lan generally includes at least one smart home device, regardless of a current home corresponding to the first user or a corresponding home corresponding to the second user.
In this embodiment, the first user and the second user may be the same user through the explanation of the first user and the second user. The method is characterized in that the scene control scheme used by the intelligent home equipment in the local area network of the first user is shared with the intelligent home equipment in the local area network of the second user.
For example, if the first user is the user himself and the second user is a friend, the method is a process in which the user himself shares the own scenized control scheme with the friend. When the friends are relatives of the user, the method does not need to control the intelligent home equipment of the relatives one by one, so that the operation of the user is simplified, and the use intelligence of the intelligent home equipment is improved.
For example, when the user is a young person, the friend is an old person, and the young person can set a scene control scheme according to the smart home equipment in his home and push the scheme into the smart home equipment in the old person's home, so that the smart home equipment in the old person's home can use the scene control scheme. Therefore, the young people do not need to go to the family of the old people to carry out corresponding setting operation, and the effects of remote control and operation replacement are achieved; meanwhile, the main effect of the mode can be embodied in that young people can experience the working effect of the intelligent household equipment, so that the scene control scheme shared by the old people is appropriate, and the existing hard effect of the intelligent household equipment controlled by the transmission parameters is avoided.
In this embodiment, after the first user controls the scene control device to generate the scene control scheme, when the first user goes on a business trip or goes to a relative, the first user may obtain the scene control scheme as the second user to perform intelligent control on the smart home device in the current environment, so as to avoid repeated control.
In this embodiment, theoretically, the second user may receive the original scene control scheme, and at this time, it is only necessary that the home smart home devices of the first user and the second user are the same.
In this embodiment, the method always needs to perform subsequent adaptive adjustment, and only for the identical home smart home devices, an adjustment control scheme obtained by the adaptive adjustment is the same as a scenario control scheme.
In this embodiment, the at least one smart home device is all smart home devices in the current home lan of the first user.
In this embodiment, the scenario control scheme is automatically generated while the user operates the smart home device.
In this embodiment, the scenario control scheme is used to represent a custom control scheme that conforms to a current specific scenario.
In this embodiment, when the first user operates the at least one smart home device, the scenario-based control device captures the control instruction to obtain the operation instruction of the at least one smart home device.
In this embodiment, the number of the smart home devices may be multiple, and at least one smart home device is used to refer to a set of smart home devices in a family.
In this embodiment, the operation instructions are used to represent all instructions for controlling the smart home devices, and the number of the operation instructions is not limited herein.
And S902, acquiring an intelligent home device list of the second user.
In this embodiment, the second user may be any person, such as a friend, a relative, a net friend, etc., of the first user, and this embodiment is not limited in any way.
In this embodiment, the second user may be the first user in some special cases. If the first user goes on a business trip to a hotel, the first user in the hotel can be used as the second user.
In this embodiment, the smart home list of the second user is used to represent a list of smart home devices in the home lan where the second user is located. It can be understood that, no matter who the second user is, what is to be obtained here is the list of the smart home devices in the corresponding local area network.
In this embodiment, the smart home device list includes information such as the name, type, model, production date, purchase date, and software version of the smart home device.
In this embodiment, the method may obtain the list of smart home devices in the scenario control device of the second user.
And S903, in the list of the intelligent household devices, matching according to the type of the intelligent household device corresponding to the at least one intelligent household device to obtain at least one user device corresponding to the at least one intelligent household device.
In this embodiment, the at least one smart home device is a smart home device controlled by the first user, and therefore, the method needs to determine the user device matched with the at least one smart home device in the home local area network where the second user is located.
For example, if a first user controls a lamp, the method needs to determine whether a lamp exists in a home lan where a second user is located, and if so, determine a lamp having a same type and a same position as the lamp controlled by the first user, and use the lamp as the user equipment. The position can be a living room, and the type can be an edge light.
In this embodiment, the number of the at least one smart home device and the number of the at least one user device are generally the same.
In this embodiment, it is not excluded that the number of the at least one smart home device and the at least one user device is usually different, and generally, the difference in the number is caused by that there is no corresponding smart home device in the second user home lan. On the other hand, the number may also be different because the lamp set used by the first user is 5 lamp beads, and the lamp set used by the second user is 3 lamp beads, where the number is also different.
In this embodiment, the method may perform matching according to the type of the smart home device, such as matching a lamp, matching a heating device, and the like. Therefore, the details that the group of lamps has 3 lamp beads or 5 lamp beads can be ignored in the mode, and therefore the situation that intelligent household equipment in two home local area networks is approximately the same is guaranteed.
In this embodiment, after the matching is performed according to the type of the smart home device corresponding to the at least one smart home device, the further matching may be performed according to the function of the smart home device corresponding to the at least one smart home device and the parameter of the smart home device corresponding to the at least one smart home device, and then the at least one user device corresponding to the at least one smart home device is obtained.
In this embodiment, the method can more accurately match the corresponding user equipment, thereby improving the effect of intelligent control.
In this embodiment, since the method performs adaptive adjustment, whether the group of lamps has 3 lamp beads or 5 lamp beads is adaptively adjusted. The details can be omitted.
S904, acquiring the intelligent household equipment function, the intelligent household equipment parameter and the intelligent household equipment position corresponding to at least one intelligent household equipment.
In this embodiment, the capabilities of the smart home devices include functions and parameters of the smart home devices. The intelligent home equipment comprises a function display module, a parameter display module and a parameter display module, wherein the function of the intelligent home equipment is used for showing what the intelligent home equipment can do, and the parameter of the intelligent home equipment is used for showing how much capacity the intelligent home equipment has to complete the function.
In this embodiment, the method introduces the concept of the location of the smart home device. The intelligent household equipment position comprises two meanings, wherein the first meaning is that the intelligent household equipment is in which position of a family, such as in a hall or in a room; the second meaning is that the smart home device is located at a certain position of the earth, such as a corresponding longitude and latitude or a city-saving position.
In this embodiment, the method may perform adaptive adjustment according to the local geographic environment and weather conditions when acquiring the information. If the air conditioner is started to 28 degrees, the 28 degrees are cold air or warm air, and generally speaking, the warm air is heated in the north and the cold air is heated in the south.
S905, obtaining a user equipment function, a user equipment parameter and a user equipment position corresponding to at least one user equipment.
In this embodiment, the method obtains the user equipment function, the user equipment parameter, and the user equipment location of the at least one user equipment, so that the at least one user equipment and the at least one smart home equipment can be effectively compared with each other, thereby obtaining difference information between the at least one user equipment and the at least one smart home equipment.
S906, determining first difference information between the functions of the intelligent household equipment and the functions of the user equipment, determining second difference information between the parameters of the intelligent household equipment and the parameters of the user equipment, and determining third difference information between the position of the intelligent household equipment and the position of the user equipment.
In this embodiment, the first difference information is used to represent a difference between the smart home device function and the user equipment function.
In this embodiment, the second difference information is used to represent a difference between the smart home device parameter and the user device parameter.
In this embodiment, the third difference information is used to represent a difference between the location of the smart home device and the location of the user equipment.
In this embodiment, the first difference information, the second difference information, and the third difference information are all in the form of text information, and are not usually in the form of numbers.
S907, determining device difference information between the at least one piece of smart home equipment and the at least one piece of user equipment according to the first difference information, the second difference information and the third difference information.
In this embodiment, the method may determine the difference between the two smart home devices according to the difference in the multiple details, thereby facilitating determination of the adaptive adjustment scheme.
S908, first personal preference information of the first user is obtained.
In this embodiment, the first personal preference information is used to indicate preference information of the first user, and the first description thereof is only for distinguishing the second user from the second personal preference information.
In the present embodiment, the personal preference information may include age information, taste information, and the like of the individual.
And S909, carrying out homogenization processing on the scene control scheme according to the first person preference information to obtain a homogenization control scheme.
In this embodiment, the method can adaptively adjust the scenarization control scheme according to the first personal preference information, and homogenize the adjustment result after adjustment, so that the obtained homogenization control scheme is not too biased to affect the use experience.
In the present embodiment, the homogenization process is used to represent an adjustment of the scenic control scheme to a translator-homogenization control scheme that conforms to both the preferences of the first person and the preferences of the general public.
S910, second person preference information of the second user is obtained.
In this embodiment, the second personal preference information is used to indicate the preference information of the second user, and the second description thereof is only for distinguishing the first user from the first personal preference information.
In the present embodiment, the personal preference information may include age information, taste information, and the like of the individual.
And S911, carrying out adaptive adjustment on the homogenization control scheme according to the second person preference information and the equipment difference information to obtain an adjustment control scheme.
In this embodiment, the adaptive adjustment is used to indicate that the homogenization control scheme is adjusted so that the homogenization control scheme is suitable for the preference of the second user.
And S912, sharing the adjustment control scheme to the scene control equipment of the second user.
In this embodiment, after the first user scenario control device completes the processing procedure, the processing result, i.e., the adjustment control scheme, is shared with the scenario control device of the second user, so that the scenario control device of the second user can perform corresponding scenario control on the intelligent home device in the home lan by using the adjustment control scheme.
In this embodiment, the main execution body of the method is a scenario control device, and the scenario control device may be a computer device with multiple communication functions or other smart home devices such as a smart phone and a tablet computer, which is not limited in this embodiment.
In this embodiment, the scenario control device may be one of the at least one smart home device, that is, one of the at least one smart home device is the scenario control device.
It can be seen that, by implementing the application method of the scenized control scheme described in this embodiment, generation of the scenized control scheme can be preferentially completed according to the operation of the user, and then the destination shared by the scenized control scheme is determined according to the requirement of the user, where the second user is a user at the destination, and the corresponding list of the smart home devices corresponds to the list of all the smart home devices in the smart home lan. At this time, the scene control device can perform adaptive adjustment according to the smart home devices in the smart home device list, so that the adjusted control scheme can be adapted to the new scene, and finally, the scene control device shares the adjusted control scheme with the scene control device in the new scene to complete the intelligent control in the scene in real time. Therefore, by implementing the implementation mode, the scene control scheme corresponding to the scene can be automatically generated, and the localization work is completed through a proper self-adaption method, so that the shared adjustment control scheme can be adapted to the new scene where the second user is located, the secondary operation of the user can be avoided, the use convenience of the intelligent household equipment can be improved, and the use experience of the user can be improved.
Example 6
Referring to fig. 6, fig. 6 is a schematic structural diagram of a scene control device according to an embodiment of the present application. As shown in fig. 6, the scenizable control apparatus includes:
a third generating unit 1010, configured to generate a scenario control scheme according to an operation instruction of the first user on the at least one smart home device;
a third obtaining unit 1020, configured to obtain an intelligent home device list of a second user;
the adjusting unit 1030 is configured to adaptively adjust the scenized control scheme according to the smart home device list to obtain an adjusted control scheme;
the sharing unit 1040 is configured to share the adjustment control scheme with the second user's scene control device.
As an alternative embodiment, the adjusting unit 1030 includes:
a third obtaining sub-unit 1031, configured to obtain first personal preference information of the first user;
the processing subunit 1032 is configured to perform homogenization processing on the scenarization control scheme according to the first personal preference information, so as to obtain a homogenization control scheme;
and the adjusting subunit 1033 is configured to perform adaptive adjustment on the homogenization control scheme according to the smart home device list, so as to obtain an adjustment control scheme.
As an alternative embodiment, the adjusting subunit 1033 includes:
the first acquisition module is used for acquiring second person preference information of a second user;
and the adjusting module is used for carrying out adaptive adjustment on the homogenization control scheme according to the second person preference information and the smart home equipment list to obtain an adjustment control scheme.
As an alternative embodiment, the adjusting unit 1030 includes:
a third matching subunit 1034, configured to perform matching according to the type of the smart home device corresponding to the at least one smart home device in the smart home device list, to obtain at least one user device corresponding to the at least one smart home device;
a third obtaining subunit 1031, configured to obtain device difference information between the at least one smart home device and the at least one user device;
the adjusting subunit 1033 is further configured to adaptively adjust the scenized control scheme according to the device difference information, so as to obtain an adjusted control scheme.
As an optional implementation manner, the third obtaining subunit 1031 includes:
the second acquisition module is used for acquiring the intelligent household equipment function, the intelligent household equipment parameter and the intelligent household equipment position corresponding to at least one intelligent household equipment;
a second obtaining module, configured to obtain a user equipment function, a user equipment parameter, and a user equipment location corresponding to at least one user equipment;
the determining module is used for determining first difference information between the functions of the intelligent home equipment and the functions of the user equipment, determining second difference information between the parameters of the intelligent home equipment and the parameters of the user equipment, and determining third difference information between the position of the intelligent home equipment and the position of the user equipment;
the determining module is used for determining device difference information between the at least one piece of smart home equipment and the at least one piece of user equipment according to the first difference information, the second difference information and the third difference information.
Example 7
Referring to fig. 7, fig. 7 is a flowchart illustrating an application method of a scenario control scheme according to an embodiment of the present application. The application method of the scene control scheme is applied to the scene control equipment, and comprises the following steps:
s1101, when the at least one intelligent home device detects a trigger behavior or the scenario control device captures an operation instruction of the user to the at least one intelligent home device, matching a determined scenario control scheme corresponding to the trigger behavior or matching a scenario control scheme corresponding to the operation instruction in a preset scenario control scheme database.
In this embodiment, two cases are described in this step, and the method can perform the subsequent step until one of the cases is satisfied.
In this embodiment, the first condition included in this step is that at least one smart home device detects a trigger behavior. It will be appreciated that this scenario is illustrative of having a trigger condition in a scenario-based control scheme, and that the trigger behavior just satisfies the trigger condition.
In this embodiment, the triggering behavior is a behavior for triggering the step of determining the scenario control scheme corresponding to the triggering behavior in the preset scenario control scheme database.
For example, the user may set a trigger time of the scenario control scheme in the timer, and when the timer determines that the current time is the trigger time, the step of determining the scenario control scheme corresponding to the trigger behavior may be matched in the preset scenario control scheme database. In this example, the trigger action is that the current time is the trigger time, and the action here is equivalent to the condition.
As another example, when the user can go home, the home sensor detects that the user arrives, and the user arriving at home is a user behavior, and the scenario control device may match a scenario control scheme that the user needs to execute to go home according to the user behavior. In this example, the triggering behavior is a behavior of the user going home, and specifically may be a behavior of the user going home and turning on a light; at a specific point, the habit of unlocking the smart home device when the user goes home is detected by the smart home device, and the user goes home is determined, and then the scene control scheme is executed according to the habit.
As another example, the at least one smart home device may detect whether the user returns home and whether the user returns home eight times at the same time. It can be seen that in this case, the trigger behavior includes both the specified time of day and the user behavior. Based on this example, it can be known that the trigger behavior is not necessarily a single behavior, but may be a composite behavior. In practical situations, the probability of the composite behavior is higher, the detection silence is higher, and the matched scene control scheme is more accurate.
In this embodiment, the trigger behavior includes a machine behavior and a user behavior, the machine behavior includes a timing behavior, a temperature and humidity specifying behavior, an illumination specifying behavior, and the like, and the user behavior includes a user action behavior, a user identification behavior, another user behavior, and the like. The identification behavior of the user is used for representing the intelligent household equipment to perform face identification on the user, so that the identity of the user is determined to be the behavior of family members.
In this embodiment, a common approach is to identify the user's actions and identify the user's identity. For example, the method can judge whether the user returns home, and if so, a scene control scheme corresponding to the scene that the user returns home is executed; if the identified identity is other, a scenarized control scheme corresponding to the other entering home scene is implemented (which may be used to guard against theft or to catch guests).
In this embodiment, the detection capability of the smart home device is not limited at all.
In this embodiment, the second case included in this step is that the scenario control device captures an operation instruction of the user to the at least one smart home device, and when the operation instruction is captured, matches the scenario control scheme corresponding to the operation instruction.
In this embodiment, the scheme corresponds to that the user is controlling the smart home device, so as to expect the smart home device to achieve a corresponding scene control effect. However, such control has often occurred in the past, so that it has been recorded as a preset scenized control scheme. Therefore, when the intelligent household equipment is started, the scene control equipment can determine the operation intention of the user through the captured small amount of operation instructions and call a desired scene control scheme to perform scene control. Therefore, the method can avoid the user from completely controlling the intelligent household equipment, so that the use experience of the user is improved.
For example, the user will turn on the air conditioner home in the last few days, and the air conditioner is turned on to cool the 26-degree strong wind. Then, when the air conditioner is turned on and the refrigeration function is started home, the scene control device can determine that the user wants to turn on the air conditioner to 26 degrees strong wind, and then the scene control device automatically controls the air conditioner to adjust, so that subsequent adjustment of the user is avoided.
As an example, when the user controls the smart window shades to close, the lights in the room are also typically turned off and a night light is turned on. At this time, when the user controls the intelligent curtain to be closed and the indoor light is turned off, the scene control equipment considers that the user is ready to sleep, so that the corresponding scene control scheme is automatically called, and the night light is turned on. Therefore, the mode comprises linkage among the intelligent household devices.
In this embodiment, a corresponding scenario control scheme may be generated in a process of operating at least one smart home device by a user; however, when a scene control scheme already exists and the user still operates in this way, the scene control device may automatically match the scene operation scheme and control the smart home device to execute the scene control scheme, thereby achieving an automatic control effect of the smart home device.
S1102, obtaining the working scene information of at least one piece of intelligent household equipment.
In this embodiment, the working scene information is determined by the working state of each smart home device.
In this embodiment, the working state of each smart home device generally includes an on/off state, a working standby state, a working intensity state, working power information, information obtained by the smart home device through working, and the like.
In this embodiment, the work scene information is used to indicate what smart home devices are all doing in the current home, and can indicate which scene the smart home devices are doing.
S1103, scheme scene information corresponding to the scene control scheme is obtained.
In this embodiment, the scenario control scheme includes an operation instruction for controlling at least one smart home device, and the scheme scenario information of the smart home device may be determined according to the operation instruction.
In this embodiment, the scenario scene information is used to indicate the working state of the smart home devices before or after performing the scenarization control on the smart home devices.
In this embodiment, the working state of each smart home device generally includes an on/off state, a working standby state, a working intensity state, working power information, information obtained by the smart home device through working, and the like.
S1104, judging whether the scheme scene information is matched with the working scene information, if so, executing the steps S1105-S1106; if not, the flow is ended.
In this embodiment, the step is used to determine whether the scenario control scheme needs to be executed in the current scenario before the scenario control scheme is executed.
In this embodiment, if the scenario is home, the working scenario should not be that someone is at home; if the scenario is KTV, then the work scenario should not be sleeping.
In this embodiment, no matter what scene, the working state of the smart home device will be reflected, and the working states form the working scene information. Thus, the work scenario information may be used to determine whether a scenario control scheme may be executed.
In this embodiment, generally, the scenario information refers to work scenario information before the smart home devices corresponding to the scenario control scheme are started.
For example, when a user returns home, the smart home device should trigger a scenized control scheme of a home-returning scene, but if someone is already at home, it is not necessary to trigger a scenized control scheme of a home-returning scene at this time. The home-returning scene control scheme is characterized in that the initial state of the intelligent household equipment is in a standby state, and the intelligent household equipment is usually in a working state when a person is in a home, such as a lamp is turned on.
S1105, extracting at least one control instruction, at least one control moment and at least one control object in the scene control scheme; the control system comprises at least one control instruction, at least one control moment and at least one control object, wherein the at least one control instruction, the at least one control moment and the at least one control object are in one-to-one correspondence.
In this embodiment, the scenario control scheme may control a plurality of smart home devices, and a control object, a control instruction, and a control timing sequence are generally considered in the control process. Therefore, the information corresponding to the three is extracted completely in the step, so that the intelligent household equipment can be controlled accurately in the follow-up process.
S1106, sending at least one control instruction to at least one piece of intelligent home equipment according to at least one control object, so that the at least one piece of intelligent home equipment executes the at least one control instruction corresponding to the at least one control moment based on the at least one control moment.
In this embodiment, the method sends a corresponding control instruction according to the control object, so that the control object can execute its own control instruction.
In this embodiment, when the plurality of smart home devices are control objects, the plurality of smart home devices may execute corresponding control instructions at the same time.
In this embodiment, for the same control object (i.e., the same smart home device), the smart home device may obtain a plurality of control instructions. At this time, the smart home device should be controlled according to the control time corresponding to the control instruction.
In this embodiment, when executing a plurality of control instructions, the smart home device may detect a control time sequence of control moments of the plurality of control instructions, and perform corresponding control operations when the control time sequence is ensured to conform to a preset normal logic. If the television needs to be started up first, then the operation is carried out.
In this embodiment, when the smart home device executes a plurality of control instructions, the smart home device may adaptively adjust the control instructions according to an actual scene to obtain a new control instruction set, and perform scene control according to the new control instruction set. For example, when the television is currently on, the television turn-on instruction does not need to be executed; after the television turn-on command is sent, the television may wait for the television to start and then execute the subsequent command.
In this embodiment, the main execution body of the method is a scenario control device, and the scenario control device may be a computer device with multiple communication functions or other smart home devices such as a smart phone and a tablet computer, which is not limited in this embodiment.
In this embodiment, the scenario control device may be one of the at least one smart home device, that is, one of the at least one smart home device is the scenario control device.
It can be seen that, by implementing the application method of the scenario control scheme described in this embodiment, the operation or behavior of the user can be detected in real time, and whether the user wants to perform the scenario control on the smart home device is determined according to the detected result, and if the user really wants to perform the scenario control on the smart home device, the scenario control scheme corresponding to the current operation or behavior is automatically selected, and the smart home device is controlled to perform the automatic control according to the scenario control scheme. Therefore, by implementing the implementation mode, corresponding scene control can be automatically completed according to the operation or behavior of the user, so that the scene work of the intelligent household equipment can be realized through less user operation amount or trigger amount, and the user experience is better.
Example 8
Referring to fig. 8, fig. 8 is a schematic structural diagram of a scene control device according to an embodiment of the present application. As shown in fig. 8, the scene control apparatus includes:
a fourth determining unit 1210, configured to determine a scenario control scheme according to trigger information when the at least one smart home device or scenario control device detects the trigger information;
a fourth obtaining unit 1220, configured to obtain work scene information of at least one smart home device;
a fourth judging unit 1230 for judging whether the scenized control scheme matches the work scene information;
and the control unit 1240 is configured to control at least one smart home device to execute the scenario control scheme when the scenario control scheme matches the working scenario information.
As an optional implementation manner, the fourth determining unit 1210 is specifically configured to, when the scenario control device captures an operation instruction of the user on at least one smart home device, match a scenario control scenario corresponding to the operation instruction in a preset scenario control scenario database.
As an optional implementation manner, the fourth determining unit 1210 is specifically configured to, when the at least one smart home device detects a trigger behavior, match a determined scenario control scheme corresponding to the trigger behavior in a preset scenario control scheme database.
As an alternative embodiment, the fourth judging unit 1230 includes:
a fourth acquiring subunit 1231, configured to acquire scheme scene information corresponding to the scene control scheme;
a judging subunit 1232, configured to judge whether the scenario information of the scenario matches the job scenario information;
the control unit 1240 is specifically configured to control at least one smart home device to execute a scenario control scheme when the scenario information matches the working scenario information.
As an alternative embodiment, the control unit 1240 includes:
a fourth extraction subunit 1241, configured to extract at least one control instruction, at least one control time, and at least one control object in the scenized control scheme; the system comprises at least one control instruction, at least one control moment and at least one control object, wherein the at least one control instruction, the at least one control moment and the at least one control object are in one-to-one correspondence;
the sending subunit 1242 is configured to send at least one control instruction to at least one smart home device according to at least one control object, so that the at least one smart home device executes the at least one control instruction corresponding to the at least one control time based on the at least one control time.
As can be seen, the scene control device described in this embodiment can automatically detect a small amount of operations or a small amount of behaviors of the user, and determine, according to the small amount of operations or the small amount of behaviors of the user, a scene operation that the user wants to be performed by the smart home device; on the basis, the scene control equipment further determines a scene control scheme according to the determined scene operation intention, and controls the intelligent household equipment to perform scene control according to the scene control scheme. Therefore, by the implementation of the implementation mode, the operation behavior intention of the user can be automatically recognized, so that the intelligent household equipment is controlled to execute the corresponding scene control scheme, the scene control intelligence degree is improved, and the use experience of the user on the intelligent household equipment is improved.
Example 9
Referring to fig. 9, an embodiment of the present application provides an initialization method for smart home devices, where the method includes:
s1301, receiving and storing the debugging instructions of the plurality of intelligent home devices and the trigger time intervals among the debugging instructions of the plurality of intelligent home devices;
s1302, obtaining authorization information of a plurality of current smart home devices;
s1303, initializing the multiple current intelligent household devices according to the authorization information of the current intelligent household devices, the debugging instructions of the multiple intelligent household devices and the trigger time intervals among the debugging instructions of the multiple intelligent household devices.
The method is suitable for a plurality of hardwares with the same home intelligent system, and the intelligent home devices of the intelligent home intelligent systems are the same, so that the command can be recorded at first, and the home intelligent system in the hardwares of each house can be initialized according to the recorded command. In consideration of the fact that the authorization information of the smart home equipment of each household needs to be acquired before initialization, the authorization information of the current household appliance smart home equipment is acquired first, and the home system of the current hardbound house can be initialized according to the authorization information.
It can be understood that, in the above embodiment, the plurality of current smart home devices are a plurality of smart home devices in a home smart system that currently needs to be initialized.
In the above embodiment, the debugging instructions including the plurality of smart home devices input by the user are obtained and stored, and since the plurality of smart home devices in the smart home system are interconnected, the plurality of smart home devices need to be initialized according to a certain sequence, otherwise, the initialization will fail, and therefore, the trigger time intervals among the plurality of debugging instructions are also received. In consideration of the fact that the smart home systems in the hardship rooms are consistent, the smart home systems in the hardship rooms can be initialized by using the debugging instructions of the smart home devices. Specifically, authorization information of a plurality of intelligent household devices is obtained, and initialization of each hardcover room is completed according to the household appliance authorization information, debugging instructions of a plurality of household appliances and trigger time intervals among the household appliance debugging instructions.
It can be understood that, since the authorization information of the smart home devices in each home hardwares is provided when each home hardwares is installed, the authorization information of the smart home devices in each home hardwares can be already stored when the home hardwares are installed, and therefore, the time for completing initialization depends on the time for executing the home appliances.
Referring to fig. 10, the present application provides an initialization method for smart home devices, including:
s1304, receiving and storing debugging instructions of the plurality of intelligent home devices and trigger time intervals among the debugging instructions of the plurality of intelligent home devices;
s1306, obtaining an execution sequence of the debugging instructions of the plurality of intelligent home devices according to the triggering time intervals of the debugging instructions of the plurality of intelligent home devices;
s1307, judging whether the execution sequence of the debugging instructions of the plurality of intelligent household devices accords with the debugging sequence; if not, executing S1308, if yes, executing S1309;
and S1308, sending alarm information.
S1309, obtaining authorization information of a plurality of current intelligent household devices;
s1310, initializing the current intelligent household devices according to the authorization information of the current intelligent household devices, the debugging instructions of the intelligent household devices and the triggering time intervals among the debugging instructions of the intelligent household devices.
In the implementation process, a dependency relationship exists among the plurality of smart home devices, and the initialization sequence of the plurality of smart home devices has a certain influence on the initialization time of the entire smart home system, and for example, if a repeater exists in the smart home system, the smart home devices connected to the repeater need to receive the home appliance debugging device after the initialization of the repeater is completed, so that after the trigger time intervals of the plurality of smart home devices are received, the trigger sequences of the plurality of smart home device debugging instructions are obtained according to the trigger time intervals of the plurality of smart home devices, and whether the trigger sequences meet requirements or not is determined.
In one possible implementation manner, the debugging instructions of the plurality of smart home devices include a plurality of activation instructions and a plurality of initialization instructions; s1303 includes the following sub-steps,
Replacing the authorization information in the plurality of activation instructions with the household appliance authorization information of the plurality of current intelligent household devices to obtain a plurality of replaced activation instructions;
initializing the current intelligent household devices according to the trigger time intervals among the replaced activating instructions, the initialization instructions and the debugging instructions of the intelligent household devices.
In the implementation process, the activation instruction includes authorization information of the household appliance, and therefore, the originally recorded authorization information of the household appliances of the plurality of smart home devices is replaced by the authorization information of the plurality of current smart home devices, so that a plurality of replaced activation instructions can be obtained, and the plurality of replaced activation instructions can activate the current smart home devices.
In a possible implementation manner, the step of initializing a plurality of current smart home devices according to a trigger time interval between a plurality of replaced activation instructions, a plurality of initialization instructions, and a plurality of debugging instructions of the smart home devices includes:
sending the replaced activation instructions and the initialization instructions to the intelligent household equipment according to the trigger time intervals among the debugging instructions of the intelligent household equipment, or
And sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scene control equipment according to the trigger time intervals among the debugging instructions of the plurality of intelligent home equipment, so that the scene control equipment sends the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of current intelligent home equipment.
In the above embodiment, according to the triggering time interval between the debugging instructions of the multiple intelligent home devices, the multiple replaced activation instructions and the multiple initialization instructions are sent to the corresponding intelligent home devices, where the number of the layers of the residential quarter is small and the number of the residential quarters is small, and the staff enters each house and activates the intelligent home system of each house through the terminal.
Considering that the existing cell is large and the number of layers is large, in order to further reduce the workload of workers, according to the trigger time interval between the debugging instructions of the intelligent home devices, the replaced activation instructions and the initialization instructions are sent to the scene control device, so that the scene control device sends the replaced activation instructions and the initialization instructions to the current intelligent home devices.
In the above embodiment, the whole cell is divided to obtain a plurality of sub-regions, each sub-region has one scenario control device, and the scenario control device is configured to receive the debugging instructions of the plurality of smart home devices and send the debugging instructions of the plurality of smart home devices to the plurality of smart home devices.
In a possible implementation manner, based on the structure of the cell and the efficiency of the transmission, the whole process of transmitting the debugging instructions among the plurality of smart home devices to the plurality of smart home devices includes the plurality of scenario control devices.
It can be understood that, based on the above embodiment, each smart home device debugging instruction includes address information of a device, and before sending the multiple smart home device debugging instructions to the smart home devices in the hardback room of each household, the method further includes replacing addresses in the recorded operating instructions of the smart home devices with communication addresses of the smart home devices of each household.
In a possible implementation manner, based on the operation of the scenario control device, the embodiment of the present application provides a method for user active initialization. The method adds a step before the method provided by the above embodiment, responding to the instruction of the initialization request sent by the user terminal.
In such an embodiment, the staff member does not need to turn on the home device of each home in advance, but the user actively turns on the device and actively requests initialization. The workload of the staff is further reduced.
In one possible embodiment, after the step of sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scenized control device or sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scenized control device, the method further includes:
receiving household appliance feedback information sent by a plurality of current intelligent household devices;
judging whether the feedback information comprises activation failure information or not;
and if so, sending the first household appliance operation instruction corresponding to the activation failure information to the current intelligent household equipment corresponding to the activation failure information again.
In the implementation process, the situation that initialization fails due to errors in the process of processing because signal transmission has certain errors, the initialization process is long in time and possibly has signal transmission errors is considered; therefore, after the plurality of replaced activation instructions and the plurality of initialization instructions are sent to the scene control device, the feedback information sent by the plurality of household appliances is waited, and the feedback information includes information about whether the initialization of the smart home device is successful or not. And if the feedback information comprises the activation failure information, sending the first household appliance operation instruction corresponding to the activation failure information to the current intelligent household equipment corresponding to the activation failure information again. Based on the embodiment, all the home appliance pen-related devices can be successfully initialized.
The step of sending the first household appliance operation instruction corresponding to the activation failure information to the current intelligent household equipment corresponding to the feedback information again includes:
judging whether a first household appliance operation instruction of a first household appliance operation instruction exists in debugging instructions of a plurality of intelligent household devices;
if yes, acquiring a triggering time interval of the operation instruction of the prior household appliance and the operation instruction of the first household appliance;
and sending the first household appliance operation instruction and the pre-requisite household appliance operation instruction to the intelligent household equipment corresponding to the feedback information according to the pre-requisite household appliance operation instruction and the trigger time interval of the first household appliance operation instruction.
In the implementation process, if initialization of one smart home device needs to depend on another smart home device, a prerequisite appliance operation instruction of the appliance debugging instruction needs to be obtained when the smart home device is reinitialized. For example, a set-top box is required to be used in the activation process of a television, and therefore, the operation instruction of the pre-requisite appliance is the operation instruction of the smart home device corresponding to the set-top box.
In one possible implementation, S1303 includes the following sub-steps: generating a debugging sequence according to the authorization information of the current intelligent household equipment, the debugging instructions of the plurality of intelligent household equipment and the triggering time intervals among the debugging instructions of the plurality of intelligent household equipment; and sending the debugging sequence to a plurality of current intelligent household devices.
Considering that the plurality of smart home devices have their own decoding modes, the sequence is first generated and then transmitted to the plurality of smart home devices.
Example 10
Referring to fig. 11, an embodiment of the present application provides an initialization apparatus for smart home devices, the apparatus including:
the receiving module 1410 is configured to receive and store the debugging instructions of the plurality of smart home devices and the trigger time intervals between the debugging instructions of the plurality of smart home devices;
the obtaining module 1420 is configured to obtain authorization information of a plurality of current smart home devices;
the initialization module 1430 is configured to initialize the plurality of current smart home devices according to the authorization information of the current smart home devices, the debugging instructions of the plurality of smart home devices, and the trigger time intervals between the debugging instructions of the plurality of smart home devices.
In one possible embodiment, the apparatus further comprises: the execution sequence detection module is used for acquiring the execution sequence of the debugging instructions of the plurality of intelligent household devices according to the triggering time intervals of the debugging instructions of the plurality of intelligent household devices; judging whether the execution sequence of the debugging instructions of the intelligent household equipment conforms to the debugging sequence or not; if not, alarm information is sent out.
In one possible implementation manner, the debugging instructions of the plurality of smart home devices include a plurality of activation instructions and a plurality of initialization instructions; the initialization module 1430 is further configured to replace authorization information in the plurality of activation instructions with household appliance authorization information of the plurality of current smart home devices to obtain a plurality of replaced activation instructions; initializing the current intelligent household devices according to the trigger time intervals among the replaced activating instructions, the initialization instructions and the debugging instructions of the intelligent household devices.
In a possible implementation manner, the initialization module 1430 is further configured to send the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of smart home devices according to the trigger time interval between the debugging instructions of the plurality of smart home devices, or
And sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scene control equipment according to the trigger time intervals among the debugging instructions of the plurality of intelligent home equipment, so that the scene control equipment sends the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of current intelligent home equipment.
In a possible implementation manner, the feedback module is configured to receive home appliance feedback information sent by a plurality of current smart home devices; judging whether the feedback information comprises activation failure information or not; and if so, sending the first household appliance operation instruction corresponding to the activation failure information to the current intelligent household equipment corresponding to the activation failure information again.
In a possible implementation manner, the obtaining feedback module is further configured to determine whether a prerequisite appliance operation instruction of the first appliance operation instruction exists in the debugging instructions of the plurality of smart home devices; if yes, acquiring a triggering time interval of the operation instruction of the prior household appliance and the operation instruction of the first household appliance; and sending the first household appliance operation instruction and the pre-requisite household appliance operation instruction to the intelligent household equipment corresponding to the feedback information according to the pre-requisite household appliance operation instruction and the trigger time interval of the first household appliance operation instruction.
In a possible implementation manner, the initialization module 1430 is further configured to generate a debugging sequence according to the authorization information of the current smart home device, the debugging instructions of the plurality of smart home devices, and the trigger time intervals between the debugging instructions of the plurality of smart home devices; and sending the debugging sequence to a plurality of current intelligent household devices.
The embodiment of the application provides an electronic device, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the electronic device to execute the automatic generation method of the scene control scheme in the embodiment 1 of the application.
An embodiment of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the method for automatically generating a scenario-based control scheme in embodiment 1 of the present application is executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for automatically generating a scene control scheme is applied to a scene control device, and comprises the following steps:
acquiring a plurality of operation instructions in a detection time window;
confirming that the plurality of operation instructions meet preset scene generation conditions, generating a scene control scheme according to the plurality of operation instructions,
the method comprises the following steps of confirming that the plurality of operation instructions meet preset scene generation conditions, and generating a scene control scheme according to the plurality of operation instructions, wherein the steps comprise:
and determining that the operation times of the operation instructions are matched with a preset operation time, and generating a household appliance control scene based on the operation instructions.
2. The method according to claim 1, wherein the step of confirming that the plurality of operation commands meet the preset scene generation condition and generating the scene control scheme according to the plurality of operation commands comprises:
determining the operation sequence among the plurality of operation instructions;
and determining whether the operation sequence is not violated with a preset logic operation sequence, and generating a household appliance control scene based on the plurality of operation instructions.
3. The method according to claim 1 or 2, wherein the step of confirming that the plurality of operation commands match a preset scene generation condition and generating the scene control scheme according to the plurality of operation commands comprises:
determining a plurality of operation time intervals between the plurality of operation instructions;
and confirming that the operation time intervals are matched with a preset time interval threshold value, and generating a household appliance control scene based on the operation instructions.
4. The method of automatic generation of a scenized control scheme of claim 1, wherein:
the plurality of operation instructions comprise corresponding household appliance combination relations among the operation instructions and time interval relations among the operation instructions;
the step of determining that the operation times of the operation instructions are matched with a preset operation time, and generating a household appliance control scene based on the operation instructions comprises the following steps:
determining that the household appliance combination relation corresponding to the multiple operation instructions and the time interval relation among the operation instructions are matched with a preset scene, and generating a household appliance control scene based on the multiple operation instructions;
wherein the plurality of operation commands are input by more than 2 input devices.
5. The method of claim 4, wherein the input device comprises a button of a home appliance control panel, an application, a remote control, a speaker.
6. The method for automatic generation of a scenic control scheme as claimed in claim 1, the method further comprising:
and confirming that the detection time window is not started when the operation instruction is obtained, and starting the detection time window.
7. The method according to claim 1, wherein the step of confirming that the plurality of operation commands meet the preset scene generation condition and generating the scene control scheme according to the plurality of operation commands comprises:
extracting successive associated instructions from the plurality of operational instructions;
counting the frequency of occurrence of the successive correlation instructions in the instruction record database;
and when the occurrence frequency is confirmed to be larger than a preset frequency threshold value, generating a scene control scheme according to the continuous association instruction.
8. The method of claim 1, wherein the step of generating the scenized control plan according to the plurality of operation instructions comprises:
extracting a plurality of valid instructions from the plurality of operation instructions;
constructing the plurality of valid instructions into an instruction sequence;
acquiring scene information matched with the instruction sequence;
and generating a scene control scheme according to the instruction sequence and the scene information.
9. The method of claim 8, wherein the step of extracting a plurality of valid instructions from the plurality of operation instructions comprises:
and extracting a plurality of effective instructions according to the operation sequence and the operation correlation among the plurality of operation instructions.
10. An electronic device, characterized in that the device comprises a processor and a memory, the processor being configured to read a program stored in the memory, the program being configured to perform the method of automatically generating a scenized control scheme according to any one of claims 1 to 9.
CN202111572257.0A 2021-12-21 2021-12-21 Automatic generation method of scene control scheme and scene control equipment Pending CN114326423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111572257.0A CN114326423A (en) 2021-12-21 2021-12-21 Automatic generation method of scene control scheme and scene control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111572257.0A CN114326423A (en) 2021-12-21 2021-12-21 Automatic generation method of scene control scheme and scene control equipment

Publications (1)

Publication Number Publication Date
CN114326423A true CN114326423A (en) 2022-04-12

Family

ID=81054928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111572257.0A Pending CN114326423A (en) 2021-12-21 2021-12-21 Automatic generation method of scene control scheme and scene control equipment

Country Status (1)

Country Link
CN (1) CN114326423A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115327934A (en) * 2022-07-22 2022-11-11 青岛海尔科技有限公司 Intelligent household scene recommendation method and system, storage medium and electronic device
CN115903627A (en) * 2022-12-28 2023-04-04 长兴精石科技有限公司 Intelligent controller and intelligent control system thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905871A (en) * 2014-03-24 2014-07-02 小米科技有限责任公司 Intelligent household appliance control method, device and terminal
CN104714504A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Control method and control system on smart home and remote server
CN105259765A (en) * 2015-09-18 2016-01-20 小米科技有限责任公司 Method and device for generating control interface
WO2017071251A1 (en) * 2015-10-28 2017-05-04 百度在线网络技术(北京)有限公司 Information pushing method and device
CN108572559A (en) * 2018-06-11 2018-09-25 广州方胜智能工程有限公司 A kind of smart home scene control method and system
CN108873730A (en) * 2018-08-31 2018-11-23 珠海格力电器股份有限公司 A kind of control method and equipment of home equipment
CN110160804A (en) * 2019-05-31 2019-08-23 中国科学院深圳先进技术研究院 A kind of test method of automatic driving vehicle, apparatus and system
CN110211605A (en) * 2019-05-24 2019-09-06 珠海多士科技有限公司 Smart machine speech sensitivity adjusting method, device, equipment and storage medium
CN110246498A (en) * 2019-07-15 2019-09-17 广东美的制冷设备有限公司 Method of speech processing, device and household appliance
CN110262261A (en) * 2019-05-31 2019-09-20 华为技术有限公司 A kind of method, Cloud Server and smart home system controlling device service
WO2021169630A1 (en) * 2020-02-29 2021-09-02 深圳壹账通智能科技有限公司 Configurable report generation method, apparatus and device, and readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714504A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Control method and control system on smart home and remote server
CN103905871A (en) * 2014-03-24 2014-07-02 小米科技有限责任公司 Intelligent household appliance control method, device and terminal
CN105259765A (en) * 2015-09-18 2016-01-20 小米科技有限责任公司 Method and device for generating control interface
WO2017071251A1 (en) * 2015-10-28 2017-05-04 百度在线网络技术(北京)有限公司 Information pushing method and device
CN108572559A (en) * 2018-06-11 2018-09-25 广州方胜智能工程有限公司 A kind of smart home scene control method and system
CN108873730A (en) * 2018-08-31 2018-11-23 珠海格力电器股份有限公司 A kind of control method and equipment of home equipment
CN110211605A (en) * 2019-05-24 2019-09-06 珠海多士科技有限公司 Smart machine speech sensitivity adjusting method, device, equipment and storage medium
CN110160804A (en) * 2019-05-31 2019-08-23 中国科学院深圳先进技术研究院 A kind of test method of automatic driving vehicle, apparatus and system
CN110262261A (en) * 2019-05-31 2019-09-20 华为技术有限公司 A kind of method, Cloud Server and smart home system controlling device service
CN110246498A (en) * 2019-07-15 2019-09-17 广东美的制冷设备有限公司 Method of speech processing, device and household appliance
WO2021169630A1 (en) * 2020-02-29 2021-09-02 深圳壹账通智能科技有限公司 Configurable report generation method, apparatus and device, and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115327934A (en) * 2022-07-22 2022-11-11 青岛海尔科技有限公司 Intelligent household scene recommendation method and system, storage medium and electronic device
CN115903627A (en) * 2022-12-28 2023-04-04 长兴精石科技有限公司 Intelligent controller and intelligent control system thereof

Similar Documents

Publication Publication Date Title
CN109974235B (en) Method and device for controlling household appliance and household appliance
CN105446162B (en) A kind of intelligent home furnishing control method of smart home system and robot
US10601604B2 (en) Data processing systems and methods for smart hub devices
CN110308660B (en) Intelligent equipment control method and device
CN106842968B (en) Control method, device and system
CN114326423A (en) Automatic generation method of scene control scheme and scene control equipment
CN112051743A (en) Device control method, conflict processing method, corresponding devices and electronic device
CN106647311B (en) Intelligent central control system, equipment, server and intelligent equipment control method
WO2019062335A1 (en) Information display method and device for intelligent panel
US20180363937A1 (en) Control apparatus, control method, and program
WO2017016432A1 (en) Intelligent home appliance control method and intelligent home appliance controller
CN103475551A (en) Intelligent home system based on voice recognition
JP6918215B2 (en) Equipment control system and equipment control method
CN106951758A (en) For the method for intelligent domestic system, device and intelligent domestic system
CN109188926A (en) A kind of method and apparatus controlling smart home
WO2014185174A1 (en) Energy management controller, energy management system, energy management method, and program
CN109683576A (en) A kind of intelligent home furnishing control method based on artificial intelligence, system and device
CN109164713A (en) A kind of intelligent home furnishing control method and device
CN105511279B (en) Household electrical appliance long-range control method and system, household electrical appliance and server
CN112146236A (en) Adjusting system, control method, control device, line control device, server and medium
CN115826418A (en) Intelligent household control method
US20140285017A1 (en) Electrical Equipment Control Apparatus and Electrical Equipment Control System
CN112365633A (en) Control method, device and system of household appliance and computer readable storage medium
CN112034727A (en) Smart scene-based home equipment management method and smart home control device
CN112015099A (en) Permission adjusting method and device of intelligent switch, intelligent switch and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination