Washing machine control method and device, equipment and storage medium
By acquiring the material and basic information attributes of the clothes to be washed, and calculating the intersection of washing parameters for the same type, the problem of users having difficulty selecting the appropriate washing mode is solved. This achieves the optimal washing parameters suitable for all types of clothing, ensuring better washing results.
Patent Information
- Application Number
- CN202511272356.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-08
- Publication Date
- 2025-11-28
AI Technical Summary
When there are many clothes to be washed, users find it difficult to accurately select the appropriate washing mode, and existing technologies lack effective solutions.
By obtaining the material properties and basic information properties of the clothes to be washed, the washing parameters corresponding to each garment are determined, and the intersection of washing parameters of the same type is calculated in the absence of conflict, which is used as the current washing parameters of the washing machine.
It accurately determines the washing parameters suitable for all clothes to be washed, avoiding the problem of washing modes being unsuitable for some clothes due to random selection by users, and achieving better washing results.
Smart Images

Figure CN121023780A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of washing machine control, and more particularly to a washing machine control method, apparatus, device, and storage medium. Background Technology
[0002] With the development of the internet, smart home devices have entered countless households, bringing people a very convenient lifestyle, such as smart TVs and smart robots. Washing machines have also become increasingly sophisticated, offering a wide variety of washing programs; however, users still need to manually select the appropriate program when washing clothes. When there are many clothes to wash and multiple programs to choose from, users often select the more common quick wash program, without truly considering whether the program matched to the clothes is indeed a quick wash. In other words, when faced with a large amount of laundry, users find it difficult to accurately select the desired washing mode.
[0003] There is currently no effective solution to the aforementioned technical problems in the existing technology. Summary of the Invention
[0004] This application provides a control method, apparatus, device, and storage medium for a washing machine to solve the problem in the prior art that it is difficult to accurately select the required washing mode when there are many clothes to be washed.
[0005] In a first aspect, this application provides a method for controlling a washing machine, comprising: acquiring attribute information of multiple items to be washed, wherein the attribute information includes material attributes and basic information attributes of the items to be washed; determining corresponding washing parameters based on the material attributes and basic information attributes of each item to be washed; determining the intersection of washing parameters of the same type among the washing parameters corresponding to the multiple items to be washed, and determining the intersection and other different types of washing parameters as the current washing parameters of the washing machine, and controlling the washing machine to operate with the current washing parameters, wherein the other different types of washing parameters refer to washing parameters that only one item among the multiple items to be washed has.
[0006] Optionally, obtaining attribute information of multiple items of clothing awaiting laundry includes: obtaining attribute information of purchased clothing from a shopping platform based on a preset application programming interface, and storing the attribute information in a structured format; and / or, obtaining the HTML source code of the details page of the purchased clothing on the shopping platform, extracting the first attribute information of the purchased clothing from the HTML source code, and recognizing the images in the details page to obtain the second attribute information of the purchased clothing, and merging the first attribute information and the second attribute information before storing them; determining the attribute information of multiple items of clothing awaiting laundry from the stored attribute information.
[0007] Optionally, determining the corresponding washing parameters based on the material properties and basic information properties of each of the items to be washed includes: comparing the material properties of the target item to be washed with the material properties in a first preset database to determine a first washing parameter; wherein the first preset database stores multiple material properties and corresponding washing parameters; the target item to be washed is any one of the multiple items to be washed; comparing the basic information properties of the target item to be washed with the basic information properties in a second preset database to determine a second washing parameter; wherein the second preset database stores various different basic information properties and corresponding washing parameters; and determining the washing parameters of the target item to be washed based on the first washing parameter and the second washing parameter.
[0008] Optionally, determining the washing parameters of the target garment to be washed based on the first washing parameters and the second washing parameters includes: determining the intersection between the first washing parameters and the second washing parameters as the first target washing parameters; selecting washing parameters that do not overlap between the first washing parameters and the second washing parameters as the second target washing parameters; and merging the first target washing parameters and the second target washing parameters to obtain the washing parameters of the target garment to be washed.
[0009] Optionally, determining the intersection of washing parameters of the same type among the washing parameters corresponding to multiple items of laundry includes: determining the intersection of washing parameters of the same type among the washing parameters corresponding to the items of laundry, wherein the intersection includes numerical intersection and textual intersection among the washing parameters of the same type; determining the median value in the numerical intersection as the first current washing parameter; if there are multiple different types of textual washing parameters in the textual intersection, selecting the textual washing parameter with the most usage frequency corresponding to the items of laundry from the multiple different types of textual washing parameters, and determining the textual washing parameter with the most usage frequency as the second current washing parameter; merging the first current washing parameter and the second current washing parameter to obtain the intersection.
[0010] Optionally, the method further includes: in the case that there are conflicting washing parameters among the washing parameters corresponding to multiple items of laundry, sending a prompt message to indicate a washing conflict.
[0011] Optionally, after sending a prompt message indicating a washing conflict, the method further includes: displaying information about the garments in conflict among the multiple garments to be washed, and displaying the garments that need to be filtered out from the multiple garments to be washed.
[0012] Secondly, this application provides a control device for a washing machine, comprising: an acquisition module for acquiring attribute information of multiple items to be washed, wherein the attribute information includes material attributes and basic information attributes of the items to be washed; a determination module for determining corresponding washing parameters based on the material attributes and basic information attributes of each item to be washed; and a processing module for determining the intersection of washing parameters of the same type among the washing parameters corresponding to the multiple items to be washed, wherein, in the case that there are no conflicting washing parameters among the washing parameters corresponding to the multiple items to be washed, the intersection and other different types of washing parameters are determined as the current washing parameters of the washing machine, and the washing machine is controlled to operate with the current washing parameters, wherein the other different types of washing parameters refer to washing parameters that only one of the multiple items to be washed has.
[0013] Thirdly, this application provides an apparatus comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the control method for a washing machine described in the first aspect of this application.
[0014] Fourthly, this application also provides a computer storage medium storing computer-executable instructions for executing the washing machine control method described in the first aspect of this application.
[0015] Compared with the prior art, the technical solution provided in this application has the following advantages: In the method provided in this application, attribute information of multiple items to be washed is first obtained. Then, based on the material attributes and basic information attributes of each item to be washed, corresponding washing parameters are determined. Furthermore, the intersection of washing parameters of the same type among the washing parameters corresponding to the items to be washed is determined, and the current washing parameters of the washing machine are determined from the intersection. By using the intersection of these washing parameters of the same type, the washing conditions that all multiple items to be washed can adapt to can be determined, that is, the washing parameters that all items to be washed can be determined, thereby accurately controlling the operation of the washing machine. Therefore, by using the method of this application, the optimal washing parameters for the current items to be washed can be determined, that is, the washing parameters that satisfy all items to be washed, avoiding the problem that the washing mode randomly or arbitrarily selected by the user is not suitable for some clothes, making it difficult to accurately select the required washing mode. In other words, by using the method of this application, better washing parameters can be selected to achieve better washing results. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0019] Figure 1 A flowchart illustrating a control method for a washing machine provided in an embodiment of this application;
[0020] Figure 2 A flowchart of a smart laundry recommendation method based on a cloud wardrobe, provided for an embodiment of this application;
[0021] Figure 3 This is a schematic diagram of the structure of a control device for a washing machine provided in an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of the structure of a device provided in an embodiment of this application. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0025] To address the problem in existing technologies where it is difficult to accurately select the desired washing mode when there are many clothes to be washed, this application provides a control method for a washing machine, such as... Figure 1 As shown, the steps of this method include:
[0026] Step 101: Obtain attribute information for multiple items of clothing to be washed, including the material properties and basic information properties of the clothing to be washed.
[0027] In this application embodiment, the items to be washed include clothing, bedding, bags, and other daily items that require washing. The material properties of the items to be washed include natural fibers such as cotton, linen, wool, and silk; chemical fibers such as polyester, nylon, spandex, and acrylic; and composite materials such as wool / cashmere blends and environmentally friendly plant fibers. The basic information attributes of the items to be washed include: garment name, garment type, and washing instructions.
[0028] Step 102: Determine the corresponding washing parameters based on the material properties and basic information properties of each garment to be washed;
[0029] As can be seen, the attribute information of the garment to be washed can determine its washing parameters. For example, if the material of the garment is cotton, the clothing type in the basic information attributes is shirt, and the washing instructions are machine slow wash or hand wash, with a water temperature below 40℃, then the corresponding washing parameters can be determined as a water temperature below 40℃. For shirts and slow wash, the corresponding washing machine speed and spin-drying intensity can be determined, such as a speed of 800 rpm and a spin-drying intensity of 1000 rpm. Of course, the above is just an example; different types of clothing have different attribute information, and therefore different washing parameters. The corresponding washing parameters can be pre-set based on the attribute information of different garments, forming a mapping table stored locally on the washing machine. When the washing machine needs to be started, this mapping table can be compared with the attribute information of the garment to determine the corresponding washing parameters.
[0030] Step 103: If there are no conflicting washing parameters among the washing parameters corresponding to multiple items of laundry, determine the intersection of washing parameters of the same type among the washing parameters corresponding to multiple items of laundry, and determine the intersection and other different types of washing parameters as the current washing parameters of the washing machine, and control the washing machine to operate with the current washing parameters. Here, other different types of washing parameters refer to the washing parameters that only one of the multiple items of laundry has.
[0031] Typically, multiple garments are washed simultaneously, but the properties of these garments differ. Therefore, the washing parameters determined based on the properties of these garments will also differ. Some garments may share the same type of washing parameters; for example, if there are 8 garments and 5 of them require specific water temperature, then 5 garments have the same type of washing parameters. Conversely, some washing parameters may only be present on one garment, while the others do not. Therefore, washing parameters that do not conflict among multiple garments refer to those that share the same type of washing parameters, and these parameters have overlap (e.g., overlapping water temperatures) or do not conflict. Specifically, non-conflicting washing parameters among the same type mean that only one garment has the required parameter (e.g., chlorine bleach is allowed), while other garments do not. This indicates that whether the other garments can or cannot be chlorine bleached is reliable. Conversely, conflicting washing parameters among multiple garments to be washed refer to situations where at least two garments have no overlap in their washing parameters of the same type (e.g., water temperature), or where the washing parameters of the same type conflict with each other (e.g., one requires chlorine bleach, the other does not). In other words, each garment in the multiple garments to be washed has corresponding washing parameters. To select the optimal washing parameters for these multiple garments, it is necessary to determine the intersection of the washing parameters among them. For example, if the washing parameters are all water temperature, some garments require 30-40℃, while others require 35-45℃. Therefore, the water temperature for this wash needs to be determined from the intersection, i.e., 35-40℃. Another example is if the washing parameters are washing programs; the intersection is text. For instance, some garments can have either quick wash or mixed wash programs, while others can have mixed wash or air wash programs. Therefore, the intersection of the two washing programs is mixed wash. The above are just examples; other washing parameters, such as spin speed and spin intensity, are handled in a similar way. By determining the intersection of washing parameters of the same type, it is shown that the intersection represents the washing conditions that all clothes to be washed can adapt to. Then, other washing parameters that do not have the same type are merged as the current washing parameters of the washing machine. Therefore, this method can accurately determine the current washing parameters of the clothes to be washed, thereby accurately controlling the washing mode of the washing machine.
[0032] Through steps 101 to 103 above, attribute information of multiple items of clothing to be washed is obtained. Then, based on the material properties and basic information properties of each item, corresponding washing parameters are determined. Furthermore, the intersection of washing parameters of the same type for each item is determined, and the current washing parameters of the washing machine are determined from this intersection. By using this intersection of washing parameters of the same type, the washing conditions that all items of clothing can adapt to can be determined, i.e., the washing parameters that all items of clothing can adapt to are determined, thereby accurately controlling the operation of the washing machine. Therefore, the method of this application embodiment can determine the optimal washing parameters for the current items of clothing, i.e., the washing parameters that satisfy all items of clothing, avoiding the problem that the user's randomly or arbitrarily selected washing mode is not suitable for some clothes, making it difficult to accurately select the required washing mode. In other words, the method of this application embodiment can select better washing parameters to achieve better washing results.
[0033] In this embodiment, the attribute information of the clothes to be washed can be added manually by the user or automatically. For example, when a user buys clothes through an online shopping platform, the platform has detailed records of the clothing's attribute information. Therefore, the attribute information of the clothes can be obtained from the online shopping platform. Based on this, the method of obtaining the attribute information of multiple clothes to be washed in step 101 above can further include:
[0034] Step 11: Obtain the attribute information of purchased clothing from the shopping platform based on the preset application programming interface, and store the attribute information in a structured format; and / or, obtain the HTML source code of the details page of purchased clothing from the shopping platform, extract the first attribute information of purchased clothing from the HTML source code, and identify the images in the details page to obtain the second attribute information of purchased clothing, and store the first attribute information and the second attribute information after merging them.
[0035] Step 12: Determine the attribute information of multiple items of clothing to be washed from the stored attribute information.
[0036] Therefore, in this embodiment of the application, the attribute information of clothing purchased on the online shopping platform can be obtained in the following two ways. One way is to obtain the attribute information of clothing purchased from the shopping platform based on a preset application interface. That is, through a predefined application interface (API), the detailed information of the clothing, such as name, brand, material composition, washing and care label instructions, product image links and other key data, is directly transmitted to the server in a structured format (such as JSON) for processing and storage. Another approach is to obtain the HTML source code of the purchased clothing details page on the shopping platform and extract attribute information from the HTML source code and details page. Since e-commerce pages may not directly provide structured data, the interface transmits the HTML source code of the clothing details page. After obtaining this HTML content, a key information extraction process needs to be performed: First, text parsing technology is used to filter and extract textual information describing the clothing from the HTML, such as the name, material composition, and most importantly, washing instructions (usually including icons or text for water temperature, washing method, bleaching, drying, ironing, etc.). If text parsing fails to obtain enough information (for example, the washing label only exists as an image), then image recognition is initiated. OCR (Optical Character Recognition) and image understanding are performed on the washing label image in the product details page to attempt to identify the meaning of the washing instructions or symbols marked on the image, thereby supplementing or replacing the text information and ensuring that the key attributes of the clothing are collected as completely as possible. The clothing information obtained after filtering and identification using the two methods described above, including its name, precise material composition (e.g., 100% cotton, polyester blend, etc.), specific washing recommendations, and corresponding image links, is then structured and stored in a cloud database, forming the user's personal cloud wardrobe archive. Therefore, in this embodiment, during the user's clothing purchase process, if the purchase is successful, the attribute information of the purchased clothing is already stored in the corresponding database in real time. Subsequently, when the clothing needs washing, simply selecting the corresponding garment will directly display its attribute information.
[0037] In this embodiment, each garment to be washed has corresponding material properties and basic information properties, and both material properties and basic information properties correspond to washing parameters. Therefore, for a garment to be washed, the washing parameters need to be determined by combining all the information in the property information. Based on this, the method of determining the corresponding washing parameters based on the material properties and basic information properties of each garment to be washed in this embodiment can further include:
[0038] Step 21: Compare the material properties of the target garment to be washed with the material properties in the first preset database to determine the first washing parameters; wherein, the first preset database stores multiple material properties and corresponding washing parameters; the target garment to be washed is any one of multiple garments to be washed.
[0039] Step 22: Compare the basic information attributes of the target laundry with the basic information attributes in the second preset database to determine the second washing parameters; wherein, the second preset database stores various basic information attributes and corresponding washing parameters.
[0040] Step 23: Determine the washing parameters of the target laundry based on the first washing parameters and the second washing parameters.
[0041] In specific examples, the material properties of the clothes to be washed include natural fibers such as cotton, linen, wool, and silk; chemical fibers such as polyester, nylon, spandex, and acrylic; and composite materials such as wool / cashmere blends and environmentally friendly plant fibers. Different material properties correspond to different washing parameters. For example, cotton has good alkali and heat resistance and can be washed with various detergents, both by hand and machine, but should not be bleached with chlorine. White clothes can be bleached with high-temperature detergents, with a recommended water temperature of 40-50℃. Wool: Dry cleaning is preferred; when washing, use a special wool detergent, and the water temperature should not exceed 30℃. Polyester: Machine washable, but avoid high temperatures and chlorine bleach. Composite materials, such as wool / cashmere blends: water temperature maximum 30℃, machine washing speed not exceeding 400 rpm. Therefore, the same garment can have multiple washing parameters. After determining the corresponding washing parameters based on material properties and basic information attributes, these two sets of parameters need to be combined to obtain the final washing parameters for the garment. Combining these parameters means that if both sets have the same type of washing parameters, the intersection of these parameters is taken as the final washing parameter for that type. For example, regarding water temperature, if the material properties determine it to be 30-40℃ and the basic information determines it to be 35-45℃, then 35-40℃ is taken as the final water temperature. If either set has washing parameters that neither set has, it is determined whether these conflicting parameters exist. If a conflict exists, the user is prompted to select a compromise washing parameter. Generally, the same garment will not have conflicting washing parameters.
[0042] Based on this, the method of determining the washing parameters of the target laundry based on the first washing parameters and the second washing parameters involved in step 23 above can further include:
[0043] Step 31: Determine the intersection between the first washing parameter and the second washing parameter as the first target washing parameter;
[0044] Step 32: Select the washing parameters that do not overlap with the first washing parameters and the second washing parameters and determine them as the second target washing parameters;
[0045] Step 33: Combine the first target washing parameters and the second target washing parameters to obtain the washing parameters of the target laundry.
[0046] In a specific example, the first washing parameters might include a water temperature of 30–40°C, a machine wash speed of 800 rpm, a machine wash duration of 30–60 minutes, and a spin-drying intensity of 600 rpm. The second washing parameters might include a water temperature of 35–45°C, machine washability, but no chlorine bleaching. Therefore, since the first washing parameters include water temperature, the intersection of the two (35–40°C) is taken as the first target washing parameter. There are also non-overlapping washing parameters, such as machine wash duration, spin-drying intensity, and no chlorine bleaching; these non-overlapping parameters are then determined as the second target washing parameters. Finally, the first and second target washing parameters are combined to obtain the target washing parameters for the garment: water temperature 35–40°C, machine wash speed of 800 rpm, machine wash duration of 30–60 minutes, spin-drying intensity of 600 rpm, but no chlorine bleaching. Therefore, in this embodiment of the application, the washing parameters corresponding to the attribute information of various clothes to be washed can be comprehensively considered, and the washing parameters can be balanced to obtain the washing parameters most suitable for the current clothes, so as to achieve the best washing effect.
[0047] In this embodiment, to ensure optimal washing results for multiple garments, after determining the washing parameters for each garment, it is necessary to comprehensively consider whether there are conflicts or overlaps between these parameters. This allows for the determination of washing parameters suitable for all garments, achieving the best washing effect. It should be noted that this optimal washing effect is not specific to any single garment, but rather refers to the overall washing parameters determined for all garments, where the optimal parameters yield the best washing results. Therefore, the method for determining the intersection of similar washing parameters among the washing parameters for multiple garments in step 103 can further include:
[0048] Step 41: Determine the intersection of washing parameters of the same type among the washing parameters corresponding to the clothes to be washed. The intersection includes the numerical intersection and the textual intersection among the washing parameters of the same type.
[0049] Step 42: Determine the median value in the intersection of the values as the first current washing parameter;
[0050] Step 43: When there are multiple different types of text washing parameters in the text intersection, select the text washing parameter that is used the most times corresponding to the clothes to be washed from the multiple different types of text washing parameters, and determine the text washing parameter that is used the most times as the second current washing parameter.
[0051] Step 44: Merge the first current washing parameter and the second current washing parameter to obtain the intersection.
[0052] After determining the washing parameters for the same garment, it's common practice to wash multiple garments simultaneously. Therefore, it's necessary to consider the relationship between the washing parameters of these multiple garments to determine the optimal washing parameters. For example, if some garments require a water temperature of 30-40℃, while others require 35-45℃, then the intersection of these two (35-40℃) is taken as the water temperature washing parameter for all garments. Similarly, if some garments require a quick wash (15 minutes) and a slow wash (30 minutes), while others require a quick wash (15 minutes), a slow wash (30 minutes), and a relatively slow wash (60 minutes), then the intersection of these two is taken as a quick wash (15 minutes) and a slow wash (30 minutes). Finally, the most frequently used washing program is selected as the final washing program. If a slow wash is frequently used, then that program is chosen as the final washing parameter. Finally, the median value in the numerical intersection and the intersection based on the most frequently used text are determined as the intersection of washing parameters of the same type. The washing parameters in the intersection obtained in this way are suitable for all the items to be washed. Since there are no conflicting washing parameters among the washing parameters corresponding to the multiple items to be washed, this intersection can be combined with other different types of washing parameters to obtain the final current washing parameters.
[0053] In this embodiment, if there are conflicting washing parameters among the washing parameters corresponding to multiple items of laundry, a prompt message indicating a washing conflict is sent. Then, information on the items with washing conflicts among the multiple items of laundry can also be displayed, as well as items that need to be filtered out from the multiple items of laundry.
[0054] Conflicting washing parameters among the multiple items of clothing to be washed refer to situations where at least two items of clothing have washing parameters of the same type that do not overlap (e.g., water temperatures do not overlap), or where washing parameters of the same type conflict with each other (e.g., one requires chlorine bleach, the other does not). Therefore, if conflicting washing parameters occur, the user should be reminded that multiple items of clothing cannot be washed simultaneously. The clothing that conflicts with other clothes should be removed. Specifically, the conflict results will show the clothing with conflicting washing parameters, such as a garment whose water temperature does not overlap with any other garment. This indicates that the garment cannot be washed simultaneously with the other clothes, and the user should be reminded to remove it and wash the remaining clothes.
[0055] The present application will be explained and described below with reference to specific embodiments, which provide a smart laundry recommendation method based on a cloud wardrobe, such as... Figure 2 As shown, the steps of this method include:
[0056] Step 201: Export the details of purchased clothing items from the e-commerce platform;
[0057] Step 202: Based on this detail, parse the data to obtain detailed information about the clothing;
[0058] Step 203: Store the detailed information of the clothes in the cloud wardrobe database;
[0059] After a user selects and places an order for clothing on an e-commerce platform, they can import the clothing's details into their smart home ecosystem's cloud-based personal wardrobe through a specific entry point, such as the "Add to My Cloud Wardrobe" button. To achieve this information transfer, two technical solutions are provided in this application embodiment for selection:
[0060] Option 1: Through a predefined application programming interface (API), key data such as clothing details, name, brand, material composition, washing and care label instructions, and product image links are directly transmitted to the server in a structured format (such as JSON) for processing and storage.
[0061] Option 2: Since structured data cannot be directly provided on e-commerce pages, the interface transmits the HTML source code of the clothing details page. After receiving this HTML content, the server needs to perform a key information extraction process: First, it uses text parsing technology to filter and extract text information describing the clothing from the HTML, especially the name, material composition, and most importantly, washing recommendations (usually including icons or text for water temperature, washing method, bleaching, drying, ironing, etc.). If the text parsing fails to obtain enough information (for example, the washing label only exists as an image), the system will activate the image recognition module to perform OCR (Optical Character Recognition) and image understanding on the washing label image in the product details page, attempting to identify the meaning of the washing requirements text or symbols marked on the image, thereby supplementing or replacing the text information and ensuring that the key attributes of the clothing are collected as completely as possible.
[0062] Through Option 1 and Option 2, the clothing information obtained after screening and identification, including its name, precise material composition (such as 100% cotton, polyester blend, etc.), specific washing recommendations, and corresponding image links, will then be structured and stored in a cloud database to form the user's personal cloud wardrobe archive.
[0063] Step 204: When it is necessary to wash clothes in the washing machine, the control command is generated by calling the cloud wardrobe database from the smart home APP;
[0064] Step 205: Control the washing machine to operate based on control commands.
[0065] When a user subsequently activates their cloud wardrobe feature in a smart home app (such as the app that connects to the washing machine), the app retrieves a list of all the clothes the user has added, along with their details, from that cloud database. The user can then select a single item or multiple items and tap the "Recommended Washing Program" function.
[0066] At this point, the system first matches a preset basic washing program rule base based on the material properties of each garment. This rule base defines the recommended washing program names for different materials (for example, for pure cotton garments, it might recommend programs such as "Standard Wash," "Cotton & Linen Wash," or "Quick Wash") and the safe ranges for key washing parameters (such as water temperature, spin speed, and washing intensity) under that program. For example, the system rules might specify that the recommended water temperature range for cotton garments is 30-40 degrees Celsius, and the spin speed range is 800-1000 rpm.
[0067] The next step is a more refined parameter recommendation process: For each specific washing parameter (such as water temperature), the system comprehensively considers the upper limit allowed for that material in the basic rule base (e.g., cotton ≤ 40℃) and the specific requirements on the actual washing label of the garment obtained from the e-commerce platform (e.g., label requirement ≤ 45℃). The final recommended parameter value range is the minimum of these two source restrictions (the more stringent requirement), i.e., recommended range = min(material upper limit, washing label requirement upper limit). In this example, the recommended upper limit for water temperature is min(40℃, 45℃) = 40℃, meaning the final recommended water temperature should not exceed 40 degrees Celsius.
[0068] When a user selects multiple garments for mixed washing recommendations, the system faces a more complex process: First, for each selected garment, it calculates the recommended safe range for each key parameter (water temperature, spin speed, spin intensity, etc.) according to the single-item logic described above. Then, the system merges the same parameter ranges for all selected garments, essentially finding the intersection of these ranges. For example, if garment A's water temperature range is 30-40℃ and garment B's is 35-50℃, then the merged acceptable water temperature range is 35-40℃. The system strictly performs conflict detection: if, during the merging process, it is found that the recommended ranges for a certain key parameter (such as water temperature) for several garments do not overlap at all (the intersection is an empty set), for example, garment C requires cold water washing (<30℃), while garment D requires hot water washing (>50℃), this is considered a conflict. Once such parameter conflicts are detected, the system will immediately send a clear prompt or warning to the user, such as "The clothes you selected have conflicting washing water temperature requirements (XX requires cold water, YY requires hot water). It is recommended to wash them separately to avoid damage to the clothes," guiding the user to adjust their selection and handle the conflicting clothes separately. Only when all key parameters have been successfully merged into a valid common range without conflicts will the system recommend one or more most suitable washing machine programs to the user based on this merged parameter range and preset basic program rules. The system will also provide the user with calculated parameter suggestions (such as setting the water temperature to 38℃ and the spin speed to 900 rpm) for confirmation or automatic setting, thus completing a closed-loop experience from cloud wardrobe to intelligent washing recommendations.
[0069] As can be seen, in this embodiment, e-commerce clothing data is acquired through two methods. After the acquired clothing data is stored, the smart home app uses a basic washing program based on material matching and calculates the recommended parameter range for a single garment: taking the minimum value of the upper limit of the material rule and the upper limit of the washing label requirement (e.g., min(40℃, 45℃) = 40℃). When processing multiple garments, the intersection of each parameter range is calculated. If the intersection is empty, a conflict is determined and the user is prompted to wash them separately. Thus, in this embodiment, a double-layer constraint (material rule + specific label) is adopted, and the upper limit ensures the safety and reliability of parameter recommendations. Automated parameter range intersection calculation and accurate conflict detection (empty intersection set) are performed on multiple garments, and clear solution suggestions are given. This achieves a personalized closed-loop service from e-commerce shopping data to smart home washing decisions, transforming product information into a safe and automated basis for home appliance operation.
[0070] Corresponding to the above Figure 1 This application also provides a control device for a washing machine, such as... Figure 3 As shown, the device includes:
[0071] The acquisition module 302 is used to acquire attribute information of multiple items of clothing to be washed, wherein the attribute information includes the material attributes and basic information attributes of the clothing to be washed;
[0072] The determination module 304 is used to determine the corresponding washing parameters based on the material properties and basic information properties of each garment to be washed.
[0073] The processing module 306 is used to determine the intersection of washing parameters of the same type among the washing parameters corresponding to multiple items of laundry when there are no conflicting washing parameters, and to determine the intersection and other different types of washing parameters as the current washing parameters of the washing machine, and to control the washing machine to operate with the current washing parameters. The other different types of washing parameters refer to the washing parameters that only one of the multiple items of laundry has.
[0074] In an optional embodiment of this application, the acquisition module may further include: a first acquisition unit, configured to acquire attribute information of purchased clothing from a shopping platform based on a preset application programming interface, and store the attribute information in a structured format; and / or, a second acquisition unit, configured to acquire the HTML source code of the details page of purchased clothing on the shopping platform, extract the first attribute information of the purchased clothing from the HTML source code, and identify the images in the details page to obtain the second attribute information of the purchased clothing, and store the first attribute information and the second attribute information after merging them; and a first determination unit, configured to determine the attribute information of multiple items of clothing to be washed from the stored attribute information.
[0075] In an optional embodiment of this application, the determining module may further include: a first processing unit, configured to compare the material properties of the target garment to be washed with the material properties in a first preset database to determine a first washing parameter; wherein the first preset database stores multiple material properties and corresponding washing parameters; the target garment to be washed is any one of multiple garments to be washed; a second processing unit, configured to compare the basic information properties of the target garment to be washed with the basic information properties in a second preset database to determine a second washing parameter; wherein the second preset database stores various different basic information properties and corresponding washing parameters; and a second determining unit, configured to determine the washing parameters of the target garment to be washed based on the first washing parameter and the second washing parameter.
[0076] In an optional embodiment of this application, the second determining unit in this application includes: a first determining subunit, used to determine the intersection between the first washing parameter and the second washing parameter as the first target washing parameter; a second determining subunit, used to filter out washing parameters that do not overlap between the first washing parameter and the second washing parameter and determine them as the second target washing parameter; and a third determining subunit, used to merge the first target washing parameter and the second target washing parameter to obtain the washing parameters of the target laundry.
[0077] In an optional embodiment of this application, the processing module includes: a third determining unit, configured to determine the intersection of washing parameters of the same type corresponding to the laundry to be washed, wherein the intersection includes numerical intersection and textual intersection of washing parameters of the same type; a fourth determining unit, configured to determine the median value in the numerical intersection as the first current washing parameter; a fifth determining unit, configured to select the textual washing parameter with the most usage frequency corresponding to the laundry to be washed from the multiple textual washing parameters of different types when there are multiple textual washing parameters of different types in the textual intersection, and determine the textual washing parameter with the most usage frequency as the second current washing parameter; and a merging unit, configured to merge the first current washing parameter and the second current washing parameter to obtain the intersection.
[0078] In an optional embodiment of this application, the apparatus further includes: a sending module, configured to send a prompt message indicating a washing conflict when there are conflicting washing parameters among the washing parameters corresponding to multiple pieces of laundry; and a display module, configured to display information on the clothing with washing conflicts among the multiple pieces of laundry, and to display clothing that needs to be filtered out from the multiple pieces of laundry.
[0079] like Figure 4As shown in the figure, this application provides a device including a processor 411, a communication interface 412, a memory 413, and a communication bus 414, wherein the processor 411, the communication interface 412, and the memory 413 communicate with each other through the communication bus 414.
[0080] Memory 413 is used to store computer programs;
[0081] In one embodiment of this application, when the processor 411 executes the program stored in the memory 413, it implements the control method of the washing machine provided in any of the aforementioned method embodiments, and its function is similar, so it will not be described again here.
[0082] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the washing machine control method provided in any of the foregoing method embodiments.
[0083] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0084] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0085] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0086] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A control method for a washing machine, characterized in that, include: Obtain attribute information of multiple items of clothing to be washed, wherein the attribute information includes the material attributes of the items to be washed and the basic information attributes of the items to be washed; The corresponding washing parameters are determined based on the material properties and basic information properties of each item to be washed; If there are no conflicting washing parameters among the washing parameters corresponding to multiple items of laundry, determine the intersection of washing parameters of the same type among the washing parameters corresponding to multiple items of laundry, and determine the intersection and other different types of washing parameters as the current washing parameters of the washing machine, and control the washing machine to operate with the current washing parameters, wherein the other different types of washing parameters refer to the washing parameters that only one of the multiple items of laundry has.
2. The method according to claim 1, characterized in that, Retrieve attribute information for multiple items of clothing awaiting laundry, including: The system obtains the attribute information of purchased clothing from the shopping platform based on a preset application programming interface and stores the attribute information in a structured format; and / or, obtains the HTML source code of the details page of purchased clothing from the shopping platform, extracts the first attribute information of the purchased clothing from the HTML source code, and identifies the images in the details page to obtain the second attribute information of the purchased clothing, and stores the first attribute information and the second attribute information after merging them. The attribute information of multiple items of clothing to be washed is determined from the stored attribute information.
3. The method according to claim 1, characterized in that, Based on the material properties and basic information properties of each item to be washed, the corresponding washing parameters are determined, including: The material properties of the target garment to be washed are compared with the material properties in a first preset database to determine the first washing parameters; wherein, the first preset database stores multiple material properties and corresponding washing parameters; the target garment to be washed is any one of the multiple garments to be washed. The basic information attributes of the target laundry are compared with the basic information attributes in a second preset database to determine the second washing parameters; wherein, the second preset database stores various different basic information attributes and corresponding washing parameters; The washing parameters of the target garment to be washed are determined based on the first washing parameters and the second washing parameters.
4. The method according to claim 3, characterized in that, Determining the washing parameters of the target garment to be washed based on the first washing parameters and the second washing parameters includes: The intersection of the first washing parameter and the second washing parameter is determined as the first target washing parameter; Washing parameters that do not overlap with the first washing parameters and the second washing parameters are selected as the second target washing parameters; The washing parameters of the target garment to be washed are obtained by combining the first target washing parameters and the second target washing parameters.
5. The method according to claim 1, characterized in that, Determining the intersection of washing parameters of the same type among multiple items of laundry includes: Determine the intersection of washing parameters of the same type among the washing parameters corresponding to the laundry to be washed, wherein the intersection includes the numerical intersection and the textual intersection among the washing parameters of the same type; The median value in the intersection of the values is determined as the first current washing parameter; When there are multiple different types of text washing parameters in the text intersection, select the text washing parameter that is used the most times corresponding to the garment to be washed from the multiple different types of text washing parameters, and determine the text washing parameter that is used the most times as the second current washing parameter. The intersection is obtained by merging the first current washing parameter and the second current washing parameter.
6. The method according to claim 1, characterized in that, The method further includes: If there are conflicting washing parameters among the washing parameters corresponding to multiple items of laundry, a prompt message indicating a washing conflict is sent.
7. The method according to claim 6, characterized in that, After sending a notification message indicating a washing conflict, the method further includes: Displays information on garments with washing conflicts among the multiple garments to be washed, and displays garments that need to be filtered out from the multiple garments to be washed.
8. A control device for a washing machine, characterized in that, include: The acquisition module is used to acquire attribute information of multiple items of clothing to be washed, wherein the attribute information includes the material attributes of the items to be washed and the basic information attributes of the items to be washed; The determination module is used to determine the corresponding washing parameters based on the material properties and basic information properties of each item to be washed; The processing module is configured to, when there are no conflicting washing parameters among the washing parameters corresponding to the multiple items of laundry, determine the intersection of washing parameters of the same type among the washing parameters corresponding to the multiple items of laundry, and determine the intersection and other different types of washing parameters as the current washing parameters of the washing machine, and control the washing machine to operate with the current washing parameters, wherein the other different types of washing parameters refer to the washing parameters that only one of the multiple items of laundry has.
9. A device, characterized in that, include: At least one communication interface; At least one bus connected to the at least one communication interface; At least one processor connected to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the control method of the washing machine according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that, The device stores computer-executable instructions for performing the control method of the washing machine according to any one of claims 1 to 7.