Smart home equipment control method and device, equipment and storage medium

By receiving device control instructions in the smart home system, matching target fuzzy control instructions, and determining the device and control methods based on historical operation data, the problem of difficulty in judging intentions when the smart home system handles fuzzy control instructions is solved, and higher execution accuracy and user experience are achieved.

CN120010276APending Publication Date: 2025-05-16GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411915888.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

It is difficult for smart home systems to accurately judge user intentions when processing fuzzy control instructions, resulting in inaccurate control execution, increasing the difficulty of device understanding and may cause misoperation, affecting user experience.

Method used

By receiving device control instructions, matching target fuzzy control instructions, obtaining target historical operation data, determining the target smart home equipment and target control methods, and controlling the equipment using target control methods.

Benefits of technology

It significantly improves the understanding and execution accuracy of fuzzy control instructions in smart home systems, reduces control errors caused by fuzzy commands, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010276A_ABST
    Figure CN120010276A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a smart home equipment control method and device, equipment and a storage medium. The method comprises the following steps: receiving an equipment control instruction; matching a target fuzzy control instruction corresponding to the equipment control instruction; obtaining target historical operation data corresponding to the target fuzzy control instruction; determining a target smart home device and a target control mode corresponding to the target fuzzy control instruction from the target historical operation data; and controlling the target smart home equipment by adopting the target control mode. According to the embodiment of the invention, the control habit of the user is better understood by analyzing the historical operation data, so that the target control mode and the target smart home equipment which better meet the requirements of the user are provided, the user experience is effectively improved, the understanding and execution accuracy of the smart home system on the equipment control instruction containing the fuzzy intention is remarkably improved, and the user experience is improved. And control errors caused by fuzzy instructions are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a control method and device for smart home equipment, an electronic device, and a storage medium. Background Art

[0002] When using smart devices, users usually use voice to issue device control commands to operate them. However, the commands issued by users are sometimes ambiguous. For example, "It's a bit cold." Such fuzzy control commands may correspond to multiple control operations, such as raising the air conditioner temperature, turning off the air conditioner or fan, etc. Since fuzzy control commands lack clear directionality, smart home devices often find it difficult to accurately judge the user's true intentions when executing them, resulting in inaccurate execution of control commands. This ambiguity not only increases the difficulty of device understanding, but may also cause misoperation, which in turn affects the user experience.

[0003] Current smart home systems usually rely on simple rule matching or limited context analysis when processing such fuzzy control instructions with fuzzy intentions. When faced with more complex fuzzy control instructions, they are unable to provide sufficiently intelligent responses, resulting in a decline in user experience.

[0004] Therefore, how to improve the smart home system's ability to understand and execute fuzzy control instructions is an urgent problem to be solved in this field. Summary of the invention

[0005] The embodiment of the present application provides a control method for a smart home device to solve the problem of how to improve the smart home system's ability to understand and execute fuzzy control instructions.

[0006] Correspondingly, the embodiments of the present application also provide a control device for a smart home device, an electronic device and a storage medium to ensure the implementation and application of the above method.

[0007] In order to solve the above problems, the present application discloses a control method for a smart home device, the method comprising:

[0008] Receive device control instructions;

[0009] Matching the target fuzzy control instruction corresponding to the device control instruction;

[0010] Acquire target historical operation data corresponding to the target fuzzy control instruction;

[0011] Determine the target smart home device and the target control mode corresponding to the target fuzzy control instruction from the target historical operation data;

[0012] The target smart home device is controlled using the target control method.

[0013] In an optional embodiment of the present application, the method includes:

[0014] Collecting the device control instruction and the context corresponding to the device control instruction;

[0015] According to the device control instruction and the context corresponding to the device control instruction, determining whether the target smart home device and the target control mode can be determined according to the device control instruction, and whether an error occurs when executing the device control instruction;

[0016] If the target smart home device and the target control mode cannot be determined according to the device control instruction, or an error occurs when executing the device control instruction, the device control instruction is used as a fuzzy control instruction;

[0017] The fuzzy control instruction is stored.

[0018] In an optional embodiment of the present application, the storing the fuzzy control instruction includes:

[0019] Calculating the semantic similarity between the fuzzy control instructions;

[0020] Classifying the fuzzy control instructions according to the semantic similarity to obtain the classified fuzzy control instructions;

[0021] The classified fuzzy control instructions are stored.

[0022] In an optional embodiment of the present application, the storing the fuzzy control instruction includes:

[0023] Collecting historical operation data corresponding to the fuzzy control instructions;

[0024] The historical operation data and the fuzzy control instructions are stored in association.

[0025] In an optional embodiment of the present application, after receiving the device control instruction, the method further includes:

[0026] The device control instruction is identified to obtain a control text.

[0027] In an optional embodiment of the present application, the matching of the target fuzzy control instruction corresponding to the device control instruction includes:

[0028] Comparing the control text with the fuzzy control instruction to obtain a comparison result;

[0029] According to the comparison result, a target fuzzy control instruction corresponding to the device control instruction is determined from the fuzzy control instructions.

[0030] In an optional embodiment of the present application, after acquiring the target historical operation data corresponding to the target fuzzy control instruction, the method further includes:

