Smart home control method and apparatus, computer device, and medium

By recognizing and analyzing user voice data, the system automatically identifies and controls smart devices, solving the problem of manual operation required in existing technologies and improving the convenience and accuracy of smart home control.

CN114609920BActive Publication Date: 2026-04-10HISENSE VISUAL TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-18
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing smart home control methods require manual operation by users, resulting in an inconvenient user experience.

Method used

By recognizing user voice data, function categories and control commands are obtained, a set of candidate devices is determined using a pre-established smart device information table, and the target device is automatically controlled to execute commands.

Benefits of technology

It enables smart home control without manual user intervention, improving user experience and the intelligence and accuracy of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114609920B_ABST
    Figure CN114609920B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a smart home control method and device, computer equipment and medium, especially relates to the technical field of smart home; wherein the method comprises: recognizing voice data of a user to obtain corresponding control information, the control information comprising a function category and a control instruction; determining a first candidate smart device set corresponding to the function category according to a pre-established smart device information table; determining a second candidate smart device set matched with the control instruction based on the function state of each candidate smart device in the first candidate smart device set; determining a target smart device matched with the control instruction from the second candidate smart device set, and controlling the target smart device to execute the control instruction. The embodiments of the present disclosure can automatically control the smart device to execute the corresponding control instruction through voice, which is convenient for the user to control and use the smart home device, and is conducive to improving the intelligence and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of smart home, and particularly relates to a smart home control method and device, computer equipment and a medium. BACKGROUND

[0002] Smart home is to connect various devices in the home, such as audio and video devices, lighting systems, curtain control, air conditioning control, digital theater systems, video and audio servers and network home appliances, together through the Internet of Things technology, to provide home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, heating control, infrared conversion and programmable timing control and other functions. Smart home not only has traditional use functions, but also has network communication, information home appliances and device automation, and can provide all-round information interaction functions and energy saving.

[0003] In the traditional way, triggering smart home operation often needs to enter the application program of the smart home APP for manual operation, manually set the operation scene of the smart device, or manually operate and control the smart device by the user, which leads to inconvenient operation and greatly reduces the user's use experience. SUMMARY

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a smart home control method and device, computer equipment and a medium, which can obtain a function category and a control instruction according to voice data of a user, and determine a target smart device that the user wants to control according to the function category and the control instruction, so that the target smart device can execute the control instruction without manual operation of the user, thereby improving the user's use experience.

[0005] In order to achieve the above purpose, the technical scheme provided by the embodiments of the present disclosure is as follows:

[0006] In a first aspect, the present disclosure provides a smart home control method, which comprises:

[0007] recognizing voice data of a user to obtain corresponding control information, the control information comprising a function category and a control instruction;

[0008] determining a first candidate smart device set corresponding to the function category according to a pre-established smart device information table;

[0009] determining a second candidate smart device set matching the control instruction based on the function state of each candidate smart device in the first candidate smart device set;

[0010] determining a target smart device matching the control instruction from the second candidate smart device set, and controlling the target smart device to execute the control instruction.

[0011] As an optional implementation of this disclosure, the step of determining a target smart device matching the control command from the second set of candidate smart devices and controlling the target smart device to execute the control command includes:

[0012] Determine the number of all target candidate smart devices included in the second set of candidate smart devices that match the control command;

[0013] Based on the relationship between the quantity and the preset threshold, the target smart device is determined from the second set of candidate smart devices, and the target smart device is controlled to execute the control command.

[0014] As an optional implementation of this disclosure, the step of determining the target smart device from the second set of candidate smart devices based on the relationship between the quantity and a preset threshold, and controlling the target smart device to execute the control command, includes:

[0015] If the total number of all target candidate smart devices is less than or equal to the preset threshold, then all target candidate smart devices included in the second set of candidate smart devices are determined as the target smart devices;

[0016] Control each target intelligent device to execute the control command respectively.

[0017] As an optional implementation of this disclosure, the method further includes:

[0018] If the total number of all target candidate smart devices is greater than the preset threshold, a first prompt message is sent, wherein the first prompt message is used to instruct the user to determine the target smart device from the second set of candidate smart devices;

[0019] Receive first response information, wherein the first response information contains first identification information corresponding to the target smart device;

[0020] The target smart device corresponding to the first identification information is controlled to execute the control command.

[0021] As an optional implementation of this disclosure, the step of recognizing the user's voice data to obtain corresponding control information includes:

[0022] The speech data is then subjected to text recognition using a speech recognition method to obtain the text information corresponding to the speech data.

[0023] The text information is semantically understood using semantic understanding methods to obtain the control information contained in the text information.

[0024] As an optional implementation of an embodiment of the present disclosure, the intelligent device information table is obtained in the following manner:

[0025] The device name, function name, function category and function state corresponding to each intelligent device included in the preset scene are obtained;

[0026] According to all the device names, function names, function categories and function states, the corresponding intelligent device information table is established or updated.

[0027] As an optional implementation of an embodiment of the present disclosure, the method further comprises:

[0028] If the first candidate intelligent device set is an empty set, or if the first candidate intelligent device set is a non-empty set and the second candidate intelligent device set is an empty set, a second prompt information is sent, wherein the second prompt information is used to instruct the user to determine the target intelligent device from a plurality of intelligent devices;

[0029] Second response information is received, wherein the second response information includes second identification information corresponding to the target intelligent device;

[0030] The target intelligent device corresponding to the second identification information is controlled to execute the control instruction.

[0031] In a second aspect, the present disclosure provides an intelligent home control device, which comprises:

[0032] A recognition module is configured to recognize voice data of a user to obtain corresponding control information, wherein the control information comprises a function category and a control instruction;

[0033] A first determination module is configured to determine a first candidate intelligent device set corresponding to the function category according to a pre-established intelligent device information table;

[0034] A second determination module is configured to determine a second candidate intelligent device set matching the control instruction based on the function state of each candidate intelligent device in the first candidate intelligent device set;

[0035] A control module is configured to determine a target intelligent device matching the control instruction from the second candidate intelligent device set, and control the target intelligent device to execute the control instruction.

[0036] As an optional implementation of an embodiment of the present disclosure, the control module comprises:

