Voice instruction processing method, laundry device, storage medium and product
By pre-storing voice command processing strategies in the washing machine and using AI algorithms for classification, the problem of voice commands not being able to be executed when no strategy is pre-stored is solved, resulting in a better user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- QINGDAO HAIER WASHING MASCH CO LTD
- Filing Date
- 2021-04-27
- Publication Date
- 2026-06-16
AI Technical Summary
Existing washing machines cannot execute user voice commands without pre-stored voice command processing strategies, resulting in a degraded user experience.
The washing machine pre-stores processing strategies for different voice commands and uses artificial intelligence algorithms to classify the voice commands, determining the processing strategy based on the classification results.
Even without pre-stored user voice commands, the system can still accurately process voice commands through preset classification and processing strategies, thereby improving the user experience.
Smart Images

Figure CN115247343B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of laundry equipment technology, and in particular to a voice command processing method, laundry equipment, storage medium and product. Background Technology
[0002] Laundry equipment is a common household appliance that can be used to wash, spin-dry, and dry clothes.
[0003] Nowadays, voice control is widely used in daily life. The integration of voice control with laundry equipment makes it more convenient for users to control the equipment. Laundry equipment typically has pre-stored processing strategies for different voice commands; the equipment selects the appropriate strategy based on the user's voice command.
[0004] However, due to the complex and varied nature of user voice commands, if the washing machine does not have a corresponding processing strategy pre-stored within it, it will be unable to execute the corresponding processing for some voice commands. Summary of the Invention
[0005] This application provides a voice command processing method, a laundry device, a storage medium, and a product to solve the problems existing in the prior art.
[0006] Firstly, this application provides a voice command processing method, including:
[0007] Obtain the user's first voice command;
[0008] The first voice command is classified to obtain the command classification result corresponding to the first voice command;
[0009] Based on the instruction classification results, the processing strategy corresponding to the first voice instruction is determined.
[0010] In some embodiments, classifying the first voice command to obtain the command classification result corresponding to the first voice command includes:
[0011] The corresponding laundry equipment information is determined based on the content of the first voice command. The laundry equipment information includes laundry equipment Q&A information and / or laundry equipment parameter change information. The laundry equipment Q&A information includes clothing handling Q&A information or equipment malfunction Q&A information. The laundry equipment parameter change information includes the type of laundry equipment parameter that has changed and the amount of parameter value change.
[0012] Based on the laundry equipment information, the first voice command is classified to obtain the command classification result.
[0013] In some embodiments, determining the processing strategy corresponding to the first voice instruction based on the instruction classification result includes:
[0014] When the instruction classification result determines that the first voice instruction belongs to the first category, the processing strategy corresponding to the first voice instruction is determined according to the first category and the preset category.
[0015] The preset categories include preset instructions, and each preset instruction corresponds to a preset processing strategy.
[0016] In some embodiments, determining the processing strategy corresponding to the first voice command based on the first category and a preset category includes:
[0017] If the first category belongs to the preset category, then determine whether the first voice command belongs to the preset command;
[0018] If the first voice command is a preset command, then the preset processing strategy corresponding to the preset command is determined to be the processing strategy corresponding to the first voice command.
[0019] In some embodiments, it also includes:
[0020] If the first voice command does not belong to the preset commands, then the second voice command with the highest similarity to the first voice command is determined from all the preset commands in the preset category;
[0021] The preset processing strategy corresponding to the second voice command is determined to be the processing strategy corresponding to the first voice command.
[0022] In some embodiments, determining the processing strategy corresponding to the first voice command based on the first category and a preset category includes:
[0023] If the first category does not belong to the preset category, then determine whether there exists a preset category with a similarity greater than a preset value to the first category;
[0024] If it exists, then determine the second category with the highest similarity to the first category from the preset categories whose similarity to the first category is greater than a preset value;
[0025] From all the preset instructions corresponding to the second category, determine the third voice instruction that has the highest similarity to the first voice instruction;
[0026] The preset processing strategy corresponding to the third voice command is determined to be the processing strategy corresponding to the first voice command.
[0027] In some embodiments, determining the processing strategy corresponding to the first voice command based on the first category and a preset category includes:
[0028] Based on at least one of the following: washing equipment function information, current washing stage status, current washing equipment status, current environmental status, as well as the first category and the preset category, determine the processing strategy corresponding to the first voice command;
[0029] The processing strategy includes at least one of directly executing the first voice command, confirming with the user whether to execute the first voice command, recommending functions to the user, or outputting question-and-answer response information.
[0030] Secondly, this application provides a voice command processing device, comprising:
[0031] The instruction acquisition module is used to acquire the user's first voice command;
[0032] The instruction classification module is used to classify the first voice instruction and obtain the instruction classification result corresponding to the first voice instruction;
[0033] The strategy determination module is used to determine the processing strategy corresponding to the first voice command based on the command classification result.
[0034] Thirdly, this application provides a laundry device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the above-described voice command processing method.
[0035] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the above-described voice command processing method.
[0036] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the above-described voice command processing method.
[0037] The voice command processing method, washing equipment, storage medium, and product provided in this application have different preset categories and preset processing strategies pre-stored inside the washing equipment. When the washing equipment obtains a user's voice command, it first classifies the voice command, and then determines the processing strategy for the user's voice command based on the classification result, combined with the pre-saved preset categories and corresponding preset processing strategies. Thus, even if the washing equipment does not save the preset command corresponding to the user's voice command, it can still determine the processing strategy based on the preset category related to the voice command, so as to ensure that the user's voice command can be processed normally, thereby improving the user experience. Attached Figure Description
[0038] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0039] Figure 1 A schematic diagram of a voice command processing method provided in an embodiment of this application;
[0040] Figure 2 Another schematic diagram of the voice command processing method provided in the embodiments of this application;
[0041] Figure 3 This is an example diagram illustrating a specific application scenario of the technical solution in the embodiments of this application;
[0042] Figure 4 A schematic diagram of the voice command processing device provided in the embodiments of this application;
[0043] Figure 5 This is a schematic diagram of the structure of the laundry equipment provided in the embodiments of this application.
[0044] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms "a" and "the" as used in the embodiments of this application are also intended to include the plural forms unless the context clearly indicates otherwise.
[0047] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”
[0048] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a product or system comprising a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a product or system. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the product or system that includes said element.
[0049] Nowadays, voice control is widely used in daily life. The integration of voice control with laundry equipment makes it more convenient for users to control the equipment. Laundry equipment typically has pre-stored processing strategies for different voice commands; the equipment selects the appropriate strategy based on the user's voice command.
[0050] However, due to the complex and varied nature of user voice commands, if the washing machine does not have a corresponding processing strategy pre-stored for some voice commands, the washing machine will not be able to perform the corresponding processing. In this case, the washing machine may directly discard the voice command without making any processing.
[0051] At the same time, the user experience is also reduced if the washing machine does not respond or answer after the user issues a voice command.
[0052] The main concept of this application is as follows: When pre-storing different voice command processing strategies within a washing machine, artificial intelligence (AI) algorithms can be used to classify various voice commands, saving them in different preset categories and processing strategies. When the washing machine receives a user's voice command, it first classifies the command, and then determines the processing strategy based on the classification results, combined with the pre-saved preset categories and corresponding processing strategies. Therefore, even if the washing machine does not save the preset command corresponding to the user's voice command, it can still determine the processing strategy based on the preset categories related to the voice command, ensuring that the user's voice command can be processed correctly, thereby improving the user experience.
[0053] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0054] It is understood that the processing steps of the voice command processing method in this application can be implemented by the processor inside the washing machine.
[0055] Figure 1 This is a schematic diagram of the voice command processing method provided in the embodiments of this application, as shown below. Figure 1 As shown, the method mainly includes the following steps:
[0056] S100: Obtain the user's first voice command;
[0057] When the washing machine is in working or standby mode, if the user issues a first voice command, the voice acquisition device inside the washing machine will collect the first voice command and send it to the processor inside the washing machine. Thus, the processor obtains the first voice command issued by the user through the voice acquisition device.
[0058] S200: Classify the first voice command to obtain the command classification result corresponding to the first voice command;
[0059] After acquiring the first voice command, the processor first classifies the first voice command to obtain the corresponding command classification result.
[0060] Specifically, when classifying instructions, the processor can use existing AI algorithms to cluster the first voice instruction to obtain the instruction classification result.
[0061] Optionally, the instruction classification results may specifically include: program selection instructions, washing status control instructions, washing-related questions and answers, equipment malfunction questions and answers, etc.
[0062] Among them, program selection instructions include selecting washing, spin-drying, and drying programs; washing status control instructions include increasing water temperature and spin speed; washing-related questions and answers include asking whether the washing machine can wash a certain type of clothing (such as specific types of clothing or clothing made of specific materials); and equipment malfunction questions and answers include asking why the washing machine is not working (such as not washing or not spinning).
[0063] S300. Based on the instruction classification results, determine the processing strategy corresponding to the first voice instruction.
[0064] After obtaining the instruction classification result corresponding to the first voice instruction, the processor determines the corresponding processing strategy based on the instruction classification result.
[0065] Specifically, when pre-storing processing strategies for different voice commands within the washing machine, artificial intelligence algorithms can be used to classify various voice commands, saving them in different preset categories and processing strategies. After obtaining the command classification result corresponding to the first voice command, the processor combines the pre-saved preset categories and corresponding preset processing strategies to determine the processing strategy for the user's voice command. Thus, even if the washing machine does not save the preset command corresponding to the user's voice command, it can still determine the processing strategy based on the preset categories related to the voice command.
[0066] This embodiment provides a voice command processing method. Different preset categories and preset processing strategies are pre-stored inside the washing machine. When the washing machine obtains a user's voice command, it first classifies the voice command. Then, based on the classification result, combined with the pre-stored preset categories and corresponding preset processing strategies, the processing strategy for the user's voice command is determined. Thus, even if the washing machine does not store the preset command corresponding to the user's voice command, it can still determine the processing strategy based on the preset category related to the voice command, so as to ensure that the user's voice command can be processed normally, thereby improving the user experience.
[0067] In some embodiments, the first voice command is classified to obtain the command classification result corresponding to the first voice command, including:
[0068] S210. Determine the corresponding washing equipment information according to the instruction content of the first voice instruction. The washing equipment information includes washing equipment question and answer information and / or washing equipment parameter change information. The washing equipment question and answer information includes clothing handling question and answer information or equipment malfunction question and answer information. The washing equipment parameter change information includes the type of washing equipment parameter that has changed and the amount of parameter value change.
[0069] S220. Based on the washing equipment information, classify the first voice command to obtain the command classification result.
[0070] Specifically, when using laundry equipment, if the user is not very familiar with the equipment or the correct handling methods for different types of clothing, they may use voice commands to "ask" the equipment about relevant information. Therefore, the user's initial voice command may include questions and answers related to the laundry equipment, such as questions and answers about clothing handling or equipment malfunctions. At this point, the processor can categorize the questions and answers based on whether they pertain to clothing handling or equipment malfunctions.
[0071] Furthermore, laundry equipment may have various parameters, and different commands may cause different parameter values to change. Therefore, the content of the user's first voice command may include parameter change information related to the laundry equipment, such as the type of laundry equipment parameter that has changed and the amount of change in the parameter value. In this case, the processor can classify the command based on the type of laundry equipment parameter and the amount of change in the parameter value.
[0072] After acquiring the first voice command, the processor first parses the content of the first voice command to obtain the command content; then, based on the command content of the first voice command, it determines at least one of the following: clothing handling Q&A information, equipment fault Q&A information, type of washing equipment parameters that need to be changed, and parameter value change amount; finally, it classifies the first voice command based on the determined information to obtain the command classification result.
[0073] For example, assuming that the types of washing machine parameters that have changed are determined to be parameters A and B based on the content of the first voice command, then the first voice command can be classified into a category consisting of commands involving changes in parameters A and B.
[0074] In this embodiment, the processor determines the corresponding laundry equipment information based on the instruction content of the first voice command. The laundry equipment information includes laundry equipment question and answer information and / or laundry equipment parameter change information. The laundry equipment question and answer information includes clothing handling question and answer information or equipment malfunction question and answer information. The laundry equipment parameter change information includes the type of laundry equipment parameter that has changed and the amount of parameter value change. The processor then classifies the first voice command based on the laundry equipment information to obtain the command classification result, thereby improving the accuracy of the command classification result.
[0075] In some embodiments, determining the processing strategy corresponding to the first voice instruction based on the instruction classification result includes: S310, when the instruction classification result determines that the first voice instruction belongs to the first category, determining the processing strategy corresponding to the first voice instruction based on the first category and the preset category; wherein, the preset category includes preset instructions, and the preset instructions correspond to a corresponding preset processing strategy.
[0076] Specifically, when pre-storing different voice command processing strategies inside the washing machine, artificial intelligence algorithms can be used to classify various voice commands and save them in the form of different preset categories and preset processing strategies. Each preset category includes one or more preset commands, and each preset command corresponds to a pre-stored preset processing strategy.
[0077] Among them, multiple preset instructions in the same preset category have the same or similar preset processing strategies.
[0078] When the washing machine receives a user's voice command, it first classifies the voice command and determines the first voice command as the first category. Then, based on the first category, combined with the pre-saved preset categories and the corresponding preset processing strategies, it determines the processing strategy for the user's voice command. Thus, even if the washing machine does not save the preset command corresponding to the user's voice command, it can still determine the processing strategy based on the preset categories related to the voice command, so as to ensure that the user's voice command can be processed normally, thereby improving the user experience.
[0079] In some embodiments, determining the processing strategy corresponding to the first voice command based on a first category and a preset category includes:
[0080] S311. If the first category belongs to the preset category, then determine whether the first voice command belongs to the preset command.
[0081] S312. If the first voice command is a preset command, then the preset processing strategy corresponding to the preset command is determined to be the processing strategy corresponding to the first voice command.
[0082] Specifically, if the processor determines that the first category corresponding to the first voice command belongs to a preset category, it means that the washing machine has a preset processing strategy that is the same as or very similar to the first voice command. At this time, the processor further confirms whether the first voice command belongs to the preset command, that is, whether the washing machine has a preset command that is the same as the first voice command.
[0083] If the processor determines that the first voice command is a preset command, it means that the washing machine has a preset processing strategy corresponding to the first voice command pre-stored inside. Therefore, the processor determines that the preset processing strategy of the preset command corresponding to the first voice command is the processing strategy corresponding to the first voice command, thereby ensuring that the washing machine can accurately perform the corresponding processing according to the first voice command and improve the user experience.
[0084] In some embodiments, determining the processing strategy corresponding to the first voice command based on the first category and a preset category further includes:
[0085] S313. If the first voice command does not belong to the preset commands, then determine the second voice command with the highest similarity to the first voice command from all preset commands in the preset category.
[0086] S314. Determine that the preset processing strategy corresponding to the second voice command is the processing strategy corresponding to the first voice command.
[0087] Specifically, if the processor determines that the first voice command is not a preset command, it means that the washing machine does not store a preset processing strategy corresponding to the first voice command.
[0088] At this time, the processor performs a similarity judgment on all preset instructions in the preset category corresponding to the first category and the first voice instruction. Specifically, it combines at least one of the following: clothing handling Q&A information, equipment fault Q&A information, the type of changed washing equipment parameters, and the amount of parameter value change. It then calculates the similarity between each instruction using a similarity algorithm. Thus, it determines the second voice instruction that is closest to the first voice instruction from all preset instructions in the preset category corresponding to the first category, that is, it determines the second voice instruction with the highest similarity to the first voice instruction.
[0089] After determining the second voice command, the processor determines that the preset processing strategy of the preset command corresponding to the second voice command is the same as the processing strategy corresponding to the first voice command. Thus, even if the washing machine does not have a pre-stored processing strategy corresponding to the first voice command, it can still ensure that the washing machine can perform the corresponding processing relatively accurately according to the first voice command, thereby improving the user experience.
[0090] In some embodiments, determining the processing strategy corresponding to the first voice command based on a first category and a preset category includes:
[0091] S315. If the first category does not belong to the preset category, then determine whether there is a preset category with a similarity greater than the preset value to the first category;
[0092] S316. If it exists, then determine the second category with the highest similarity to the first category from the preset categories with a similarity greater than the preset value;
[0093] S317. Determine the third voice command that has the highest similarity to the first voice command from all preset commands corresponding to the second category;
[0094] S318. Determine that the preset processing strategy corresponding to the third voice command is the processing strategy corresponding to the first voice command.
[0095] Specifically, if the processor determines that the first category corresponding to the first voice command does not belong to a preset category, it means that the washing machine does not store a preset processing strategy for a preset command that is the same as or very similar to the first voice command. At this time, the processor further confirms whether the washing machine has a preset category that is relatively close to the first category. Therefore, the processor can determine whether there is a preset category that is less than a preset distance from the first category based on a similarity algorithm.
[0096] If the processor determines that there exists a preset category that is less than a preset distance from the first category, it means that the washing machine has a preset category that is relatively close to the first category. At this time, the processor further determines the second category that is closest to the first category, thereby obtaining the second category that is closest to the first category.
[0097] After determining the second category, the processor selects the third voice instruction that is closest to the first voice instruction from all the preset instructions corresponding to the second category, thereby obtaining the third voice instruction that is closest to the first voice instruction.
[0098] After determining the third voice command, the processor determines that the preset processing strategy of the preset command corresponding to the third voice command is the same as the processing strategy corresponding to the first voice command. Thus, even if the washing machine does not have a pre-stored processing strategy corresponding to the first voice command, it can still ensure that the washing machine can perform the corresponding processing relatively accurately according to the first voice command, thereby improving the user experience.
[0099] In some embodiments, the method further includes: S319, if there is no preset category with a similarity greater than a preset value to the first category, then the general processing strategy is determined to be the processing strategy corresponding to the first voice command.
[0100] Specifically, if the processor determines that there is no preset category whose distance to the first category is less than a preset distance, i.e., there is no preset category whose similarity to the first category is greater than a preset value, it means that all preset categories are significantly different from the first category and have low similarity. In this case, the processor can use some general processing strategies. For example, it can reply to the user with "okay" via voice.
[0101] Optionally, if all preset categories are significantly different from the first category, the processor can also save the first category. Thus, when encountering a command that is similar to the first voice command later, the processor can use the processing strategy corresponding to the first voice command as the processing strategy for that command, thereby ensuring that all commands can be processed.
[0102] In some embodiments, all processing flows of the voice command processing method are explained.
[0103] Figure 2 Another schematic diagram of the voice command processing method provided in the embodiments of this application is shown below. Figure 2 As shown, the method mainly includes the following steps:
[0104] S1. Obtain the user's first voice command;
[0105] S2. Determine the corresponding washing equipment information according to the instruction content of the first voice instruction. The washing equipment information includes washing equipment Q&A information and / or washing equipment parameter change information. Among them, the washing equipment Q&A information includes clothing handling Q&A information or equipment malfunction Q&A information, and the washing equipment parameter change information includes the type of washing equipment parameter that has changed and the amount of parameter value change.
[0106] The first voice command is classified according to the information of the washing equipment, and the first voice command is determined to be the first category.
[0107] S3. Determine whether the first category belongs to the preset category. If yes, execute S4; otherwise, execute S7.
[0108] S4. Determine whether the first voice command is a preset command. If yes, execute S5; otherwise, execute S6.
[0109] S5. Determine that the preset processing strategy corresponding to the preset command is the processing strategy corresponding to the first voice command.
[0110] S6. Determine the second voice command with the highest similarity to the first voice command from all preset commands in the preset category corresponding to the first category; determine the preset processing strategy corresponding to the second voice command as the processing strategy corresponding to the first voice command.
[0111] S7. Determine if there exists a preset category with a similarity greater than the preset value to the first category. If yes, proceed to S8; otherwise, proceed to S9.
[0112] S8. Determine the second category with the highest similarity to the first category from the preset categories with a similarity greater than a preset value; determine the third voice command with the highest similarity to the first voice command from all preset commands corresponding to the second category; determine the preset processing strategy corresponding to the third voice command as the processing strategy corresponding to the first voice command.
[0113] S9. Determine the general processing strategy as the processing strategy corresponding to the first voice command.
[0114] This embodiment provides a voice command processing method. Different preset categories and preset processing strategies are pre-stored inside the washing machine. When the washing machine obtains a user's voice command, it first classifies the voice command. Then, based on the classification result, combined with the pre-stored preset categories and corresponding preset processing strategies, the processing strategy for the user's voice command is determined. Thus, even if the washing machine does not store the preset command corresponding to the user's voice command, it can still determine the processing strategy based on the preset category related to the voice command, so as to ensure that the user's voice command can be processed normally, thereby improving the user experience.
[0115] In some embodiments, after obtaining the user's first voice command, the first voice command is first classified according to the flow of the voice command processing method in the foregoing embodiments of this application to determine the first category corresponding to the first voice command; then, based on at least one of the following status information: washing equipment function information, current washing stage status, current washing equipment status, current environmental status, etc., combined with the first category and a preset category, a processing strategy is determined. The processing strategy includes at least one of directly executing the first voice command, confirming with the user whether to execute the first voice command, recommending functions to the user, or outputting question and answer information.
[0116] Figure 3 The following are example diagrams illustrating specific application scenarios of the technical solutions in the embodiments of this application, such as... Figure 3 As shown, the following provides an example of the solution in this embodiment:
[0117] 1. If the user's first voice command is "Start washing clothes", the processor in the washing machine will classify the first voice command as a program selection command. At this time, the processor can further obtain the current environmental status, such as the current local weather status. When the current environmental status is suitable for executing the processing corresponding to the first voice command, such as when the current local weather is sunny, the first voice command will be executed normally, that is, the washing process will begin.
[0118] Additionally, if the current environmental conditions are not suitable for executing the processing corresponding to the first voice command, such as when the local weather is bad (e.g., rain, snow, overcast, frost, thunder, hail, haze, or air humidity > 70%), the system can intelligently recommend related programs to the user. For example, "The current weather is not suitable for drying clothes. Do you need to perform the clothes drying process?" If the user confirms the drying process, then both the washing and drying processes will be performed; otherwise, only the washing process will be performed.
[0119] 2. If the user's first voice command is "turn off the washing machine", the processor determines that it is a washing status control command. At this time, if the processor determines that the washing machine can be turned off normally based on the current status of the washing machine, such as the washing process has been completed, it means that the current status of the washing machine is suitable for executing the processing corresponding to the first voice command. Then, the first voice command is executed normally, that is, the shutdown process is executed.
[0120] Additionally, if the washing machine is currently washing clothes, it means that the current state of the washing machine is not suitable for executing the processing corresponding to the first voice command. In this case, the user is asked for confirmation, such as "Please confirm whether you need to perform the shutdown process". After receiving further confirmation from the customer, the first voice command is executed; otherwise, the first voice command is not executed.
[0121] 3. If the washing machine receives a first voice command (washing status control command) to switch programs while it is currently washing, and if it is appropriate to switch programs, then the program switching process will be executed; if it is not appropriate to switch programs, then the user will be asked for confirmation. If the user confirms, then the program switching process will be executed; otherwise, the program switching process will not be executed.
[0122] 4. If a user asks "How can I wash a down jacket without damaging it?", meaning the user's first voice command is a washing-related question, the processor will obtain the washing equipment's function information. If the washing equipment cannot perform the relevant washing and care program, it will output a question-and-answer response to the user, such as broadcasting the corresponding washing strategy normally.
[0123] In addition, if the washing machine can wash and care for down garments, it will proactively recommend the corresponding washing and care program to the user, that is, recommend the function and output a confirmation message asking whether to execute the corresponding washing and care program. If the user confirms, the corresponding washing and care program will be executed; otherwise, a question-and-answer response message will be output to the user and the corresponding washing and care program will not be executed.
[0124] 5. If the user asks "Why isn't the washing machine turning?", that is, the user's first voice command is a question about equipment malfunction, the processor will obtain the current status of the washing machine and output different question and answer information according to the different current status of the washing machine.
[0125] For example, if the washing machine is currently malfunctioning, an alarm message will be broadcast to remind the user to handle after-sales service; if the washing machine is currently in a scheduled state, a prompt message will be broadcast to inform the user that the washing machine is currently in a scheduled state and to inform the user of the specific washing time; if the washing machine is currently in a state that does not need to be turned, such as when it is draining, a prompt message will be broadcast to remind the user that it is currently draining and does not need to be turned.
[0126] Therefore, this embodiment determines a processing strategy based on at least one of the following status information: washing equipment function information, current washing stage status, current washing equipment status, and current environmental status, combined with a first category and a preset category. The processing strategy includes at least one of directly executing the first voice command, confirming with the user whether to execute the first voice command, recommending functions to the user, or outputting question-and-answer response information, thereby improving the intelligence level of the washing equipment and enhancing the user experience.
[0127] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0128] In some embodiments, a voice command processing apparatus is provided.
[0129] Figure 4 A schematic diagram of the voice command processing device provided in the embodiments of this application is shown below. Figure 4 As shown, the device includes:
[0130] The instruction acquisition module 100 is used to acquire the user's first voice instruction;
[0131] The instruction classification module 200 is used to classify the first voice instruction and obtain the instruction classification result corresponding to the first voice instruction;
[0132] The strategy determination module 300 is used to determine the processing strategy corresponding to the first voice instruction based on the instruction classification result.
[0133] For specific limitations regarding the voice command processing device, please refer to the limitations on the voice command processing method above, which will not be repeated here. Each module in the aforementioned voice command processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the operations corresponding to each module.
[0134] This application provides a voice command processing device. Different preset categories and preset processing strategies are pre-stored within the washing machine. When the washing machine receives a user's voice command, it first categorizes the voice command. Then, based on the categorization result, combined with the pre-stored preset categories and corresponding preset processing strategies, it determines the processing strategy for the user's voice command. Therefore, even if the washing machine does not store the preset command corresponding to the user's voice command, it can still determine the processing strategy based on the preset categories related to the voice command, ensuring that the user's voice command can be processed normally, thereby improving the user experience.
[0135] In some embodiments, a laundry apparatus is provided, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the various method embodiments of this application.
[0136] Figure 5 This is a schematic diagram of the structure of the laundry equipment provided in the embodiments of this application, such as... Figure 5 As shown, the laundry equipment includes: a processor 111, a memory 112, and a voice acquisition device 113.
[0137] The voice acquisition device 113 is used to acquire voice commands issued by the user and send them to the processor 111. The memory 112 is used to store programs and data, and the processor 111 calls the program stored in the memory to execute the technical solution of any of the aforementioned method embodiments.
[0138] In the aforementioned washing equipment, the memory and processor are electrically connected directly or indirectly to enable data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines, such as a bus connection. The memory stores computer-executable instructions that implement data access control methods, including at least one software functional module that can be stored in the memory in the form of software or firmware. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory.
[0139] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and Electrically Erasable Programmable Read-Only Memory (EEPROM). The memory stores programs, which the processor executes upon receiving execution instructions. Furthermore, the software programs and modules within the memory may include an operating system, which can include various software components and / or drivers for managing system tasks (e.g., memory management, storage device control, power management), and can communicate with various hardware or software components to provide an operating environment for other software components.
[0140] The processor can be an integrated circuit chip with signal processing capabilities. The aforementioned processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor.
[0141] In some embodiments, a computer-readable storage medium is provided, which stores computer-executable instructions that, when executed by a processor, are used to implement the steps of various method embodiments of the present application.
[0142] In some embodiments, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of various method embodiments of the present application.
[0143] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0144] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0145] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A voice command processing method, characterized in that, include: Obtain the user's first voice command; The first voice command is classified to obtain the command classification result corresponding to the first voice command; When the instruction classification result determines that the first voice instruction belongs to the first category, it is determined whether the first category belongs to a preset category; If the first category belongs to the preset category, then it is determined whether the first voice command belongs to the preset command; if the first voice command belongs to the preset command, then it is determined that the preset processing strategy corresponding to the preset command is the processing strategy corresponding to the first voice command; wherein, the preset category includes preset commands, and the preset command corresponds to a corresponding preset processing strategy; If the first category does not belong to the preset category, then it is determined whether there is a preset category with a similarity greater than a preset value to the first category; if there is no preset category with a similarity greater than a preset value to the first category, then the general processing strategy is determined to be the processing strategy corresponding to the first voice command, and the first category and the processing strategy corresponding to the first voice command are saved.
2. The method according to claim 1, characterized in that, The step of classifying the first voice command to obtain the command classification result corresponding to the first voice command includes: The corresponding laundry equipment information is determined based on the content of the first voice command. The laundry equipment information includes laundry equipment Q&A information and / or laundry equipment parameter change information. The laundry equipment Q&A information includes clothing handling Q&A information or equipment malfunction Q&A information. The laundry equipment parameter change information includes the type of laundry equipment parameter that has changed and the amount of parameter value change. Based on the laundry equipment information, the first voice command is classified to obtain the command classification result.
3. The method according to claim 1, characterized in that, The method further includes: If the first voice command does not belong to the preset commands, then the second voice command with the highest similarity to the first voice command is determined from all the preset commands in the preset category; The preset processing strategy corresponding to the second voice command is determined to be the processing strategy corresponding to the first voice command.
4. The method according to claim 1, characterized in that, The method further includes: If the first category does not belong to the preset category, then determine whether there exists a preset category with a similarity greater than a preset value to the first category; If it exists, then determine the second category with the highest similarity to the first category from the preset categories whose similarity to the first category is greater than a preset value; From all the preset instructions corresponding to the second category, determine the third voice instruction that has the highest similarity to the first voice instruction; The preset processing strategy corresponding to the third voice command is determined to be the processing strategy corresponding to the first voice command.
5. The method according to claim 1, characterized in that, The method includes: Based on at least one of the following: washing equipment function information, current washing stage status, current washing equipment status, current environmental status, as well as the first category and the preset category, determine the processing strategy corresponding to the first voice command; The processing strategy includes at least one of directly executing the first voice command, confirming with the user whether to execute the first voice command, recommending functions to the user, or outputting question-and-answer response information.
6. A laundry appliance, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the voice command processing method as described in any one of claims 1-4.
7. 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 voice command processing method as described in any one of claims 1-4.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the voice command processing method as described in any one of claims 1-4.