[0031] According to the target fuzzy control instruction, the target historical operation data is screened to obtain the screened target historical operation data;

[0032] The filtered target historical operation data is sorted according to preset sorting factors to obtain sorted target historical operation data.

[0033] In an optional embodiment of the present application, determining the target smart home device and the target control mode corresponding to the target fuzzy control instruction from the target historical operation data includes:

[0034] Analyze the sorted target historical operation data to obtain analysis data;

[0035] According to the analysis data, the target smart home device and the target control method corresponding to the target fuzzy control instruction are determined from the sorted target historical operation data.

[0036] In an optional embodiment of the present application, the method further includes:

[0037] If the target fuzzy control instruction corresponding to the device control instruction cannot be determined from the fuzzy control instruction, the device control instruction is used as a regular control instruction;

[0038] Determine the target smart home device and the target control method corresponding to the conventional control instruction;

[0039] The target smart home device is controlled using the target control method.

[0040] The present application also discloses a control device for a smart home device, the device comprising:

[0041] A control instruction receiving module, used for receiving device control instructions;

[0042] A fuzzy instruction matching module, used for matching a target fuzzy control instruction corresponding to the device control instruction;

[0043] A historical data acquisition module, used to acquire target historical operation data corresponding to the target fuzzy control instruction;

[0044] A control data determination module, used to determine the target smart home device and the target control mode corresponding to the target fuzzy control instruction from the target historical operation data;

[0045] The target device control module is used to control the target smart home device using the target control method.

[0046] In an optional embodiment of the present application, the device includes:

[0047] A control instruction collection module, used to collect the device control instructions and the context corresponding to the device control instructions;

[0048] A fuzzy instruction judgment module, used to judge whether the target smart home device and the target control mode can be determined according to the device control instruction and the context corresponding to the device control instruction, and whether an error occurs when executing the device control instruction;

[0049] A fuzzy instruction definition module, used for treating the device control instruction as a fuzzy control instruction if the target smart home device and the target control mode cannot be determined according to the device control instruction, or an error occurs when executing the device control instruction;

[0050] The fuzzy instruction storage module is used to store the fuzzy control instructions.

[0051] In an optional embodiment of the present application, the fuzzy instruction storage module includes:

[0052] A similarity calculation submodule, used for calculating the semantic similarity between the fuzzy control instructions;

[0053] A fuzzy instruction classification submodule, used for classifying the fuzzy control instructions according to the semantic similarity to obtain the classified fuzzy control instructions;

[0054] The classification instruction storage submodule is used to store the classified fuzzy control instructions.

[0055] In an optional embodiment of the present application, the fuzzy instruction storage module includes:

[0056] An operation data collection submodule, used for collecting historical operation data corresponding to the fuzzy control instructions;

[0057] The associated storage submodule is used to associate and store the historical operation data with the fuzzy control instructions.

[0058] In an optional embodiment of the present application, the device further includes:

[0059] The speech recognition module is used to recognize the device control instruction and obtain the control text.

[0060] In an optional embodiment of the present application, the fuzzy instruction matching module includes:

[0061] An instruction comparison submodule is used to compare the control text with the fuzzy control instruction to obtain a comparison result;

[0062] The fuzzy instruction determination submodule is used to determine the target fuzzy control instruction corresponding to the device control instruction from the fuzzy control instructions according to the comparison result.

[0063] In an optional embodiment of the present application, the device further includes:

[0064] A historical data screening module, used for screening the target historical operation data according to the target fuzzy control instruction to obtain the screened target historical operation data;

[0065] The historical data sorting module is used to sort the filtered target historical operation data according to preset sorting factors to obtain sorted target historical operation data.

[0066] In an optional embodiment of the present application, the control data determination module includes:

[0067] A historical data analysis submodule, used to analyze the sorted target historical operation data to obtain analysis data;

[0068] The historical data determination submodule is used to determine the target smart home device and the target control method corresponding to the target fuzzy control instruction from the sorted target historical operation data according to the analysis data.

[0069] In an optional embodiment of the present application, the device further includes:

[0070] A conventional instruction determination module, configured to use the device control instruction as a conventional control instruction if the target fuzzy control instruction corresponding to the device control instruction cannot be determined from the fuzzy control instruction;

[0071] A conventional control target determination module, used to determine the target smart home device and the target control mode corresponding to the conventional control instruction;

[0072] A conventional control module is used to control the target smart home device using the target control method.

[0073] An embodiment of the present application also discloses an electronic device, including: a processor; and a memory, on which executable code is stored. When the executable code is executed, the processor executes a control method for a smart home device as described in one or more of the embodiments of the present application.

[0074] The embodiments of the present application also disclose one or more machine-readable media on which executable codes are stored. When the executable codes are executed, the processor executes the control method of the smart home device as described in one or more of the embodiments of the present application.

[0075] Compared with the prior art, the embodiments of the present application have the following advantages:

[0076] In an embodiment of the present application, a device control instruction is received; a target fuzzy control instruction corresponding to the device control instruction is matched; target historical operation data corresponding to the target fuzzy control instruction is obtained; a target smart home device and a target control method corresponding to the target fuzzy control instruction are determined from the target historical operation data; and the target smart home device is controlled using the target control method. The embodiment of the present application matches the device control instruction with a limited number of predefined fuzzy control instructions, and determines the most likely target control method and target smart home device in the historical operation data. By analyzing the historical operation data, the user's control habits are better understood, thereby providing a target control method and target smart home device that better meets the user's needs, effectively improving the user experience, significantly improving the smart home system's understanding and execution accuracy of device control instructions containing fuzzy intentions, and reducing control errors caused by fuzzy instructions. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 It is a flowchart of the steps of an embodiment of a control method for a smart home device of the present application;

[0078] Figure 2 It is a flowchart of an embodiment of a control method for a smart home device of the present application;

[0079] Figure 3 It is a structural block diagram of an embodiment of a control device for a smart home device of the present application;

[0080] Figure 4 It is a schematic diagram of the structure of a device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0081] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0082] Reference Figure 1 , is a flowchart of a control method embodiment of a smart home device of the present application, comprising the following steps:

[0083] Step 101: Receive device control instructions.

[0084] A control method of a smart home device in an embodiment of the present application can be applied to a smart home system, which includes several smart home devices. The smart home system can receive a device control instruction in the form of voice from a user, and control a target smart home device according to a target control method in the device control instruction.

[0085] In step 101 of this embodiment, the smart home system first receives a device control instruction in the form of voice issued by a user.

[0086] Step 102: Match the target fuzzy control instruction corresponding to the device control instruction.

[0087] In the embodiment of the present application, a limited number of fuzzy control instructions may be pre-determined in the smart home system, such as "a little cold", "a little hot", "too bright", "too dark", etc. In an optional embodiment, several most common fuzzy control instructions may be determined by analyzing and summarizing a large number of device control instructions of user voices, and clearly defined and classified and stored in the smart home system.

[0088] In one embodiment, when the user uses the device daily, the device control instructions used by the user and the context corresponding to the device control instructions can be collected, that is, the context of the user's conversation with the smart home system when issuing the device control instruction. According to the device control instruction and the context corresponding to the device control instruction, it is determined whether the target smart home device and the target control method can be determined according to the device control instruction, and whether an error occurs when executing the device control instruction, so as to determine whether the device control instruction can be defined as a fuzzy control instruction. If the target smart home device and the target control method cannot be determined according to the device control instruction, or an error occurs when executing the device control instruction, the device control instruction is treated as a fuzzy control instruction and stored.

[0089] In step 102 of this embodiment, the received device control instruction is matched with the pre-stored fuzzy control instruction. If a target fuzzy control instruction matching the device control instruction can be obtained, the device control instruction can be determined as a device control instruction containing fuzzy intent; if the target fuzzy control instruction cannot be matched, the device control instruction can be determined as a regular control instruction.

[0090] Step 103: Acquire the target historical operation data corresponding to the target fuzzy control instruction.

[0091] In the embodiment of the present application, the fuzzy control instructions in the smart home system are stored in association with the corresponding historical operation data. Therefore, in step 103, after matching the target fuzzy control instruction corresponding to the device control instruction, the target historical operation data stored in association with the target fuzzy control instruction can be obtained.

[0092] Step 104: Determine the target smart home device and target control method corresponding to the target fuzzy control instruction from the target historical operation data.

[0093] In step 104, the target historical operation data is analyzed, and the target smart home device and the target control method corresponding to the target fuzzy control instruction are determined from the target historical operation data to clarify the control intention of the device control instruction.

[0094] In one embodiment, after determining the target fuzzy control instruction, the historical operation data corresponding to the target fuzzy control instruction can be screened and sorted, so as to determine the target smart home device and the target control method corresponding to the target fuzzy control instruction. After searching the historical database for the target historical operation data that matches the target fuzzy control instruction, the target historical operation data can be screened according to factors such as time sequence and control device type to obtain the screened target historical operation data. For example, it can be set to filter out the target historical operation data after a preset time, or to filter out the target historical operation data that controls a preset device type, etc. Then, the screened target historical operation data is sorted according to the preset sorting factors to obtain the sorted target historical operation data. After obtaining the pre-processed target historical operation data, the target historical data is also analyzed to determine the target smart home device and the target control method corresponding to the device control instruction.

[0095] Step 105: Control the target smart home device using the target control method.

[0096] In step 105, since the control intent of the device control instruction has been clarified, that is, the target smart home device and the target control method corresponding to the device control instruction have been clarified, the target smart home device can be controlled by the target control method. For example, if the target smart home device is an air conditioner and the target control method is to lower the temperature, the operation of lowering the air conditioner temperature is performed; if the target smart home device is an air conditioner and the target control method is to turn off the device, the operation of turning off the air conditioner is performed.

[0097] In an embodiment of the present application, a device control instruction is received; a target fuzzy control instruction corresponding to the device control instruction is matched; target historical operation data corresponding to the target fuzzy control instruction is obtained; a target smart home device and a target control method corresponding to the target fuzzy control instruction are determined from the target historical operation data; and the target smart home device is controlled using the target control method. The embodiment of the present application matches the device control instruction with a limited number of predefined fuzzy control instructions, and determines the most likely target control method and target smart home device in the historical operation data. By analyzing the historical operation data, the user's control habits are better understood, thereby providing a target control method and target smart home device that better meets the user's needs, effectively improving the user experience, significantly improving the smart home system's understanding and execution accuracy of device control instructions containing fuzzy intentions, and reducing control errors caused by fuzzy instructions.