[0037] A quantity determination unit is configured to determine the number of all target candidate intelligent devices included in the second candidate intelligent device set matching the control instruction;

[0038] The device determination unit is used to determine the target smart device from the second set of candidate smart devices based on the relationship between the quantity and a preset threshold, and to control the target smart device to execute the control command.

[0039] As an optional implementation of this disclosure, the device determining unit is specifically used for:

[0040] If the total number of all target candidate smart devices is less than or equal to the preset threshold, then all target candidate smart devices included in the second set of candidate smart devices are determined as the target smart devices;

[0041] Control each target intelligent device to execute the control command respectively.

[0042] As an optional implementation of this disclosure, the device determining unit is further specifically used for:

[0043] If the total number of all target candidate smart devices is greater than the preset threshold, a first prompt message is sent, wherein the first prompt message is used to instruct the user to determine the target smart device from the second set of candidate smart devices;

[0044] Receive first response information, wherein the first response information contains first identification information corresponding to the target smart device;

[0045] The target smart device corresponding to the first identification information is controlled to execute the control command.

[0046] As an optional implementation of this disclosure, the identification module is specifically used for:

[0047] The speech data is then subjected to text recognition using a speech recognition method to obtain the text information corresponding to the speech data.

[0048] The text information is semantically understood using semantic understanding methods to obtain the control information contained in the text information.

[0049] As an optional implementation of this disclosure, the smart device information table is obtained in the following way:

[0050] Obtain the device name, function name, function category, and function status of each smart device included in the preset scenario;

[0051] Create or update the corresponding smart device information table based on all device names, function names, function categories, and function statuses.

[0052] As an optional implementation of this disclosure, the apparatus further includes:

[0053] The sending module is configured to send second prompt information if the first candidate smart device set is empty or if the first candidate smart device set is non-empty and the second candidate smart device set is empty, wherein the second prompt information is used to instruct the user to determine the target smart device from the plurality of smart devices.

[0054] The receiving module is configured to receive second response information, wherein the second response information comprises second identification information corresponding to the target smart device.

[0055] The target smart device corresponding to the second identification information is controlled to execute the control instruction.

[0056] In a third aspect, the present disclosure provides a computer device, comprising:

[0057] One or more processors;

[0058] A storage device configured to store one or more programs,

[0059] When the one or more programs are executed by the one or more processors, the one or more processors implement the smart home control method according to any one of the embodiments of the present disclosure.

[0060] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the smart home control method according to any one of the embodiments of the present disclosure.

[0061] The technical solution provided by the embodiments of the present disclosure has the following advantages compared with the prior art: the present disclosure first identifies the voice data of the user to obtain control information corresponding to the voice data, wherein the control information comprises a function category and a control instruction, then determines a first candidate smart device set corresponding to the function category according to a pre-established smart device information table, then determines a second candidate smart device set matching the control instruction based on the function state of each candidate smart device in the first candidate smart device set, and finally determines a target smart device matching the control instruction from the second candidate smart device set and controls the target smart device to execute the control instruction, thereby solving the problem that the user needs to manually operate when triggering the smart home operation in the prior art, automatically controlling the smart device to execute the corresponding control instruction through voice, facilitating the control and use of the smart home device by the user, and being conducive to improving the intelligence and accuracy. BRIEF DESCRIPTION OF DRAWINGS

[0062] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure together with the specification.

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without any creative work.

[0064] Figure 1A A scene schematic diagram of an intelligent home control process in the prior art;

[0065] Figure 1B A scene schematic diagram of an intelligent home control process in the embodiments of the present disclosure;

[0066] Figure 2A A hardware configuration block diagram of a computer device according to one or more embodiments of the present disclosure;

[0067] Figure 2B A software configuration schematic diagram of a computer device according to one or more embodiments of the present disclosure;

[0068] Figure 2C An icon control interface display schematic diagram of an application included in an intelligent device according to one or more embodiments of the present disclosure;

[0069] Figure 3A A flow schematic diagram of an intelligent home control method provided by the embodiments of the present disclosure;

[0070] Figure 3B A principle schematic diagram of an intelligent home control method provided by the embodiments of the present disclosure;

[0071] Figure 3C A schematic diagram of a process for determining a second candidate intelligent device set in the embodiments of the present disclosure;

[0072] Figure 4A A flow schematic diagram of another intelligent home control method provided by the embodiments of the present disclosure;

[0073] Figure 4B A principle schematic diagram of another intelligent home control method provided by the embodiments of the present disclosure;

[0074] Figure 5A A flow schematic diagram of still another intelligent home control method provided by the embodiments of the present disclosure;

[0075] Figure 5B A principle schematic diagram of still another intelligent home control method provided by the embodiments of the present disclosure;

[0076] Figure 6A A flow schematic diagram of still another intelligent home control method provided by the embodiments of the present disclosure;

[0077] Figure 6B A principle schematic diagram of another smart home control method provided by an embodiment of the present disclosure;

[0078] Figure 6C A schematic diagram of a process of obtaining control information in an embodiment of the present disclosure;

[0079] Figure 7A A structural schematic diagram of a local control device in an embodiment of the present disclosure;

[0080] Figure 7B A structural schematic diagram of a local control device and a smart device in an embodiment of the present disclosure;

[0081] Figure 8A A structural schematic diagram of a smart home control device provided by an embodiment of the present disclosure;

[0082] Figure 8B A structural schematic diagram of a control module 804 in a smart home control device provided by an embodiment of the present disclosure;

[0083] Figure 9 A structural schematic diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0084] In order to more clearly understand the above objectives, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0085] In the following description, a large number of specific details are set forth in order to facilitate a thorough understanding of the present disclosure, but the present disclosure can also be implemented in other manners different from those described herein; obviously, the embodiments described in the specification are only a part of the embodiments of the present disclosure, and not all the embodiments.

[0086] The terms “first” and “second” and the like in the present disclosure are used to distinguish different objects, and are not used to describe a specific order of the objects. For example, the first candidate smart device set and the second candidate smart device set are used to distinguish different candidate smart device sets, and are not used to describe a specific order of the candidate smart device sets.

