Control method and device, electronic equipment and storage medium
By using local area networks to identify and execute voice commands in smart home systems, the leak risk and high cost of online voice control of smart home devices are solved, and a safer and more economical smart home control is achieved.
Patent Information
- Application Number
- CN202411278253.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-12
AI Technical Summary
The online voice control of existing smart home devices has the risk of leaks and high cost problems. Voice needs to be uploaded to the cloud for identification, resulting in insufficient security and economicality.
In the smart home system, a local area network is formed through a central controller and multiple smart home devices. The smart home device directly recognizes voice commands and executes them. Voice commands do not need to be uploaded to the cloud. As a transit device, the central controller only requires some devices to have voice recognition Capacity can reduce costs.
It reduces the risk and cost of speech recognition, improves the security and economicality of smart home devices, and avoids the high cost and security risks of online speech recognition.
Smart Images

Figure CN119210919A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of smart home devices, and in particular to a control method and device, an electronic device and a storage medium. Background Art
[0002] Smart home uses residence as platform and utilizes integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology to build an efficient management system for residential facilities and family schedule affairs by integrating the equipment related to home life. Smart home can enhance the safety, convenience, comfort and artistry of the home and realize an environmentally friendly and energy-saving living environment.
[0003] By controlling smart home devices through voice, users can control smart home devices more conveniently. Currently, the main method used is online voice control, which requires transmitting voice to the cloud. After the cloud model performs voice recognition, corresponding control is performed based on the recognition results.
[0004] However, the current online voice control has the following problems: first, the voice needs to be sent to the cloud for voice recognition, which poses a risk of information leakage; second, the licensing fee for online voice recognition is high. Therefore, the current smart home control method based on voice recognition has the problem of information leakage and high cost. Summary of the invention
[0005] In view of the above problems, embodiments of the present invention are proposed to provide a control method and device, electronic device and storage medium that overcome the above problems or at least partially solve the above problems.
[0006] In a first aspect, an embodiment of the present application discloses a control method, which is applied to a smart home system, wherein the smart home system comprises: a central controller and a plurality of smart home devices, wherein the central controller and the plurality of smart home devices form a local area network; the method comprises:
[0007] Smart home devices receive voice commands;
[0008] When the smart home device recognizes that the voice command is a voice command for the smart home device, the smart home device executes the voice command;
[0009] When the smart home device recognizes that the voice command is a voice command for other smart home devices, the smart home device reports the voice command to the central controller through the local area network;
[0010] The central controller sends the voice command to the corresponding smart home device through the local area network;
[0011] The corresponding smart home device executes the voice command.
[0012] Optionally, the voice instruction includes: a target space type and a target device type; and the method further includes:
[0013] The smart home device identifies, based on the target space type and the target device type, whether the voice command is directed to the smart home device itself or to another smart home device.
[0014] Optionally, the method further comprises:
[0015] Setting a space type and a device type for each of the smart home devices;
[0016] The smart home device identifies, based on the target space type and the target device type, whether the voice command is directed to the smart home device or to another smart home device, including:
[0017] When the space type of the smart home device is consistent with the target space type, and the device type of the smart home device is consistent with the target device type, the smart home device recognizes the voice command as a voice command for the smart home device;
[0018] When the space type of the smart home device is different from the target space type, and / or the device type of the smart home device is different from the target device type, the smart home device recognizes the voice command as a voice command of another smart home device whose space type is consistent with the target space type and whose device type is consistent with the target device type;
[0019] The central controller sends the voice command to the corresponding smart home device through the local area network, including:
[0020] The central controller sends the voice command to the smart home device whose space type is the target space type and whose device type is the target device type through the local area network.
[0021] Optionally, setting a space type and a device type for each of the smart home devices includes:
[0022] The room name where the smart home device is located is set as the space type of the smart home device.
[0023] Optionally, the method further comprises:
[0024] The smart home device reports the execution result of the voice command to the central controller via the local area network; or,
[0025] The corresponding smart home device reports the execution result of the voice command to the central controller via the local area network;
[0026] The central controller records the execution result.
[0027] Optionally, the method further comprises:
[0028] When the number of voice commands that are not successfully executed by the same smart home device is greater than a preset number, the central controller issues a warning.
[0029] In a second aspect, a control device is provided, which is applied to a smart home system, wherein the smart home system comprises: a central controller and a plurality of smart home devices, wherein the central controller and the plurality of smart home devices form a local area network; the device comprises:
[0030] A voice command receiving module is used for smart home devices to receive voice commands;
[0031] A first execution module, configured to cause the smart home device to execute the voice instruction when the smart home device recognizes that the voice instruction is a voice instruction for the smart home device;
[0032] a reporting module, configured to, when the smart home device recognizes that the voice command is a voice command for other smart home devices, report the voice command by the smart home device to the central controller through the local area network;
[0033] A sending module, used for the central controller to send the voice command to the corresponding smart home device through the local area network;
[0034] The second execution module is used for the corresponding smart home device to execute the voice command.
[0035] According to a third aspect, an electronic device is provided, including:
[0036] A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the aforementioned control methods is implemented.
[0037] In a fourth aspect, a readable storage medium is provided, which enables the electronic device to execute any one of the aforementioned control methods when instructions or transactions in the storage medium are executed by a processor of the electronic device.
[0038] According to a fifth aspect, a computer program product is provided, comprising instructions or transactions, which, when executed by a processor in an electronic device, enable the electronic device to execute any one of the aforementioned control methods.
[0039] In the embodiment of the present application, the central controller and multiple smart home devices form a local area network, and the smart home devices directly recognize voice commands. The voice commands do not need to be uploaded to the cloud or connected to the external network, so the risk of leakage is small. Moreover, since voice recognition can be implemented on the smart home devices, there is no need for online voice recognition, which can greatly reduce costs. The central controller here serves as a transfer device for voice commands, so that in this application, only at least one smart home device that can recognize voice commands is required, which can further reduce costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a structural diagram of a smart home system provided by an embodiment of the present invention;
[0041] Figure 2 is a flow chart of steps of a control method provided by an embodiment of the present invention;
[0042] Figure 3 is a flowchart of another control method provided by an embodiment of the present invention;
[0043] Figure 4 is a flowchart of another control method provided by an embodiment of the present invention;
[0044] Figure 5 It is a structural schematic diagram of a control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0046] The present application provides a control method, which is applied to a smart home system. Figure 1The smart home system includes: a central controller and multiple smart home devices, and the central controller and the multiple smart home devices form a local area network. The central controller and each smart home device can form a local area network through wired or wireless means, and the specific way of forming the local area network is not specifically limited. For a family, the number of central controllers in the smart home system can be one, and the number of smart home devices is not specifically limited. For example, the multiple smart home devices here can be all the smart home devices in the user's home, or the multiple smart home devices here can be some of the smart home devices in the user's home.
[0047] The smart home devices mentioned in this application can be various smart home devices in the user's home, such as smart lighting equipment, smart home appliances, smart security equipment, smart entertainment equipment, smart health equipment, smart health equipment, smart curtains, etc. Smart lighting equipment may include smart light bulbs, smart light strips, smart switches, etc. Smart security equipment may include smart cameras, door locks, door and window sensors, smoke alarms, etc. Smart home appliances may include smart refrigerators, washing machines, dryers, dishwashers, air conditioners, fans, dehumidifiers, range hoods, etc. Smart entertainment equipment may include: smart TVs, audio systems, etc. Smart health equipment may include smart weight scales, health monitoring equipment, etc. Smart curtains may include electric curtain controllers, etc. The smart home devices here may also include smart sockets, etc., which are not specifically limited.
[0048] The control method of the present application is applied to the aforementioned smart home system, referring to Figure 2 , the method comprises the following steps.
[0049] Step 101: The smart home device receives a voice command.
[0050] In the smart home system, each smart home device can receive voice commands, or some of the smart home devices in the smart home system can receive voice commands, or only one of the smart home devices in the smart home system can receive voice commands, and there is no specific limitation on this. In the smart home system, some of the smart home devices can receive voice commands, or only one of the smart home devices in the smart home system can receive voice commands, which can appropriately reduce costs. Smart home devices can receive voice commands through audio acquisition sensors.
[0051] It should be noted that smart home devices may generally be in a dormant state and need to be awakened before entering the voice recognition process. Usually, the sound wave energy needs to reach a certain threshold to wake up, and generally only direct sound waves in the opposite direction can reach the wake-up threshold. Reflected, refracted or lateral sound waves usually cannot wake up smart home devices because the sound wave energy received by the smart home device does not reach the threshold. For example, in a 3m×3m room, 2 smart home devices are placed in front of each of the four walls. During the wake-up process, only the two devices facing the wake-up voice may be awakened. The wake-up voice here can be synthesized with the voice command, or performed separately, and there is no specific limitation on this.
[0052] The aforementioned facing direction refers to the direction in which the sound is emitted and is opposite to the audio collection port. Smart home devices can receive voice commands through audio collection sensors. For example, the audio collection sensors of smart home devices are usually recessed on the surface of the product, and the voice commands are propagated radially from the emission position. The aforementioned direct radiation refers to the situation where the sound is directly transmitted to the collection sensor without reflection or refraction. The wake-up threshold here is set according to the voice command recognition model, acoustic structure, and application scenario of each smart home device. It may be different for different smart home devices and is not specifically limited here.
[0053] In addition, the wake-up words for each smart home device may also be different. For example, the wake-up words for each smart home device may correspond to its brand. For example, the air conditioner is called "Gree Air Conditioner", the fan is called "Xiao Ge Xiao Ge", and the refrigerator is called "Hello Gree". Different smart home devices can be woken up according to the user's different wake-up words.
[0054] Step 102: When the smart home device recognizes that the voice command is a voice command directed to the smart home device, the smart home device executes the voice command.
[0055] The smart home device has the ability to recognize voice commands offline, which can be achieved through a built-in voice recognition module, etc. When the smart home device recognizes that the voice command is a voice command for the smart home device, the smart home device directly executes the voice command.
[0056] For example, refer to Figure 1 , assuming that the smart home device 1 receives a voice command, and the smart home device 1 recognizes that the voice command is a voice command for the smart home device 1, then the smart home device 1 directly executes the voice command.
[0057] The execution of the voice command does not need to be uploaded to the cloud or enter the external network, so the risk of leakage is small. Moreover, since voice recognition can be implemented on smart home devices, there is no need for online voice recognition, which can greatly reduce costs.
[0058] Step 103: When the smart home device recognizes that the voice command is a voice command for other smart home devices, the smart home device reports the voice command to the central controller through the local area network.
[0059] In the case where the smart home device recognizes that the voice command is a voice command for other smart home devices other than itself, the smart home device reports the voice command to the central controller through the local area network, specifically, the reporting is realized through a wired or wireless method between the central controller and the other smart home devices. This step, combined with the subsequent step 104, realizes the distribution of voice commands, and then in the smart home system, only at least one smart home device that can recognize voice commands is required, which can further reduce costs. It should be noted that in the smart home system, when only one smart home device can recognize voice commands, the smart home device capable of voice recognition can be in a wake-up state all the time, or the aforementioned wake-up is for the wake-up of the smart home device. In the smart home system, when only a few smart home devices can recognize voice commands, the several smart home devices capable of voice recognition can be in a wake-up state all the time, or the aforementioned wake-up is for the wake-up of several smart home devices capable of voice recognition.
[0060] Step 104: the central controller sends the voice command to the corresponding smart home device through the local area network.
[0061] Here, the central controller exists as a transfer device, and the central controller sends the voice command to the corresponding smart home device through the aforementioned local area network.
[0062] Step 105: The corresponding smart home device executes the voice command.
[0063] After receiving the voice command, the corresponding smart home device executes the voice command. In this case, whether the corresponding smart home device has an offline voice recognition function is not specifically limited.
[0064] For example, refer to Figure 1, assuming that the smart home device 1 receives a voice command, and the smart home device 1 recognizes that the voice command is a voice command for the smart home device 3, the smart home device 1 reports the voice command to the central controller through a wired or wireless method between the smart home device 1 and the central controller, and the central controller forwards the voice command to the smart home device 3 through a wired or wireless method between it and the smart home device 3. The smart home device 3 directly executes the voice command. In this case, the aforementioned smart home device 1 has already realized the recognition of the voice command, and the smart home device 3 does not need to recognize the voice command again, and can directly execute it. Whether the smart home device 3 has an offline voice recognition function is not specifically limited.
[0065] Optional, see Figure 3 After step 102, the control method may further include: the smart home device reports the execution result of the voice command to the central controller through the aforementioned local area network. Figure 3 The local device sends the synchronization status of the voice command to the central controller, which records the execution result. The central controller can pay attention to the execution status of each voice command and provide support for subsequent command execution, subsequent equipment failure, equipment maintenance, etc.
[0066] For example, with respect to the aforementioned example, after the smart home device 1 directly executes the voice command, the smart home device 1 reports the state of the smart home device 1 after executing the voice command to the central controller through the aforementioned local area network.
[0067] Optional, see Figure 3 After step 105, the control method may further include: the smart home device reports the execution result of the voice command to the central controller through the aforementioned local area network, that is, Figure 3 The local device sends the synchronization status of the voice command to the central controller, which records the execution result. The central controller can pay attention to the execution status of each voice command and provide support for subsequent equipment failures, equipment maintenance, etc.
[0068] For example, with respect to the aforementioned example, after the smart home device 3 executes the voice command, the smart home device 3 reports the state of the smart home device 3 after executing the voice command to the central controller through the aforementioned local area network.
[0069] Optionally, the method may further include: when the number of voice commands that are not successfully executed by the same smart home device is greater than a preset number, the central controller issues a warning. Specifically, the central controller may perform statistics from the recorded execution results to check the number of voice commands that are not successfully executed by the same smart home device. The unsuccessful execution of the voice command refers to a voice command that does not achieve the result corresponding to the operation in the voice command. For example, the voice command is to turn on the TV, but due to a certain fault, the TV is not turned on, then the TV is an unsuccessfully executed voice command. The number of voice commands that are not successfully executed by the same smart home device is greater than the preset number, indicating that the smart home device may indeed have a fault and needs to be repaired, etc., so a warning is issued to remind the user. The warning may include the identity of the smart home device, etc., so as to facilitate the subsequent positioning of the specific smart home device as soon as possible. The warning here can be a voice broadcast, a text display, a picture display, or a direct warning sound, etc., which is not specifically limited.
[0070] It should be noted that the preset number here can be set according to the frequency of use of the smart home device by the user, for example, if the user uses the smart home device frequently, the preset number can be set to a smaller number, and if the user uses the smart home device less frequently, the preset number can be set to a larger number. The preset number can also be set according to other situations, which are not specifically limited.
[0071] This application provides another control method, which is applied to the aforementioned smart home system, wherein the smart home system includes: a central controller and a plurality of smart home devices, wherein the central controller and the plurality of smart home devices form a local area network, and the aforementioned related records may be referred to here, and in order to avoid repetition, they will not be described here. Figure 4 , the method comprises the following steps.
[0072] Step 201: The smart home device receives a voice command.
[0073] Step 201 may refer to step 101 and will not be described again here to avoid repetition.
[0074] Step 202, the voice command includes: a target space type and a target device type; the smart home device identifies whether the voice command is a voice command for the smart home device or a voice command for other smart home devices based on the target space type and the target device type.
[0075] The space type here is used to distinguish different rooms in the home. For example, the space type here can be: master bedroom, second bedroom, children's room, study, living room, kitchen, bathroom, balcony, storage room, etc. The device type can be used to distinguish the name or function of the device. For example, the device type can be: air conditioner, TV, refrigerator, fan, range hood, etc. In this application, by combining the space type and the device type, the smart home device can be accurately determined to avoid misoperation.
[0076] After the smart home device recognizes the voice command, the target space type and target device type can be extracted from the voice command. Then, by comparing with the space type and device type of the smart home device itself, it can be accurately determined whether the voice command is for this smart home device or for other smart home devices, thereby improving the accuracy of voice command recognition.
[0077] It should be noted that, in addition to the target space type and the target device type, the voice command also needs to include operation instructions, for example, specific operations such as turning on, turning off, raising the temperature, and lowering the temperature.
[0078] Optionally, before step 202, the method may further include: setting a space type and a device type for each of the smart home devices. Step 202 may include: when the space type of the smart home device is consistent with the target space type, and the device type of the smart home device is consistent with the target device type, the smart home device recognizes the voice command as a voice command for the smart home device itself; when the space type of the smart home device is different from the target space type, and / or the device type of the smart home device is different from the target device type, the smart home device recognizes the voice command as a voice command for other smart home devices whose space type is consistent with the target space type, and whose device type is consistent with the target device type.
[0079] Specifically, the room type can be set for the smart home device according to the room where the smart home device is located, which is used to characterize the specific location of the smart home device in the home. Optionally, the name of the room where the smart home device is located can be set as the space type of the smart home device, and the name of the room where the smart home device is located can be directly set as the space type of the smart home device, which makes the space type setting of the smart home device simple and easy. The device type can be set for the smart home device according to the function or name of the smart home device. For example, a children's room can be a room type, and an air conditioner can be a device type. During the recognition process, it is checked at the same time whether the target room type and the target device type are consistent with the room type and the device type of the smart home device respectively, so that the accuracy of determining which smart home device the voice command is directed to is higher.
[0080] During the identification process here, it is necessary to ensure that the space type of the smart home device is consistent with the target space type, and the device type of the smart home device is consistent with the target device type before the voice command can be identified as a voice command for the smart home device. If at least one of the two is inconsistent, the space type of the smart home device is inconsistent with the target space type, or the device type of the smart home device is inconsistent with the target device type, the voice command is considered to be not a voice command for the smart home device.
[0081] For example, the air conditioner in the living room receives a voice command, and the air conditioner in the living room recognizes the voice command, and the recognition result is to turn on the air conditioner in the children's room. In the "turn on the air conditioner in the children's room", "children's room" is the target space type, "air conditioner" is the target device type, and "turn on" is the operation command. In the air conditioner in the living room, "living room" is the space type, and "air conditioner" is the device type. The target device type "air conditioner" of the air conditioner in the living room is compared with its own device type "air conditioner". The two are consistent. Then the target space type "children's room" is compared with its own space type "living room". The two are obviously different, so the voice command is not a voice command for itself. It can be concluded that the voice command is for the air conditioner in the children's room. Therefore, the recognition result of the voice command is uploaded to the central controller through the aforementioned local area network, and the central controller then sends the recognition result of the voice command to the air conditioner in the children's room through the aforementioned local area network, and the air conditioner in the children's room executes the command to turn on the air conditioner.
[0082] Step 203: When the smart home device recognizes that the voice command is a voice command directed to the smart home device, the smart home device executes the voice command.
[0083] Step 204: When the smart home device recognizes that the voice command is a voice command for other smart home devices, the smart home device reports the voice command to the central controller through the local area network.
[0084] Step 203 and step 204 here can refer to the aforementioned step 102 and step 103 respectively. In order to avoid repetition, they are not repeated here.
[0085] Step 205: The central controller sends the voice command to the corresponding smart home device through the local area network.
[0086] Optionally, the voice command includes: a target space type and a target device type. Step 205 may include: the central controller sends the voice command to a smart home device whose space type is the aforementioned target space type and whose device type is the aforementioned target device type through the local area network. Accurate distribution of the voice command is achieved through the central controller, the target space type and the target device type, thereby avoiding misoperation.
[0087] For example, in the aforementioned example, the air conditioner in the living room uploads the recognition result of the voice command to the central controller through the aforementioned local area network, and the central controller then sends the recognition result of the voice command to the air conditioner in the children's room through the aforementioned local area network, and the air conditioner in the children's room executes the command to turn on the air conditioner.
[0088] Step 206: The corresponding smart home device executes the voice command.
[0089] Step 206 here can refer to the aforementioned step 105. In order to avoid repetition, it will not be repeated here.
[0090] In this application, by adding the target space type and the target device type to the voice command, the accuracy of voice command recognition can be improved, and misoperation can be avoided to a great extent.
[0091] The present application also provides a control system for smart home devices, which is applied to a smart home system. The smart home system includes: a central controller and multiple smart home devices. The central controller and multiple smart home devices form a local area network. For the smart home system, please refer to the above-mentioned related records. In order to avoid repetition, it will not be repeated here. Figure 5 , the control device may include:
[0092] The voice command receiving module 301 is used for the smart home device to receive voice commands;
[0093] A first execution module 302 is configured to cause the smart home device to execute the voice instruction when the smart home device recognizes that the voice instruction is a voice instruction for the smart home device;
[0094] A reporting module 303 is configured to, when the smart home device recognizes that the voice command is a voice command for other smart home devices, report the voice command to the central controller through the local area network by the smart home device;
[0095] The sending module 304 is used for the central controller to send the voice command to the corresponding smart home device through the local area network;
[0096] The second execution module 305 is used for the corresponding smart home device to execute the voice command.
[0097] Optionally, the voice command includes: a target space type and a target device type; the control device also includes: an identification module, used for the smart home device to identify whether the voice command is a voice command for the smart home device or a voice command for other smart home devices based on the target space type and the target device type.
[0098] Optionally, the device further comprises:
[0099] A setting module, used to set a space type and a device type for each of the smart home devices;
[0100] The identification module comprises:
[0101] A first identification submodule is configured to, when the space type of the smart home device is consistent with the target space type, and the device type of the smart home device is consistent with the target device type, the smart home device identifies the voice command as a voice command for the smart home device;
[0102] A second identification submodule is configured to, when the space type of the smart home device is different from the target space type and / or the device type of the smart home device is different from the target device type, the smart home device identifies the voice command as a voice command of another smart home device whose space type is consistent with the target space type and whose device type is consistent with the target device type;
[0103] The sending module 304 includes:
[0104] The sending submodule is used for the central controller to send the voice command to the smart home device whose space type is the target space type and device type is the target device type through the local area network.
[0105] Optionally, the setting module includes:
[0106] A setting submodule is used to set the room name where the smart home device is located as the space type of the smart home device.
[0107] Optionally, the device further comprises:
[0108] The first execution result processing module is used for the smart home device to report the execution result of the voice command to the central controller through the local area network; or
[0109] The second processing module for executing the result is used for the corresponding smart home device to report the execution result of the voice command to the central controller through the local area network;
[0110] The central controller records the execution result.
[0111] Optionally, the device further comprises:
[0112] The alarm module is used for the central controller to issue an alarm when the number of voice commands that are not successfully executed by the same smart home device is greater than a preset number.
[0113] The present application also provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the aforementioned control methods when executing the program.
[0114] The present application also provides a readable storage medium, when the instructions or transactions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any of the aforementioned control methods.
[0115] The present application also provides a computer program product, including instructions or transactions, which, when executed by a processor in an electronic device, enable the electronic device to execute any one of the aforementioned control methods.
[0116] It should be noted that the control system, electronic device, readable storage medium and computer program product can all refer to the description of the aforementioned control method and have the same or similar beneficial effects. In order to avoid repetition, they will not be described here.
[0117] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, 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 invention.
[0118] The present application also provides an electrical appliance, which includes any of the aforementioned control methods. The type of the electrical appliance is not specifically limited. For example, the electrical appliance may be an air conditioner, a robotic arm, etc. The electrical appliance and the aforementioned control method have the same or similar beneficial effects as any of the aforementioned control methods, and will not be described in detail here to avoid repetition.
[0119] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0120] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A control method, characterized in that: Applied to a smart home system, the smart home system comprises: a central controller and a plurality of smart home devices, the central controller and the plurality of smart home devices form a local area network; the method comprises: Smart home devices receive voice commands; When the smart home device recognizes that the voice command is a voice command for the smart home device, the smart home device executes the voice command; When the smart home device recognizes that the voice command is a voice command for other smart home devices, the smart home device reports the voice command to the central controller through the local area network; The central controller sends the voice command to the corresponding smart home device through the local area network; The corresponding smart home device executes the voice command.
2. The control method according to claim 1, characterized in that: The voice instruction includes: a target space type and a target device type; the method further includes: The smart home device identifies, based on the target space type and the target device type, whether the voice command is directed to the smart home device itself or to another smart home device.
3. The control method according to claim 2, characterized in that: The method further comprises: Setting a space type and a device type for each of the smart home devices; The smart home device identifies, based on the target space type and the target device type, whether the voice command is directed to the smart home device or to another smart home device, including: When the space type of the smart home device is consistent with the target space type, and the device type of the smart home device is consistent with the target device type, the smart home device recognizes the voice command as a voice command for the smart home device; When the space type of the smart home device is different from the target space type, and / or the device type of the smart home device is different from the target device type, the smart home device recognizes the voice command as a voice command of another smart home device whose space type is consistent with the target space type and whose device type is consistent with the target device type; The central controller sends the voice command to the corresponding smart home device through the local area network, including: The central controller sends the voice command to the smart home device whose space type is the target space type and whose device type is the target device type through the local area network.
4. The control method according to claim 3, characterized in that: The step of setting a space type and a device type for each of the smart home devices includes: The room name where the smart home device is located is set as the space type of the smart home device.
5. The control method according to any one of claims 1 to 4, characterized in that: The method further comprises: The smart home device reports the execution result of the voice command to the central controller via the local area network; or, The corresponding smart home device reports the execution result of the voice command to the central controller via the local area network; The central controller records the execution result.
6. The control method according to claim 5, characterized in that: The method further comprises: When the number of voice commands that are not successfully executed by the same smart home device is greater than a preset number, the central controller issues a warning.
7. A control device, characterized in that: Applied to a smart home system, the smart home system comprises: a central controller and a plurality of smart home devices, the central controller and the plurality of smart home devices form a local area network; the device comprises: A voice command receiving module is used for smart home devices to receive voice commands; A first execution module, configured to cause the smart home device to execute the voice instruction when the smart home device recognizes that the voice instruction is a voice instruction for the smart home device; a reporting module, configured to, when the smart home device recognizes that the voice command is a voice command for other smart home devices, report the voice command by the smart home device to the central controller through the local area network; A sending module, used for the central controller to send the voice command to the corresponding smart home device through the local area network; The second execution module is used for the corresponding smart home device to execute the voice command.
8. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method according to any one of claims 1 to 6 when executing the program.
9. A readable storage medium, characterized in that: When the instructions or transactions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the control method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises instructions or transactions, which, when executed by a processor in an electronic device, cause the electronic device to execute the control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Voice control method and device of smart home system
CN105629747A
Method for controlling collaborative work between home appliances
CN108766432A
Whole-house bidirectional intelligent voice system
CN109712614A
Smart home system and control method
CN115359791A
Wake-up method and wake-up device of Internet of Things equipment and Internet of Things system
CN117746860A