[0098] In an optional embodiment of the present application, the method includes:

[0099] Collecting the device control instruction and the context corresponding to the device control instruction;

[0100] According to the device control instruction and the context corresponding to the device control instruction, determining whether the target smart home device and the target control mode can be determined according to the device control instruction, and whether an error occurs when executing the device control instruction;

[0101] If the target smart home device and the target control mode cannot be determined according to the device control instruction, or an error occurs when executing the device control instruction, the device control instruction is used as a fuzzy control instruction;

[0102] The fuzzy control instruction is stored.

[0103] In this embodiment, a limited set of fuzzy control instructions may be determined by combining common fuzzy expressions of users and device control requirements.

[0104] Specifically, when the user uses the device on a daily basis, the device control instructions used by the user and the context corresponding to the device control instructions are collected, that is, the context of the user's conversation with the smart home system when issuing the device control instruction. According to the device control instruction and the context corresponding to the device control instruction, it is determined whether the target smart home device and the target control method can be determined according to the device control instruction, and whether an error occurs when executing the device control instruction, so as to determine whether the device control instruction can be defined as a fuzzy control instruction. If the target smart home device and the target control method cannot be determined according to the device control instruction, or an error occurs when executing the device control instruction, the device control instruction is treated as a fuzzy control instruction and stored.

[0105] In one example, the target smart home devices corresponding to device control instructions such as "turn up a little", "turn down a little", "it's too cold" can be fans, air conditioners, etc., and the corresponding target control methods can be increasing the temperature, reducing the wind speed, changing the mode, etc. Such device control instructions with unclear intentions and unable to determine the target smart home devices and target control methods can be defined as fuzzy control instructions.

[0106] When the system cannot accurately control the smart home device according to such fuzzy control instructions, or when the fuzzy control instructions are executed incorrectly, the system will generally enter multiple rounds of dialogue selection and prompt the user to control the device again. For example, for the fuzzy control instruction "turn it up a little bit", the system can prompt the user that the system cannot understand the instruction or ask the user what to turn up specifically, and the user can then say "turn up the temperature" and continue the dialogue until the intention of the fuzzy control instruction is clear.

[0107] Therefore, when fuzzy control instructions are stored in advance, it is possible to determine whether the device control instruction is a fuzzy control instruction based on the device control instruction used by the user and the context corresponding to the device control instruction. At the same time, it is also possible to statistically determine the frequency based on the context corresponding to the device control instruction to determine that the fuzzy control instruction is likely to correspond to the device operation of adjusting the temperature, thereby clarifying the intentions of some fuzzy control instructions with similar meanings.

[0108] The embodiment of the present application collects and defines fuzzy control instructions in advance, so that the subsequent smart home system processes the fuzzy control instructions more efficiently and accurately, and reduces the complexity and calculation amount of processing fuzzy control instructions by the smart home system.

[0109] In an optional embodiment of the present application, when the fuzzy control instruction is determined in advance, storing the fuzzy control instruction includes:

[0110] Calculating the semantic similarity between the fuzzy control instructions;

[0111] Classifying the fuzzy control instructions according to the semantic similarity to obtain the classified fuzzy control instructions;

[0112] The classified fuzzy control instructions are stored.

[0113] When pre-storing fuzzy control instructions, this embodiment needs to classify these fuzzy control instructions so as to determine the intentions corresponding to a series of fuzzy control instructions with similar meanings. When the device control instruction matches the target fuzzy control instruction, the historical operation data can be filtered according to the intention corresponding to the target fuzzy control instruction.

[0114] Specifically, the fuzzy control instructions are classified into one category, that is, the fuzzy control instructions with similar semantics are classified into one category, for example, "too cold", "a little cold", etc. can be classified into one category; "lower a little", "lower a little", etc. can be classified into one category. First, the semantic similarity between the fuzzy control instructions is calculated, and then the fuzzy control instructions are classified according to the semantic similarity, and the classified fuzzy control instructions are obtained and stored.

[0115] In one example, fuzzy control instructions with semantic similarity higher than a certain threshold may be classified into one category.

[0116] The embodiment of the present application classifies the collected fuzzy control instructions in advance, so as to determine the intentions corresponding to a series of fuzzy control instructions with similar meanings, which are used in the subsequent step of screening the historical operation data corresponding to the target fuzzy control instruction.

[0117] In an optional embodiment of the present application, when the fuzzy control instruction is determined in advance, storing the fuzzy control instruction may further include:

[0118] Collecting historical operation data corresponding to the fuzzy control instructions;

[0119] The historical operation data and the fuzzy control instructions are stored in association.