[0087] With the continuous development of technology, various home appliances are becoming increasingly intelligent, bringing great convenience to people's lives. In the era of accelerated advancement of mobile internet and the Internet of Things, each smart device needs an intelligent scene control function through mobile smart terminals, especially mobile phones or tablets. Due to the wide variety of smart devices, the large number of manufacturers, the numerous product categories, and even different models within the same category, the functional control commands make intelligent control increasingly complex. Simple intelligent control of a single device can no longer meet people's requirements for comfort in the intelligent era.

[0088] In the traditional way, triggering smart home operations often requires users to manually operate the smart home app, manually set the operating scenes of the smart devices, or manually control the smart devices, which is inconvenient and greatly reduces the user experience.

[0089] Figure 1A This is a schematic diagram illustrating the smart home control process in existing technologies. For example... Figure 1A As illustrated, exemplarily, assuming the smart devices in a smart home scenario include smart device 100 (i.e., a smart refrigerator), smart device 101 (i.e., a smart washing machine), and smart device 102 (i.e., a smart display device), the user can control smart devices 100, 101, and 102 through a smart terminal device 103, or the user can directly and manually control smart devices 100, 101, and 102. The need for manual operation when controlling the smart home reduces the user experience.

[0090] It should be noted that a smart home scenario can include various smart devices. Figure 1A This is merely an illustrative example and does not impose any specific restrictions on the types or number of smart devices.

[0091] As can be seen from the above, existing smart home control methods are inconvenient to operate. Therefore, a simpler and more intelligent smart home control method is needed.

[0092] Figure 1B This is a schematic diagram illustrating a smart home control process according to an embodiment of this disclosure. Figure 1BAs shown, assuming that the smart devices in the smart home scene include the smart device 200 (i.e., a smart refrigerator), the smart device 201 (i.e., a smart washing machine), and the smart device 202 (i.e., a smart display device), when a user wants to control the smart devices in the smart home scene, the user first performs recording through a recording application in the smart terminal device 204 to obtain recording data, where the recording data mainly includes a control intention of the user, and the control intention does not include a smart device to be controlled. The smart terminal device 204 sends the recording data of the user to the server 203, so that the server 203 identifies the voice data to obtain specific control information corresponding to the voice data, thereby determining the smart device actually wanted to be controlled by the user according to the control information, and directly controlling the smart device to execute a corresponding control instruction, that is, the control of the smart home is realized through the interaction of the server 203 and the smart terminal device 204; or the user can input a sound through a local control device 205, such as a recording module in an Internet of Things terminal, where the sound mainly includes a control intention of the user, and the control intention does not include a smart device to be controlled. The local control device 205 identifies the voice data input by the user to obtain specific control information corresponding to the voice data, thereby determining the smart device actually wanted to be controlled by the user according to the control information, and directly controlling the smart device to execute a corresponding control instruction.

[0093] In the above process, the user only needs to perform recording, and the rest of the process does not need the participation of the user, thereby enabling the smart devices to be automatically controlled by voice to execute corresponding control instructions, facilitating the control and use of the smart home devices by the user, and being beneficial to improving the intelligence and accuracy.

[0094] It should be noted that the smart home scene can include multiple smart devices, Figure 1B which are only illustrative and do not specifically limit the types and numbers of the smart devices.

[0095] The smart home control method provided by the embodiments of the present disclosure can be implemented based on a computer device, or a functional module or functional entity in the computer device.

[0096] The computer can be a personal computer (PC), a server, a mobile phone, a tablet computer, a notebook computer, a mainframe computer, etc., and the embodiments of the present disclosure do not specifically limit the computer.

[0097] For example, Figure 2A is a hardware configuration block diagram of the computer device according to one or more embodiments of the present disclosure. As shown in Figure 2AAs shown, the computer device comprises at least one of a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller 250 comprises a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an n-th interface for input / output. The display 260 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner and demodulator 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG audio and video data signals, from a plurality of wireless or wired broadcast television signals. The communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example, the communicator can comprise at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The computer device can establish transmission and reception of control signals and data signals with a server 203 or a local control device 205 through the communicator 220. The detector 230 is used to collect signals of an external environment or interaction with the external environment. The controller 250 and the tuner and demodulator 210 can be located in different split devices, i.e., the tuner and demodulator 210 can also be in an external device of the main body device where the controller 250 is located, such as an external set-top box. The user interface 280 can be used to receive control signals of a control device, such as an infrared remote controller.

[0098] In some embodiments, the controller 250 controls the operation of the computer device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the computer device. The user can input user commands in a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the graphical user interface (GUI). Alternatively, the user can input user commands by inputting specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.

[0099] In some embodiments, a "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, which realizes the conversion between the internal form of information and the form that can be accepted by the user. The commonly used form of a user interface is a graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an icon, a window, and a control element displayed in the display screen of a computer device, wherein the control element can include at least one of a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, and a widget.

[0100] Figure 2B A software configuration schematic diagram of a computer device according to one or more embodiments of the present disclosure is shown in FIG. 1, in which the system is divided into four layers from top to bottom, namely, an applications layer (referred to as "application layer" for short), an application framework layer (referred to as "framework layer" for short), an Android runtime and system library layer (referred to as "system runtime library layer" for short), and a kernel layer. Figure 2B

[0101] In some embodiments, at least one application program is running in the application layer, which can be a window (Window) program, a system setting program, or a clock program provided by the operating system, or an application program developed by a third-party developer. In a specific implementation, the application program in the application layer includes but is not limited to the above examples.

[0102] In some embodiments, the system runtime library layer provides support for the upper layer, i.e., the framework layer. When the framework layer is used, the Android operating system runs the C / C++ library contained in the system runtime library layer to realize the functions of the framework layer.

[0103] In some embodiments, the kernel layer is a layer between hardware and software, which at least contains at least one of the following drivers: an audio driver, a display driver, a Bluetooth driver, a camera driver, a WIFI driver, a USB driver, an HDMI driver, a sensor driver (such as a fingerprint sensor, a temperature sensor, a pressure sensor, etc.), and a power supply driver, etc.

