Control method, device, equipment, medium and program product of washing machine
By receiving voice commands and obtaining target material information based on the type of information, the problem of mismatched washing programs caused by missing material information in voice commands is solved, achieving more accurate washing machine control, avoiding damage to clothes, and improving the 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-05-18
- Publication Date
- 2026-05-19
AI Technical Summary
In existing technologies, when voice commands do not carry information about the material of the clothes, the washing program may not match the material of the clothes, resulting in poor accuracy of washing machine control.
By receiving the user's voice commands, the system determines whether it carries material information. If not, it retrieves the target material information from the data stored in the system based on the type information and controls the washing machine to execute the corresponding washing program.
It improves the accuracy of washing machine control, avoids damage to clothes during washing, and enhances the user experience.
Smart Images

Figure CN115369610B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of washing machine technology, and in particular to a control method, device, equipment, medium and program product for a washing machine. Background Technology
[0002] As home appliances become increasingly intelligent, more and more washing machines can receive voice commands from users via smart speakers or the machine itself, allowing them to control the washing process accordingly. Precise control of the washing machine can improve the cleanliness of clothes, prevent damage during washing, and thus enhance the user experience. Therefore, knowing how to control the washing machine is crucial.
[0003] Currently, washing machines are primarily controlled by receiving voice commands from the user and analyzing the fabric information of the clothes contained within those commands. The washing machine then determines the appropriate washing program based on this information and runs that program to wash the clothes. If the voice command does not contain fabric information, a general program (such as a quick wash or standard wash) is run to wash the clothes.
[0004] However, in the above solution, when the voice command does not carry information about the material of the clothes, the washing program may not match the material of the clothes, resulting in poor accuracy in controlling the washing machine. Summary of the Invention
[0005] This application provides a control method, device, equipment, medium, and program product for a washing machine to solve the problem in the prior art that when voice commands do not carry information about the material of the clothes, the running washing program may not match the material of the clothes, resulting in poor accuracy of washing machine control.
[0006] In a first aspect, embodiments of this application provide a method for controlling a washing machine, including:
[0007] Receive a first voice command sent by the user, the first voice command including information about the type of clothes to be washed;
[0008] Determine whether the first voice command carries material information of the clothes to be washed;
[0009] If the first voice command does not carry the material information of the clothes to be washed, then according to the type information of the clothes to be washed, the target material information corresponding to the type information is obtained from the material information of clothes that are consistent with the type information of the clothes to be washed stored in the system.
[0010] Control the washing machine to execute the washing program corresponding to the target material information.
[0011] In one possible design of the first aspect, obtaining the target material information corresponding to the type information from the material information of the clothes stored in the system that matches the type information of the clothes to be washed includes:
[0012] If the system stores only one type of material information for clothing that matches the type information of the clothing to be washed, then that material information will be identified as the target material information.
[0013] If the system stores at least two types of material information for clothes that match the type information of the clothes to be washed, a reminder message is pushed to the user. The reminder message is used to remind the user to confirm the material information of the clothes to be washed.
[0014] The system receives a second voice command sent by the user, the second voice command including the target material information.
[0015] In another possible design of the first aspect, the step of obtaining the target material information corresponding to the type information of the clothes to be washed from the material information of clothes that are consistent with the type information of the clothes to be washed stored in the system includes:
[0016] Based on the type information of the clothes to be washed, the material information of the clothes that is consistent with the type information of the clothes to be washed is obtained from the user washing records stored in the system, and the target material information corresponding to the type information is determined from the obtained material information. The user washing records include the material information and type information of at least one piece of clothing.
[0017] Optionally, the method further includes:
[0018] The first voice command is recorded in the user's washing log.
[0019] In another possible design of the first aspect, the step of obtaining target material information corresponding to the type of clothing from the material information of clothing that matches the type of clothing to be washed stored in the system, based on the type information of the clothing to be washed, includes:
[0020] Based on the type information of the clothes to be washed, the material information of the clothes that is consistent with the type information of the clothes to be washed is obtained from the pre-stored clothes data stored in the system, and the target material information corresponding to the type information is determined from the obtained material information. The pre-stored clothes data includes the material information and type information of at least one piece of clothing.
[0021] In yet another possible design of the first aspect, the method further includes:
[0022] If the first voice command carries the material information of the clothes to be washed, the washing machine is controlled to execute the washing program corresponding to the material information of the clothes to be washed, based on the material information of the clothes to be washed.
[0023] Secondly, embodiments of this application provide a control device for a washing machine, comprising:
[0024] The receiving module is used to receive a first voice command sent by the user, the first voice command including information about the type of clothes to be washed;
[0025] The judgment module is used to determine whether the first voice command carries material information of the clothes to be washed;
[0026] The processing module is configured to, if the first voice command does not carry the material information of the clothes to be washed, obtain the target material information corresponding to the type information from the material information of clothes that are consistent with the type information of the clothes to be washed stored in the system.
[0027] The processing module is also used to control the washing machine to execute a washing program corresponding to the target material information.
[0028] In one possible design of the second aspect, the processing module is specifically used for:
[0029] If the system stores only one type of material information for clothing that matches the type information of the clothing to be washed, then that material information will be identified as the target material information.
[0030] If the system stores at least two types of material information for clothes that match the type information of the clothes to be washed, a reminder message is pushed to the user. The reminder message is used to remind the user to confirm the material information of the clothes to be washed.
[0031] The system receives a second voice command sent by the user, the second voice command including the target material information.
[0032] In another possible design of the second aspect, the processing module is specifically used for:
[0033] Based on the type information of the clothes to be washed, the material information of the clothes that is consistent with the type information of the clothes to be washed is obtained from the user washing records stored in the system, and the target material information corresponding to the type information is determined from the obtained material information. The user washing records include the material information and type information of at least one piece of clothing.
[0034] Optionally, the processing module is further configured to:
[0035] The first voice command is recorded in the user's washing log.
[0036] In another possible design of the second aspect, the processing module is specifically used for:
[0037] Based on the type information of the clothes to be washed, the material information of the clothes that is consistent with the type information of the clothes to be washed is obtained from the pre-stored clothes data stored in the system, and the target material information corresponding to the type information is determined from the obtained material information. The pre-stored clothes data includes the material information and type information of at least one piece of clothing.
[0038] In another possible design of the second aspect, the device further includes:
[0039] The sending module is used to control the washing machine to execute the washing program corresponding to the material information of the clothes to be washed, if the first voice command carries the material information of the clothes to be washed.
[0040] Thirdly, embodiments of this application provide an electronic device, including: a processor, a transceiver, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor executes the computer program instructions to implement the methods provided in the first aspect and various possible designs.
[0041] Fourthly, embodiments of this application may provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided in the first aspect and various possible designs.
[0042] Fifthly, embodiments of this application provide a computer program product, including a computer program, which, when executed by a processor, is used to implement the methods provided in the first aspect and various possible designs.
[0043] This application provides a washing machine control method, apparatus, device, medium, and program product. The method includes: receiving a first voice command sent by a user; determining whether the first voice command carries material information of the clothes to be washed; if the first voice command does not carry material information of the clothes to be washed, then, based on the type information of the clothes to be washed in the first voice command, obtaining the target material information corresponding to the type information of the clothes stored in the system, and controlling the washing machine to execute a washing program corresponding to the target material information. In this technical solution, when the first voice command does not carry material information of the clothes to be washed, the electronic device can more accurately determine and execute the washing program corresponding to the target material information by obtaining the target material information corresponding to the type information of the clothes to be washed, thereby improving the accuracy of the washing machine control, further avoiding damage to the clothes during the washing process, and effectively ensuring the user's experience. Attached Figure Description
[0044] Figure 1 This is a schematic diagram illustrating an application scenario of the washing machine control method provided in an embodiment of this application;
[0045] Figure 2 A flowchart illustrating an embodiment of the washing machine control method provided in this application;
[0046] Figure 3 A flowchart illustrating a second embodiment of the washing machine control method provided in this application;
[0047] Figure 4 This is a schematic diagram of the structure of the control device for a washing machine provided in an embodiment of this application;
[0048] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0049] 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
[0050] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0051] Before introducing the embodiments of this application, the application scenarios of the embodiments of this application will first be explained:
[0052] With the continuous improvement of the intelligence level of home appliances and the rapid development of voice technology, users can not only control home appliances with traditional remote controls and mobile applications, but also send voice commands to home appliances so that the home appliances can receive and process the voice commands, thereby making the home environment more comfortable and making users' lives more convenient and intelligent.
[0053] Taking a washing machine as an example, a washing machine can receive commands from the user, or it can receive commands through the voice function of a smart speaker. Users can then control the washing machine to wash clothes based on voice commands. Precise control of the washing machine can improve the cleanliness of the clothes, prevent damage during the washing process, and thus enhance the user experience. Therefore, knowing how to control the washing machine is crucial.
[0054] Currently, washing machine control primarily involves receiving voice commands from the user and analyzing the fabric information of the clothes contained within those commands. Then, the appropriate washing program is determined based on this fabric information and executed. For example, if the voice command is "I want to wash a wool coat," the wool program will be run based on the word "wool." When the voice command doesn't provide sufficient information—that is, it doesn't include fabric information—a general program (such as a quick wash or standard wash) will be run. For example, if the voice command is "I want to wash a coat," the quick wash program will be run.
[0055] To address the aforementioned problems, the inventive concept of this application is as follows: When the material information of the clothes to be washed cannot be obtained through voice commands, the matching degree between the washing program and the clothing material cannot be guaranteed, resulting in poor accuracy in controlling the washing machine. Based on this, the inventors discovered that if the material and type information of at least one garment can be pre-stored, and the target material information of the clothes to be washed can be obtained based on the stored material and type information, and the corresponding washing program of the washing machine can be controlled according to the obtained target material information, the problem of not being able to guarantee the matching degree between the washing program and the clothing material in the prior art can be solved, thereby improving the accuracy of washing machine control.
[0056] For example, the washing machine control method provided in this application embodiment can be applied to... Figure 1 The diagram shows one application scenario. Figure 1 This is a schematic diagram illustrating an application scenario of the washing machine control method provided in this application, used to solve the aforementioned technical problems. For example... Figure 1As shown, this application scenario can include washing machines and servers, and may also include data storage devices and smart speakers.
[0057] For example, in Figure 1 In the application scenario shown, the server can receive the first voice command sent by the user through both the washing machine and a smart speaker, so as to control the washing machine.
[0058] In this embodiment, the data storage device can store user washing records, which include material and type information of at least one garment; it can also store pre-stored garment data, which includes material and type information of at least one garment. After the server obtains the first voice command, it processes the first voice command, executes the program code of the washing machine control method, and controls the washing machine to execute the corresponding washing program according to the user washing records or pre-stored garment data.
[0059] It should be noted that the appendix Figure 1 This is merely a schematic diagram illustrating one application scenario provided by an embodiment of this application. This embodiment does not necessarily represent... Figure 1 The included equipment is not limited, nor is it restricted. Figure 1 The positional relationships between devices are defined, for example, in Figure 1 In this context, the data storage device can be an external storage device relative to the server; in other cases, the data storage device can also be placed inside the server.
[0060] In practical applications, since terminal devices (such as computers, tablets, etc.), washing machines, and smart speakers are also processing devices with data processing capabilities, therefore, the above-mentioned... Figure 1 The server in the illustrated application scenario can also be implemented by a terminal device, a washing machine, or a smart speaker. In the embodiments of this application, the server, terminal device, washing machine, and smart speaker can be collectively referred to as electronic devices. Optionally, in the embodiments of this application, the electronic device is used as the execution subject of the washing machine control method.
[0061] The technical solution of this application will now be described in detail through specific embodiments.
[0062] It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0063] Figure 2 This is a flowchart illustrating an embodiment of the washing machine control method provided in this application.
[0064] like Figure 2 As shown, the control method of this washing machine may include the following steps:
[0065] S101: Receives the first voice command sent by the user.
[0066] In this step, when the user needs to wash clothes, they can send a first voice command to the electronic device. The electronic device receives the first voice command sent by the user and then controls the washing machine to execute the corresponding washing program to wash the clothes.
[0067] The first voice command includes information about the type of clothes to be washed.
[0068] For example, the category information can be coat, vest, skirt, etc., or other information used to describe the category. This application embodiment does not impose specific limitations on this.
[0069] Optionally, the first voice command may also include color information of the clothes to be washed, such as black, white, red, etc. This application embodiment does not impose specific limitations on this.
[0070] For example, the first voice command may be "I want to wash my coat", "I want to wash my wool coat", "I want to wash my black wool coat", etc., and may also include other forms. This application embodiment does not impose specific limitations on this.
[0071] S102: Determine whether the first voice command carries material information of the clothes to be washed.
[0072] In this step, after receiving the first voice command, the electronic device needs to analyze the first voice command in order to control the washing machine based on the information carried in the first voice command.
[0073] In one specific implementation, the electronic device needs to determine whether the first voice command carries material information of the clothes to be washed. The electronic device can pre-store the material information of the clothes; for example, the material information could be wool, cotton linen, denim, etc., and can be set according to actual conditions. This application embodiment does not impose specific limitations on this. After receiving the first voice command, the electronic device determines whether the first voice command carries pre-stored material information.
[0074] Optionally, the electronic device can also determine whether the first voice command carries color information.
[0075] S103: If the first voice command does not carry material information of the clothes to be washed, then according to the type information of the clothes to be washed, the target material information corresponding to the type information is obtained from the material information of the clothes that are consistent with the type information of the clothes to be washed stored in the system.
[0076] In this step, after determining whether the first voice command carries information about the material of the clothes to be washed, the electronic device can further process the determination result.
[0077] If the first voice command does not carry material information of the clothes to be washed, the electronic device needs to obtain the target material information of the clothes to be washed so that it can control the washing machine to execute the corresponding washing program based on the target material information.
[0078] In one specific implementation, the electronic device can obtain the material information of the clothes that are consistent with the type information of the clothes to be washed from the user washing records stored in the system, and determine the target material information corresponding to the type information from the obtained material information.
[0079] If the system stores only one type of material information for clothing that matches the type of clothing to be washed, then that material information will be identified as the target material information.
[0080] The user's washing records include material and type information for at least one garment.
[0081] Optionally, user washing records may also include historical washing data and clothing color information.
[0082] For example, the following describes a user's laundry record, which may include the following forms of expression:
[0083] On February 23, 2020, the user washed a black wool coat;
[0084] On March 12, 2020, the user washed a white down jacket;
[0085] On March 1, 2021, the user washed a black wool coat;
[0086] On March 3, 2021, the user washed a white down jacket.
[0087] It is understood that the above describes some of the forms of expression for user washing records. User washing records can also be represented in other forms, which can be determined according to the actual situation. This application embodiment does not limit this.
[0088] For example, when the first voice command received by the electronic device is "I want to wash my coat", since the first voice command does not carry the material information of the coat to be washed, the electronic device needs to obtain the material information of the coat that is consistent with the type information of the coat to be washed, namely "wool", from the user's washing record based on the type information in the first voice command, namely "coat". Therefore, "wool" is the target material information.
[0089] Optionally, after receiving the first voice command, the electronic device can also record the first voice command in the user's washing record.
[0090] In another specific implementation, the electronic device retrieves the material information of the clothes that are consistent with the type information of the clothes to be washed from the pre-stored clothes data stored in the system, and determines the target material information corresponding to the type information from the retrieved material information.
[0091] The pre-stored clothing data includes the material and type information of at least one garment.
[0092] If the system stores only one type of material information for clothing that matches the type of clothing to be washed, then that material information will be identified as the target material information.
[0093] For example, pre-stored clothing data can be data about clothing that a user inputs through a mobile application and stores in an electronic device. For instance, a user can input information about clothes in their wardrobe into the mobile application, such as "white cotton-linen dress," "wool coat," or "denim jacket." The specific format of the pre-stored clothing data can be set according to the actual situation, and this application embodiment does not impose specific limitations on this.
[0094] For example, when the first voice command received by the electronic device is "I want to wash my coat", since the first voice command does not carry the material information of the coat to be washed, the electronic device needs to obtain the material information of the coat that is consistent with the type information of the coat to be washed, namely "jeans", from the pre-stored clothing data according to the type information in the first voice command, namely "coat". Therefore, "jeans" is the target material information.
[0095] In one possible implementation, if the system stores at least two types of material information for the clothes that match the type of clothes to be washed, a reminder message is pushed to the user to remind the user to confirm the material information of the clothes to be washed.
[0096] For example, the electronic device can play voice messages, such as "Please confirm the material of the clothes" or "Please confirm whether it is a wool coat or a yarn coat," and can also push reminder messages to applications on the user's mobile phone, and can also send corresponding text messages to the user. These settings can be configured according to the actual situation, and this application embodiment does not impose specific limitations on them.
[0097] In addition, the electronic device can also receive a second voice command sent by the user, which includes target material information.
[0098] For example, the second voice command can be "wool", "wool coat", "I choose wool", etc., and may also include other expressions. This application embodiment does not specifically limit this.
[0099] In another possible implementation, if the system stores at least two types of material information for the clothes that match the type information of the clothes to be washed, the target material information corresponding to the type information of the clothes to be washed can be determined based on the historical washing time in the user's washing record.
[0100] S104: Controls the washing machine to execute the washing program corresponding to the target material information.
[0101] In this step, after the electronic device obtains the target material information, it can control the washing machine to execute the washing program corresponding to the target material information.
[0102] For example, if the target material information is wool, the washing machine is controlled to execute a wool program to wash the clothes.
[0103] Optionally, the electronic device can also select different detergents to wash the clothes based on the color information of the first instruction. For example, if the color information is black, since this color is prone to fading, the washing program will be executed and a colorfast detergent will be used to wash the clothes.
[0104] Optionally, if the first voice command carries the material information of the clothes to be washed, the washing machine is controlled to execute the washing program corresponding to the material information of the clothes to be washed.
[0105] For example, if the first voice command is "I want to wash my wool coat", then the material information carried in the first voice command, namely "wool", is obtained, and the washing program corresponding to wool is executed, namely the wool program.
[0106] The washing machine control method provided in this application embodiment involves an electronic device receiving a first voice command sent by a user, determining whether the first voice command carries material information of the clothes to be washed, and if the first voice command does not carry material information of the clothes to be washed, then based on the type information of the clothes to be washed in the first voice command, retrieving the target material information corresponding to the type information of the clothes stored in the system, and controlling the washing machine to execute the washing program corresponding to the target material information. In this method, when the first voice command does not carry material information of the clothes to be washed, the electronic device can more accurately determine and execute the washing program corresponding to the target material information by retrieving the target material information corresponding to the type information of the clothes to be washed, thereby improving the accuracy of washing machine control, further avoiding damage to clothes during the washing process, and improving the user experience.
[0107] Figure 3 This is a flowchart illustrating a second embodiment of the washing machine control method provided in this application.
[0108] like Figure 3 As shown, the control method of this washing machine includes:
[0109] Step 1, Begin.
[0110] Step 2: Receive the first voice command.
[0111] The first voice command includes information about the type of clothes to be washed.
[0112] Step 3: Record the first voice command in the user's washing log.
[0113] Step 4: Determine whether the first voice command carries the material information of the clothes to be washed. If it does, proceed to step 7; otherwise, proceed to step 5.
[0114] Step 5: Based on the type of clothing to be washed, retrieve the material information of the clothing that matches the type of clothing to be washed from the user washing records stored in the system, and determine the target material information corresponding to the type of clothing from the retrieved material information.
[0115] The user's washing records include material and type information for at least one garment.
[0116] Step 6: Control the washing machine to execute the washing program corresponding to the target material information, and then proceed to step 8.
[0117] Step 7: Based on the material information of the clothes to be washed, control the washing machine to execute the washing program corresponding to the material information of the clothes to be washed.
[0118] Step 8, End.
[0119] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0120] Figure 4 This is a schematic diagram of the control device for a washing machine provided in an embodiment of this application. Figure 4 As shown, the control device of the washing machine includes:
[0121] The receiving module 41 is used to receive a first voice command sent by the user, the first voice command including information about the type of clothes to be washed;
[0122] The judgment module 42 is used to determine whether the first voice command carries material information of the clothes to be washed;
[0123] The processing module 43 is used to obtain the target material information corresponding to the type information of the clothes to be washed from the material information of the clothes that are consistent with the type information of the clothes to be washed stored in the system if the first voice command does not carry the material information of the clothes to be washed.
[0124] The processing module 43 is also used to control the washing machine to execute a washing program corresponding to the target material information.
[0125] In one possible design of this application embodiment, the processing module 43 is specifically used for:
[0126] If the system stores only one type of material information for the garment that matches the type of garment to be washed, then that material information will be identified as the target material information.
[0127] If the system stores at least two types of material information for the clothes that match the type of clothes to be washed, a reminder message will be sent to the user to remind them to confirm the material information of the clothes to be washed.
[0128] Receive a second voice command sent by the user, the second voice command including target material information.
[0129] In another possible design of this application embodiment, the processing module 43 is specifically used for:
[0130] Based on the type of clothing to be washed, the system retrieves the material information of the clothing that matches the type of clothing from the user washing records stored in the system. From the retrieved material information, the system determines the target material information corresponding to the type of clothing. The user washing records include the material information and type information of at least one piece of clothing.
[0131] Optionally, processing module 43 is also used for:
[0132] The first voice command is recorded in the user's washing log.
[0133] In another possible design of this application embodiment, the processing module 43 is specifically used for:
[0134] Based on the type of clothing to be washed, the material information of the clothing that matches the type of clothing to be washed is obtained from the pre-stored clothing data in the system. From the obtained material information, the target material information corresponding to the type information is determined. The pre-stored clothing data includes the material information and type information of at least one piece of clothing.
[0135] Based on the above embodiments, the control device of the washing machine further includes:
[0136] The sending module is used to control the washing machine to execute the washing program corresponding to the material information of the clothes to be washed if the first voice command carries the material information of the clothes to be washed.
[0137] The washing machine control device provided in this application embodiment can be used to execute the washing machine control method in any of the above embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0138] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. Additionally, these modules can be fully or partially integrated together, or implemented independently. The processing element mentioned here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.
[0139] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device may include: a processor 51, a transceiver 52, a memory 53, and computer program instructions stored in the memory 53 and executable on the processor 51. When the processor 51 executes the computer program instructions, it implements the washing machine control method provided in any of the foregoing embodiments.
[0140] Optionally, the various components of the electronic device can be connected via a system bus.
[0141] It should be understood that the processor 51 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0142] The transceiver 52 is used to communicate with other devices, and the transceiver 52 constitutes a communication interface.
[0143] Optionally, in terms of hardware implementation, the above Figure 4 The receiving module 41 in the illustrated embodiment corresponds to the transceiver 52 in this embodiment.
[0144] The memory 53 can be a separate memory unit or a memory unit integrated into the processor. The number of processors can be one or more.
[0145] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Memory may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk drive.
[0146] All or part of the steps in the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.
[0147] The electronic device provided in this application embodiment can be implemented as a server, terminal device, washing machine, and smart speaker. It can be used to execute the control method of the washing machine provided in any of the above method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0148] This application provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the aforementioned control method for a washing machine.
[0149] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0150] Optionally, a readable storage medium can be coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Alternatively, the readable storage medium can be an integral part of the processor. Both the processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components within the device.
[0151] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, it can implement the above-described control method for a washing machine.
[0152] 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 control method for a washing machine, characterized in that, include: Receive a first voice command sent by the user, the first voice command including information about the type of clothes to be washed; Determine whether the first voice command carries material information of the clothes to be washed; If the first voice command does not carry the material information of the clothes to be washed, then according to the type information of the clothes to be washed, the target material information corresponding to the type information is obtained from the material information of clothes that are consistent with the type information of the clothes to be washed stored in the system. Control the washing machine to execute a washing program corresponding to the target material information; The step of retrieving the target material information corresponding to the type of clothing from the material information of the clothing to be washed, which is consistent with the type information of the clothing stored in the system, includes: If the system stores only one type of material information for clothing that matches the type information of the clothing to be washed, then that material information will be identified as the target material information. If the system stores at least two types of material information for clothes that match the type information of the clothes to be washed, a reminder message is pushed to the user. The reminder message is used to remind the user to confirm the material information of the clothes to be washed. The system receives a second voice command sent by the user, the second voice command including the target material information.
2. The method according to claim 1, characterized in that, The step of obtaining the target material information corresponding to the type of clothing from the system's stored material information of clothing that matches the type of clothing to be washed, based on the type information of the clothing to be washed, includes: Based on the type information of the clothes to be washed, the material information of the clothes that is consistent with the type information of the clothes to be washed is obtained from the user washing records stored in the system, and the target material information corresponding to the type information is determined from the obtained material information. The user washing records include the material information and type information of at least one piece of clothing.
3. The method according to claim 2, characterized in that, The method further includes: The first voice command is recorded in the user's washing log.
4. The method according to claim 1, characterized in that, The step of obtaining the target material information corresponding to the type of clothing from the system's stored material information of clothing that matches the type of clothing to be washed, based on the type information of the clothing to be washed, includes: Based on the type information of the clothes to be washed, the material information of the clothes that is consistent with the type information of the clothes to be washed is obtained from the pre-stored clothes data stored in the system, and the target material information corresponding to the type information is determined from the obtained material information. The pre-stored clothes data includes the material information and type information of at least one piece of clothing.
5. The method according to claim 1, characterized in that, The method further includes: If the first voice command carries the material information of the clothes to be washed, the washing machine is controlled to execute the washing program corresponding to the material information of the clothes to be washed, based on the material information of the clothes to be washed.
6. A control device for a washing machine, characterized in that, include: The receiving module is used to receive a first voice command sent by the user, the first voice command including information about the type of clothes to be washed; The judgment module is used to determine whether the first voice command carries material information of the clothes to be washed; The processing module is configured to, if the first voice command does not carry the material information of the clothes to be washed, obtain the target material information corresponding to the type information from the material information of clothes that are consistent with the type information of the clothes to be washed stored in the system. The processing module is also used to control the washing machine to execute a washing program corresponding to the target material information; The processing module is specifically configured to: if the system stores only one type of clothing material information that matches the type information of the clothing to be washed, then determine the material information as the target material information; if the system stores at least two types of clothing material information that match the type information of the clothing to be washed, then push a reminder message to the user, the reminder message being used to remind the user to confirm the material information of the clothing to be washed; and receive a second voice command sent by the user, the second voice command including the target material information.
7. An electronic device, characterized in that, include: A processor, a transceiver, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor, when executing the computer program instructions, implements the control method for a washing machine as described in any one of claims 1 to 5.
8. 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 of the washing machine as described in any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it is used to implement the control method of the washing machine as described in any one of claims 1 to 5.