[0120] In this embodiment, when storing fuzzy control instructions, a data acquisition module can be set in the smart home system to record the device control operations of the user after issuing the fuzzy control instructions, including the type of controlled device, specific control parameters (such as temperature adjustment range, brightness adjustment level, etc.) and control time and other information, as historical operation data corresponding to the fuzzy control instruction, which is associated with the fuzzy control instruction and stored in the historical database for subsequent analysis and matching.

[0121] The embodiment of the present application collects historical operation data corresponding to fuzzy control instructions and stores them in association with the fuzzy control instructions, so as to subsequently determine the target control method and target smart home device with the highest probability corresponding to the target fuzzy control instruction in the historical operation data.

[0122] In an optional embodiment of the present application, after step 101, the method further includes:

[0123] The device control instruction is identified to obtain a control text.

[0124] In this embodiment, after receiving the device control instruction in the form of voice issued by the user, the device control instruction can be recognized by voice recognition technology to obtain the control text corresponding to the device control instruction.

[0125] The embodiment of the present application converts the device control instruction in voice form into control text in text form for subsequent instruction matching operations.

[0126] In an optional embodiment of the present application, step 102 includes:

[0127] Comparing the control text with the fuzzy control instruction to obtain a comparison result;

[0128] According to the comparison result, a target fuzzy control instruction corresponding to the device control instruction is determined from the fuzzy control instructions.

[0129] In this embodiment, the target fuzzy control instruction corresponding to the device control instruction can be matched according to the control text. The control text is compared with the predetermined fuzzy control instruction to obtain a comparison result, and the target fuzzy control instruction corresponding to the device control instruction is determined from the fuzzy control instruction according to the comparison result. If a target fuzzy control instruction matching the device control instruction can be obtained, the device control instruction can be determined as a device control instruction containing fuzzy intent; if the target fuzzy control instruction cannot be matched, the device control instruction can be determined as a conventional control instruction, and the two are subsequently processed in different ways.

[0130] In one embodiment, a natural language processing model can be used to construct a text classification task to match the target fuzzy control instructions, such as BERT (Bidirectional Encoder Representations from Transformers), LSTM (Long Short-Term Memory), TextCNN (Text Convolutional Neural Network) and other models; keyword matching can also be used to match the target fuzzy control instructions.

[0131] The embodiment of the present application compares the control text with the fuzzy control instruction, determines the target fuzzy control instruction corresponding to the device control instruction from the fuzzy control instruction, and then performs subsequent operations of determining the target smart home device and the target control method.

[0132] In an optional embodiment of the present application, after step 103, the method further includes:

[0133] According to the target fuzzy control instruction, the target historical operation data is screened to obtain the screened target historical operation data;

[0134] The filtered target historical operation data is sorted according to preset sorting factors to obtain sorted target historical operation data.

[0135] In this embodiment, after the target fuzzy control instruction is determined, the historical operation data corresponding to the target fuzzy control instruction may be screened and sorted.

[0136] Specifically, after searching the target historical operation data matching the target fuzzy control instruction in the historical database, the target historical operation data can be filtered according to factors such as time sequence and control device type to obtain the filtered target historical operation data. For example, the target historical operation data after a preset time can be filtered out, or the target historical operation data controlling a preset device type can be filtered out.

[0137] Then, the filtered target historical operation data is sorted according to the preset sorting factors to obtain sorted target historical operation data. In an example, the preset sorting factors may be time sequence, control device type, and other factors.

[0138] The specific screening factors and sorting factors corresponding to the target historical operation data shown in this embodiment are all examples. In actual operation, the screening factors and sorting factors corresponding to the target historical operation data can be set according to the user's personal habits. The embodiment of the present application does not impose any restrictions on the setting method and specific setting content of the screening factors and sorting factors corresponding to the target historical operation data.

[0139] The embodiment of the present application screens and sorts the historical operation data corresponding to the target fuzzy control instruction, providing data preparation for the subsequent determination of the target smart home device and the target control method.

[0140] In an optional embodiment of the present application, step 104 includes:

[0141] Analyze the sorted target historical operation data to obtain analysis data;

[0142] According to the analysis data, the target smart home device and the target control method corresponding to the target fuzzy control instruction are determined from the sorted target historical operation data.

[0143] In this embodiment, after obtaining the pre-processed target historical operation data, the target historical data is analyzed to determine the target smart home device and the target control method corresponding to the device control instruction.

[0144] Specifically, the sorted target historical operation data is analyzed to obtain analysis data, and based on the analysis data, the target smart home device and the target control method corresponding to the target fuzzy control instruction are determined from the sorted target historical operation data.

[0145] In one embodiment, the frequency and trend of the sorted target historical operation data may be analyzed to determine the most likely target smart home device and target control method.

[0146] For example, if the target fuzzy control instruction is "a bit cold", then during preprocessing, relevant historical operation data that can increase the temperature can be screened from the corresponding historical operation data, and further frequency analysis of these historical operation data can be performed to obtain the most likely target smart home device and target control method. For example, 80% of the historical operation data increases the air-conditioning temperature. In the current situation, increasing the air-conditioning temperature is determined to be the most likely target smart home device and target control method, and increasing the air-conditioning temperature can be used as the target smart home device and target control method.