[0104] Figure 2C An icon control interface display schematic diagram of an application program contained in a smart device (mainly a smart playing device, such as a smart television, a digital theater system, or a video server, etc.) according to one or more embodiments of the present disclosure is shown in FIG. 2. Figure 2C ​As shown in the figure, the application layer contains at least one application program, and the corresponding icon control can be displayed in the display, such as a live TV application program icon control, a video on demand (VOD) application program icon control, a media center application program icon control, an application center icon control, a game application icon control, and the like. The live TV application program can provide live TV through different signal sources. The VOD application program can provide videos from different storage sources. Unlike the live TV application program, the VOD application program provides video display from certain storage sources. The media center application program can provide various multimedia content playing application programs. The application center can provide storage of various application programs.

[0105] The smart home control method provided by the embodiment of the application can be implemented based on the computer device.

[0106] The smart home control process provided by the embodiment of the application can be implemented based on the computer device. The method can recognize voice data of a user, obtain control information corresponding to the voice data, and determine a first candidate smart device set corresponding to a function category according to a pre-established smart device information table. Then, the second candidate smart device set matched with a control instruction is determined based on the function state of each candidate smart device in the first candidate smart device set. Finally, a target smart device matched with the control instruction is determined from the second candidate smart device set, and the target smart device is controlled to execute the control instruction. The problem that the user needs to manually operate when triggering a smart home operation in the prior art is solved. The smart device is automatically controlled to execute the corresponding control instruction through voice, which is convenient for the user to control and use the smart home device, and is conducive to improving the intelligence and accuracy.

[0107] To more specifically describe the present scheme, the following will be described in an exemplary manner combined with Figure 3A It should be understood that, Figure 3A The steps involved in the embodiment can include more steps or fewer steps, and the order between the steps can be different, as long as the smart home control method provided in the embodiment of the application can be implemented.

[0108] Figure 3A A flowchart of a smart home control method provided by the embodiment of the present application is shown in Figure 3B A principle diagram of a smart home control method provided by the embodiment of the present application is shown in the figure. The embodiment can be applicable to the case of controlling each smart device contained in a smart home scene. The method of the embodiment can be executed by a smart home control device. The device can be implemented in a hardware / software manner, and can be configured in a computer device.

[0109] AsFigure 3A As shown, the method specifically includes the following steps:

[0110] S310, the voice data of the user is recognized to obtain corresponding control information, and the control information includes a function category and a control instruction.

[0111] The voice data can be understood as data formed after the user records. The control information can be understood as a control intention corresponding to the voice data of the user, which includes a function category and a control instruction related to the smart device, but does not include a specific smart device to be controlled. The smart device can be understood as various devices contained in the smart home scene, such as audio and video devices, lighting systems, curtain control, air conditioning control, digital theater systems, video servers and network home appliances, etc. The function category can be understood as a category to which the specific function of the smart device belongs, for example, the category corresponding to the smart TV can include: volume, brightness, video playing scene and recipe scene, etc. The control instruction can be understood as an operation instruction related to the smart device, such as opening, closing, playing and pausing, etc.

[0112] In the smart home scene containing multiple different types of smart devices, each smart device is in a different control state, and the user needs to know the specific control state of each smart device to control the smart device. For voice data that does not specify a smart device, it may cause the execution to fail in the process of voice smart home control or need to guide the user to supplement information multiple times in order to determine the smart device to be controlled.

[0113] The execution subject in the embodiment can be a local control device 205 with processing and interaction functions, such as an Internet of Things terminal, and can also be a server 203 interacting with the smart terminal device 204. After obtaining the voice data of the user, since the local control device 205 and the server 203 cannot directly obtain the specific information contained in the voice data, the voice data of the user needs to be recognized. The recognition can be performed through a voice recognition method and a semantic understanding method, or through a neural network model or a voice recognition system, etc. The embodiment does not make specific limitations. After recognition, the control information corresponding to the voice data can be obtained,

[0114] S320, according to the pre-established smart device information table, determine a first candidate smart device set corresponding to the function category.

[0115] The smart device information table can be understood as a table related to the information corresponding to each smart device in the smart home scene, which can include the device identification number, device name, function category and function state of each smart device, etc. The first candidate smart device set can be understood as a set composed of smart devices in the smart home scene that match the function category.

[0116] After obtaining the control information corresponding to the voice data, by matching the function category corresponding to each smart device in the smart device information table with the function category in the control information, a first candidate smart device set corresponding to the function category in the control information can be obtained.

[0117] S330, based on the function state corresponding to each candidate smart device in the first candidate smart device set, a second candidate smart device set matched with the control instruction is determined.

[0118] The second candidate smart device set can be understood as a set composed of smart devices matched with the control instruction in the smart home scene, and the set is the candidate set of the smart device that the user wants to control.

[0119] The first candidate smart device set may contain multiple candidate smart devices, and each candidate smart device may be in different function states. Therefore, after obtaining the first candidate smart device set, it is necessary to further narrow the range in order to determine the smart device that the user wants to control. At this time, according to the function state corresponding to each candidate smart device in the first candidate smart device set, the function state corresponding to each candidate smart device is compared with the control instruction in the control information, and a second candidate smart device set formed by the candidate smart device matched with the control instruction can be obtained.

[0120] For example, assuming that the control instruction is to open, the function state corresponding to the candidate smart device 1 is normal, the function state corresponding to the candidate smart device 2 is playing, and the function state corresponding to the candidate smart device 3 is closed, then the candidate smart device 3 is added to the second candidate smart device set.

[0121] S340, from the second candidate smart device set, a target smart device matched with the control instruction is determined, and the target smart device is controlled to execute the control instruction.

[0122] The target smart device can be understood as a smart device matched with the control instruction.

[0123] Since the smart devices contained in the second candidate smart device set may be multiple, the target smart device matched with the control instruction is further determined from the second candidate smart device set. The number of target smart devices can be multiple, which can be determined according to specific circumstances, and the present disclosure does not make specific limitation. After determining the target smart device, the corresponding control instruction is sent to the smart device to control the target smart device to execute the control instruction, so as to meet the user's demand and accurately execute the control of the target smart device conforming to the user's voice data.

[0124] Optionally, Figure 3CA schematic diagram of the process for determining the second candidate smart device set in the embodiments of the present disclosure is shown in Figure 3C

