Intelligent household electrical appliance control method and device, intelligent equipment and medium
Through the smart device's own voice assistant to obtain voice commands and wake up the voice assistant of the target application, the problem of poor user experience in the existing technology is solved and a more efficient smart home appliance control experience is achieved.
Patent Information
- Application Number
- CN202310602733.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-25
- Publication Date
- 2024-11-26
AI Technical Summary
The existing smart home appliances have poor user experience. Users need to manually wake up the application and remember the names of multiple voice assistants, which leads to complex operations and easy to confuse.
Get voice commands through the smart device's own voice assistant, determine the identification of the target smart home appliance and wake up the corresponding application voice assistant, simplify user operations and reduce the memory demand for the second voice assistant name.
It improves the user experience, simplifies the complexity of using voice assistants, enhances the user's usage rate of voice assistants, and reduces the difficulty of operation.
Smart Images

Figure CN119028334A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application belong to the technical field of smart home appliances, and specifically relate to a control method, apparatus, smart device and medium for smart home appliances. Background Art
[0002] With the development of voice recognition technology, voice assistants have emerged to meet users' needs for voice interaction. Users can control smart devices through voice assistants without having to manually operate smart devices, which provides great convenience.
[0003] At present, in order to control smart home appliances, smart devices are pre-installed with applications corresponding to smart home appliances, and voice assistants are pre-deployed in the applications. When users need to control smart home appliances, they need to wake up the voice assistant of the application within the voice reception range of the smart device and send voice commands to the smart device to achieve the purpose of controlling the smart home appliances.
[0004] However, the existing technology has the problem of poor user experience. Summary of the invention
[0005] In order to solve the above-mentioned problems in the prior art, that is, to solve the problem of poor user experience in the prior art, the embodiments of the present application provide a control method, apparatus, smart device and medium for smart home appliances.
[0006] In a first aspect, an embodiment of the present application provides a control method for a smart home appliance, including:
[0007] Acquire a voice command through a first voice assistant, where the first voice assistant is an application provided by the operating system of the smart device, and the voice command is used to control the operation of the target smart home appliance;
[0008] According to the voice command, waking up a second voice assistant of a target application corresponding to the target smart home appliance;
[0009] The target smart home appliance is controlled to operate through the second voice assistant.
[0010] In a possible implementation, waking up a second voice assistant of a target application corresponding to the target smart home appliance according to the voice command includes:
[0011] Determining the identification of the target smart home appliance according to the voice command;
[0012] Determining a target application corresponding to the identifier of the target smart home appliance according to the identifier and a mapping relationship of the target smart home appliance, wherein the mapping relationship includes a corresponding relationship between the identifier of the smart home appliance and the application;
[0013] Waking up the second voice assistant in the target application.
[0014] In a possible implementation, controlling the target smart home appliance to operate by using the second voice assistant includes:
[0015] Sending the voice command to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the voice command;
[0016] or,
[0017] Generate a control instruction according to the voice instruction, wherein the control instruction is used to control the operation of the target smart home appliance;
[0018] The control instruction is sent to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the control instruction.
[0019] In a possible implementation, before acquiring the voice command through the first voice assistant, the method further includes:
[0020] Obtaining a wake-up instruction, where the wake-up instruction is used to wake up the first voice assistant;
[0021] Wake up the first voice assistant according to the wake-up instruction.
[0022] In a possible implementation, the smart device communicates with the smart home appliance via at least one of a network, Bluetooth, and a carrier.
[0023] In a possible implementation, determining the identifier of the target smart appliance according to the voice command includes:
[0024] Converting the voice command into text;
[0025] Perform word segmentation on the text to obtain multiple keywords;
[0026] If any keyword is a preset word, the identifier of the smart home appliance corresponding to the preset word is determined as the identifier of the target smart home appliance, and the preset word is a fuzzy word related to the identifier or function of the smart home appliance.
[0027] In a second aspect, an embodiment of the present application provides a control device for a smart home appliance, comprising:
[0028] An acquisition module, configured to acquire a voice command through a first voice assistant, where the first voice assistant is an application provided by an operating system of a smart device, and the voice command is used to control the operation of a target smart home appliance;
[0029] A wake-up module, used to wake up a second voice assistant of a target application corresponding to the target smart home appliance according to the voice command;
[0030] A control module is used to control the operation of the target smart home appliance through the second voice assistant.
[0031] In a possible implementation manner, the wake-up module is specifically used to:
[0032] Determining the identification of the target smart home appliance according to the voice command;
[0033] Determining a target application corresponding to the identifier of the target smart home appliance according to the identifier and a mapping relationship of the target smart home appliance, wherein the mapping relationship includes a corresponding relationship between the identifier of the smart home appliance and the application;
[0034] Waking up the second voice assistant in the target application.
[0035] In a possible implementation manner, the control module is specifically used to:
[0036] Sending the voice command to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the voice command;
[0037] or,
[0038] Generate a control instruction according to the voice instruction, wherein the control instruction is used to control the operation of the target smart home appliance;
[0039] The control instruction is sent to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the control instruction.
[0040] In a possible implementation, before acquiring the voice instruction through the first voice assistant, the acquisition module is further used to acquire a wake-up instruction, where the wake-up instruction is used to wake up the first voice assistant;
[0041] The wake-up module is further used to wake up the first voice assistant according to the wake-up instruction.
[0042] In a possible implementation, the smart device communicates with the smart home appliance via at least one of a network, Bluetooth, and a carrier.
[0043] In a possible implementation manner, the wake-up module is specifically used to:
[0044] Converting the voice command into text;
[0045] Perform word segmentation on the text to obtain multiple keywords;
[0046] If any keyword is a preset word, the identifier of the smart home appliance corresponding to the preset word is determined as the identifier of the target smart home appliance, and the preset word is a fuzzy word related to the identifier or function of the smart home appliance.
[0047] In a third aspect, an embodiment of the present application provides an intelligent device, comprising: a processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor is used to implement the first aspect and the methods provided by various possible designs when executing the computer program instructions.
[0048] In a fourth aspect, an embodiment of the present application may provide a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect and the methods provided by various possible designs.
[0049] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the first aspect and the methods provided by various possible designs.
[0050] It is understandable to those skilled in the art that the control method, apparatus, smart device and medium of the smart home appliance provided in the embodiments of the present application, in which a voice instruction is obtained through a first voice assistant, and according to the voice instruction, a second voice assistant of a target application corresponding to the target smart home appliance is awakened, and the target smart home appliance is controlled to work through the second voice assistant. Among them, the first voice assistant is an application that comes with the operating system of the smart device, and the voice instruction is used to control the operation of the target smart home appliance. In this technical solution, the voice assistant that comes with the smart device system can be interconnected with the voice assistant of the application, which simplifies the complexity of the user's use of the second voice assistant, increases the user's utilization rate of the second voice assistant, and effectively improves the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0052] Figure 1 A schematic diagram of a scenario of a method for controlling a smart home appliance provided in an embodiment of the present application;
[0053] Figure 2 A flowchart of a first embodiment of a method for controlling a smart home appliance provided in an embodiment of the present application;
[0054] Figure 3 A flowchart of a second embodiment of a method for controlling a smart home appliance provided in an embodiment of the present application;
[0055] Figure 4 A flowchart of a third embodiment of a control method for a smart home appliance provided in an embodiment of the present application;
[0056] Figure 5 A schematic diagram of the structure of a control device for a smart home appliance provided in an embodiment of the present application;
[0057] Figure 6 A schematic diagram of the structure of the smart device provided in an embodiment of the present application.
[0058] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0059] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the present application and are not intended to limit the scope of protection of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.
[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] Before introducing the embodiments of the present application, the application background of the embodiments of the present application is first explained:
[0062] With the continuous upgrading of network and voice technology, users have put forward new demands for smart devices, such as the demand for voice interaction. Based on this, voice assistants came into being. Voice assistants are intelligent applications that help users solve problems through intelligent interactions such as intelligent dialogue and instant Q&A. They mainly help users solve life problems.
[0063] In actual applications, the operating system of the smart device comes with a voice assistant (the first voice assistant), and the application installed in the smart device also has a corresponding voice assistant (the second voice assistant).
[0064] Among them, the first voice assistant can recognize the user's voice and help the user complete various tasks. For example, it can help the user make calls, send text messages, open applications, etc.; the second voice assistant mainly helps the user operate the corresponding application. Assuming that the above application is used to control smart home appliances, the second voice assistant can recognize the user's voice and help the user operate the smart home appliances.
[0065] Figure 1 A schematic diagram of a scenario of a method for controlling a smart home appliance provided in an embodiment of the present application. Figure 1 As shown, the scenario includes: a smart device 101 and smart home appliances. Among them, the smart device 101 is pre-installed with multiple applications, such as Figure 1 Application A, Application B, Application C, Application C is used to control Figure 1 Smart home appliances include smart washing machines, smart air conditioners and smart TVs.
[0066] It should be understood that the embodiment of the present application does not limit the number of applications installed on the smart device 101. At the same time, the embodiment of the present application does not limit the number of smart home appliances controlled by application C, which can be limited according to actual conditions.
[0067] In this application, when the user needs to control the smart washing machine, he can click on the application C of the smart device 101, so that the smart device 101 responds to the user's operation and runs the application C. Further, the user can click on the control in the user image interface displayed by the application C, and the smart device 101 responds to the user's operation to send instructions to the smart home appliance to control the operation of the smart home appliance; after opening the application C, the second voice assistant of the application C can send instructions to the smart home appliance to control the operation of the smart home appliance.
[0068] Exemplarily, the smart device may be a smart phone, a smart speaker, a smart watch, etc., which may be limited according to actual conditions, and the embodiments of the present application do not impose specific limitations on this.
[0069] Before using the voice assistant, you need to wake it up first. You can wake it up by clicking the corresponding control in the application so that the second voice assistant can collect the user's voice; you can also wake up the second voice assistant by calling the name of the second voice assistant after opening the application.
[0070] However, the above wake-up process is complicated, and since the names of the second voice assistants corresponding to different applications are different, users are easily confused or forgetful, and are unable to wake up the second voice assistant by calling its name, resulting in a poor user experience.
[0071] In response to the above technical problems, the present application provides a control method for smart home appliances, whereby the smart device can obtain voice instructions for controlling the operation of the smart home appliance through its own first voice assistant, and then determine an application that can control the smart home appliance, and wake up the second voice assistant of the application, so that the smart home appliance can be controlled through the second voice assistant. Since the first voice assistant that comes with the smart device is used frequently, it is easy for the user to remember the name of the first voice assistant, and it is relatively easy to wake it up. By waking up the second voice assistant that needs to be used through the first voice assistant, the user does not need to remember the name of the second voice assistant, nor does the user need to manually click the control in the application for waking up the second voice assistant, which effectively improves the user experience.
[0072] The technical solution of the present application is described in detail below through specific embodiments.
[0073] It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0074] Figure 2 This is a flow chart of the first embodiment of the control method of the smart home appliance provided in the embodiment of the present application. Figure 2 As shown, the control method of the smart home appliance may include the following steps:
[0075] S201. Acquire a voice command through a first voice assistant.
[0076] The execution subject of the embodiment of the present application may be a smart device, or a control device of a smart home appliance set in a smart device. The control device of the smart home appliance may be implemented by software, or by a combination of software and hardware. For ease of understanding, the following description is made by taking the execution subject as a smart device as an example.
[0077] In this step, the first voice assistant is an application that comes with the operating system of the smart device, and the voice commands are used to control the operation of the target smart home appliance.
[0078] In a possible implementation, the first voice assistant of the smart device monitors the sound within the voice receiving range in real time when in the awake state. When the user needs to use the target smart home appliance, the user sends a voice command to the smart device within the voice receiving range of the smart device, so that the smart device obtains the voice command input by the user.
[0079] Exemplarily, the voice command may carry the identification of the target smart home appliance and the function name of the target smart home appliance. For example, the voice command may be "help me wash clothes in a standard way", "lower the temperature", "turn on the TV", etc. It should be understood that the voice command may also carry other content, which may be determined according to the specific usage scenario, and the embodiments of the present application do not specifically limit this.
[0080] Optionally, before S201, it is also necessary to wake up the first voice assistant so that the first voice assistant can collect the voice command input by the user.
[0081] S202. According to the voice command, wake up the second voice assistant of the target application corresponding to the target smart home appliance.
[0082] In this step, existing independent home appliance brands often develop their own applications to facilitate users to control the smart home appliances of the home appliance brand through the application. Therefore, after obtaining the voice command, the target smart home appliance to be controlled can be determined according to the voice command, and then the target application corresponding to the target smart home appliance can be determined, so that the second voice assistant that subsequently wakes up the target application can control the target smart home appliance.
[0083] In a possible implementation, S202 may be implemented by the following steps (1) to (3):
[0084] Step (1): according to the voice command, determine the identification of the target smart home appliance.
[0085] Optionally, the voice command may be converted into text, and then the text may be segmented to obtain multiple keywords. If any keyword is a preset word, the identifier of the smart home appliance corresponding to the preset word is determined as the identifier of the target smart home appliance, wherein the preset word is an ambiguous word related to the identifier or function of the smart home appliance.
[0086] For example, assuming that the voice command is "lower the temperature", the text corresponding to the voice command is segmented to obtain three keywords "lower", "a bit", and "temperature". Among them, "lower" and "temperature" are both fuzzy words related to the functions of the smart air conditioner, so the identifier of the smart air conditioner is determined as the identifier of the target smart air conditioner.
[0087] Further, assuming that the preset word corresponds to the identifications of multiple smart home appliances, for example, the user's home has multiple smart air conditioners, and each air conditioner has the function of lowering the temperature. The identifications of all smart air conditioners can be determined as the identifications of the target smart home appliance, and the identification of any one of the smart air conditioners can be determined as the identification of the target smart home appliance. The identification of one or more smart air conditioners that meet certain conditions can also be determined as the identification of the target smart home appliance. The above conditions can be the smart air conditioner closest to the user, and can be determined based on actual conditions. The embodiments of the present application do not impose specific restrictions on this.
[0088] Optionally, the above preset words can be predetermined according to the usage scenario or the specific functions of the smart home appliance, and the embodiments of the present application do not impose specific restrictions on this.
[0089] Step (2): determining a target application corresponding to the identifier of the target smart home appliance according to the identifier of the target smart home appliance and the mapping relationship.
[0090] The mapping relationship includes the corresponding relationship between the identifier of the smart home appliance and the application program.
[0091] Optionally, the above mapping relationship may be pre-configured in the smart device by relevant staff when the smart device is developed, or may be obtained by the smart device from other data storage devices. The embodiment of the present application does not impose specific restrictions on the method for obtaining the above mapping relationship.
[0092] Exemplarily, the above mapping relationship can be represented by the following Table 1.
[0093] Table 1 serial number Smart home appliance logo app 1 Smart home appliances1 Application 1 2 Smart Home Appliances 2 Application 2 3 Smart home appliances 3 Application 3
[0094] As shown in Table 1, assuming that the identifier of the target smart home appliance is smart home appliance 2, then according to the mapping relationship shown in Table 1, the application corresponding to the identifier of the target smart home appliance is determined to be application 2.
[0095] It should be understood that the above mapping relationship may also have other expressions. Similarly, the above Table 1 may also contain other contents, which can be determined according to actual conditions. This application does not specifically limit the expression form of the mapping relationship and the contents included.
[0096] Step (3), waking up the second voice assistant in the target application.
[0097] In the above implementation, the voice command is converted into text and then the text is segmented, so that the target application corresponding to the voice command is determined according to the keywords obtained by the segmentation, thereby improving the accuracy of determining the target application and further improving the accuracy of controlling the target smart home appliances.
[0098] S203: Control the operation of the target smart home appliance through the second voice assistant.
[0099] In this step, the target application establishes a communication connection with at least one smart appliance including the target smart appliance in advance, so that the second voice assistant of the target application can communicate and interact with the at least one smart appliance. Optionally, the smart device communicates with the smart appliance through at least one of a network, Bluetooth, and a carrier.
[0100] In a possible implementation, S202 may be implemented in the following two ways:
[0101] Method 1: Send voice commands to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the voice commands.
[0102] Method 2: Generate a control instruction according to the voice instruction, and send the control instruction to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the control instruction. The control instruction is used to control the work of the target smart home appliance.
[0103] Optionally, the control instruction may be a voice type instruction or a non-voice type instruction, and the embodiment of the present application does not specifically limit the type of the control instruction.
[0104] In this implementation, the smart device sends control instructions for controlling the operation of the target smart appliance to the target smart appliance through the network, Bluetooth, carrier, etc., thereby achieving control over the target smart appliance.
[0105] The control method of smart home appliances provided in the embodiment of the present application obtains voice instructions through the first voice assistant, wakes up the second voice assistant of the target application corresponding to the target smart home appliance according to the voice instructions, and controls the operation of the target smart home appliance through the second voice assistant. Among them, the first voice assistant is an application that comes with the operating system of the smart device, and the voice instructions are used to control the operation of the target smart home appliance. In this technical solution, the voice assistant that comes with the smart device system can be interconnected with the voice assistant of the application, which simplifies the complexity of the user's use of the second voice assistant, increases the user's utilization rate of the second voice assistant, and effectively improves the user's experience.
[0106] Based on the above embodiment, before obtaining the voice command through the first voice assistant, it is necessary to wake up the first voice assistant to put it in a working state.
[0107] Figure 3 This is a flow chart of the second embodiment of the control method of the smart home appliance provided in the embodiment of the present application. Figure 3As shown, before obtaining the voice command through the first voice assistant, the control method of the smart home appliance may further include the following steps:
[0108] S301, obtaining a wake-up instruction.
[0109] In this step, the user needs to wake up the first voice assistant before using it. The user can click the control for waking up the first voice assistant in the smart device, and the smart device responds to the user's operation and obtains the wake-up instruction input by the user; the user can also call the name of the first voice assistant within the voice receiving range of the smart device, and the smart device collects the user's voice to obtain the wake-up instruction input by the user.
[0110] Among them, the wake-up instruction is used to wake up the first voice assistant.
[0111] S302: Wake up the first voice assistant according to the wake-up instruction.
[0112] In the above embodiment, the smart device wakes up the first voice assistant by obtaining the wake-up command input by the user, laying the foundation for subsequently obtaining voice commands through the first voice assistant.
[0113] Figure 4 This is a flow chart of the third embodiment of the control method of the smart home appliance provided in the embodiment of the present application. Figure 4 As shown, in the application scenario where a user uses a smart washing machine, the user's voice wakes up the voice assistant of the smart device, the voice assistant of the smart device wakes up the voice assistant of the smart washing machine application, the voice assistant of the smart washing machine application sends a command to the smart washing machine, and the smart washing machine receives and executes the above command and works according to the command. Among them, the command can be a voice command.
[0114] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0115] Figure 5 This is a schematic diagram of the structure of the control device of the smart home appliance provided in the embodiment of the present application. Figure 5 As shown, the control device 500 of the smart home appliance includes:
[0116] The acquisition module 501 is used to acquire voice instructions through a first voice assistant. The first voice assistant is an application provided by the operating system of the smart device. The voice instructions are used to control the operation of the target smart home appliance.
[0117] The wake-up module 502 is used to wake up the second voice assistant of the target application corresponding to the target smart home appliance according to the voice command.
[0118] The control module 503 is used to control the operation of the target smart home appliance through the second voice assistant.
[0119] In a possible implementation, the wake-up module 502 is specifically configured to:
[0120] According to the voice command, the identification of the target smart home appliance is determined.
[0121] According to the identification of the target smart home appliance and the mapping relationship, the target application corresponding to the identification of the target smart home appliance is determined, and the mapping relationship includes the corresponding relationship between the identification of the smart home appliance and the application.
[0122] Wake up the second voice assistant in the target application.
[0123] In a possible implementation, the control module 503 is specifically configured to:
[0124] Through the second voice assistant, the voice command is sent to the target smart home appliance to control the target smart home appliance to work according to the voice command.
[0125] or,
[0126] Generate control instructions based on voice instructions, and the control instructions are used to control the operation of the target smart home appliance.
[0127] Through the second voice assistant, the control command is sent to the target smart home appliance to control the target smart home appliance to work according to the control command.
[0128] In a possible implementation, before obtaining the voice command through the first voice assistant, the obtaining module 501 is further used to obtain a wake-up command, and the wake-up command is used to wake up the first voice assistant.
[0129] The wake-up module 502 is further used to wake up the first voice assistant according to the wake-up instruction.
[0130] In a possible implementation, the smart device communicates with the smart home appliance via at least one of a network, Bluetooth, and a carrier.
[0131] In a possible implementation, the wake-up module 502 is specifically configured to:
[0132] Convert voice commands to text.
[0133] Perform word segmentation on the text to obtain multiple keywords.
[0134] If any keyword is a preset word, the identifier of the smart home appliance corresponding to the preset word is determined as the identifier of the target smart home appliance, and the preset word is a fuzzy word related to the identifier or function of the smart home appliance.
[0135] The control device for smart home appliances provided in the embodiments of the present application may be used to execute the control method for smart home appliances in any of the above embodiments. The implementation principles and technical effects thereof are similar and will not be described in detail herein.
[0136] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0137] Figure 6 This is a schematic diagram of the structure of the smart device provided in the embodiment of the present application. Figure 6 As shown, the smart device 101 may include: a processor 601, a memory 602, and computer program instructions stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program instructions, the control method of the smart home appliance provided in any of the aforementioned embodiments is implemented.
[0138] Optionally, the smart device 101 may also include an interface for interacting with other devices.
[0139] Optionally, the above-mentioned components of the smart device 101 may be connected via a system bus.
[0140] The memory 602 may be a separate storage unit or a storage unit integrated in a processor. The number of processors may be one or more.
[0141] It should be understood that the processor 601 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0142] The system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.
[0143] All or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.
[0144] The smart device provided in the embodiment of the present application can be used to execute the control method of the smart home appliance provided in any of the above method embodiments. The implementation principle and technical effects are similar and will not be repeated here.
[0145] An embodiment of the present application provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the control method of the smart home appliance.
[0146] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0147] Optionally, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0148] An embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, the above-mentioned smart home appliance control method can be implemented.
[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A control method for a smart home appliance, characterized in that: include: Acquire a voice command through a first voice assistant, where the first voice assistant is an application provided by the operating system of the smart device, and the voice command is used to control the operation of the target smart home appliance; According to the voice command, waking up a second voice assistant of a target application corresponding to the target smart home appliance; The target smart home appliance is controlled to operate through the second voice assistant.
2. The method according to claim 1, characterized in that The step of waking up a second voice assistant of a target application corresponding to the target smart home appliance according to the voice command includes: Determining the identification of the target smart home appliance according to the voice command; Determining a target application corresponding to the identifier of the target smart home appliance according to the identifier and a mapping relationship of the target smart home appliance, wherein the mapping relationship includes a corresponding relationship between the identifier of the smart home appliance and the application; Waking up the second voice assistant in the target application.
3. The method according to claim 1 or 2, characterized in that: The controlling the target smart home appliance to operate by the second voice assistant includes: Sending the voice command to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the voice command; or, Generate a control instruction according to the voice instruction, wherein the control instruction is used to control the operation of the target smart home appliance; The control instruction is sent to the target smart home appliance through the second voice assistant to control the target smart home appliance to work according to the control instruction.
4. The method according to claim 1 or 2, characterized in that: Before acquiring the voice command through the first voice assistant, the method further includes: Obtaining a wake-up instruction, where the wake-up instruction is used to wake up the first voice assistant; Wake up the first voice assistant according to the wake-up instruction.
5. The method according to claim 3, characterized in that: The smart device communicates with the smart home appliance via at least one of a network, Bluetooth and a carrier.
6. The method according to claim 2, characterized in that The step of determining the identifier of the target smart appliance according to the voice command includes: Converting the voice command into text; Perform word segmentation on the text to obtain multiple keywords; If any keyword is a preset word, the identifier of the smart home appliance corresponding to the preset word is determined as the identifier of the target smart home appliance, and the preset word is a fuzzy word related to the identifier or function of the smart home appliance.
7. A control device for a smart home appliance, characterized in that: include: An acquisition module, configured to acquire a voice command through a first voice assistant, where the first voice assistant is an application provided by an operating system of a smart device, and the voice command is used to control the operation of a target smart home appliance; A wake-up module, used to wake up a second voice assistant of a target application corresponding to the target smart home appliance according to the voice command; A control module is used to control the operation of the target smart home appliance through the second voice assistant.
8. A smart device comprising: A processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor is used to implement the control method of the smart home appliance as described in any one of claims 1 to 6 when executing the computer program instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the control method for the smart home appliance according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it is used to implement the control method of the smart home appliance as described in any one of claims 1 to 6.