[0147] The specific basis for analyzing the target historical operation data shown in the embodiments of the present application, as well as the specific method for determining the target smart home device and the target control method corresponding to the target fuzzy control instruction based on the analysis data, can be set according to actual needs, and the embodiments of the present application do not impose any restrictions on this.

[0148] In an optional embodiment of the present application, the method further includes:

[0149] If the target fuzzy control instruction corresponding to the device control instruction cannot be determined from the fuzzy control instruction, the device control instruction is used as a regular control instruction;

[0150] Determine the target smart home device and the target control method corresponding to the conventional control instruction;

[0151] The target smart home device is controlled using the target control method.

[0152] In this embodiment, if the device control instruction issued by the user is not a fuzzy control instruction, the device control can be performed in accordance with the processing method of a conventional control instruction.

[0153] Specifically, if the target fuzzy control instruction corresponding to the device control instruction cannot be determined from the fuzzy control instruction, the device control instruction can be treated as a conventional control instruction and processed according to the process of the conventional control instruction. The target smart home device and the target control method corresponding to the conventional control instruction are directly determined from the conventional control instruction, and the target smart home device is controlled by using the target control method.

[0154] When the embodiment of the present application determines that the device control instruction is a regular control instruction, the device control can be performed according to the processing method of the regular control instruction, thereby improving the user experience.

[0155] In an embodiment of the present application, a device control instruction is received; a target fuzzy control instruction corresponding to the device control instruction is matched; target historical operation data corresponding to the target fuzzy control instruction is obtained; a target smart home device and a target control method corresponding to the target fuzzy control instruction are determined from the target historical operation data; and the target smart home device is controlled using the target control method. The embodiment of the present application matches the device control instruction with a limited number of predefined fuzzy control instructions, and determines the most likely target control method and target smart home device in the historical operation data. By analyzing the historical operation data, the user's control habits are better understood, thereby providing a target control method and target smart home device that better meets the user's needs, effectively improving the user experience, significantly improving the smart home system's understanding and execution accuracy of device control instructions containing fuzzy intentions, and reducing control errors caused by fuzzy instructions.

[0156] In order to enable those skilled in the art to better understand the control method of a smart home device shown in an embodiment of the present application, the detailed process of an embodiment of a control method of a smart home device will be presented below.

[0157] Reference Figure 2 , is a flow chart of an embodiment of a control method for a smart home device of the present application.

[0158] Step 201: Receive a voice command from a user.

[0159] Step 202: Convert the voice command into text form through voice recognition technology, and then compare the text with the predefined fuzzy intent to determine whether it is a fuzzy intent. If so, jump to step 203; if not, process it according to the normal instruction.

[0160] Step 203: Search the history database for historical control operations that match the current fuzzy intention. The operations may be filtered and sorted according to factors such as time sequence and control device type.

[0161] Step 204: Analyze the frequency and trend of historical control operations to determine the most likely control instruction.

[0162] Step 205: According to the determined control instruction, a control signal is sent to the corresponding device through wireless communication technology. After receiving the control signal, the device performs a corresponding operation, such as raising the temperature, turning off the air conditioner, etc.

[0163] In an embodiment of the present application, a device control instruction is received; a target fuzzy control instruction corresponding to the device control instruction is matched; target historical operation data corresponding to the target fuzzy control instruction is obtained; a target smart home device and a target control method corresponding to the target fuzzy control instruction are determined from the target historical operation data; and the target smart home device is controlled using the target control method. The embodiment of the present application matches the device control instruction with a limited number of predefined fuzzy control instructions, and determines the most likely target control method and target smart home device in the historical operation data. By analyzing the historical operation data, the user's control habits are better understood, thereby providing a target control method and target smart home device that better meets the user's needs, effectively improving the user experience, significantly improving the smart home system's understanding and execution accuracy of device control instructions containing fuzzy intentions, and reducing control errors caused by fuzzy instructions.

[0164] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0165] On the basis of the above embodiments, this embodiment further provides a control device for a smart home device, which is applied to electronic devices such as terminal devices and servers.

[0166] Reference Figure 3 , shows a structural block diagram of an embodiment of a control device for a smart home device of the present application, which may specifically include the following modules:

[0167] A control instruction receiving module 301 is used to receive device control instructions;

[0168] A fuzzy instruction matching module 302 is used to match a target fuzzy control instruction corresponding to the device control instruction;

[0169] A historical data acquisition module 303 is used to acquire target historical operation data corresponding to the target fuzzy control instruction;

[0170] A control data determination module 304 is used to determine the target smart home device and the target control mode corresponding to the target fuzzy control instruction from the target historical operation data;

[0171] The target device control module 305 is used to control the target smart home device using the target control method.

[0172] In an optional embodiment of the present application, the device includes:

[0173] A control instruction collection module, used to collect the device control instructions and the context corresponding to the device control instructions;

[0174] A fuzzy instruction judgment module, used to judge whether the target smart home device and the target control mode can be determined according to the device control instruction and the context corresponding to the device control instruction, and whether an error occurs when executing the device control instruction;

[0175] A fuzzy instruction definition module, used for treating the device control instruction as a fuzzy control instruction if the target smart home device and the target control mode cannot be determined according to the device control instruction, or an error occurs when executing the device control instruction;