[0125] 1. Determine the total set of device names, the total set of function categories and the total set of function states corresponding to all smart devices.

[0126] The total set of device names is defined as Dev, and each smart device is Dev1, Dev2, Dev3, ….

[0127] The total set of function categories is defined as F, and each function is F1, F2, F3, ….

[0128] The total set of function states is defined as S, and each function state is S1, S2, S3, ….

[0129] 2. Determine the combination of function categories and function states contained in each smart device, and the corresponding set is as follows:

[0130] Dev1 = {F1S1, F2S2, …}

[0131] Dev2 = {F1S2, F2S3, F3S3, …}

[0132] Dev3 = {F1S1, F2S3, F4S1, F5S2, …}

[0133] Dev4 = {F3S3, F3S3, F5S5, …}

[0134] 3. Recognize the user's voice data to obtain the combination FxSy of function categories and control instructions.

[0135] 4. Query the sets in step 2, and determine the second candidate smart device set according to the smart devices corresponding to the sets with the same elements as FxSy.

[0136] In this embodiment, first, the user's voice data is recognized to obtain control information corresponding to the voice data, the control information including function categories and control instructions, then according to the pre-established smart device information table, the first candidate smart device set corresponding to the function categories is determined; then based on the function states corresponding to each candidate smart device in the first candidate smart device set, the second candidate smart device set matching the control instructions is determined, and finally the target smart device matching the control instructions is determined from the second candidate smart device set, and the target smart device is controlled to execute the control instructions, solving the problem that the user needs to manually operate in the prior art when triggering smart home operation. Through voice automatic control of smart devices to execute corresponding control instructions, it is convenient for the user to control and use smart home devices, which is conducive to improving the intelligence and accuracy. ​

[0137] In some embodiments, the smart device information table is obtained by the following method:

[0138] Obtaining the device name, function name, function category and function state of each smart device in the preset scene respectively;

[0139] According to all the device names, function names, function categories and function states, the corresponding smart device information table is established or updated.

[0140] The preset scene can be understood as a scene containing multiple smart devices and the multiple smart devices are interconnected through a network, for example, a smart home scene, a smart office scene, etc.

[0141] Specifically, the device name, function name, function category and function state of each smart device in the preset scene can be obtained by the smart device information reporting method, and the device name, function name, function category and function state of each smart device can also be obtained by other methods. After obtaining the information corresponding to each smart device, the corresponding smart device information table can be established according to all the device names, function names, function categories and function states, or the smart device information table can be updated in time after at least one of the device name, function name, function category and function state changes.

[0142] In this embodiment, the corresponding smart device information table is established or updated by the above method, which can ensure that the smart device information table is consistent with the actual function state of each smart device, thereby facilitating the determination of the first candidate smart device set and ensuring the accuracy of the set.

[0143] In some embodiments, the method further comprises:

[0144] If the first candidate smart device set is an empty set, or if the first candidate smart device set is a non-empty set and the second candidate smart device set is an empty set, a second prompt information is sent, wherein the second prompt information is used to instruct the user to determine the target smart device from the multiple smart devices;

[0145] Receiving second response information, wherein the second response information contains second identification information corresponding to the target smart device;

[0146] Controlling the target smart device corresponding to the second identification information to execute the control instruction.

[0147] The first candidate smart device set being an empty set can be understood as that there is no candidate smart device meeting the condition in the set. The second candidate smart device set being an empty set can be understood as that there is also no smart device meeting the condition in the set.

[0148] Specifically, if the first candidate smart device set is an empty set, or if the first candidate smart device set is a non-empty set and the second candidate smart device set is an empty set, it indicates that the smart device actually intended to be controlled by the user cannot be determined at present. At this time, the second prompt information can be sent, for example, the local control device 205 sends the second prompt information, for example, the second prompt information can be sent to the display screen or the audio application of itself to display or play the second prompt information to instruct the user to determine the target smart device from the plurality of smart devices; or the server 203 sends the second prompt information to the smart terminal device 204 to instruct the user to determine the target smart device from the plurality of smart devices. The second response information receiving the user feedback contains the second identification information corresponding to the target smart device, so that the target smart device corresponding to the second identification information can be directly controlled to execute the control instruction.

[0149] In the embodiment, when the smart device actually intended to be controlled by the user cannot be determined at present, the target smart device can be determined by the above method, so as to meet the control demand of the user and improve the use experience of the user.

[0150] Figure 4A A flowchart of another smart home control method provided by the embodiment of the present disclosure is shown in FIG. 6. Figure 4B A principle diagram of another smart home control method provided by the embodiment of the present disclosure is shown in FIG. 6. The embodiment is further extended and optimized on the basis of the above-mentioned embodiment. Optionally, one possible implementation manner of S340 in the embodiment is as follows.

[0151] S3401, determining the number of all target candidate smart devices contained in the second candidate smart device set matching the control instruction.

[0152] Since the second candidate smart device set can contain a plurality of target candidate smart devices, in order to determine the target smart device matching the control instruction, the number of all target candidate smart devices contained in the second candidate smart device set matching the control instruction needs to be determined, so as to subsequently determine the target smart device from the second candidate smart device set according to the size relationship between the number and the preset threshold.

[0153] S3402, determining the target smart device from the second candidate smart device set according to the size relationship between the number and the preset threshold, and controlling the target smart device to execute the control instruction.

[0154] The preset threshold value can be a preset numerical value, for example, 1, 3, etc., or can be determined according to specific conditions, and the embodiment is not limited specifically.

[0155] After obtaining the number of all target candidate smart devices included in the second candidate smart device set, the number is compared with the preset threshold value to obtain the size relationship between the two, so that the target smart device is determined from the second candidate smart device set according to the size relationship between the two. For example, all target candidate smart devices included in the second candidate smart device set are target smart devices, or part of the target candidate smart devices included in the second candidate smart device set are target smart devices. After the target smart device is determined, the target smart device is controlled to execute the control instruction, so as to realize smart home control through voice and reduce user operation.

[0156] In the embodiment, the target smart device is determined through the above method, which is simple and fast and can improve work efficiency.

