Method, device and equipment for intelligently controlling putting amount of detergent based on clothes type and medium
Through intelligent control of the detergent release volume through clothing type and quality information, the problem of fixed detergent release volume of existing washing machines is solved, precise cleaning is achieved, and user experience and resource utilization are optimized.
Patent Information
- Application Number
- CN202411323610.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The amount of detergent in existing washing machines is fixed, and it cannot accurately match the cleaning needs of different types of clothing, resulting in the possibility of residual detergent in the clothes or need to be re-washed, resulting in waste of resources and time.
By obtaining clothing type and quality information, using the pre-constructed clothing type and detergent delivery volume correlation relationship, determining the unit and target delivery volume of detergent, generating detergent delivery instructions, and realizing intelligent control.
Ensure that the amount of detergent is in line with the cleaning needs of clothes, avoid excessive or insufficient cleaning, optimize user experience, and improve washing efficiency and resource utilization.
Smart Images

Figure CN119083114A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of smart home technology, and specifically relates to a method, device, equipment and medium for intelligently controlling the amount of detergent to be dispensed based on clothing type. Background Art
[0002] As an indispensable household appliance in modern families, washing machines have been deeply integrated into people's daily lives. Washing machines generally have multiple washing modes to adapt to clothes of different materials and stains. For example, the standard washing mode is suitable for most ordinary clothes and can wash away most stains; the quick washing mode can quickly wash away light stains and is suitable for relatively clean clothes or clothes that need to be used urgently.
[0003] Currently, the amount of detergent added for each washing mode is usually fixed. This "one-size-fits-all" strategy cannot meet the precise demands of different types of clothing for the amount of detergent used. When too much detergent is added, it is easy for detergent to remain on the clothes, which may irritate the user's skin. On the contrary, if too little detergent is added, the clothes cannot be thoroughly cleaned and may need to be washed again, resulting in a waste of resources and time. Therefore, how to ensure that the amount of detergent added can accurately match the needs of each type of clothing is an urgent problem that people in this field need to solve. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, equipment and medium for intelligent control of detergent dosage based on clothing type, so as to make the detergent dosage fit the cleaning needs of the laundry to be washed, avoid insufficient or excessive washing of the laundry to be washed, and thus optimize the user experience.
[0005] In a first aspect, an embodiment of the present application provides a method for intelligently controlling the amount of detergent to be dispensed based on clothing type, the method comprising:
[0006] Obtaining clothing type information and quality information of the laundry to be washed;
[0007] Determining the unit dosage of the detergent according to the clothing type information and the pre-established association relationship between the clothing type and the detergent dosage;
[0008] Determining a target dosage of detergent according to the quality information and the unit dosage;
[0009] A detergent dispensing instruction is generated according to the target dispensing amount to execute a washing program.
[0010] In a second aspect, an embodiment of the present application provides a device for intelligently controlling the amount of detergent to be dispensed based on clothing type, the device comprising:
[0011] An information acquisition module, used to acquire type information and quality information of the laundry to be washed;
[0012] A unit dosage determination module, configured to determine the unit dosage of the detergent according to the clothing type information and a pre-established association relationship between the clothing type and the detergent dosage;
[0013] A target dosage determination module, used to determine a target dosage of detergent according to the quality information and the unit dosage;
[0014] The detergent dispensing execution module is used to generate a detergent dispensing instruction according to the target dispensing amount to execute a washing program.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0018] In an embodiment of the present application, the clothing type information and quality information of the laundry to be washed are obtained; the unit amount of the detergent is determined according to the clothing type information and the pre-established association between the clothing type and the amount of detergent to be washed; the target amount of the detergent is determined according to the quality information and the unit amount of detergent to be washed; a detergent dispensing instruction is generated according to the target amount of detergent to be washed to execute the washing program. The above-mentioned intelligent control method of detergent dispensing amount based on clothing type, by determining the target amount of detergent according to the clothing type information, quality information and the pre-established association between the clothing type and the amount of detergent to be washed, can make the amount of detergent fit the cleaning needs of the laundry to be washed, avoid insufficient or excessive cleaning of the laundry to be washed, and thus optimize the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of a method for intelligently controlling the amount of detergent to be dispensed based on clothing type provided in Example 1 of the present application;
[0020] Figure 2 is a flow chart of a method for intelligently controlling the amount of detergent to be dispensed based on clothing type provided in Embodiment 2 of the present application;
[0021] Figure 3 is a schematic diagram of a process for pre-building an association relationship between clothing types and detergent dosages provided in Embodiment 3 of the present application;
[0022] Figure 4 is a schematic diagram of a process for pre-building an association relationship between clothing types and detergent dosages provided in Embodiment 4 of the present application;
[0023] Figure 5 is a schematic diagram of the structure of a device for intelligently controlling the amount of detergent to be dispensed based on clothing type provided in Embodiment 5 of the present application;
[0024] Figure 6 It is a structural diagram of an electronic device provided in Example 6 of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0028] In conjunction with the accompanying drawings, the method, device, equipment and medium for intelligently controlling the amount of detergent dispensed based on clothing type provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0029] Embodiment 1
[0030] Figure 1 1 is a flow chart of an intelligent control method for the amount of detergent to be dispensed based on clothing type provided in Example 1 of the present application. Figure 1 As shown, the specific steps include:
[0031] S101, obtaining type information and quality information of laundry to be washed;
[0032] First of all, this application is applicable to the scenario where users use laundry equipment to wash clothes. Based on the above usage scenarios, it can be understood that the execution subject of this application can be the main control PC (Printed Circuit) board. Specifically, the determination of the unit amount of detergent and the target amount of detergent and the generation of detergent delivery instructions can be executed by the main control PC board, and the laundry equipment executes the detergent delivery instruction according to the target amount of detergent to meet the washing needs of the clothes.
[0033] The laundry device may be a device that can autonomously complete the laundry cleaning work, specifically, a washing machine, such as a drum washing machine or a pulsator washing machine, etc. The main control PC board may be a circuit board used to control and manage various functions and operations of the device or system, generally as a core component of the device, and undertakes the control and coordination tasks of the overall system. Specifically, in this solution, the main control PC board can control and manage the execution of various programs of the laundry device.
[0034] The laundry may refer to the laundry placed in the washing tub and waiting to be washed by the laundry device. The washing tub may refer to the device in the laundry device that holds the laundry. The laundry type information may refer to the type and style of the laundry, which may include underwear, outerwear, pants, and skirts, etc. The mass information may refer to the total mass of all the laundry in the washing tub.
[0035] The clothing type information and quality information of the laundry can be manually input by the user through the input device of the laundry equipment or manually selected through the selection device of the laundry equipment. The method of obtaining the clothing type information of the laundry can also be to collect the image information of the current laundry through the camera, and input the image information into the image information analysis model, the image information analysis model calculates and feeds back the corresponding clothing type information; the method of obtaining the quality information of the laundry can also be to use a pressure sensor to measure the total gravity of the washing tub and the laundry, and the total gravity minus the gravity of the empty washing tub can be used to obtain the weight of the laundry, and finally the quality information of the laundry is determined according to the weight of the laundry. Among them, by collecting image information containing various clothes, annotating the position of the clothes and the clothing type information in these image information, and training the deep learning basic model according to the annotation results, an image information analysis model for determining the clothing type information of the laundry in the image information can be obtained.
[0036] S102, determining the unit dosage of the detergent according to the clothing type information and the pre-established association relationship between the clothing type and the detergent dosage;
[0037] Detergent is a chemical used to dissolve and remove dirt, grease and other contaminants from clothes. The amount of detergent added may refer to the mass or volume of detergent put into the washing tub during the main wash phase. The main wash phase may refer to the process of washing clothes by a washing machine using detergent and water by rotating the washing tub.
[0038] The association between clothing type and detergent dosage can be information used to describe the mass or volume of detergent corresponding to each clothing type per unit mass. The storage format of the association between clothing type and detergent dosage can be in the format of a two-dimensional table, with one clothing type corresponding to one detergent dosage. The association between clothing type and detergent dosage can be constructed based on user historical usage data. Furthermore, the unit dosage of detergent is the mass or volume of detergent corresponding to the unit mass of the current clothing type information clothing (i.e., the laundry to be washed).
[0039] The method for determining the unit amount of detergent to be added can be to use clothing type information as a query keyword to query data storing the association relationship between clothing type and detergent amount, and the query result obtained is the unit amount of detergent to be added.
[0040] S103, determining a target dosage of detergent according to the quality information and the unit dosage;
[0041] The target amount of detergent may refer to the total mass or volume of detergent required to be added during the washing of the current laundry. The target amount of detergent may be determined by multiplying the mass information and the unit amount, and the product obtained is the target amount of detergent.
[0042] S104, generating a detergent dispensing instruction according to the target dispensing amount to execute a washing program.
[0043] The detergent dispensing instruction may be a computer instruction for controlling a detergent dispensing device of a laundry machine to dispense detergent into a washing tub, and the detergent dispensing instruction may include a dispensing amount parameter. The detergent dispensing instruction may be generated by setting a specific value of the dispensing amount in a preset detergent dispensing instruction as a target dispensing amount to obtain a current detergent dispensing instruction.
[0044] The washing program may refer to the process of improving the cleanliness of the laundry by the laundry equipment, which may include a main wash phase, a rinse phase, and a spin phase, etc. The washing program may be composed of a plurality of instructions in an orderly manner, and the detergent injection instruction may be executed simultaneously with the water injection instruction, or after the water injection instruction is executed.
[0045] In an embodiment of the present application, the clothing type information and quality information of the laundry to be washed are obtained; the unit amount of the detergent is determined according to the clothing type information and the pre-established association between the clothing type and the amount of detergent to be washed; the target amount of the detergent is determined according to the quality information and the unit amount of detergent to be washed; a detergent dispensing instruction is generated according to the target amount of detergent to be washed to execute the washing program. The above-mentioned intelligent control method of detergent dispensing amount based on clothing type, by determining the target amount of detergent according to the clothing type information, quality information and the pre-established association between the clothing type and the amount of detergent to be washed, can make the amount of detergent fit the cleaning needs of the laundry to be washed, avoid insufficient or excessive cleaning of the laundry to be washed, and thus optimize the user experience.
[0046] Embodiment 2
[0047] Figure 2It is a flow chart of the intelligent control method of detergent dosage based on clothing type provided in the second embodiment of the present application. This scheme makes a better improvement on the above embodiment, and the specific improvement is: before determining the unit dosage of the detergent according to the clothing type information and the pre-constructed association relationship between the clothing type and the detergent dosage, the method also includes: obtaining the concentration information of the detergent; determining the target association relationship between the clothing type and the detergent dosage according to the concentration information and the pre-constructed association relationship between the clothing type and the detergent dosage; correspondingly, determining the unit dosage of the detergent according to the clothing type information and the pre-constructed association relationship between the clothing type and the detergent dosage includes: determining the unit dosage of the detergent according to the clothing type information and the target association relationship between the clothing type and the detergent dosage.
[0048] like Figure 2 As shown, the specific steps include:
[0049] S201, obtaining type information and quality information of laundry to be washed;
[0050] S202, obtaining detergent concentration information;
[0051] The concentration information of the detergent may refer to the concentration of the detergent components in the detergent solution, which is generally expressed in units such as percentage or mg / L. The concentration information of the detergent may be manually input or selected by the user, or may be measured by spectrophotometry. Among them, spectrophotometry is one of the common methods for measuring the concentration information of the detergent, which mainly uses the absorption characteristics of certain components in the detergent at a specific wavelength to determine the concentration information.
[0052] S203, determining a target association relationship between clothing types and detergent dosage amounts according to the concentration information and a pre-established association relationship between clothing types and detergent dosage amounts;
[0053] The target association relationship between clothing types and detergent dosages may refer to an adjustment result obtained by adjusting a pre-constructed association relationship between clothing types and detergent dosages according to concentration information.
[0054] The same detergent can be used when pre-building the association between clothing type and detergent dosage, that is, the concentration information of the detergent used in the construction process remains consistent, and the standard concentration information can be used to represent the concentration information of the detergent used when pre-building the association between clothing type and detergent dosage.
[0055] Correspondingly, the target association relationship between clothing type and detergent dosage can be determined by calculating the ratio of standard concentration information to detergent concentration information, multiplying the detergent dosage corresponding to each clothing type by the ratio, and obtaining the target association relationship between clothing type and detergent dosage.
[0056] In the technical solution, optionally, after obtaining the concentration information of the detergent, the method further includes:
[0057] Acquire washing mode information of a washing program, and determine execution parameters of the washing program according to the washing mode information; wherein the execution parameters include water temperature parameters and washing times parameters;
[0058] Accordingly, according to the concentration information and the pre-established association relationship between the clothing type and the detergent dosage, a target association relationship between the clothing type and the detergent dosage is determined, including:
[0059] A target association relationship between the clothing type and the detergent dosage is determined according to the concentration information, the execution parameters, and a pre-established association relationship between the clothing type and the detergent dosage.
[0060] The washing mode information of the washing program may refer to different cleaning schemes adopted by the laundry device during the washing process, which may include a standard mode, a quick wash mode, an energy-saving mode, and a children's mode, etc. The washing mode information of the washing program may be manually selected by the user or automatically determined according to the clothing type information.
[0061] The execution parameters of the washing program may refer to the parameters that the laundry machine must follow when executing the washing program, and may include water temperature parameters and wash times parameters. The water temperature parameter may refer to the temperature of the water injected into the washing tub; the wash times parameter may refer to the number of times the process of injecting water into the washing tub and adding detergent, rotating the washing tub for a certain period of time, and finally draining all the liquid in the washing tub is repeated. The execution parameters of the washing program may be determined by querying the configuration file of the laundry machine according to the washing mode information to obtain the corresponding execution parameters.
[0062] The association between clothing type and detergent dosage can be pre-constructed based on historical user usage data under the same water temperature parameters, and the standard water temperature parameters can be used to represent the water temperature parameters used when pre-constructing the association between clothing type and detergent dosage.
[0063] The method for determining the target association relationship between clothing type and detergent dosage can be to calculate a first ratio of standard concentration information to detergent concentration information, calculate a second ratio of standard water temperature parameter to current water temperature parameter, determine a third ratio based on the current number of washes parameter and a pre-established association relationship between the number of washes and the third ratio, multiply the detergent dosage corresponding to each clothing type by the first ratio, the second ratio and the third ratio, and obtain the target association relationship between clothing type and detergent dosage.
[0064] The advantage of this arrangement of the present scheme is that by adjusting the pre-constructed association between clothing type and detergent dosage according to the detergent concentration information and washing mode information to obtain the target association relationship, the influence of different concentration information and different washing mode information on the detergent dosage can be considered at the same time, thereby more accurately controlling the detergent dosage.
[0065] S204, determining a unit amount of the detergent according to the clothing type information and a target association relationship between the clothing type and the amount of detergent;
[0066] The method for determining the unit amount of detergent to be added can be to use clothing type information as a query keyword to query data storing the target association relationship between clothing type and detergent amount, and the query result obtained is the unit amount of detergent to be added.
[0067] S205, determining a target dosage of detergent according to the quality information and the unit dosage;
[0068] S206, generating a detergent dispensing instruction according to the target dispensing amount to execute a washing program.
[0069] The advantage of this arrangement of the present scheme is that by adjusting the pre-constructed association between clothing type and detergent dosage according to the detergent concentration information to obtain the target association, the influence of different concentration information on the detergent dosage can be considered, thereby more accurately controlling the detergent dosage.
[0070] Embodiment 3
[0071] Figure 3 This is a flow chart of pre-building the association between clothing type and detergent dosage provided by Example 3 of the present application. This solution makes better improvements to the above-mentioned embodiments, and the specific improvements are: the process of pre-building the association between clothing type and detergent dosage includes: building the association between clothing type and detergent dosage based on user historical usage data; wherein the user historical usage data includes historical clothing type data, historical quality data, and historical detergent dosage data.
[0072] like Figure 3 As shown, the specific steps include:
[0073] S301, constructing a correlation relationship between clothing type and detergent dosage according to user historical usage data; wherein the user historical usage data includes historical clothing type data, historical quality data, and historical detergent dosage data.
[0074] The user's historical usage data may refer to the recorded data when the user used the laundry device before the current time point, and may include historical clothing type data, historical quality data, and historical detergent dosage data. The historical clothing type data is the clothing type information of the laundry placed in the laundry tub when the user used the laundry device before the current time point, the historical quality data is the quality information of the laundry placed in the laundry tub before the current time point, and the historical detergent dosage data is the detergent dosage set by the user before the current time point.
[0075] Among them, the historical clothing type data, historical quality data and historical detergent dosage data of the user when using the laundry device once are a set of data. It can be understood that the concentration information of the same detergent and the historical user usage data under the same execution parameters can be selected to construct the association relationship between clothing type and detergent dosage.
[0076] The method of constructing the association between clothing type and detergent dosage based on the user's historical usage data is to divide the historical detergent dosage data in a group of data by the historical quality data to obtain the unit dosage corresponding to the historical clothing type data of the group, and calculate the average value of each unit dosage corresponding to the same historical clothing type data as the detergent dosage associated with the clothing type.
[0077] In this technical solution, optionally, the user historical usage data also includes historical cleanliness data;
[0078] Accordingly, the association between clothing type and detergent dosage is constructed based on the user's historical usage data, including:
[0079] Determine the theoretical optimal value of detergent dosage based on historical detergent dosage data and historical cleanliness data;
[0080] Determine the optimal unit delivery amount corresponding to the historical clothing type data according to the historical quality data and the theoretical optimal value;
[0081] The average value of the optimal dosage of each unit corresponding to the same historical clothing type data is determined as the detergent dosage associated with the clothing type.
[0082] The cleanliness data may be data used to describe the cleanliness of the surface of the laundry. The historical cleanliness data is the cleanliness data of the laundry after the user used the laundry device to wash the laundry before the current time point.
[0083] The theoretical optimal value of the detergent dosage may refer to the theoretical optimal value of the detergent dosage corresponding to the historical clothing type data in the predicted data set. The theoretical optimal value of the detergent dosage may be determined by dividing the historical detergent dosage data by the historical cleanliness data to obtain the theoretical optimal value of the detergent dosage.
[0084] The unit optimal dosage may refer to the detergent dosage corresponding to the historical clothing type data in the set of data per unit mass. The unit optimal dosage corresponding to the historical clothing type data may be determined by dividing the theoretical optimal value by the historical quality data to obtain the unit optimal dosage.
[0085] The number of the same historical clothing type data and the sum of the optimal dosages of each unit corresponding to the same historical clothing type data are counted, and the sum is divided by the number to obtain the detergent dosage associated with the clothing type.
[0086] The benefit of this arrangement of the present solution is that by determining the theoretical optimal value of the detergent dosage based on historical detergent dosage data and historical cleanliness data, the error caused by the user manually setting the detergent dosage can be eliminated, making the detergent dosage data used to construct the association relationship more accurate.
[0087] The benefit of this arrangement of the present invention is that, by constructing a correlation between clothing type and detergent dosage based on the user's historical usage data, the constructed correlation between clothing type and detergent dosage can be made closer to the user's usage habits for laundry equipment, providing the user with a personalized, high-quality usage experience.
[0088] Embodiment 4
[0089] Figure 4 This is a flow chart of pre-building the association relationship between clothing type and detergent dosage provided by Example 4 of the present application. This solution makes a better improvement on the above-mentioned embodiment, and the specific improvement is: after building the association relationship between clothing type and detergent dosage based on the user's historical usage data, the method also includes: obtaining clothing quantity data corresponding to each historical clothing type data; determining the average single piece mass of each clothing type based on the historical quality data, each historical clothing type data and the clothing quantity data corresponding to each historical clothing type data.
[0090] like Figure 4 As shown, the specific steps include:
[0091] S401, constructing an association relationship between clothing type and detergent dosage according to user historical usage data; wherein the user historical usage data includes historical clothing type data, historical quality data, and historical detergent dosage data;
[0092] S402, obtaining clothing quantity data corresponding to each historical clothing type data;
[0093] The clothing quantity data corresponding to the historical clothing type data may refer to the number of clothes to be washed of the same clothing type. The clothing quantity data may be obtained by manual input or selection by a user, or by inputting image information of the clothes to be washed into an image information analysis model, which calculates and feeds back the corresponding clothing type information and the clothing quantity data corresponding to each clothing type information.
[0094] S403, determining the average single-piece mass of each clothing type according to the historical mass data, each historical clothing type data and the clothing quantity data corresponding to each historical clothing type data.
[0095] The average single-piece mass of each clothing type may refer to the average mass of a single piece of clothing of the clothing type. The average single-piece mass of each clothing type may be determined by defining each clothing type as an independent variable, defining the historical mass data as a dependent variable, defining the multiplication and addition of each variable and the corresponding clothing quantity data as equal to the dependent variable to obtain an equation, summing up the equations of each historical usage data into an equation group, and solving the equation group to obtain the average single-piece mass of each clothing type.
[0096] Here is example code for determining the average piece mass for each clothing type:
[0097] - Historical clothing type data (x1, x2, x3, ...)
[0098] -The clothing quantity data corresponding to each historical clothing type data (n1, n2, n3, ...)
[0099] -Historical quality data (y)
[0100] import numpy as np
[0101] from scipy.linalg import solve
[0102] #Assume data
[0103] x1=[10,12,11,9]
[0104] x2=[5,7,6,8]
[0105] x3=[3,4,5,2]
[0106] n1=[20,25,22,18]
[0107] n2=[15,18,16,20]
[0108] n3=[10,12,13,8]
[0109] y=[150,180,170,130]
[0110] #Build a linear system of equations
[0111] A=np.column_stack((np.multiply(x1,n1),np.multiply(x2,n2),np.multiply(x3,n3)))
[0112] b=y
[0113] # Solve the system of equations
[0114] x=solve(A,b)
[0115] #Output the average single piece quality of each clothing type
[0116] print("Average unit quality:")
[0117] print("Type 1:",x[0])
[0118] print("Type 2:",x[1])
[0119] print("Type 3:",x[2])
[0120] The benefit of this arrangement of the present invention is that, by determining the average mass of each type of clothing, a data basis can be provided for subsequently determining the corresponding amounts of detergent to be put into the laundry of multiple types of clothing.
[0121] In the technical solution, optionally, obtaining clothing type information and quality information of the laundry to be washed includes:
[0122] Obtaining clothing type information of the laundry to be washed and clothing quantity information corresponding to each clothing type information;
[0123] Accordingly, determining the target dosage of detergent according to the quality information and the unit dosage includes:
[0124] Determine the theoretical total mass of each piece of clothing type information according to the clothing quantity information corresponding to each piece of clothing type information and the average single piece mass;
[0125] The target dosage of detergent is determined according to the theoretical total mass of each type of clothing information and the unit dosage.
[0126] The clothing quantity information corresponding to the clothing type information may refer to the number of clothes to be washed of the same clothing type information. The clothing quantity information may be obtained by manual input or selection by a user, or by inputting image information of the clothes to be washed into an image information analysis model, which calculates and feeds back the corresponding clothing type information and the clothing quantity information corresponding to each clothing type information.
[0127] The theoretical total mass of the clothing type information may refer to the predicted total mass of the laundry to be washed of the same clothing type information. The theoretical total mass of each clothing type information may be determined by multiplying the clothing quantity information corresponding to a clothing type information by the average single piece mass to obtain the theoretical total mass of the clothing type information.
[0128] The target amount of detergent to be added may be determined by multiplying and adding the theoretical total mass of each type of clothing information and the unit amount of detergent to obtain the target amount of detergent to be added.
[0129] Here is a sample code to determine the target amount of detergent to dispense:
[0130] -Clothing type information (clothing_types)
[0131] -Clothing quantity information corresponding to each clothing type information (clothing_counts)
[0132] -Average weight of each clothing type (avg_clothing_weights)
[0133] -Unit amount (unit_detergent_amount)
[0134] #Calculate the theoretical total mass of each clothing type information
[0135] clothing_total_weights=[count*avg_weight for count,avg_weight in zip(clothing_counts,avg_clothing_weights)]
[0136] #Calculate the target amount of detergent
[0137] target_detergent_amount=sum([total_weight*unit_detergent_amount fortotal_weight in clothing_total_weights])
[0138] print("Theoretical total weight of each clothing type information:")
[0139] for clothing_type,total_weight in zip(clothing_types,clothing_total_weights):
[0140] print(f"{clothing_type}:{total_weight:.2f}kg")
[0141] print(f"\nTarget amount of detergent:{target_detergent_amount:.2f}kg")
[0142] The benefit of this arrangement of the present scheme is that by determining the target amount of detergent based on the clothing quantity information, average single piece weight and unit amount corresponding to each clothing type information, it can be used to determine the amount of detergent that should be used for laundry of multiple clothing types, thereby expanding the applicable scenarios of the present scheme.
[0143] Embodiment 5
[0144] Figure 5 Schematic diagram of the structure of the intelligent control device for detergent dosage based on clothing type provided in Example 5 of the present application. Figure 5 As shown, the device comprises:
[0145] The information acquisition module 510 is used to acquire the type information and quality information of the laundry to be washed;
[0146] The unit dosage determination module 520 is used to determine the unit dosage of the detergent according to the clothing type information and the pre-established association relationship between the clothing type and the detergent dosage;
[0147] A target dosage determination module 530 is used to determine a target dosage of detergent according to the quality information and the unit dosage;
[0148] The detergent dispensing execution module 540 is used to generate a detergent dispensing instruction according to the target dispensing amount to execute a washing program.
[0149] In an embodiment of the present application, an information acquisition module is used to acquire clothing type information and quality information of the laundry to be washed; a unit dosage determination module is used to determine the unit dosage of the detergent according to the clothing type information and the pre-established association relationship between the clothing type and the detergent dosage; a target dosage determination module is used to determine the target dosage of the detergent according to the quality information and the unit dosage; a detergent dosage execution module is used to generate a detergent dosage instruction according to the target dosage to execute a washing program. The above-mentioned intelligent control device for detergent dosage based on clothing type determines the target dosage of the detergent according to the clothing type information, quality information and the pre-established association relationship between the clothing type and the detergent dosage of the laundry to be washed, so as to make the detergent dosage fit the cleaning needs of the laundry to be washed, avoid insufficient or excessive cleaning of the laundry to be washed, and thus optimize the user experience.
[0150] The intelligent control device for the amount of detergent based on clothing type in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0151] The intelligent control device for controlling the amount of detergent to be dispensed based on clothing type in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0152] The intelligent control device for detergent dosage based on clothing type provided in the embodiment of the present application can realize each process implemented in the above-mentioned embodiments one to four, and will not be described again here to avoid repetition.
[0153] Embodiment 6
[0154] like Figure 6As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, each process of the above-mentioned embodiment of the intelligent control method for detergent dosage based on clothing type is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0155] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0156] Embodiment 7
[0157] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the intelligent control method for detergent dosage based on clothing type is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0158] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0159] Embodiment 8
[0160] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned embodiment of the intelligent control method for detergent dosage based on clothing type, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0161] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0162] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0163] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0164] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0165] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A method for intelligently controlling the amount of detergent to be dispensed based on clothing type, characterized in that: The method comprises: Obtaining clothing type information and quality information of the laundry to be washed; Determining the unit dosage of the detergent according to the clothing type information and the pre-established association relationship between the clothing type and the detergent dosage; Determining a target dosage of detergent according to the quality information and the unit dosage; A detergent dispensing instruction is generated according to the target dispensing amount to execute a washing program.
2. The method for intelligently controlling the amount of detergent to be dispensed based on clothing type according to claim 1, characterized in that: Before determining the unit dosage of the detergent according to the clothing type information and the pre-established association relationship between the clothing type and the detergent dosage, the method further includes: Get the concentration information of detergent; Determining a target association relationship between clothing type and detergent dosage according to the concentration information and a pre-established association relationship between clothing type and detergent dosage; Accordingly, according to the clothing type information and the pre-established association relationship between the clothing type and the detergent dosage, the unit dosage of the detergent is determined, including: The unit dosage of the detergent is determined according to the clothing type information and the target association relationship between the clothing type and the detergent dosage.
3. The intelligent control method of detergent dosage based on clothing type according to claim 2, characterized in that: After obtaining the concentration information of the detergent, the method further includes: Acquire washing mode information of a washing program, and determine execution parameters of the washing program according to the washing mode information; wherein the execution parameters include water temperature parameters and washing times parameters; Accordingly, according to the concentration information and the pre-established association relationship between the clothing type and the detergent dosage, a target association relationship between the clothing type and the detergent dosage is determined, including: A target association relationship between the clothing type and the detergent dosage is determined according to the concentration information, the execution parameters, and a pre-established association relationship between the clothing type and the detergent dosage.
4. The method for intelligently controlling the amount of detergent to be dispensed based on clothing type according to claim 1, characterized in that: The process of pre-building the association between clothing types and detergent dosages includes: An association relationship between clothing type and detergent dosage is established based on user historical usage data; wherein the user historical usage data includes historical clothing type data, historical quality data, and historical detergent dosage data.
5. The method for intelligently controlling the amount of detergent to be dispensed based on clothing type according to claim 4, characterized in that: The user historical usage data also includes historical cleanliness data; Accordingly, the association between clothing type and detergent dosage is constructed based on the user's historical usage data, including: Determine the theoretical optimal value of detergent dosage based on historical detergent dosage data and historical cleanliness data; Determine the optimal unit delivery amount corresponding to the historical clothing type data according to the historical quality data and the theoretical optimal value; The average value of the optimal dosage of each unit corresponding to the same historical clothing type data is determined as the detergent dosage associated with the clothing type.
6. The method for intelligently controlling the amount of detergent to be dispensed based on clothing type according to claim 4, characterized in that: After establishing the association relationship between clothing type and detergent dosage according to the user's historical usage data, the method further includes: Obtain clothing quantity data corresponding to each historical clothing type data; The average single-piece mass of each clothing type is determined based on the historical mass data, each historical clothing type data, and the clothing quantity data corresponding to each historical clothing type data.
7. The method for intelligently controlling the amount of detergent to be dispensed based on clothing type according to claim 6, characterized in that: Get information about the type and quality of laundry, including: Obtaining clothing type information of the laundry to be washed and clothing quantity information corresponding to each clothing type information; Accordingly, determining the target dosage of detergent according to the quality information and the unit dosage includes: Determine the theoretical total mass of each piece of clothing type information according to the clothing quantity information corresponding to each piece of clothing type information and the average single piece mass; The target dosage of detergent is determined according to the theoretical total mass of each type of clothing information and the unit dosage.
8. An intelligent control device for the amount of detergent to be dispensed based on clothing type, characterized in that: The device comprises: An information acquisition module, used to acquire type information and quality information of the laundry to be washed; A unit dosage determination module, configured to determine the unit dosage of the detergent according to the clothing type information and a pre-established association relationship between the clothing type and the detergent dosage; A target dosage determination module, used to determine a target dosage of detergent according to the quality information and the unit dosage; The detergent dispensing execution module is used to generate a detergent dispensing instruction according to the target dispensing amount to execute a washing program.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for intelligently controlling the amount of detergent to be dispensed based on clothing type as described in any one of claims 1 to 7.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the intelligent control method of detergent dosage based on clothing type as described in any one of claims 1-7 are implemented.
Citation Information
Patent Citations
Method and device for controlling release amount of detergent, and washing machine
CN107190478A
Method and device for controlling usage amount of washing agent of washing machine
CN109629184A
Clothes washing method
CN112411122A
Detergent putting control method and device, equipment and storage medium
CN113930940A
Detergent putting control method and device, washing machine and storage medium
CN114592319A