[0176] The fuzzy instruction storage module is used to store the fuzzy control instructions.

[0177] In an optional embodiment of the present application, the fuzzy instruction storage module includes:

[0178] A similarity calculation submodule, used for calculating the semantic similarity between the fuzzy control instructions;

[0179] A fuzzy instruction classification submodule, used for classifying the fuzzy control instructions according to the semantic similarity to obtain the classified fuzzy control instructions;

[0180] The classification instruction storage submodule is used to store the classified fuzzy control instructions.

[0181] In an optional embodiment of the present application, the fuzzy instruction storage module includes:

[0182] An operation data collection submodule, used for collecting historical operation data corresponding to the fuzzy control instructions;

[0183] The associated storage submodule is used to associate and store the historical operation data with the fuzzy control instructions.

[0184] In an optional embodiment of the present application, the device further includes:

[0185] The speech recognition module is used to recognize the device control instruction and obtain the control text.

[0186] In an optional embodiment of the present application, the fuzzy instruction matching module 302 includes:

[0187] An instruction comparison submodule is used to compare the control text with the fuzzy control instruction to obtain a comparison result;

[0188] The fuzzy instruction determination submodule is used to determine the target fuzzy control instruction corresponding to the device control instruction from the fuzzy control instructions according to the comparison result.

[0189] In an optional embodiment of the present application, the device further includes:

[0190] A historical data screening module, used for screening the target historical operation data according to the target fuzzy control instruction to obtain the screened target historical operation data;

[0191] The historical data sorting module is used to sort the filtered target historical operation data according to preset sorting factors to obtain sorted target historical operation data.

[0192] In an optional embodiment of the present application, the control data determination module 304 includes:

[0193] A historical data analysis submodule, used to analyze the sorted target historical operation data to obtain analysis data;

[0194] The historical data determination submodule is used to determine the target smart home device and the target control method corresponding to the target fuzzy control instruction from the sorted target historical operation data according to the analysis data.

[0195] In an optional embodiment of the present application, the device further includes:

[0196] A conventional instruction determination module, configured to use the device control instruction as a conventional control instruction if the target fuzzy control instruction corresponding to the device control instruction cannot be determined from the fuzzy control instruction;

[0197] A conventional control target determination module, used to determine the target smart home device and the target control mode corresponding to the conventional control instruction;

[0198] A conventional control module is used to control the target smart home device using the target control method.

[0199] In an embodiment of the present application, a device control instruction is received; a target fuzzy control instruction corresponding to the device control instruction is matched; target historical operation data corresponding to the target fuzzy control instruction is obtained; a target smart home device and a target control method corresponding to the target fuzzy control instruction are determined from the target historical operation data; and the target smart home device is controlled using the target control method. The embodiment of the present application matches the device control instruction with a limited number of predefined fuzzy control instructions, and determines the most likely target control method and target smart home device in the historical operation data. By analyzing the historical operation data, the user's control habits are better understood, thereby providing a target control method and target smart home device that better meets the user's needs, effectively improving the user experience, significantly improving the smart home system's understanding and execution accuracy of device control instructions containing fuzzy intentions, and reducing control errors caused by fuzzy instructions.

[0200] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.

[0201] The present application embodiment provides one or more machine-readable media on which instructions are stored, and when executed by one or more processors, an electronic device executes one or more of the methods described in the above embodiments. In the present application embodiment, the electronic device includes various types of devices such as terminal devices and servers (clusters).

[0202] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as terminal devices and servers (clusters). Figure 4 An exemplary apparatus 400 that may be used to implement various embodiments described in this application is schematically illustrated.

[0203] For one embodiment, Figure 4 An exemplary apparatus 400 is shown having one or more processors 402, a control module (chip set) 404 incorporated into at least one of the processor(s) 402, a memory 406 coupled to the control module 404, a non-volatile memory (NVM) / storage device 408 coupled to the control module 404, one or more input / output devices 410 coupled to the control module 404, and a network interface 412 coupled to the control module 404.

[0204] The processor 402 may include one or more single-core or multi-core processors, and the processor 402 may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 400 can be used as a terminal device, server (cluster), etc. described in the embodiments of the present application.

[0205] In some embodiments, the apparatus 400 may include one or more computer-readable media (e.g., memory 406 or NVM / storage device 408) having instructions 414 and one or more processors 402 combined with the one or more computer-readable media and configured to execute the instructions 414 to implement a module to perform the actions described in the present disclosure.

[0206] For one embodiment, control module 404 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 402 and / or any suitable device or component in communication with control module 404 .

[0207] The control module 404 may include a memory controller module to provide an interface to the memory 406. The memory controller module may be a hardware module, a software module, and / or a firmware module.

[0208] The memory 406 may be used, for example, to load and store data and / or instructions 414 for the device 400. For one embodiment, the memory 406 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 406 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).

[0209] For one embodiment, control module 404 may include one or more input / output controllers to provide interfaces to NVM / storage device 408 and input / output device(s) 410 .

[0210] For example, NVM / storage 408 may be used to store data and / or instructions 414. NVM / storage 408 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).

[0211] NVM / storage device 408 may include storage resources that are physically part of the device on which apparatus 400 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 408 may be accessed via input / output device(s) 410 over a network.

