Smart home control method, device and system and medium
By monitoring hot words in voice information and generating adaptive scene mapping relationships, it solves the control problem of smart home devices in different environments and user somatosensory differences, and improves the experience satisfaction and user interaction experience of smart home.
Patent Information
- Application Number
- CN202410597440.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-08-23
AI Technical Summary
In existing smart home technology, there are difficulties in creating voice control scene mapping relationships, especially in different environments and user experience differences. As a result, the control of smart home devices does not adapt to specific needs, reducing user experience satisfaction.
By monitoring the hot words in the voice information, it is detected whether there is a scene mapping relationship. If it exists, the device is controlled according to the mapping relationship; if it does not exist, the scene mapping relationship of the hot word is generated based on the working changes of the smart home device, and if necessary Update mapping relationships and voice prompt information to adapt to user habits and needs.
It realizes the automatic and rapid creation of scene mapping relationships for smart home devices, adapts to the actual needs of users, and improves the experience satisfaction and user interaction experience of smart home devices.
Smart Images

Figure CN118534783A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a smart home control method, device, system and medium. Background Art
[0002] With the development of embedded intelligent hardware, voice control has become a very common and important technology. In smart homes, through voice control technology, users can issue different voice control commands to enable the system to automatically control different smart home devices, thus giving users a more intelligent experience.
[0003] In smart homes, the two most common smart scenarios are going home and going to bed. By establishing a mapping relationship between the corpus in these two smart scenarios and the smart home control, voice control is achieved. In the related art, there are two methods for establishing the mapping relationship.
[0004] The first method is for the configuration personnel to configure and edit the specific corpus through the system application and establish a mapping relationship. For example, if the prediction "I'm home" is recognized, the control action of "turn on the lights and air conditioner" will be executed. In this solution, the configuration personnel need to have certain technical capabilities, and when the user wants to modify the mapping relationship again, it needs to be edited again.
[0005] The second is that the system automatically creates a series of control actions according to the same rules. For example, the system creates by default the corresponding actions of "turning on the lights and air conditioner" when recognizing "I'm home". This kind of scene mapping relationship created by default rules will face great challenges in different construction deployment environments. For example, depending on the number of lights, installation locations, and installation locations of air conditioners, and the physical differences of different people, the created scene mapping relationship will not be suitable for specific environments, reducing the experience satisfaction of smart homes. Summary of the invention
[0006] Based on this, it is necessary to provide a smart home control method, device, system and medium that can improve the experience satisfaction of the smart home in response to the above technical problems.
[0007] A smart home control method, comprising:
[0008] Monitoring voice information, and when the voice information is detected to contain a hot word, detecting whether there is a scene mapping relationship of the hot word; the scene mapping relationship represents a control action of a smart home device associated with the hot word;
[0009] If there is a scene mapping relationship of the hot word, controlling the smart home device according to the scene mapping relationship;
[0010] If there is no scene mapping relationship for the hot word, the scene mapping relationship for the hot word is generated according to the working changes of the smart home device within the first set time period.
[0011] In the above solution, after controlling the smart home device according to the scene mapping relationship, the method further includes:
[0012] Obtaining working changes of the smart home device within a second set time period;
[0013] If the working change situation indicates that the working of the smart home device has changed within a second set time period, the scene mapping relationship is updated according to the working change situation of the smart home device within the second set time period.
[0014] In the above solution, after generating the scene mapping relationship of the hot word, the method further includes:
[0015] A first voice prompt information is added to the scene mapping relationship; the voice prompt information is used to be output after the smart home device is controlled according to the scene mapping relationship next time.
[0016] In the above solution, the first voice prompt information represents the control of the smart home device according to the user's habits.
[0017] In the above solution, after updating the scene mapping relationship, the method further includes:
[0018] According to the working changes of the smart home device within the second set time period, the voice prompt information in the scene mapping relationship is updated.
[0019] In the above solution, updating the voice prompt information in the scene mapping relationship according to the working changes of the smart home device within the second set time period includes:
[0020] If the working change situation indicates that the working of the smart home device has not changed within the second set time period, the current voice prompt information is updated to the second voice prompt information; the second voice prompt information indicates a reply to the hot word.
[0021] In the above solution, updating the voice prompt information in the scene mapping relationship according to the working changes of the smart home device within the second set time period includes:
[0022] If the working change situation indicates that the working of the smart home device has changed within the second set time period, the current voice prompt information is updated to the first voice prompt information.
[0023] A smart home control device, comprising:
[0024] A detection module, used to monitor voice information, and when the voice information is detected to contain a hot word, detect whether there is a scene mapping relationship of the hot word; the scene mapping relationship represents the control action of the smart home device associated with the hot word;
[0025] A control module, configured to control the smart home device according to the scene mapping relationship if there is a scene mapping relationship of the hot word;
[0026] A generation module is used to generate the scene mapping relationship of the hot word according to the working changes of the smart home device within a first set time period if there is no scene mapping relationship of the hot word.
[0027] A smart home control system includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the smart home control method are implemented.
[0028] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned smart home control method when executed by a processor.
[0029] The above-mentioned smart home control method, device, system and medium, when monitoring that the voice information contains hot words, detects whether there is a scene mapping relationship of the hot words. If there is a scene mapping relationship of the hot words, the smart home devices are controlled according to the scene mapping relationship. If there is no scene mapping relationship of the hot words, the scene mapping relationship of the hot words is generated according to the working changes of the smart home devices within the first set time period, so that the scene mapping relationship about the hot words can be automatically and quickly created, and the scene mapping relationship records the user's operation on the smart home device under the hot words, so that the scene mapping relationship can be replaced and the user's actual usage needs are met, thereby improving the experience satisfaction of the smart home. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of a flow chart of a smart home control method in one embodiment;
[0031] Figure 2 A schematic diagram of a process for updating a scene mapping relationship in one embodiment;
[0032] Figure 3 A schematic diagram of a flow chart for implementing voice prompt information in an embodiment;
[0033] Figure 4 The figure is a schematic diagram of the generation process of the scene mapping relationship in one embodiment.
[0034] Figure 5 FIG. 4 is a structural block diagram of a smart home control device in an embodiment. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0036] The implementation details of the technical solution of the embodiment of the present application are described in detail below.
[0037] In one embodiment, Figure 1 As shown, a smart home control method is provided, which may include the following steps:
[0038] Step S101, monitoring voice information, and when the voice information is detected to contain a hot word, detecting whether there is a scene mapping relationship of the hot word.
[0039] The voice information in the monitoring environment is processed in the subsequent process, wherein the voice information here is sent by the user, and the user can control the smart home through the voice information sent.
[0040] In practical applications, the monitoring of voice information can be triggered by setting corresponding conditions. For example, when the volume in the environment is greater than a set threshold, it indicates that there may be voice information in the environment, thereby triggering the detection of voice information.
[0041] For the monitoring of voice information, voice recognition technology can be used to monitor and identify voice information in the environment and convert the voice information into text form. Then, through the converted text, keyword detection algorithms or natural language processing technology can be used to detect whether specific hot words are contained.
[0042] It should be noted that these hot words are keywords or phrases that users often use when interacting with the smart home system through voice. Different hot words correspond to different scenes in command furniture. These hot words can indicate the scene the user is currently in.
[0043] In actual applications, the hot words that need to be monitored can be pre-configured, where they can be set according to high-frequency words or related words that may appear in different scenarios, such as configuring "I'm home" as a hot word in the home scene, and configuring "good night" as a hot word in the sleep scene.
[0044] It is understandable that the working parameters of smart home devices are different under different hot words, that is, in different scenes. Therefore, it is necessary to equip scene mapping relationships of different hot words, where the scene mapping relationship represents the control action of the smart home device associated with the hot word, so that the corresponding smart home device can be controlled through the scene mapping relationship of the hot word, so that the operation of the smart home device can match the scene where the user is in and meet the needs of the user.
[0045] Based on this, when it is detected that the voice information contains hot words, it is necessary to detect whether there is a scene mapping relationship of the hot words, so as to determine whether the smart home device can be controlled according to the scene mapping relationship of the hot words.
[0046] Step S102: If there is a scene mapping relationship of the hot word, the smart home device is controlled according to the scene mapping relationship.
[0047] In the case of a hot word scene mapping relationship, the smart home system triggers the corresponding smart home device control instructions according to the hot word scene mapping relationship to achieve control of the smart home device. For example, the scene mapping relationship of the hot word "good night" is "good night - turn off the lights". Under this scene mapping relationship, the lights are controlled to be turned off.
[0048] Step S103: if there is no scene mapping relationship of the hot word, a scene mapping relationship of the hot word is generated according to the working changes of the smart home device within the first set time period.
[0049] Here, if there is no scene mapping relationship for the hot word, it means that the hot word is triggered for the first time, and a corresponding scene mapping relationship needs to be generated for the hot word.
[0050] In order to create a hot word scene mapping relationship, after the hot word is triggered, it is necessary to monitor the working changes of the smart home devices within the first set time, including the switch status and working parameters of the devices. These data will serve as the basis for generating the hot word mapping relationship. Then, based on the working changes of the smart home devices within the first set time, the hot word scene mapping relationship is generated.
[0051] It is understandable that after triggering the hot word, the user will operate the smart home device within the first set time period. Through the user's active operation, the smart home device can be set to match the user needs of the current scene. Therefore, by monitoring the working changes of the smart home device within the first set time period, the user's operating behavior on the smart home device can be determined, and the user's needs and habits can be identified, so that the scene mapping relationship can be generated according to the user's personalized needs.
[0052] In actual applications, the first set duration is usually set to a shorter duration, for example, it can be set to within 1 minute. This is because users will complete the operation of smart home devices in a shorter time. Therefore, the working changes of smart home devices in a shorter time are more closely related to the current scene, and the working changes of smart home devices within the first set duration can be identified as control actions that need to be performed in the current scene.
[0053] It should be noted that even in the same scenario, users' operations of smart devices will differ due to different home environments, different hardware deployments and different user needs. Therefore, by monitoring the working changes of smart home devices during the user's operation of smart devices, it is possible to generate scene mapping relationships that meet user needs under different home environments, different hardware deployments and different group perception differences, thereby improving user experience satisfaction with smart home control.
[0054] After the scene mapping relationship of the hot word is generated, when the hot word is triggered again, the automatic control of the smart home device can be achieved directly according to the scene mapping relationship of the hot word.
[0055] In one embodiment, Figure 2 As shown, Figure 2 A schematic diagram of the updating process of the scene mapping relationship is shown.
[0056] Step S201, obtaining the working change status of the smart home device within a second set time period.
[0057] Step S202: If the working change indicates that the working of the smart home device has changed within the second set time period, the scene mapping relationship is updated according to the working change of the smart home device within the second set time period.
[0058] Here, after controlling the smart home devices according to the scene mapping relationship, it is necessary to monitor the working changes of the smart home devices within the second set time period.
[0059] In one scenario, the scene mapping relationship is a temporary scene mapping relationship. Here, the temporary scene mapping relationship refers to a scene mapping relationship with a high probability of change, which is applicable to a newly generated scene mapping relationship or a scene mapping relationship that changes frequently. For example, at time t1, a scene mapping relationship containing the hot word "good night" is monitored, and there is no hot word "good night", and the lights are monitored to be turned off within the first set time, so that the corresponding scene mapping relationship "good night-lights off" can be generated. At time t2 after time t1, the hot word "good night" is monitored again. At this time, the lights can be controlled to be turned off according to the scene mapping relationship "good night-lights off". Since the temporary scene mapping relationship is generated by a single user operation, there is a possibility that a single user operation cannot fully reflect the user's needs, resulting in the instability of the scene mapping relationship. Therefore, it is still necessary to monitor the working changes of the smart home devices within the second set time to determine whether the scene mapping relationship needs to be modified.
[0060] In another case, the scene mapping relationship is a stable scene mapping relationship. Here, the stable scene mapping relationship means that the probability of the scene mapping relationship changing is low. In this case, there is also the possibility of modifying the scene mapping relationship, for example, there are new smart home devices, or user needs change, etc., so it is necessary to monitor the working changes of the smart home devices within the second set time period and modify the scene mapping relationship in time.
[0061] It can be understood that after controlling the smart home devices according to the scene mapping relationship, if it still does not match the user's needs, the user will operate the smart home devices to be controlled within the second set time period, so that by obtaining the working changes of the smart home devices within the second set time period, the user's needs can be better identified, and the scene mapping relationship can be modified according to the working changes of the smart home devices within the second set time period, so that the working status of the smart home devices after executing the scene mapping relationship is consistent with the working status of the smart home devices after the operation issued by the user within the second set time period, so that the scene mapping relationship can be automatically updated as the user's usage habits change.
[0062] For example, after controlling the smart home device according to the scene mapping relationship "Good night—lights off", it is monitored that within the second set time period, the working state of the air conditioner changes from off to on. Based on this, the scene mapping relationship can be modified to "Good night—lights off + air conditioner on".
[0063] It should be noted that the working changes of the smart home device within the second set time only represent that the working state of the air conditioner has changed, while the working state of the light has not changed. Therefore, the modified scene mapping relationship still includes the control action of turning off the light.
[0064] In one embodiment, after the scene mapping relationship is generated, a first voice prompt information may be added to the scene mapping relationship, wherein the first voice prompt information will be output after the smart home device is controlled according to the scene mapping relationship next time. Here, outputting the first prompt information may prompt the user that a corresponding scene mapping relationship has been created for the current hot word according to the user's habits, so that the user can automatically control the smart home device according to the user's habits through voice, and at the same time, the result of voice control of the smart home device may be fed back to the user through the output of the first prompt information.
[0065] In one embodiment, the first voice prompt information indicates that the smart home device is controlled according to the user's habits, so as to indicate that the smart home device has been successfully controlled according to the user's habits, so that the user can get real-time feedback and confirmation. For example, after the scene mapping relationship of the hot word "good night" is established, the next time the hot word "good night" is detected and the smart home device is controlled according to the scene mapping relationship of the hot word "good night", the first voice prompt information can be used to prompt "the smart home device of your home has been controlled according to your habits", so as to prompt the user that the current working state of the smart home device is set according to the user's habits after the hot word "good night" is triggered.
[0066] In one embodiment, the updating of the voice prompt information in the scene mapping relationship is described in detail.
[0067] After controlling the smart home devices according to the scene mapping relationship, the voice prompt information in the scene mapping relationship is updated according to the working changes of the smart home devices within the second set time period, so that the update status of the scene mapping relationship can be fed back to the user through different voice prompt information, so that the user can understand the update status of the scene mapping relationship.
[0068] In one embodiment, if the operation of the smart home device does not change within the second set time, the hot word associated control action in the scene mapping relationship remains unchanged, indicating that the hot word associated control action in the current scene mapping relationship can match the user's needs in the scene to which the hot word belongs. At this time, the voice prompt information in the scene mapping relationship can be set to the second voice prompt information, so that the second voice prompt information can be output after the hot word is triggered next time and the control of the smart home device is completed. Among them, the second voice information represents the reply to the hot word, so that the voice information can be replied more specifically, allowing the user to feel the system's immediate response and feedback, and increase the user's interactive experience.
[0069] In actual application, the second voice message can be set for different hot words. For example, if the hot word is "good night", the second voice message can be set to "OK" or other voice messages used to reply to the hot word "good night", so that differentiated voice information feedback can be achieved for different hot words.
[0070] If the working change situation represents that the working of the smart home device has changed within the second set time period, then the hot word associated control action in the scene mapping relationship will also change accordingly, and the changed control action can better meet the user's needs. At this time, the voice prompt information in the scene mapping relationship is set to the first voice prompt information. Through the first voice prompt information, the user can be aware that the control action has been adjusted according to the user's habits, thereby improving the control effect of the smart home device and the user's experience.
[0071] In this embodiment, different voice prompt information can be set for the scene mapping relationship based on the working changes of the smart home device within the second set time period, so that different information can be conveyed to the user through different voice prompt information, thereby improving the user's perception of controlling the smart home device.
[0072] In the above embodiment, voice prompts are added to the scene mapping relationship, so that when the smart home control system controls the smart home devices according to the scene mapping relationship, in addition to executing control actions on the smart home devices, it also executes voice prompt actions, thereby achieving voice prompts for completing the control of the smart home devices.
[0073] like Figure 3 As shown, Figure 3 The following is a flow chart of implementing voice prompt information. Figure 3 The process is described below.
[0074] Step 1: Create a hot word associated control action in a scene mapping relationship according to the working changes of the smart home device within a first set time period.
[0075] Step 2, determining whether the operation of the smart home device has changed within the second set time period. If so, executing step 3, if not, executing step 4.
[0076] Step 3: Update the voice prompt information in the scene mapping relationship to the first prompt information.
[0077] Step 4: Update the voice prompt information in the scene mapping relationship to the second prompt information.
[0078] Through the above steps, the voice prompt information can be updated accordingly according to the update status of the scene mapping relationship.
[0079] Combine the following Figure 3 , starting from creating scene mapping relationships, the implementation process of voice prompt information is specifically explained in combination with application scenarios.
[0080] When a hot word is detected for the first time, it is determined that there is no scene mapping relationship for the hot word. At this time, the hot word associated control action in the scene mapping relationship is created through the working changes of the smart home device within the first set time period, and the voice prompt information in the scene mapping relationship is set to the first voice prompt information.
[0081] When the hot word is detected for the second time, the scene mapping relationship hot word associated control action is executed, and after the control action is executed, the first voice prompt information is output to prompt the user that the current smart home device has completed the control according to the user's needs.
[0082] Then, the working changes of the smart home device within the second set time are monitored. Assuming that the working of the smart home device has not changed within the second set time, the voice prompt information in the scene mapping relationship is set as the second voice prompt information.
[0083] When the hot word is detected for the third time, the scene mapping relationship hot word association control action is executed, and after the control action is executed, a second voice prompt message is output, so that a corresponding response can be given to the voice message sent by the user, prompting the user that the control of the smart home device has been completed.
[0084] This application also provides an application example. Figure 4 As shown, Figure 4 A schematic diagram of the generation process of the scene mapping relationship is shown.
[0085] Step 1: Determine whether the voice message contains a hot word. Configure the hot words that need to be monitored. When the user is having a voice conversation, monitor the voice message and determine whether the voice message contains a hot word. If the voice message contains a hot word, execute step 2. If the voice message does not contain a hot word, end the process.
[0086] Step 2: Whether there is a scene mapping relationship for the hot word. If there is no scene mapping relationship for the hot word, execute step 3; if there is a scene mapping relationship for the hot word, execute step 6.
[0087] Step 3: Obtain changes in smart home devices within a first set time period.
[0088] Step 4: Generate hot word associated control actions in the scene mapping relationship.
[0089] Step 5: Add the first voice information to the scene mapping relationship. After completing the process of step 5, go to step 1.
[0090] Step 6: Control the smart home devices according to the scene mapping relationship and issue voice prompts.
[0091] Step 7, determine whether the smart home device has changed within the second set time. If it has changed, execute step 8, if not, jump to step 1.
[0092] Step 8, update the scene mapping relationship. Specifically, according to the changes of the smart home device within the second set time, update the hot word associated control action in the scene mapping relationship, and update the voice information in the scene mapping relationship to the second voice information. After completing the process of step 8, go to step 1.
[0093] Combination Figure 4 The schematic diagram of the generation process of the scene mapping relationship shown in the figure takes a hot word as an example to explain in detail the operation of the smart home control system.
[0094] When the user is having a voice conversation, the smart home control system cooperates with the hot words that need to be monitored to determine whether the voice information contains hot words. When it is determined that the voice information contains hot words, it starts to monitor the working changes of the smart home devices within the first set time period and creates a temporary scene mapping relationship. For example, after the user says a voice message containing the hot word "good night", he actively turns off the lights, then a scene mapping relationship of the hot word "good night" is created, that is, when the voice recognizes the hot word "good night", the control action of turning off the lights is executed. And add a voice prompt "The smart home devices in your home have been controlled for you according to your habits" in the temporary scene mapping relationship.
[0095] When the user is detected saying a voice message containing the hot word "good night" again, the smart home control system automatically executes the temporary scene mapping relationship created last time for the hot word "good night" and outputs a voice prompt "The smart home devices in your home have been controlled according to your habits."
[0096] After executing the temporary scene mapping relationship, the working changes of the smart home devices within the second set time period are still collected. And according to the working changes of the smart home devices within the second set time period, the temporary scene mapping relationship is updated. The next time the hot word "good night" is detected, the updated scene mapping relationship is executed.
[0097] In this process, if after executing the temporary scene mapping relationship, the operation of the smart home device does not change within the second set time, then it can be considered that the temporary scene mapping relationship has been transformed into a stable scene mapping relationship, and the voice prompt information in the scene mapping relationship can be updated with the reply about the hot word. After the voice prompt information in the scene mapping relationship is updated, the next time the hot word "good night" is detected and the scene mapping relationship is executed, "The smart devices in your home have been controlled according to your habits" will no longer be played, but a simple reply will be given to the hot word, thereby improving the user experience.
[0098] Of course, if the hot word associated control action in the stable scene mapping relationship changes again, the voice prompt information in the scene mapping relationship will also be updated to "The smart home devices in your home have been controlled for you according to your habits", so that the update status of the scene mapping relationship can be fed back to the user through different voice prompt information.
[0099] In the above embodiment, voice information is monitored, and when it is detected that the information contains hot words, it is monitored whether there is a scene mapping relationship of the hot words. If there is no scene mapping relationship of the hot words, the scene mapping relationship of the hot words is automatically created according to the working changes of the smart home devices within the first set time period, wherein the scene mapping relationship is generated based on the working changes of the smart home devices after the user operates the smart home devices, which is more in line with the actual usage needs of the users.
[0100] In one embodiment, a smart home control device is provided, referring to Figure 5 As shown, the smart home control device 500 may include: a detection module 501, a control module 502, a generation module 503 and an update module 504.
[0101] Among them, the detection module 501 is used to monitor voice information, and when the voice information is detected to contain a hot word, detect whether there is a scene mapping relationship of the hot word; the scene mapping relationship represents the control action of the smart home device associated with the hot word; the control module 502 is used to control the smart home device according to the scene mapping relationship if there is a scene mapping relationship of the hot word; the generation module 503 is used to generate the scene mapping relationship of the hot word according to the working changes of the smart home device within the first set time period if there is no scene mapping relationship of the hot word.
[0102] In one embodiment, after the control module 502 is used to control the smart home device according to the scene mapping relationship, the update module 504 is used to obtain the working changes of the smart home device within a second set time period; if the working change situation represents that the working of the smart home device has changed within the second set time period, the scene mapping relationship is updated according to the working change situation of the smart home device within the second set time period.
[0103] In one embodiment, after generating the scene mapping relationship of the hot word, the generation module 503 is further used to add a first voice prompt information to the scene mapping relationship; the voice prompt information is used to be output after the smart home device is controlled according to the scene mapping relationship next time.
[0104] In one embodiment, the first voice prompt information represents controlling the smart home device according to user habits.
[0105] In one embodiment, after updating the scene mapping relationship, the updating module 504 is further used to update the voice prompt information in the scene mapping relationship according to the working changes of the smart home device within the second set time period.
[0106] In one embodiment, the update module 504 is specifically used to update the current voice prompt information to the second voice prompt information if the working change situation indicates that the working of the smart home device has not changed within the second set time period; the second voice prompt information represents a reply to the hot word.
[0107] In one embodiment, the updating module 504 is specifically configured to update the current voice prompt information to the first voice prompt information if the working change situation indicates that the working of the smart home device has changed within the second set time period.
[0108] For the specific definition of the smart home control device 500, please refer to the definition of the smart home control method above, which will not be repeated here. Each module in the above-mentioned smart home control device 500 can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0109] In one embodiment, a system is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements a smart home control method when executing the computer program.
[0110] In one embodiment, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, a smart home control method is implemented.
[0111] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0112] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0113] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0114] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0115] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A smart home control method, characterized in that: include: Monitoring voice information, and when it is detected that the voice information contains a hot word, detecting whether there is a scene mapping relationship of the hot word; The scene mapping relationship represents the control action of the smart home device associated with the hot word; If there is a scene mapping relationship of the hot word, controlling the smart home device according to the scene mapping relationship; If there is no scene mapping relationship for the hot word, the scene mapping relationship for the hot word is generated according to the working changes of the smart home device within the first set time period.
2. The method according to claim 1, characterized in that After controlling the smart home device according to the scene mapping relationship, the method further includes: Obtaining working changes of the smart home device within a second set time period; If the working change situation indicates that the working of the smart home device has changed within a second set time period, the scene mapping relationship is updated according to the working change situation of the smart home device within the second set time period.
3. The method according to claim 2, characterized in that After generating the scene mapping relationship of the hot word, the method further includes: A first voice prompt information is added to the scene mapping relationship; the voice prompt information is used to be output after the smart home device is controlled according to the scene mapping relationship next time.
4. The method according to claim 3, characterized in that The first voice prompt information represents the control of the smart home device according to the user's habits.
5. The method according to claim 4, characterized in that After updating the scene mapping relationship, the method further includes: According to the working changes of the smart home device within the second set time period, the voice prompt information in the scene mapping relationship is updated.
6. The method according to claim 5, characterized in that The updating of the voice prompt information in the scene mapping relationship according to the working change of the smart home device within the second set time period includes: If the working change situation indicates that the working of the smart home device has not changed within the second set time period, the current voice prompt information is updated to the second voice prompt information; the second voice prompt information indicates a reply to the hot word.
7. The method according to claim 5, characterized in that The updating of the voice prompt information in the scene mapping relationship according to the working change of the smart home device within the second set time period includes: If the working change situation indicates that the working of the smart home device has changed within the second set time period, the current voice prompt information is updated to the first voice prompt information.
8. A smart home control device, characterized in that: include: A detection module, used to monitor voice information, and when the voice information is detected to contain a hot word, detect whether there is a scene mapping relationship of the hot word; The scene mapping relationship represents the control action of the smart home device associated with the hot word; A control module, configured to control the smart home device according to the scene mapping relationship if there is a scene mapping relationship of the hot word; A generation module is used to generate the scene mapping relationship of the hot word according to the working changes of the smart home device within a first set time period if there is no scene mapping relationship of the hot word.
9. A smart home control system, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the smart home control method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the smart home control method according to any one of claims 1 to 7 are implemented.