[0157] Figure 5A A flowchart of another smart home control method provided by the embodiment of the present disclosure is shown in the figure, Figure 5B A principle diagram of another smart home control method provided by the embodiment of the present disclosure is shown in the figure. The embodiment is further expanded and optimized on the basis of the above-mentioned embodiment. Optionally, one possible implementation of S3402 in the embodiment is as follows:

[0158] S34021, determining whether the number of target candidate smart devices is less than or equal to a preset threshold value.

[0159] After obtaining the number of all target candidate smart devices included in the second candidate smart device set, the size relationship between the number and the preset threshold value is compared to determine whether the number of target candidate smart devices is less than or equal to the preset threshold value.

[0160] If yes, S34022-S34023 are executed; if no, S34024-S34026 are executed.

[0161] S34022, determining all target candidate smart devices included in the second candidate smart device set as target smart devices.

[0162] If the number of target candidate smart devices is less than or equal to the preset threshold value, it means that the number of target candidate smart devices does not exceed the upper limit, and therefore all target candidate smart devices included in the second candidate smart device set are determined as target smart devices.

[0163] S34023, controlling each target smart device to execute a control instruction.

[0164] After all the target candidate smart devices included in the second candidate smart device set are determined as target smart devices, control instructions need to be sent to each target smart device to control each target smart device to execute the control instructions respectively.

[0165] S34024, sending first prompt information, wherein the first prompt information is used to instruct the user to determine target smart devices from the second candidate smart device set.

[0166] If the number of target candidate smart devices is greater than the preset threshold, it means that the number of target candidate smart devices exceeds the upper limit. In order to avoid executing the same control instructions on multiple smart devices at the same time, thereby affecting the normal use of the user, first prompt information needs to be sent at this time. For example, the local control device 205 sends the first prompt information, which can be sent to the display screen or audio application of itself, for example, to display or play the first prompt information to instruct the user to determine target smart devices from the multiple smart devices; or the server 203 sends the first prompt information to the smart terminal device 204 to instruct the user to determine target smart devices from the multiple smart devices.

[0167] S34025, receiving first response information, wherein the first response information includes first identification information corresponding to the target smart device.

[0168] The first response information fed back by the user is received so as to control the target smart device corresponding to the first identification information to execute the control instructions subsequently.

[0169] S34026, controlling the target smart device corresponding to the first identification information to execute the control instructions.

[0170] Since the first response information includes the first identification information corresponding to the target smart device, the target smart device corresponding to the first identification information can be directly controlled to execute the control instructions.

[0171] In the embodiment, according to the two size relations between the number of all target candidate smart devices included in the second candidate smart device set and the preset threshold, corresponding steps are respectively executed, which can further improve the intelligence and accuracy of the smart home control process.

[0172] Figure 6A a flowchart of another smart home control method provided by the embodiment of the present disclosure, Figure 6B a principle diagram of another smart home control method provided by the embodiment of the present disclosure. The embodiment is further expanded and optimized on the basis of the above-mentioned embodiments. Optionally, one possible implementation manner of S310 in the embodiment is as follows:

[0173] In S3101, text information corresponding to the voice data is obtained by performing text recognition on the voice data through a voice recognition method.

[0174] The voice recognition method is a method of converting voice into text, for example, a voice recognition software.

[0175] The voice data can be recognized as text through the voice recognition method, so that the text information corresponding to the voice data is obtained.

[0176] In S3102, the control information contained in the text information is obtained by performing semantic understanding on the text information through a semantic understanding method. The control information includes a function category and a control instruction.

[0177] The semantic understanding method can include a keyword extraction method and an information extraction method.

[0178] After obtaining the text information, the semantic understanding method is used to perform semantic understanding on the text information to obtain the control information contained in the text information, so as to further improve the accuracy of the recognition process. The control information includes a function category and a control instruction.

[0179] In this embodiment, the control information obtained through the above method is more accurate and more in line with the actual situation, which is conducive to the smooth progress of the subsequent process.

[0180] For example, Figure 6C A schematic diagram of the process of obtaining the control information in the embodiment of the present disclosure is shown in Figure 6C .

[0181] First, the voice data is recognized to obtain first information, and then the semantic understanding of the first information is performed to obtain the control information.

[0182] For example, Figure 7A A structural schematic diagram of a local control device in the embodiment of the present disclosure is shown in Figure 7A .

[0183] The local control device 205 includes a voice recognition service, a semantic understanding service, and an intelligent device control service. The voice recognition service is mainly used for recording and recognizing the voice data of the user to obtain a recognition result. The semantic understanding service is mainly used for determining the control information according to the recognition result. The home control service is used for maintaining an intelligent device information table, receiving device information reported by the intelligent device, and controlling the corresponding intelligent device according to the control information.

[0184] Figure 7B A structural schematic diagram of the interaction between a local control device and an intelligent device in the embodiment of the present disclosure is shown in Figure 7B .

[0185] The voice recognition service includes a recording module and a recognition engine, where the recording module is configured to record, and the recognition engine is configured to recognize according to voice data of a user to obtain a recognition result. The semantic understanding service includes a function category and a control instruction. The home control service includes a smart device information table, determination of a target smart device, and home instruction control. The home control service interacts with each smart device, such as smart device A, smart device B, …, and smart device N, the home control service obtains the smart device information table according to device information reported by each smart device; determines a first candidate smart device set according to the smart device information table and the function category; determines a second candidate smart device set according to the second candidate smart device set and the control instruction, and determines the target smart device from the second candidate smart device set, and controls the target smart device to execute the control instruction, thereby realizing control of a smart home through voice data. The smart device is responsible for reporting device information and receiving and executing a control instruction issued by the home control service.

[0186] In some embodiments, it is assumed that the smart device information table is as shown in Table 1 below:

[0187] Table 1

[0188] Device Identification Number Device Name Function Category Function Status 1 Curtains Brightness Off 2 TV Brightness Normal 3 TV Volume Normal 4 TV Recipe Scene Show UI 5 Smart Speaker Music Scene Playing 6 Oven Ingredient Scene Steak Placed 7 Refrigerator Door Open 8 Washing Machine Door Closed

[0189] The information contained in each smart device in Table 1 is as follows:

[0190] 1. The curtain is closed;