[0212] (One or more) input / output devices 410 may provide an interface for the apparatus 400 to communicate with any other appropriate device, and the input / output device 410 may include a communication component, an audio component, a sensor component, etc. The network interface 412 may provide an interface for the apparatus 400 to communicate through one or more networks, and the apparatus 400 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, accessing a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.

[0213] For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 404. For one embodiment, at least one of the processor(s) 402 may be packaged together with the logic of one or more controllers of the control module 404 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404. For one embodiment, at least one of the processor(s) 402 may be integrated on the same die with the logic of one or more controllers of the control module 404 to form a system-on-chip (SoC).

[0214] In various embodiments, the device 400 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 400 may have more or fewer components and / or different architectures. For example, in some embodiments, the device 400 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.

[0215] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in a memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.

[0216] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0217] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0218] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable smart home device control terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable smart home device control terminal device generate instructions for implementing the processes in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0219] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable smart home device control terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0220] These computer program instructions can also be loaded onto a computer or other programmable smart home device control terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0221] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0222] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0223] The above is a detailed introduction to a control method and device for a smart home device, an electronic device and a storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for a person skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A control method for a smart home device, characterized in that: The method comprises: Receive device control instructions; Matching the target fuzzy control instruction corresponding to the device control instruction; Acquire target historical operation data corresponding to the target fuzzy control instruction; Determine the target smart home device and the target control mode corresponding to the target fuzzy control instruction from the target historical operation data; The target smart home device is controlled using the target control method.

2. The method according to claim 1, characterized in that The method comprises: Collecting the device control instruction and the context corresponding to the device control instruction; According to the device control instruction and the context corresponding to the device control instruction, determining whether the target smart home device and the target control mode can be determined according to the device control instruction, and whether an error occurs when executing the device control instruction; If the target smart home device and the target control mode cannot be determined according to the device control instruction, or an error occurs when executing the device control instruction, the device control instruction is used as a fuzzy control instruction; The fuzzy control instruction is stored.

3. The method according to claim 2, characterized in that The storing of the fuzzy control instruction comprises: Calculating the semantic similarity between the fuzzy control instructions; Classifying the fuzzy control instructions according to the semantic similarity to obtain the classified fuzzy control instructions; The classified fuzzy control instructions are stored.

4. The method according to claim 2, characterized in that: The storing of the fuzzy control instruction comprises: Collecting historical operation data corresponding to the fuzzy control instructions; The historical operation data and the fuzzy control instructions are stored in association.

5. The method according to claim 1, characterized in that After receiving the device control instruction, the method further includes: The device control instruction is identified to obtain a control text.

6. The method according to claim 5, characterized in that The matching of the target fuzzy control instruction corresponding to the device control instruction includes: Comparing the control text with the fuzzy control instruction to obtain a comparison result; According to the comparison result, a target fuzzy control instruction corresponding to the device control instruction is determined from the fuzzy control instructions.

7. The method according to claim 1, characterized in that After acquiring the target historical operation data corresponding to the target fuzzy control instruction, the method further includes: According to the target fuzzy control instruction, the target historical operation data is screened to obtain the screened target historical operation data; The filtered target historical operation data is sorted according to preset sorting factors to obtain sorted target historical operation data.

8. The method according to claim 7, characterized in that The step of determining the target smart home device and the target control method corresponding to the target fuzzy control instruction from the target historical operation data includes: Analyze the sorted target historical operation data to obtain analysis data; According to the analysis data, the target smart home device and the target control method corresponding to the target fuzzy control instruction are determined from the sorted target historical operation data.

9. The method according to claim 6, characterized in that The method further comprises: If the target fuzzy control instruction corresponding to the device control instruction cannot be determined from the fuzzy control instruction, the device control instruction is used as a regular control instruction; Determine the target smart home device and the target control method corresponding to the conventional control instruction; The target smart home device is controlled using the target control method.

10. A control device for a smart home device, characterized in that: The device comprises: A control instruction receiving module, used for receiving device control instructions; A fuzzy instruction matching module, used for matching a target fuzzy control instruction corresponding to the device control instruction; A historical data acquisition module, used to acquire target historical operation data corresponding to the target fuzzy control instruction; A control data determination module, used to determine the target smart home device and the target control mode corresponding to the target fuzzy control instruction from the target historical operation data; The target device control module is used to control the target smart home device using the target control method.

11. An electronic device, characterized in that: include: processor; and A memory having executable codes stored thereon, which, when executed, enables the processor to execute the control method of the smart home device as described in one or more of claims 1-9.

12. One or more machine-readable media having executable codes stored thereon, which, when executed, enable a processor to execute the method for controlling a smart home device as claimed in one or more of claims 1-9.

Citation Information

Patent Citations

  • Voice control method, smart home system, storage medium and computer device

    CN107908116A

  • Terminal control method, device and equipment and readable medium

    CN110970022A

  • Intelligent voice sofa control system

    CN113571055A

  • Smart home equipment control method and device, and electronic equipment

    CN115421396A

  • Equipment control method and device, storage medium and electronic device

    CN115482820A