Washing machine control method and device, electronic equipment and storage medium
Dynamically adjusting the operating parameters of the washing machine through clothing detection methods and weight information, solving the problem of washing data deviation caused by the image collector's inability to collect all clothing information, and improving the washing effect and clothing protection.
Patent Information
- Application Number
- CN202310793969.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2024-12-31
AI Technical Summary
When washing clothes, existing washing machines cannot collect all clothing information because the image collector cannot collect all clothing information, resulting in a deviation in washing data, which may lead to insufficient washing or damage to the clothing.
By determining the clothes detection method of the washing machine and the detection instructions of the clothes to be washed, combining the types and weight information of the clothes, the operating parameters of the washing machine are dynamically adjusted to accurately control the washing process.
It improves the washing effect, reduces clothing damage, ensures clothing cleanliness, and optimizes the use of water and electricity resources.
Smart Images

Figure CN119221239A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a control method, device, electronic device and storage medium for a washing machine. Background Art
[0002] Since the living standards and living habits of residents across the country are different, the performance requirements of residents for household washing machines are also different.
[0003] At present, when washing clothes, the washing machine determines the type of clothes based on the image acquisition device in the washing machine, and determines the washing method of the clothes in combination with the type of clothes. For example, the image information of the clothes is collected by the camera in the washing machine, the type of clothes is determined based on the information collected by the camera, and then the operating parameters of the washing machine are determined based on the type of clothes. However, if the clothes in the washing machine are placed irregularly or small pieces of clothes are wrapped in clothes, the image acquisition device cannot collect all the clothing information, and the determined washing data will be biased. Washing clothes with inappropriate washing data is prone to insufficient washing of clothes and damage to clothes. Summary of the invention
[0004] The present invention provides a control method, device, electronic device and storage medium for a washing machine, which can determine the operating parameters of the washing machine according to the actual situation of the clothes to be washed, improve the washing effect of the clothes to be washed, and reduce the damage of the clothes to be washed.
[0005] According to one aspect of the present invention, a method for controlling a washing machine is provided, the method comprising:
[0006] Determine the laundry detection method of the washing machine;
[0007] determining type information of the laundry to be washed based on the laundry detection mode and the detection indication information of the laundry to be washed;
[0008] determining operating parameters of the washing machine based on the type information and the weight information of the laundry to be washed;
[0009] The washing machine is controlled to operate based on the operating parameters to wash the laundry.
[0010] Optionally, determining a clothing detection mode of the washing machine includes: receiving a detection control instruction of the washing machine input by a user; and determining the clothing detection mode based on the detection control instruction.
[0011] Optionally, the clothing detection method includes direct detection and continuous detection, and the number of detections of the continuous detection is the same as the number of clothing to be washed.
[0012] Optionally, when the clothing detection method is direct detection, the type information of the clothes to be washed is determined based on the clothing detection method and the detection indication information of the clothes to be washed, including: determining whether the washing machine receives control information input by the user, wherein the control information includes detection indication information; if the washing machine receives the control information, determining the type information based on the detection indication information.
[0013] Optionally, when the clothing detection mode is continuous detection, the type information of the clothes to be washed is determined based on the clothing detection mode and the detection indication information of the clothes to be washed, including: determining the initial type information of the clothes to be washed, the initial type information including at least one type identifier and the quantity of at least one type identifier of the clothes to be washed; receiving indication information input by a user into the washing machine; determining whether the type of the indication information is detection indication information; if the type of the indication information is detection indication information, updating the quantity of each type identifier in the initial type information based on the detection indication information, and continuing to execute the step of receiving the indication information input by the user into the washing machine; if the type of the indication information is not detection indication information, determining the type information based on the initial type information.
[0014] Optionally, after determining the type information of the clothes to be washed based on the clothing detection method and the detection indication information of the clothes to be washed, it also includes: counting the type information of the clothes to be washed; displaying the statistical results of the type information based on the interactive interface of the washing machine, the statistical results are used to instruct the user to determine the type adjustment instructions of the type information; adjusting the type information based on the type adjustment instructions input by the user into the interactive interface.
[0015] Optionally, the operating parameters include at least one operating information, and the operating parameters of the washing machine are determined based on the type information and the weight information of the clothes to be washed, including: determining an initial washing parameter set for each operating information of the washing machine, the initial washing parameter set including at least one initial washing parameter; determining a candidate washing parameter set for each operating information based on the type information and the initial washing parameter set for each operating information, the candidate washing parameter set including at least one candidate washing parameter, and the number of candidate washing parameters is less than or equal to the number of initial washing parameters; determining an intermediate washing parameter set for each operating information based on the weight information and the candidate washing parameter set for each operating information, the intermediate washing parameter set including at least one intermediate washing parameter, and the number of intermediate washing parameters is less than or equal to the number of candidate washing parameters; determining a target washing parameter for each operating information based on the priority of each intermediate washing parameter in the intermediate washing parameter set for each operating information; and determining the operating parameter based on the target washing parameter for each operating information.
[0016] According to another aspect of the present invention, there is provided a control device for a washing machine, the device comprising:
[0017] An acquisition module, used to determine a laundry detection mode of the washing machine;
[0018] A determination module, configured to determine type information of the laundry to be washed based on the laundry detection mode and the detection indication information of the laundry to be washed;
[0019] a processing module, configured to determine operating parameters of the washing machine based on the type information and the weight information of the laundry to be washed;
[0020] The washing module is used to control the washing machine to operate based on the operating parameters to wash the clothes to be washed.
[0021] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0022] at least one processor; and a memory communicatively coupled to the at least one processor;
[0023] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the control method of the washing machine described in any embodiment of the present invention.
[0024] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the control method of the washing machine described in any embodiment of the present invention when executed.
[0025] The technical solution of the present invention determines the clothing detection mode of the washing machine; determines the type information of the clothing to be washed based on the clothing detection mode and the detection indication information of the clothing to be washed; determines the operating parameters of the washing machine based on the type information and the weight information of the clothing to be washed; and controls the washing machine to operate based on the operating parameters to wash the clothing to be washed. The type information of the clothing to be washed can be determined in combination with the clothing detection mode and the detection indication information of the clothing to be washed, and the washing parameters of the washing machine for washing the clothing to be washed can be determined according to the type information and the weight information of the clothing to be washed. The operating parameters of the washing machine can be determined according to the actual situation of the clothing to be washed, so as to improve the washing effect of the clothing to be washed and reduce the damage to the clothing to be washed. The problem that once the clothing in the washing machine is placed irregularly or the small pieces of clothing are wrapped in clothing, the image collector will not be able to collect all the clothing information, the operating data of the washing machine determined based on the information collected by the image collector has deviations, and washing clothing with inappropriate washing data is prone to insufficient washing of clothing and damage to clothing washing.
[0026] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0028] Figure 1 is a flow chart of a method for controlling a washing machine provided in Embodiment 1;
[0029] Figure 2 is a flow chart of a method for controlling a washing machine provided in Embodiment 2;
[0030] Figure 3 is a structural schematic diagram of a control device for a washing machine provided in Embodiment 3;
[0031] Figure 4 It is a structural schematic diagram of an electronic device provided in Example 4. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] Embodiment 1
[0035] Figure 11 is a flow chart of a method for controlling a washing machine provided in the first embodiment. This embodiment is applicable to situations such as determining washing parameters of a washing machine. The method can be executed by a control device for a washing machine provided in the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiments will be described by taking the device integrated in an electronic device as an example. Figure 1 , the method specifically comprises the following steps:
[0036] S101, determining a clothes detection mode of the washing machine.
[0037] Among them, the clothing detection method can be understood as a method for the washing machine to determine the type information of the clothes to be washed in the inner drum of the washing machine, including direct detection and continuous detection. Direct detection can be understood as identifying the type information of the clothes to be washed based on multiple clothing types input by the user into the washing machine. Continuous detection can be understood as determining whether the washing machine has received the clothing type input by the user. When the washing machine receives the clothing type input by the user, a type of the clothes to be washed is determined based on the clothing type input by the user into the washing machine, and the step of determining whether the washing machine has received the clothing type input by the user is continued. When the washing machine receives a stop instruction input by the user, the type information of the clothes to be washed is determined according to at least one type.
[0038] Specifically, the clothing type information in the direct detection method is input into the washing machine by the user at one time, which can be understood as an information set. It is worth noting that the last information of the information set is a stop command.
[0039] Exemplarily, assuming that the clothing detection method includes detection method 1 and detection method 2, detection method 1 is direct detection, and detection method 2 is continuous detection, determining the clothing detection method of the washing machine can be understood as determining whether the clothing detection method of the washing machine is detection method 1 or detection method 2. If the clothing detection method is detection method 1, then the clothing detection method of the washing machine is determined to be direct detection. If the clothing detection method is detection method 2, then the clothing detection method of the washing machine is determined to be continuous detection.
[0040] The advantage of this setting is that different clothing type detection methods are set up, and the type detection method of the clothes to be washed in the washing machine can be further determined in combination with the user's detection needs, which makes it easier for users to operate the washing machine and improves the user experience.
[0041] S102: Determine type information of the clothes to be washed based on the clothes detection method and detection indication information of the clothes to be washed.
[0042] Among them, the detection indication information of the clothes to be washed can be understood as a detection stop instruction. Regardless of direct detection or continuous detection, the washing machine will stop identifying and recording the type of clothes to be washed after receiving the detection indication information; the type information of the clothes to be washed can be understood as the summary information of the types of all clothes to be washed in the washing machine.
[0043] Specifically, when the clothing detection mode is direct detection, the washing machine will receive multiple clothing types and detection indication information (stop command) input by the user at one time. The detection indication information is located after the multiple clothing types. The washing machine identifies and analyzes the received information, and records the types of each clothing to be washed in a cumulative manner until the detection indication information is analyzed, and determines the type information of the clothing to be washed according to the statistical results of the types of clothing to be washed in the inner drum of the washing machine. When the clothing detection mode is continuous detection, the washing machine will receive the clothing type input by the user (the user inputs one clothing type at a time in the continuous detection mode), the washing machine identifies and analyzes the received clothing type, and records the type of clothing to be washed in a cumulative manner, and receives the information input by the user after a preset time. If the information input by the user is the detection indication information, the type information of the clothing to be washed is determined according to the statistical results of the types of clothing to be washed in the inner drum of the washing machine. If the information input by the user is the clothing type, the type of clothing to be washed is updated according to the clothing type and the step of receiving the information input by the user after the preset time is continued. Further, the preset time can be set and adjusted according to the processing logic and recognition requirements of the washing machine. The user can transmit information to the washing machine by voice, click, specific gesture, writing, etc., which is not limited in this embodiment.
[0044] For example, assuming that the user needs to wash 3 pieces of clothing, namely shirts, jeans and sweaters, the detection indication information is stop detection, the way the user transmits information to the washing machine is voice, the preset time is 2 seconds, and if the clothing detection method is direct detection, the user needs to put the 3 pieces of clothing to be washed into the washing machine together, and say shirts, jeans, sweaters and stop detection to the washing machine. The washing machine will identify and parse the received information, and record the type of each piece of clothing to be washed in a cumulative manner; if the clothing detection method is direct detection, the user needs to put the 3 pieces of clothing to be washed into the washing machine together, and say shirts, jeans, sweaters and stop detection to the washing machine. If the detection mode is continuous detection, the user needs to put the clothes to be washed into the washing machine one by one, and tell the washing machine the type of the clothes to be washed after putting in any one of them. For example, after putting in a shirt, tell the washing machine "shirt", after putting in jeans, tell the washing machine "jeans", after putting in a sweater, tell the washing machine "sweater", and after putting in all three pieces of clothes, tell the washing machine to stop detecting. The washing machine will identify and parse the received information, and record the type of clothes to be washed in a cumulative manner, and continue to receive instructions entered by the user after 2 seconds.
[0045] The advantage of such a setting is that the type information of the clothes to be washed can be accurately determined so as to determine the washing parameters that are more closely matched with the clothes to be washed, thereby reducing the damage to the clothes to be washed while ensuring the cleanliness of the clothes to be washed.
[0046] S103: Determine operating parameters of the washing machine based on the type information and the weight information of the laundry to be washed.
[0047] Among them, the weight information of the clothes to be washed can be understood as the dry weight of the clothes to be washed, and the operating parameters of the washing machine can be understood as the parameters when the washing machine washes the clothes to be washed, including washing time, washing water volume, washing mode, washing intensity, etc. This embodiment does not limit this.
[0048] Specifically, the data of operating parameters corresponding to clothes of different material types and weights are different. For example, the washing intensity corresponding to clothes made of cotton and linen is lower than that corresponding to clothes made of down. The amount of washing water corresponding to clothes of heavy weight is more than that corresponding to clothes of light weight. The washing time corresponding to clothes of heavy weight is more than that corresponding to clothes of light weight, etc. This embodiment does not limit this.
[0049] The advantage of such a setting is that the weight information and type information of the laundry to be washed can be combined to determine the washing machine operation parameters that are highly matched with the laundry to be washed.
[0050] S104: Control the washing machine to operate based on the operating parameters to wash the laundry.
[0051] Specifically, controlling the washing machine to operate based on the operating parameters to wash the laundry can be understood as controlling the washing machine to operate with washing parameters that have a high degree of matching with laundry information such as type information and weight information of the laundry to be washed.
[0052] For example, assuming that the washing speed in the operating parameters is A speed, the washing time is B time, and the washing water volume is C water volume, C water volume of washing water will be injected into the inner drum of the washing machine, and the washing machine will be controlled to run at A speed for B time to wash the clothes to be washed.
[0053] The advantage of this setting is that it reduces the damage to the clothes to be washed while ensuring the cleanliness of the clothes to be washed, improves the user's washing experience, and reduces the waste of water and electricity resources.
[0054] When the washing machine includes multiple clothes to be washed, the present invention can also determine whether the clothes to be washed can be washed together according to the type information of the clothes to be washed. If the clothes to be washed can be washed together, the washing parameters suitable for all the clothes to be washed are determined according to the clothing information such as the type information and weight information of the clothes to be washed. If the clothes to be washed cannot be washed together, the washing processing suggestions for the clothes to be washed are displayed on the interactive interface of the washing machine so that the user can process the clothes to be washed. The washing processing suggestions include the reasons why the clothes to be washed cannot be washed together, the combination of clothes to be washed that can be washed together, and the washing parameters.
[0055] The technical solution of this embodiment is to determine the clothing detection mode of the washing machine; determine the type information of the clothing to be washed based on the clothing detection mode and the detection indication information of the clothing to be washed; determine the operating parameters of the washing machine based on the type information and the weight information of the clothing to be washed; and control the washing machine to operate based on the operating parameters to wash the clothing to be washed. The type information of the clothing to be washed can be determined in combination with the clothing detection mode and the detection indication information of the clothing to be washed, and the washing parameters of the washing machine for washing the clothing to be washed can be determined according to the type information and weight information of the clothing to be washed. The operating parameters of the washing machine can be determined according to the actual situation of the clothing to be washed, so as to improve the washing effect of the clothing to be washed and reduce the damage to the clothing to be washed. It solves the problem that once the clothing in the washing machine is placed irregularly or the small pieces of clothing are wrapped in clothing, the image collector will not be able to collect all the clothing information, the operating data of the washing machine determined based on the information collected by the image collector has deviations, and washing clothing with inappropriate washing data is prone to insufficient washing of clothing and damage to clothing.
[0056] Embodiment 2
[0057] Figure 21 is a flow chart of a method for controlling a washing machine provided in the second embodiment. This embodiment is applicable to situations such as determining washing parameters of a washing machine. The method can be executed by a control device for a washing machine provided by the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated into an electronic device. The following embodiments will be described by taking the device integrated into an electronic device as an example. Figure 2 , the method specifically comprises the following steps:
[0058] S201, receiving a detection control instruction of a washing machine input by a user.
[0059] Among them, the detection control instruction can be understood as an instruction instruction for clothing detection mode, and the clothing detection mode includes direct detection and continuous detection. Specifically, the detection control instruction includes a clothing detection mode, for example, the detection control instruction may include a first detection control instruction and a second detection control instruction, the first detection control instruction can be understood as an instruction instruction for direct detection, and the second detection control instruction can be understood as an instruction instruction for continuous detection.
[0060] Specifically, the detection control instruction can be transmitted to the washing machine by the user through voice, specific gestures, etc., or by the user clicking on the washing machine function case, handwriting specific instructions, etc., which is not limited in this embodiment.
[0061] For example, assuming that the user interacts with the washing machine through voice, the first detection control instruction is A, and the second detection control instruction is B. If the user broadcasts A to the washing machine, the detection control instruction is determined to be the first detection control instruction. If the user broadcasts B to the washing machine, the detection control instruction is determined to be the first detection control instruction.
[0062] S202: Determine a clothing detection method based on the detection control instruction.
[0063] Specifically, there is a correspondence between the detection control instruction and the clothing detection mode. After receiving the detection control instruction input by the user, the clothing detection mode can be determined based on the correspondence between the detection control instruction and the clothing detection mode.
[0064] Exemplarily, assuming that the first detection control instruction corresponds to direct detection and the second detection control instruction corresponds to continuous detection, if the detection control instruction received by the washing machine is the first detection control instruction, the clothing detection mode is determined to be direct detection; if the detection control instruction received by the washing machine is the second detection control instruction, the clothing detection mode is determined to be continuous detection.
[0065] S203: Determine type information of the clothes to be washed based on the clothes detection method and the detection indication information of the clothes to be washed.
[0066] Specifically, determining the type information of the clothes to be washed based on the clothes detection method and the detection indication information of the clothes to be washed can be understood as determining the summary information of the types of clothes to be washed in the washing machine drum based on direct detection / continuous detection and a stop instruction.
[0067] When the clothing detection method is direct detection, the type information of the clothing to be washed is determined based on the clothing detection method and the detection indication information of the clothing to be washed, including: determining whether the washing machine receives control information input by the user, wherein the control information includes detection indication information; if the washing machine receives the control information, determining the type information based on the detection indication information.
[0068] The control information may be understood as an information set including at least one clothing type and detection indication information, and the detection indication information is the last information of the information set.
[0069] Specifically, after receiving the control information input by the user, the washing machine will identify and parse the received control information, record the types of clothes in the control information in a cumulative manner, and when the detection indication information is parsed, determine the type information of the clothes to be washed according to the type statistics.
[0070] Exemplarily, assuming that the control information includes shirts, jeans, sweaters and stop detection, after receiving the control information, the washing machine will identify the contents of the control information in sequence. When a shirt is identified, the statistical number of the shirt type is increased by 1; when jeans are identified, the statistical number of the jeans type is increased by 1; when a sweater is identified, the statistical number of the sweater type is increased by 1; when the stop detection is identified, the previous statistical results are summarized, and the summarized data is the type information of the clothes to be washed.
[0071] When the clothing detection mode is continuous detection, the type information of the clothing to be washed is determined based on the clothing detection mode and the detection indication information of the clothing to be washed, including: determining the initial type information of the clothing to be washed, the initial type information including at least one type identifier and the quantity of at least one type identifier of the clothing to be washed; receiving indication information input by a user into the washing machine; determining whether the type of the indication information is detection indication information; if the type of the indication information is detection indication information, updating the quantity of each type identifier in the initial type information based on the detection indication information, and continuing to execute the step of receiving the indication information input by the user into the washing machine; if the type of the indication information is not detection indication information, determining the type information based on the initial type information.
[0072] The initial type information can be understood as the statistical result when no foreign matter is placed in the washing machine, the type identifier is used to describe the material, and the initial type information includes multiple common materials, and the number of each material is 0. Specifically, the detection indication information represents the end of the detection action.
[0073] Exemplarily, after determining the initial type information, if the type of indication information sent by the user received by the washing machine is not detection indication information, the content of the indication information will be parsed, and the number of each type identification will be updated based on the indication information. For example, if the indication information is a cashmere sweater, the number of cashmere sweaters will be increased by 1; if the indication information is jeans, the number of jeans will be increased by 1, and so on. If the type of indication information sent by the user received by the washing machine is detection indication information, the type information of the clothes to be washed is determined based on the statistical information.
[0074] S204: Collecting information on the types of clothes to be washed.
[0075] Specifically, counting the type information of the laundry to be washed can be understood as arranging the type information of the laundry to be washed, for example, arranging in a table form, arranging in ascending / descending order, etc. The advantage of such a setting is that the user can clearly view the type information of the laundry to be washed.
[0076] S205: Display statistical results of type information based on the interactive interface of the washing machine.
[0077] The statistical result is used to instruct the user to determine the type adjustment instruction of the type information, and the type adjustment instruction can be understood as instruction information for adjusting and changing the quantity of each type.
[0078] Specifically, the statistical result of displaying the type information based on the interactive interface of the washing machine can be understood as displaying a statistical table of the type information of the clothes to be washed on the interactive interface of the washing machine.
[0079] The advantage of such a setting is that it allows the user to check whether the type information of the clothes to be washed is correct. If it is incorrect, the type information of the clothes to be washed can be changed in time.
[0080] S206: Adjust the type information based on the type adjustment instruction input by the user into the interactive interface.
[0081] Specifically, if the type information of the clothes to be washed is correct, the adjustment type information is not adjusted; if the type information of the clothes to be washed is wrong, the adjustment type information includes the type of clothes that need to be adjusted and the correct quantity of the clothes type.
[0082] For example, assuming that the number of clothes of type A displayed on the interactive interface is 3, and the actual number of clothes of type A is 4, the adjustment type information includes type A and 4.
[0083] S207: Determine operating parameters of the washing machine based on the type information and the weight information of the laundry to be washed.
[0084] Among them, the operating parameters include at least one operating information, and the operating information includes washing time, washing water volume, washing mode, washing intensity, etc. This embodiment does not limit this.
[0085] In one embodiment, step S207 may specifically include: determining an initial washing parameter set for each operating information of the washing machine, the initial washing parameter set including at least one initial washing parameter; determining a candidate washing parameter set for each operating information based on the type information and the initial washing parameter set for each operating information, the candidate washing parameter set including at least one candidate washing parameter, and the number of candidate washing parameters is less than or equal to the number of initial washing parameters; determining an intermediate washing parameter set for each operating information based on the weight information and the candidate washing parameter set for each operating information, the intermediate washing parameter set including at least one intermediate washing parameter, and the number of intermediate washing parameters is less than or equal to the number of candidate washing parameters; determining a target washing parameter for each operating information based on the priority of each intermediate washing parameter in the intermediate washing parameter set for each operating information; and determining an operating parameter based on the target washing parameter for each operating information.
[0086] Among them, the initial washing parameters can be understood as all data of the operating information; the candidate washing parameters can be understood as data that are consistent with the type of clothes to be washed from all data of the operating information, that is, data that can process the clothes to be washed; the intermediate washing parameters can be understood as data that are consistent with the weight information of the clothes to be washed from the candidate washing parameters; the target washing parameter can be understood as the intermediate washing parameter with the highest priority. Specifically, if the number of intermediate washing parameters is greater than 1, the intermediate washing parameter with the highest priority is determined as the target washing parameter. The priority can be set according to the frequency of use of each washing parameter and the processing logic of the washing machine, and this embodiment does not limit this.
[0087] Taking washing time as an example, the process of determining the target washing parameters is explained. Assuming that the washing time includes 30 minutes, 40 minutes, 45 minutes, 50 minutes and 60 minutes, the washing time corresponding to the type information is 30 minutes to 50 minutes, and the washing time corresponding to the weight information is 40 minutes to 60 minutes. The shorter the washing time, the higher the priority. The initial washing parameter set of washing time includes initial washing parameters of 30 minutes, 40 minutes, 45 minutes, 50 minutes and 60 minutes, the candidate washing parameter set includes candidate washing parameters of 30 minutes, 40 minutes, 45 minutes and 50 minutes, the intermediate washing parameter set includes intermediate washing parameters of 40 minutes, 45 minutes and 50 minutes, and the target washing parameter is 40 minutes.
[0088] Furthermore, the operating parameters of the washing machine can be determined based on the target washing parameters of the operating information such as the washing time, washing intensity, and washing water volume.
[0089] S208: Control the washing machine to operate based on the operating parameters to wash the laundry.
[0090] Specifically, controlling the washing machine to operate based on the operating parameters to wash the laundry can be understood as controlling the washing machine to operate with washing parameters that have a high degree of matching with the laundry information such as type information and weight information of the laundry to be washed, so as to wash the laundry to be washed.
[0091] For example, assuming that the washing speed in the operating parameters is medium speed, the washing time is 45 minutes, and the washing water volume is 25 liters, 25 liters of washing water will be injected into the inner drum of the washing machine, and the washing machine will be controlled to run at medium speed for 45 minutes to wash the clothes to be washed.
[0092] The technical solution of this embodiment is as follows: receiving a detection control instruction input by a user into the washing machine; determining a clothing detection method based on the detection control instruction; determining type information of the clothing to be washed based on the clothing detection method and detection indication information of the clothing to be washed; collecting statistics on the type information of the clothing to be washed; displaying the statistical results of the type information based on an interactive interface of the washing machine; adjusting the type information based on a type adjustment instruction input by the user into the interactive interface; determining operating parameters of the washing machine based on the type information and weight information of the clothing to be washed; and controlling the washing machine to operate based on the operating parameters to wash the clothing to be washed. The invention can determine the clothing detection mode according to the detection control instruction input by the user into the washing machine, determine the type information of the clothing to be washed by combining the clothing detection mode and the detection indication information of the clothing to be washed, and after determining the type information, the type information will be counted and displayed so that the user can check whether the type information is correct. When the type information is incorrect, the user will input the adjustment type information to the washing machine based on the interactive interface, and the washing machine will adjust the type information according to the type adjustment instruction, and determine the washing parameters of the washing machine washing the clothing to be washed based on the type information and weight information of the clothing to be washed. The operating parameters of the washing machine can be determined in combination with the actual situation of the clothing to be washed, so as to improve the washing effect of the clothing to be washed and reduce the damage to the clothing to be washed. Secondly, the benefit of adjusting the type information based on the type adjustment instruction input into the interactive interface is that the washing parameters of the washing machine washing the clothing to be washed can be determined according to the accurate clothing information, so as to improve the washing effect of the clothing to be washed and enhance the washing experience of the user. The invention solves the problem that once the clothing in the washing machine is placed irregularly or the small clothing is wrapped by clothing, the image collector will not be able to collect all the clothing information, the operating data of the washing machine determined based on the information collected by the image collector has deviations, and washing clothing with inappropriate washing data is prone to insufficient washing of clothing and damage to clothing.
[0093] Embodiment 3
[0094] Figure 3 Schematic diagram of the structure of a control device for a washing machine provided in Example 3. Figure 3 As shown, the device includes: an acquisition module 301, a determination module 302, a processing module 303 and a washing module 304.
[0095] The acquisition module 301 is used to determine the clothes detection mode of the washing machine.
[0096] The determination module 302 is used to determine the type information of the clothes to be washed based on the clothes detection mode and the detection indication information of the clothes to be washed.
[0097] The processing module 303 is used to determine the operating parameters of the washing machine based on the type information and the weight information of the laundry to be washed.
[0098] The washing module 304 is used to control the washing machine to operate based on the operating parameters to wash the laundry.
[0099] Optionally, the acquisition module 301 is specifically used to receive a detection control instruction input by a user into the washing machine; and determine a clothing detection method based on the detection control instruction.
[0100] Optionally, clothing detection methods include direct detection and continuous detection.
[0101] Optionally, the determination module 302 is specifically used to determine whether the washing machine receives control information input by the user when the clothing detection method is direct detection, wherein the control information includes detection indication information; if the washing machine receives the control information, the type information is determined based on the detection indication information.
[0102] Optionally, the determination module 302 is specifically used to determine the initial type information of the clothes to be washed when the clothing detection method is continuous detection, the initial type information including at least one type identifier and the number of at least one type identifier of the clothes to be washed; receive the indication information input by the user into the washing machine; determine whether the type of the indication information is the detection indication information; if the type of the indication information is the detection indication information, update the number of each type identifier in the initial type information based on the detection indication information, and continue to execute the step of receiving the indication information input by the user into the washing machine; if the type of the indication information is not the detection indication information, determine the type information based on the initial type information.
[0103] Optionally, the determination module 302 is also used to count the type information of the clothes to be washed after determining the type information of the clothes to be washed based on the clothing detection method and the detection indication information of the clothes to be washed; display the statistical results of the type information based on the interactive interface of the washing machine, and the statistical results are used to instruct the user to determine the type adjustment instructions of the type information; and adjust the type information based on the type adjustment instructions input by the user into the interactive interface.
[0104] Optionally, the processing module 303 is specifically used to determine an initial washing parameter set for each operating information of the washing machine, the initial washing parameter set including at least one initial washing parameter; determine a candidate washing parameter set for each operating information based on the type information and the initial washing parameter set for each operating information, the candidate washing parameter set including at least one candidate washing parameter, and the number of candidate washing parameters is less than or equal to the number of initial washing parameters; determine an intermediate washing parameter set for each operating information based on the weight information and the candidate washing parameter set for each operating information, the intermediate washing parameter set including at least one intermediate washing parameter, and the number of intermediate washing parameters is less than or equal to the number of candidate washing parameters; determine a target washing parameter for each operating information based on the priority of each intermediate washing parameter in the intermediate washing parameter set for each operating information; and determine the operating parameter based on the target washing parameter for each operating information.
[0105] The control device for a washing machine provided in this embodiment can execute the control method for a washing machine provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0106] Embodiment 4
[0107] Figure 4 : is a structural diagram of an electronic device provided in Example 4. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0108] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0109] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a control method for a washing machine.
[0111] In some embodiments, the control method of the washing machine may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the control method of the washing machine described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the control method of the washing machine in any other appropriate manner (e.g., by means of firmware).
[0112] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0113] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0114] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0116] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0117] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0118] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0119] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for controlling a washing machine, characterized in that: include: Determine the laundry detection method of the washing machine; Determining type information of the clothes to be washed based on the clothes detection mode and the detection indication information of the clothes to be washed; determining an operating parameter of the washing machine based on the type information and the weight information of the laundry to be washed; The washing machine is controlled to operate based on the operating parameters to wash the laundry.
2. The method according to claim 1, characterized in that The method of determining the laundry detection mode of the washing machine includes: Receiving a detection control instruction of the washing machine input by a user; The clothing detection mode is determined based on the detection control instruction.
3. The method according to claim 2, characterized in that The clothing detection method includes direct detection and continuous detection.
4. The method according to claim 3, characterized in that When the clothing detection mode is the direct detection, the determining the type information of the clothing to be washed based on the clothing detection mode and the detection indication information of the clothing to be washed includes: determining whether the washing machine receives control information input by a user, wherein the control information includes the detection indication information; If the washing machine receives the control information, the type information is determined based on the detection indication information.
5. The method according to claim 3, characterized in that: When the clothing detection mode is the continuous detection, the determining the type information of the clothing to be washed based on the clothing detection mode and the detection indication information of the clothing to be washed includes: Determining initial type information of the laundry to be washed, wherein the initial type information includes at least one type identifier of the laundry to be washed and the number of the at least one type identifier; receiving instruction information input by a user for the washing machine; Determining whether the type of the indication information is the detection indication information; If the type of the indication information is the detection indication information, updating the number of each type identifier in the initial type information based on the detection indication information, and continuing to perform the step of receiving the indication information of the washing machine input by the user; If the type of the indication information is not the detection indication information, the type information is determined based on the initial type information.
6. The method according to claim 1, characterized in that After determining the type information of the laundry to be washed based on the laundry detection mode and the detection indication information of the laundry to be washed, the method further includes: Collecting information about the types of clothes to be washed; Displaying statistical results of the type information based on an interactive interface of the washing machine, wherein the statistical results are used to instruct a user to determine a type adjustment instruction for the type information; The type information is adjusted based on the type adjustment instruction input by a user into the interactive interface.
7. The method according to claim 1, characterized in that The operating parameter includes at least one operating information, and determining the operating parameter of the washing machine based on the type information and the weight information of the laundry to be washed includes: Determining an initial washing parameter set of each of the operation information of the washing machine, wherein the initial washing parameter set includes at least one initial washing parameter; Determine a candidate washing parameter set for each of the operating information based on the type information and an initial washing parameter set for each of the operating information, wherein the candidate washing parameter set includes at least one candidate washing parameter, and the number of the candidate washing parameters is less than or equal to the number of the initial washing parameters; Determine an intermediate washing parameter set for each of the operating information based on the weight information and a candidate washing parameter set for each of the operating information, wherein the intermediate washing parameter set includes at least one intermediate washing parameter, and the number of the intermediate washing parameters is less than or equal to the number of the candidate washing parameters; Determining a target washing parameter for each of the operation information based on the priority of each intermediate washing parameter in the intermediate washing parameter set for each of the operation information; The operation parameters are determined based on target washing parameters of each of the operation information.
8. A control device for a washing machine, characterized in that: include: An acquisition module, used to determine a laundry detection mode of the washing machine; a determination module, configured to determine type information of the laundry to be washed based on the laundry detection method and detection indication information of the laundry to be washed; a processing module, configured to determine an operating parameter of the washing machine based on the type information and the weight information of the laundry to be washed; The washing module is used to control the washing machine to operate based on the operating parameters to wash the clothes to be washed.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the control method of the washing machine described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the control method of the washing machine according to any one of claims 1 to 7 when executed.