[0191] 2. The TV brightness is normal, the volume is normal, and the recipe UI is being displayed;

[0192] 3. The smart speaker is playing music;

[0193] 4. A steak has been placed in the oven and is waiting to be turned on for cooking.

[0194] 5. The door of the refrigerator is open.

[0195] 6. The door of the washing machine is closed.

[0196] It should be noted that each device contained in Table 1 is a smart device.

[0197] Example 1: Assuming the voice data is "It is too dark", the function category is brightness, the control instruction is increase, and the preset threshold is 1, the first candidate smart device set can be determined according to the function category and Table 1 as: 1 curtain and 2 TV; then the second candidate smart device set can be determined according to the function state of each smart device in the first candidate smart device set and the control instruction as: 1 curtain, since the number of all target candidate smart devices contained in the second candidate smart device set is equal to the preset threshold, the target smart device is determined as 1 curtain, and the curtain is controlled to execute the opening function.

[0198] Example 2: Assuming the voice data is "I want to roast a steak", the function category is food material scene and recipe scene, the control instruction is cooking and query, and the preset threshold is 1, the first candidate smart device set can be determined according to the function category and Table 1 as: 4 TV and 6 oven; then the second candidate smart device set can be determined according to the function state of each smart device in the first candidate smart device set and the control instruction as: 6 oven, since the number of all target candidate smart devices contained in the second candidate smart device set is equal to the preset threshold, the target smart device is determined as 6 oven, and the oven is controlled to execute the steak roasting function.

[0199] In some embodiments, if it is detected that there is not a steak in the oven, but the TV supports the recipe query function, the steak recipe introduction of the TV is executed.

[0200] Example 3: Assuming the voice data is "The volume is too loud", the function category is volume, the control instruction is decrease, and the preset threshold is 1, the first candidate smart device set can be determined according to the function category and Table 1 as: 3 TV and 5 smart speaker; then the second candidate smart device set can be determined according to the function state of each smart device in the first candidate smart device set and the control instruction as: 5 smart speaker, since the number of all target candidate smart devices contained in the second candidate smart device set is equal to the preset threshold, the target smart device is determined as 5 smart speaker, and the smart speaker is controlled to execute the volume decrease function.

[0201] In some embodiments, if it is detected that the TV is also playing a video, the user is prompted to select whether the device to lower the volume is the TV or the speaker.

[0202] Example 4: Assuming the voice data is "Close the door", the function category is door, the control instruction is close, and the preset threshold is 1, the first candidate smart device set can be determined according to the function category and Table 1 as: 7 refrigerator and 8 TV set; then the second candidate smart device set can be determined according to the function state of each smart device in the first candidate smart device set and the control instruction as: 7 refrigerator, since the number of all target candidate smart devices contained in the second candidate smart device set is equal to the preset threshold, the target smart device is determined as 7 refrigerator, and the refrigerator is controlled to execute the door closing function.

[0203] In some embodiments, if it is detected that the oven door is also in an open state, the device prompting the user to close the door is the refrigerator or the oven.

[0204] Figure 8A Fig. 1 is a structural schematic diagram of a smart home control device according to an embodiment of the present disclosure; the device is configured in a computer device and can implement the smart home control method according to any embodiment of the present application. The device specifically includes the following:

[0205] The recognition module 801 is configured to recognize voice data of a user to obtain corresponding control information, wherein the control information includes a function category and a control instruction.

[0206] The first determination module 802 is configured to determine a first candidate smart device set corresponding to the function category according to a pre-established smart device information table.

[0207] The second determination module 803 is configured to determine a second candidate smart device set matched with the control instruction based on a function state corresponding to each candidate smart device in the first candidate smart device set.

[0208] The control module 804 is configured to determine a target smart device matched with the control instruction from the second candidate smart device set and control the target smart device to execute the control instruction.

[0209] Figure 8B Fig. 8 is a structural schematic diagram of the control module 804 in the smart home control device according to an embodiment of the present disclosure, as shown in the figure, the control module 804 includes: Figure 8B

[0210] The quantity determination unit 8041 is configured to determine a quantity of all target candidate smart devices included in the second candidate smart device set matched with the control instruction.

[0211] The device determination unit 8042 is configured to determine the target smart device from the second candidate smart device set according to a size relationship between the quantity and a preset threshold value and control the target smart device to execute the control instruction.

[0212] As an optional implementation of an embodiment of the present disclosure, the device determination unit 8042 is specifically configured to:

[0213] If the quantity of all target candidate smart devices is less than or equal to the preset threshold value, all target candidate smart devices included in the second candidate smart device set are determined as the target smart device.

[0214] The target smart devices are controlled to execute the control instruction respectively. ​

[0215] As an optional implementation of the embodiment of the present disclosure, the device determination unit 8042 is further specifically configured to:

[0216] If the number of all target candidate smart devices is greater than the preset threshold, a first prompt information is sent, wherein the first prompt information is used to instruct the user to determine the target smart device from the second set of candidate smart devices;

[0217] A first response information is received, wherein the first response information contains the first identification information corresponding to the target smart device;

[0218] The target smart device corresponding to the first identification information is controlled to execute the control instruction.

[0219] As an optional implementation of the embodiment of the present disclosure, the identification module 801 is specifically configured to:

[0220] Text information corresponding to the voice data is obtained by performing text recognition on the voice data through a voice recognition method;

[0221] Control information contained in the text information is obtained by performing semantic understanding on the text information through a semantic understanding method.

[0222] As an optional implementation of the embodiment of the present disclosure, the smart device information table is obtained by the following method:

[0223] Obtain the device name, function name, function category and function state corresponding to each smart device respectively contained in the preset scene;

[0224] According to all the device name, function name, function category and function state, the corresponding smart device information table is established or updated.

[0225] As an optional implementation of the embodiment of the present disclosure, the apparatus further comprises:

[0226] The sending module is configured to send a second prompt information if the first set of candidate smart devices is an empty set, or if the first set of candidate smart devices is a non-empty set and the second set of candidate smart devices is an empty set, wherein the second prompt information is used to instruct the user to determine the target smart device from a plurality of smart devices;

[0227] The receiving module is configured to receive a second response information, wherein the second response information contains the second identification information corresponding to the target smart device;

[0228] The target smart device corresponding to the second identification information is controlled to execute the control instruction.

[0229] The smart home control device provided in the embodiments of the present disclosure can execute the smart home control method provided in any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of the execution method. To avoid repetition, details are not described herein.

[0230] The embodiments of the present disclosure provide a computer device, including: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the smart home control method in any of the embodiments of the present disclosure.

[0231] Figure 9 is a structural schematic diagram of a computer device provided by the embodiments of the present disclosure. As shown in Figure 9 the computer device includes a processor 910 and a storage device 920; the number of processors 910 in the computer device can be one or more, Figure 9 in which the processor 910 is taken as an example; the processor 910 and the storage device 920 in the computer device can be connected through a bus or other means, Figure 9 in which the connection through the bus is taken as an example.

[0232] The storage device 920 as a kind of computer readable storage medium can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the smart home control method in the embodiments of the present disclosure. The processor 910 executes the software programs, instructions and modules stored in the storage device 920, thereby performing various functional applications and data processing of the computer device, that is, implementing the smart home control method provided by the embodiments of the present disclosure.

[0233] The storage device 920 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created according to the use of the terminal and the like. In addition, the storage device 920 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some examples, the storage device 920 can further include a memory disposed remotely with respect to the processor 910, and these remote memories can be connected to the computer device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0234] The computer device provided in the embodiments of the present disclosure can be used to execute the smart home control method provided in any of the embodiments described above, and has the corresponding functions and beneficial effects.

[0235] The embodiment of the present disclosure provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement each process of the above-mentioned smart home control method, and achieves the same technical effects. To avoid repetition, details are not described herein.

[0236] The computer readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0237] The present disclosure provides a computer program product, characterized in that when the computer program product runs on a computer, the computer implements the above-mentioned application installation method.

[0238] For the convenience of explanation, the above description has been made in combination with specific embodiments. However, the above description in some embodiments is not intended to exhaust or limit the embodiments to the specific forms disclosed. Various modifications and variations can be derived according to the above teachings. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different modified embodiments suitable for specific use considerations.

Claims

1. A smart home control method, characterized by, The method comprises: recognizing voice data of a user to obtain corresponding control information, the control information comprising a function category and a control instruction, and the control information not containing a specific smart device to be controlled; determining, according to a pre-established smart device information table, a first candidate smart device set corresponding to the function category and a function state corresponding to each candidate smart device in the first candidate smart device set, the smart device information table comprising a device name, a function category and a function state corresponding to each smart device in a smart home scene respectively; the function state being a current function state of the candidate smart device, the function state being a state of a function indicated by the function category, different function states of a same function category of a smart device matching different control instructions; determining, based on the function state corresponding to each candidate smart device in the first candidate smart device set, a second candidate smart device set matching the control instruction; determining, from the second candidate smart device set, a target smart device matching the control instruction, and controlling the target smart device to execute the control instruction.

2. The method of claim 1, wherein, The determining, from the second candidate smart device set, a target smart device matching the control instruction, and controlling the target smart device to execute the control instruction, comprises: determining a number of all target candidate smart devices contained in the second candidate smart device set matching the control instruction; determining, according to a size relationship between the number and a preset threshold, the target smart device from the second candidate smart device set, and controlling the target smart device to execute the control instruction.

3. The method of claim 2, wherein, The determining, according to a size relationship between the number and a preset threshold, the target smart device from the second candidate smart device set, and controlling the target smart device to execute the control instruction, comprises: if the number of all target candidate smart devices is less than or equal to the preset threshold, determining all target candidate smart devices contained in the second candidate smart device set as the target smart device; controlling each target smart device to execute the control instruction respectively.

4. The method of claim 3, wherein, Further comprising: if the number of all target candidate smart devices is greater than the preset threshold, sending first prompt information, wherein the first prompt information is used to instruct the user to determine the target smart device from the second candidate smart device set; receiving first response information, wherein the first response information contains first identification information corresponding to the target smart device; controlling the target smart device corresponding to the first identification information to execute the control instruction.

5. The method of claim 1, wherein, The recognizing voice data of a user to obtain corresponding control information comprises: performing text recognition on the voice data by a voice recognition method to obtain text information corresponding to the voice data; performing semantic understanding on the text information by a semantic understanding method to obtain control information contained in the text information.

6. The method of claim 1, wherein, The smart device information table is obtained by: obtaining a device name, a function name, a function category and a function state corresponding to each smart device contained in a preset scene respectively; According to all the device names, function names, function categories, and function states, a corresponding smart device information table is established or updated.

7. The method according to any one of claims 1 to 6, characterized in that, Also included are: If the first candidate smart device set is empty, or if the first candidate smart device set is a non-empty set and the second candidate smart device set is empty, a second prompt information is sent, wherein the second prompt information is used to instruct the user to determine the target smart device from the plurality of smart devices; Receiving second response information, wherein the second response information contains second identification information corresponding to the target smart device; Controlling the target smart device corresponding to the second identification information to execute the control instruction.

8. A smart home control device, characterized by, The device includes: An identification module for identifying voice data of a user to obtain corresponding control information, the control information including a function category and a control instruction, and the control information not containing a specific smart device to be controlled; A first determination module for determining, according to a pre-established smart device information table, a first candidate smart device set corresponding to the function category and a function state corresponding to each candidate smart device in the first candidate smart device set, the smart device information table including device names, function categories, and function states of each smart device in a smart home scene; the function state being a current function state of the candidate smart device, the function state being a state of a function indicated by the function category, different function states of a same function category of a smart device indicating different control instructions; A second determination module for determining, based on the function state corresponding to each candidate smart device in the first candidate smart device set, a second candidate smart device set matched with the control instruction; A control module for determining, from the second candidate smart device set, a target smart device matched with the control instruction, and controlling the target smart device to execute the control instruction.

9. A computer device, comprising: It includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method of any one of claims 1-7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Method, apparatus and system for controlling intelligent device, device and storage medium

    CN109379261A

  • Smart home control method and device, terminal and computer readable storage medium

    CN110687817A

  • Equipment control method and device

    CN111508483A