Recommended methods, apparatus, equipment and media for garment handling procedures
By collecting and analyzing the differences between current and historical information after garment processing, and combining user feedback to optimize operating parameters and generate an optimized program, the problem of users having difficulty evaluating washing results is solved, achieving efficient and stable garment processing results.
Patent Information
- Application Number
- CN202510621748.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2026-11-17
AI Technical Summary
Users often struggle to accurately assess the impact of adjusting garment processing equipment program parameters on washing results, leading to inefficiency and inconsistent performance.
After completing the garment processing, collect the current garment processing information and the historical processing information of the target garment material, identify the differences and send them to the user. After the user provides feedback on the results to be optimized, determine the associated running parameters for optimization, generate and send the optimized garment processing program.
By comparing historical and current information, users can intuitively understand the impact of parameter adjustments, improve the stability of washing results and equipment performance, meet the needs of efficient and precise washing, and enhance the user experience.
Smart Images

Figure CN123108876A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electrical technology, specifically relating to a recommended method, apparatus, equipment, and medium for garment processing. Background Technology
[0002] With the development of technology, modern garment processing equipment, whether commercial industrial machines or household appliances, is equipped with advanced program customization functions. Users can finely adjust the program according to different garment materials, stain levels, and washing needs, covering multiple stages such as weighing, washing, rinsing, spin-drying, and drying. At each stage, users can personalize parameters such as water intake time, washing speed, water temperature, and detergent dosage to achieve the best washing results.
[0003] However, in practice, both laundry professionals and home users often rely solely on personal experience to assess changes in washing results when adjusting washing program parameters. For example, after adjusting the water temperature or spin speed during a washing cycle, it's difficult to accurately determine its specific impact on key indicators such as cleanliness, energy consumption, and shrinkage rate. This experience-based assessment method is not only inefficient but can also lead to unstable washing results, failing to fully utilize the performance of garment processing equipment and failing to meet users' high demands for efficient and precise washing. Summary of the Invention
[0004] To address the aforementioned issues, this application provides a recommended method, apparatus, device, and medium for garment processing.
[0005] In a first aspect, this application provides a recommended method for a clothing processing procedure, the method comprising:
[0006] When the current garment processing is completed, the current garment processing information corresponding to the current garment processing and the historical garment processing information of the target garment material corresponding to the current garment processing are determined; wherein, the garment processing information is used to indicate the running parameters and execution results, and the running parameters of the current garment processing are obtained by the user by adjusting the running parameters of the historical garment processing information;
[0007] Determine the differences between the historical clothing processing information and the current clothing processing information, and send the differences to the user;
[0008] In response to user feedback on the execution result to be optimized, at least one operating parameter that is related to the execution result to be optimized is determined, and based on the execution result to be optimized, at least one operating parameter is optimized to obtain the optimized target clothing processing program; and the target clothing processing program is sent to the user.
[0009] In one possible implementation, the step of optimizing at least one of the operating parameters based on the execution result to obtain the optimized target clothing processing program includes:
[0010] Based on the correlation between at least one of the aforementioned operating parameters and the execution result to be optimized, a prompt word template is generated;
[0011] Based on the prompt word template, the current clothing processing information, and the execution result to be optimized, generate the corresponding prompt word;
[0012] The prompt words are input into a large language model to obtain the target clothing processing program output by the large language model.
[0013] In one possible implementation, determining at least one runtime parameter that is related to the execution result to be optimized includes:
[0014] Obtain historical processing data of the target clothing material; wherein, the historical processing data includes multiple sets of single variable data corresponding to each target running parameter, and historical execution results corresponding to each set of single variable data, wherein the values of the target running parameter are different in the multiple sets of single variable data, and the values of the running parameters other than the target running parameter are the same, and the historical execution results are used to indicate the historical data corresponding to the execution result to be optimized;
[0015] Based on multiple sets of single variable data corresponding to each target running parameter, and the historical execution results corresponding to each set of single variable data, the sensitivity of the execution result to be optimized to each target processing parameter is determined.
[0016] Based on the sensitivity of the execution result to each of the target processing parameters, at least one target running parameter with a sensitivity greater than a preset threshold is selected as at least one running parameter that is correlated with the execution result to be optimized.
[0017] In one possible implementation, determining the sensitivity of the execution result to be optimized to each of the target processing parameters based on multiple sets of single-variable data corresponding to each target running parameter and the historical execution results corresponding to each set of single-variable data includes:
[0018] For each target operating parameter, multiple sets of single variable data are classified based on the numerical range of the target operating parameter value in each set of single variable data, resulting in at least two classification groups; the numerical range and the classification group have a one-to-one correspondence.
[0019] Based on the historical execution results corresponding to each group of single variables, determine the average execution result for each classification group;
[0020] Based on the average execution result corresponding to each of the classification groups, the sensitivity of the execution result to be optimized to each of the target processing parameters is determined.
[0021] In one possible implementation, determining the sensitivity of the execution result to be optimized to each of the target processing parameters based on the average execution result corresponding to each of the classification groups includes:
[0022] From at least the two classification groups, determine the first classification group corresponding to the maximum numerical range and the second classification group corresponding to the minimum numerical range;
[0023] Determine the first difference between the average execution results corresponding to the first classification group and the second classification group respectively;
[0024] Based on the first difference, the sensitivity of the execution result to be optimized to the target processing parameter is determined; the first difference and the sensitivity are positively correlated.
[0025] In one possible implementation, the difference information includes the rate of change of the operating parameters and the trend of change of the execution results. The step of determining the difference information between the historical clothing processing information and the current clothing processing information includes:
[0026] Determine the second difference between the same operating parameter in the historical clothing processing information and the current clothing processing information;
[0027] For each of the operating parameters, a first ratio is determined between the corresponding second difference and the operating parameter in the current clothing processing information, and the first ratio is used as the rate of change of the operating parameter;
[0028] Determine the third difference between the same execution result in the historical clothing processing information and the current clothing processing information;
[0029] For each execution result, a second ratio is determined between the corresponding third difference and the execution result in the current clothing processing information; the trend of the execution result is determined based on the second ratio, and the trend of the change includes rising or falling.
[0030] In one possible implementation,
[0031] The operating parameters include at least one of the following: washing temperature, spin speed, number of rinses, and processing time;
[0032] The execution results include at least one of the following: power consumption per unit weight of clothing, water consumption, processing time, and cleanliness.
[0033] Secondly, this application provides a garment processing recommendation device, the device comprising:
[0034] The analysis module is used to determine the current garment processing information and the historical garment processing information of the target garment material when the current garment processing is completed; wherein, the garment processing information is used to indicate the running parameters and execution results, and the running parameters of the current garment processing are obtained by the user by adjusting the running parameters of the historical garment processing information;
[0035] The comparison module is used to determine the differences between the historical clothing processing information and the current clothing processing information, and to send the differences to the user.
[0036] In one possible implementation, the difference information includes the rate of change of the operating parameters and the trend of change of the execution results, and the comparison module is specifically used for:
[0037] Determine the second difference between the same operating parameter in the historical clothing processing information and the current clothing processing information;
[0038] For each of the operating parameters, a first ratio is determined between the corresponding second difference and the operating parameter in the current clothing processing information, and the first ratio is used as the rate of change of the operating parameter;
[0039] Determine the third difference between the same execution result in the historical clothing processing information and the current clothing processing information;
[0040] For each execution result, a second ratio is determined between the corresponding third difference and the execution result in the current clothing processing information; the trend of the execution result is determined based on the second ratio, and the trend of the change includes rising or falling.
[0041] In one possible implementation, in the comparison module,
[0042] The operating parameters include at least one of the following: washing temperature, spin speed, number of rinses, and processing time;
[0043] The execution results include at least one of the following: power consumption per unit weight of clothing, water consumption, processing time, and cleanliness.
[0044] An optimization module is used to respond to user feedback on the execution result to be optimized, determine at least one operating parameter that is related to the execution result to be optimized, and optimize at least one operating parameter based on the execution result to be optimized, so as to obtain the optimized target clothing processing program.
[0045] In one possible implementation, the optimization module is specifically used for:
[0046] Based on the correlation between at least one of the aforementioned operating parameters and the execution result to be optimized, a prompt word template is generated;
[0047] Based on the prompt word template, the current clothing processing information, and the execution result to be optimized, generate the corresponding prompt word;
[0048] The prompt words are input into a large language model to obtain the target clothing processing program output by the large language model.
[0049] In one possible implementation, the optimization module is specifically used for:
[0050] Obtain historical processing data of the target clothing material; wherein, the historical processing data includes multiple sets of single variable data corresponding to each target running parameter, and historical execution results corresponding to each set of single variable data, wherein the values of the target running parameter are different in the multiple sets of single variable data, and the values of the running parameters other than the target running parameter are the same, and the historical execution results are used to indicate the historical data corresponding to the execution result to be optimized;
[0051] Based on multiple sets of single variable data corresponding to each target running parameter, and the historical execution results corresponding to each set of single variable data, the sensitivity of the execution result to be optimized to each target processing parameter is determined.
[0052] Based on the sensitivity of the execution result to each of the target processing parameters, at least one target running parameter with a sensitivity greater than a preset threshold is selected as at least one running parameter that is correlated with the execution result to be optimized.
[0053] In one possible implementation, the optimization module is specifically used for:
[0054] For each target operating parameter, multiple sets of single variable data are classified based on the numerical range of the target operating parameter value in each set of single variable data, resulting in at least two classification groups; the numerical range and the classification group have a one-to-one correspondence.
[0055] Based on the historical execution results corresponding to each group of single variables, determine the average execution result for each classification group;
[0056] Based on the average execution result corresponding to each of the classification groups, the sensitivity of the execution result to be optimized to each of the target processing parameters is determined.
[0057] In one possible implementation, the optimization module is specifically used for:
[0058] From at least the two classification groups, determine the first classification group corresponding to the maximum numerical range and the second classification group corresponding to the minimum numerical range;
[0059] Determine the first difference between the average execution results corresponding to the first classification group and the second classification group respectively;
[0060] Based on the first difference, the sensitivity of the execution result to be optimized to the target processing parameter is determined; the first difference and the sensitivity are positively correlated.
[0061] The sending module is used to send the target clothing processing program to the user.
[0062] Thirdly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of the first aspects.
[0063] Fourthly, this application provides an electronic device, comprising: at least one processor and a memory; wherein,
[0064] The memory stores computer-executed instructions;
[0065] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method as described in any of the first aspects.
[0066] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps of the method as described in any of the first aspects.
[0067] The recommended method, apparatus, equipment, and medium for garment processing provided in this application collect current garment processing information and historical garment processing information for the corresponding target garment material after garment processing is completed. The current operating parameters are adjusted based on historical information. Differences between the two are identified and sent to the user. After the user provides feedback on the optimization results, the associated operating parameters are determined and optimized. Finally, the optimized program is sent to the user. This method helps users avoid the limitations of evaluating washing effects solely based on experience. By comparing historical and current garment processing information, users can intuitively understand the changes brought about by parameter adjustments. Furthermore, targeted parameter optimization based on user feedback improves the stability of washing effects, fully utilizes equipment performance, meets users' needs for efficient and precise washing, and enhances the user experience. Attached Figure Description
[0068] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0069] Figure 1 The flowchart of the recommended method for the clothing processing procedure provided in the embodiments of this application Figure 1 ;
[0070] Figure 2 The flowchart of the recommended method for the clothing processing procedure provided in the embodiments of this application Figure 2 ;
[0071] Figure 3 The flowchart of the recommended method for the clothing processing procedure provided in the embodiments of this application Figure 3 ;
[0072] Figure 4 A diagram of a clothing processing procedure recommendation device provided in an embodiment of the present invention;
[0073] Figure 5 This is a hardware schematic diagram of an electronic device provided in an embodiment of the present invention.
[0074] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0075] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions 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.
[0076] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein.
[0077] In this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0078] To address the problems in existing technologies, this application provides a method for recommending garment processing programs, aiming to solve the issue that users find it difficult to accurately assess the impact of adjusting garment processing equipment program parameters on washing results. Specifically, after garment processing is completed, current garment processing information and historical garment processing information for the corresponding target garment material are collected, where the current operating parameters are adjusted based on historical information. Differences between the two are identified and sent to the user. After the user provides feedback on the desired optimization results, the associated operating parameters are determined and optimized. Finally, the optimized program is sent to the user. This method helps users avoid the limitations of evaluating washing results solely based on experience. By comparing historical and current garment processing information, users can intuitively understand the changes brought about by parameter adjustments. Furthermore, targeted parameter optimization based on user feedback improves the stability of washing results, fully utilizes equipment performance, meets users' needs for efficient and precise washing, and enhances the user experience.
[0079] The technical solutions of this application and how they solve the aforementioned technical problems are described in detail below with specific embodiments. These specific embodiments may exist independently or in combination with each other. Identical or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0080] This embodiment provides a recommended method for clothing processing procedures. Figure 1 The flowchart of the recommended method for the clothing processing procedure provided in the embodiments of this application Figure 1 The method includes:
[0081] S101. When completing the current garment processing, determine the current garment processing information corresponding to the current garment processing, and the historical garment processing information of the target garment material corresponding to the current garment processing.
[0082] The clothing processing information is used to indicate the operating parameters and execution results. The current clothing processing operating parameters are obtained by the user adjusting the operating parameters of the historical clothing processing information.
[0083] In this step, the current garment processing information refers to the relevant information recorded after the current garment processing is completed. This information can cover various parameters of the equipment operation during the current garment processing and the final execution result. Operating parameters refer to various equipment operation parameters that can be adjusted and controlled during garment processing, including but not limited to washing water temperature, washing speed, water intake time, rinsing times, and spin speed. Execution result refers to the final effect presented after garment processing, which is an overall evaluation of the washing process, potentially involving indicators such as cleanliness, garment shrinkage rate, and energy consumption. This information comprehensively reflects the specific situation of this garment processing. The target garment material refers to the type of material of the garment currently being processed, such as cotton, linen, silk, wool, etc. Historical garment processing information is relevant data accumulated from past processing of garments of this material, also including both operating parameters and execution results. When the user adjusts the operating parameters of the garment processing equipment, these adjustments are recorded, forming the current garment processing information. Simultaneously, based on the currently processed garment material, the most recent historical garment processing information corresponding to that material is extracted from historical data. By comparing these two types of information, it is possible to identify the specific adjustments the user made to the running parameters during this process.
[0084] For example, historical garment processing information could be the most recent record between the current garment processing interval and the current one. This minimizes the impact of time on the data, as the most recent processing information is more timely and likely better reflects the current equipment status, washing environment, and the user's latest operating habits. Furthermore, historical garment processing information can be selected based on specific washing conditions or purposes, such as information from processing heavily soiled garments of the same material. If the current task is to process a batch of cotton work clothes with stubborn stains, historical records of similarly soiled cotton garments can be searched. Analysis of the operating parameters used at that time reveals that unusual operating parameters (such as longer washing times, higher water temperatures, or increased detergent usage) might have been selected based on the characteristics of the garments to address the stains.
[0085] S102. Determine the difference information between the historical clothing processing information and the current clothing processing information, and send the difference information to the user.
[0086] In this step, the difference information refers to the differences between historical clothing processing information and current clothing processing information. That is, after the user adjusts the historical operating parameters, the new situation presented in the current processing includes changes in operating parameters and the possible changes in execution results. This difference information can intuitively reflect the differences between this processing and previous processing.
[0087] For example, the parameters and execution results of historical and current clothing processing information can be compared one by one to identify inconsistencies and determine them as discrepancies. Algorithms can also be used to calculate the similarity between the two sets of information, and the discrepancies can be determined based on a set similarity threshold. For instance, using a cosine similarity algorithm, the historical and current information can be vectorized and their similarity calculated. If the similarity is below a certain threshold (e.g., 0.8), a significant difference is considered to exist, and the dissimilar parts are extracted and sent to the user as discrepancies.
[0088] For example, the difference information includes the rate of change of the operating parameters and the trend of change of the execution results. The step of determining the difference information between the historical clothing processing information and the current clothing processing information includes:
[0089] Determine the second difference between the same operating parameter in the historical clothing processing information and the current clothing processing information;
[0090] For each of the operating parameters, a first ratio is determined between the corresponding second difference and the operating parameter in the current clothing processing information, and the first ratio is used as the rate of change of the operating parameter;
[0091] Determine the third difference between the same execution result in the historical clothing processing information and the current clothing processing information;
[0092] For each execution result, a second ratio is determined between the corresponding third difference and the execution result in the current clothing processing information; the trend of the execution result is determined based on the second ratio, and the trend of the change includes rising or falling.
[0093] It should be noted that the first ratio is obtained by comparing the corresponding second difference with the corresponding operating parameter in the current clothing processing information for each operating parameter. This reflects the ratio of the change in the operating parameter between the current and historical processing times to the current processing parameter, providing a more intuitive indication of the degree of adjustment. The second ratio is obtained by comparing the corresponding third difference with the corresponding execution result in the current clothing processing information for each execution result. This reflects the ratio of the change in the execution result between the current and historical processing times to the current execution result, and can be used to determine whether the execution result is significantly improved or decreased. Furthermore, the second ratio is used to determine whether the trend of the execution result is upward or downward. For example, when the second ratio is greater than 0, it indicates that the execution result has increased compared to the past; while when the second ratio is less than 0, it indicates that the execution result has decreased.
[0094] This example, by quantifying the rate of change of operating parameters and clearly defining the trend of changes in execution results, allows users to clearly and intuitively understand the impact of adjustments on washing performance, making it easier for them to make optimization and adjustment decisions.
[0095] For example, the operating parameters include at least one of washing temperature, spin speed, number of rinsing cycles, and processing time;
[0096] The execution results include at least one of the following: power consumption per unit weight of clothing, water consumption, processing time, and cleanliness.
[0097] For example, the comparison of operating parameters in the difference information can be as follows: As shown in Table 1: Parameters Historical clothing disposal Current clothing handling rate of change Washing water temperature (°C) 60 75 ▲25% Dehydration speed (rpm) 800 1000 ▲25% Number of rinses 3 2 ▼33% Total washing time (min) 85 75 ▼12%
[0098] For example, the comparison of execution results in the difference information can be as follows: As shown in Table 2:
[0099] S103. In response to the user feedback on the execution result to be optimized, determine at least one operating parameter that is related to the execution result to be optimized, and optimize at least one operating parameter based on the execution result to obtain the optimized target clothing processing program.
[0100] S104. Send the target clothing processing procedure to the user.
[0101] It's important to note that "optimization target" refers to the specific aspects the user chooses to improve when they are dissatisfied with the current clothing treatment results. These might include insufficient cleanliness, excessive shrinkage, or high energy consumption. The user wants to optimize these results by adjusting the operating parameters. For example, the user can directly input their dissatisfaction with the clothing treatment through the device's control panel or a connected mobile application. For instance, the user can select options like "cleanliness needs improvement" or "energy consumption is too high" on the interface. Alternatively, the user can rate the clothing treatment results, and items with scores below a set threshold will be identified as optimization targets. Furthermore, users can also describe their specific dissatisfaction with the clothing treatment results in detail using text input boxes, extracting key information through natural language processing technology.
[0102] The correlation refers to the mutual influence between operating parameters and the execution result to be optimized. Different operating parameter settings will have varying degrees of impact on the execution result. By analyzing this correlation, we can identify which operating parameters are the key factors leading to the execution result to be optimized. For example, increasing the washing water temperature may improve cleaning efficiency, but it may also increase energy consumption; increasing the washing spin speed may help improve the washing effect, but excessively high spin speed may put too much tension on the clothes, affecting the shrinkage rate, etc. For instance, we can collect a large amount of historical data containing different operating parameters and their corresponding execution results, and use data analysis methods (such as regression analysis, correlation analysis, etc.) to explore the correlation between operating parameters and the execution result to be optimized.
[0103] Furthermore, based on the analysis of the execution results to be optimized and the correlations, relevant operating parameters are adjusted and improved. For example, an optimization model can be established based on the execution results to be optimized and the associated operating parameters. The objective function of the model can be to improve cleanliness, reduce shrinkage rate, or reduce energy consumption, depending on the execution results to be optimized. For instance, with improving cleanliness as the objective function, washing water temperature and washing time are used as variables, and a relationship model between cleanliness and these operating parameters is established based on existing data and relevant knowledge. The updated operating parameters are determined through the analysis results of this relationship model. In addition, when the execution results to be optimized do not have specific numerical targets, but only express an intention to improve, the associated operating parameters can be directly adjusted locally. If the washing water temperature is highly correlated with cleanliness and the current water temperature is 40℃, a preset adjustment value can be used to adjust the water temperature, for example, adjusting the water temperature to 45℃ with a preset adjustment value of 5℃. At the same time, other associated parameters such as washing time and spin speed can also be adjusted appropriately.
[0104] When sending an updated clothing processing program to users, you can display a before-and-after comparison to show the optimization adjustments and the expected results to encourage users to choose and use the optimized clothing processing program.
[0105] For example, the content sent and displayed to the user can be as shown in Table 3 below:
[0106] The garment processing recommendation method provided in this embodiment collects current garment processing information and historical garment processing information for the corresponding target garment material after garment processing is completed. The current operating parameters are adjusted based on historical information. Differences between the two are identified and sent to the user. After the user provides feedback on the desired optimization results, the associated operating parameters are determined and optimized. Finally, the optimized program is sent to the user. This method helps users avoid the limitations of evaluating washing effects solely based on experience. By comparing historical and current garment processing information, users can intuitively understand the changes brought about by parameter adjustments. Furthermore, targeted parameter optimization based on user feedback improves the stability of washing effects, fully utilizes equipment performance, meets users' needs for efficient and precise washing, and enhances the user experience.
[0107] This embodiment provides a recommended method for clothing processing procedures. Figure 2 The flowchart of the recommended method for the clothing processing procedure provided in the embodiments of this application Figure 2 .like Figure 2 As shown, in this embodiment... Figure 1 Based on the embodiments, the process of obtaining the optimized target clothing processing procedure is described in detail. The method includes:
[0108] S201. Determine the difference information between the historical clothing processing information and the current clothing processing information, and send the difference information to the user.
[0109] This step is the same as S102, and will not be repeated here.
[0110] S202. In response to the user feedback on the execution result to be optimized, generate a prompt word template based on the correlation between at least one of the running parameters and the execution result to be optimized.
[0111] In this step, the prompt template defines the structure and content framework of the prompts, ensuring they contain key information so that the large language model can accurately understand the optimization requirements and generate effective optimization solutions. For example, the prompt template can clearly define the relationship between operating parameters and the execution result to be optimized. For instance, if the desired result is low cleanliness, the prompt template will show the relationship between operating parameters such as washing water temperature, washing time, spin speed, and detergent dosage and cleanliness; that is, changes in these parameters may affect cleanliness. Furthermore, to make the prompt template more versatile, the relationship between all execution results and operating parameters can be used as fixed content in the prompt template, allowing it to be used for prompt generation in every optimization process.
[0112] Simultaneously, the prompt template must also include instructions on the output of the large language model, clearly specifying what target garment processing procedure the model is expected to output. For example, it may instruct the model to output specific adjusted operating parameters, the complete adjusted program code, and a detailed description of optimization suggestions. The prompt template should also reserve input fields for current garment processing information to be filled based on the current situation. Furthermore, the prompt template can also include the setting range of operating parameters for the corresponding garment processing equipment to prevent model adjustments from exceeding the equipment's capabilities.
[0113] S203. Generate corresponding prompt words based on the prompt word template, the current clothing processing information, and the execution result to be optimized.
[0114] S204. Input the prompt words into the large language model and obtain the target clothing processing program output by the large language model.
[0115] It's important to note that a large language model refers to a pre-trained language model built using deep learning techniques, such as Chat GPT and Deepseek. It can generate relevant text content based on input prompts. A prompt is a specific question or instruction input into the large language model; it combines a prompt template, current clothing processing information, and the desired optimization result to guide the model in generating optimization suggestions for the current clothing processing situation. Specific data from the current clothing processing information can be directly entered into the prompt template to generate prompts. For example, prompts can be directly input into the large language model, and its interface can be called to obtain the generated target clothing processing program. Multiple rounds of interaction with the large language model are also possible. First, prompts are input to obtain preliminary optimization suggestions. Then, based on feedback, the prompts are further adjusted or more specific requirements are proposed. Through multiple rounds of interaction, the optimized target clothing processing program is gradually improved and refined until it meets the user's needs.
[0116] The garment processing program recommendation method provided in this embodiment generates prompt words by combining user feedback on the execution results to be optimized and optimizes the garment processing program using a large language model. This achieves accurate and efficient optimization and recommendation of garment processing programs, meets users' needs for high-quality washing results, and improves user experience.
[0117] This embodiment provides a recommended method for clothing processing procedures. Figure 3 The flowchart of the recommended method for the clothing processing procedure provided in the embodiments of this application Figure 3 .like Figure 3 As shown, in this embodiment... Figure 2 Based on the embodiments, the process of determining at least one operating parameter that is correlated with the execution result to be optimized is described in detail. The method includes:
[0118] S301. Obtain historical processing data of the target clothing material. The historical processing data includes multiple sets of single variable data corresponding to each target running parameter, and historical execution results corresponding to each set of single variable data.
[0119] Among these, the values of the target running parameters are different in the multiple sets of single variable data, while the values of all running parameters except the target running parameters are the same. The historical execution results are used to indicate the historical data corresponding to the execution result to be optimized.
[0120] In this step, single-variable data refers to multiple sets of data in historical processing data where only the value of the target operating parameter is changed, while other operating parameters remain unchanged. The target operating parameter refers to the operating parameter corresponding to the variable in the multiple sets of single-variable data. The collection of each target operating parameter is actually all the adjustable operating parameters of the garment processing program. For example, for the target operating parameter "washing water temperature," its single-variable data may include multiple different washing water temperature values (such as 30℃, 35℃, 40℃, etc.), while other parameters (such as washing time, spin speed, etc.) remain the same. Historical execution results are the actual effects of past garment processing under the specific operating parameter settings corresponding to the single-variable data, such as specific values for indicators like cleanliness, shrinkage rate, and energy consumption. These are the same as the execution results in the current garment processing, differing only in value.
[0121] S302. Based on the multiple sets of single variable data corresponding to each target running parameter, and the historical execution results corresponding to each set of single variable data, determine the sensitivity of the execution result to be optimized to each target processing parameter.
[0122] S303. Based on the sensitivity of each target running parameter to the execution result to be optimized, at least one target running parameter with a sensitivity greater than a preset threshold is regarded as at least one running parameter that is related to the execution result to be optimized.
[0123] It's important to note that sensitivity indicates the degree to which a target operating parameter influences the outcome to be optimized. For example, high sensitivity to washing water temperature means that even small changes in the washing water temperature can lead to significant changes in the outcome to be optimized (such as the washing ratio). By calculating sensitivity, key parameters that significantly affect the outcome to be optimized can be identified. For instance, regression analysis can be used to establish a mathematical model between the target operating parameter and the outcome. For example, a linear regression model can be used, with historical outcomes as the dependent variable and the target operating parameter as the independent variable, to fit a regression equation. The sensitivity of the target operating parameter can be analyzed based on the magnitude and significance of the regression coefficients. Alternatively, an analysis of variance can be performed on historical outcomes under different target operating parameter values to determine whether changes in the target operating parameter have a significant impact on the outcome. If the variance of historical outcomes corresponding to different parameter values differs significantly, it indicates that the parameter has a high sensitivity to the outcome.
[0124] A preset threshold is used to determine whether a target running parameter is correlated with the execution result to be optimized. Target running parameters with a sensitivity greater than the preset threshold can be considered to have a significant impact on the execution result and are thus selected as running parameters correlated with the execution result to be optimized. For example, the preset threshold can be set based on experience or actual needs, such as a preset threshold of 60%; a reasonable preset threshold can also be determined through historical data analysis and modeling. For example, hyperparameter optimization methods in machine learning algorithms can be used.
[0125] The step of determining the sensitivity of the execution result to be optimized to each target processing parameter based on multiple sets of single variable data corresponding to each target running parameter and the historical execution results corresponding to each set of single variable data includes:
[0126] For each target operating parameter, multiple sets of single variable data are classified based on the numerical range of the target operating parameter value in each set of single variable data, resulting in at least two classification groups; the numerical range and the classification group have a one-to-one correspondence.
[0127] Based on the historical execution results corresponding to each group of single variables, determine the average execution result for each classification group;
[0128] Based on the average execution result corresponding to each of the classification groups, the sensitivity of the execution result to be optimized to each of the target processing parameters is determined.
[0129] In the above example, a classification group refers to a group formed by categorizing the values of the target operating parameter according to their numerical range. For example, data with washing water temperatures in the range of 30℃ to 40℃ are grouped into one group, and data in the range of 41℃ to 50℃ are grouped into another group. The average execution result refers to the average of the historical execution results for all single-variable data groups within each classification group. It reflects the average influence of the target operating parameter on the execution result within the numerical range corresponding to that classification group. Based on the average execution result corresponding to each classification group, the sensitivity of the target operating parameter to the execution result to be optimized is determined. For example, the degree of difference in average execution results between classification groups (such as range, variance, etc.) can be calculated, or statistical methods such as regression analysis can be used to determine the correlation strength. If the range of average cleanliness between classification groups is large, it indicates that the washing water temperature is highly sensitive to cleanliness; or the regression coefficient between washing water temperature and cleanliness can be obtained through regression analysis, with a larger absolute value of the coefficient indicating higher sensitivity.
[0130] For example, determining the sensitivity of the execution result to be optimized to each target processing parameter based on the average execution result corresponding to each of the classification groups includes:
[0131] From at least the two classification groups, determine the first classification group corresponding to the maximum numerical range and the second classification group corresponding to the minimum numerical range;
[0132] Determine the first difference between the average execution results corresponding to the first classification group and the second classification group respectively;
[0133] Based on the first difference, the sensitivity of the execution result to be optimized to the target processing parameter is determined; the first difference and the sensitivity are positively correlated.
[0134] In the example above, based on the values of the target processing parameters, the sensitivity of the current target running parameters to the execution results to be optimized can be determined by calculating the distance between the average execution results of the classification group with the largest numerical range and the average execution results of the group with the smallest numerical range. A larger difference indicates higher sensitivity, while a smaller difference indicates lower sensitivity. Furthermore, the ratio of this distance to the average execution result corresponding to the lowest numerical range can be determined to obtain the relative influence ratio, which can be used as the corresponding sensitivity.
[0135] The above example demonstrates how comparing the differences in average execution results among classification groups allows for an intuitive quantification of the sensitivity of target operating parameters. This enables the accurate identification of key optimization parameters and improves optimization effectiveness and efficiency.
[0136] The clothing processing recommendation method provided in this embodiment obtains historical processing data of the target clothing material, analyzes the sensitivity of each target operating parameter to the optimization execution result, and filters out key parameters with high sensitivity, thereby providing a precise basis for optimization. This enables the method to recommend clothing processing programs that meet the user's needs, enhancing the user experience.
[0137] This embodiment also provides a garment processing procedure recommendation device. Figure 4 This is a diagram of a recommended device for a clothing processing procedure provided in an embodiment of the present invention, as shown below. Figure 4 As shown, the garment processing recommendation device 40 includes:
[0138] The analysis module 401 is used to determine the current clothing processing information corresponding to the current clothing processing and the historical clothing processing information of the target clothing material corresponding to the current clothing processing when the current clothing processing is completed; wherein, the clothing processing information is used to indicate the running parameters and execution results, and the running parameters of the current clothing processing are obtained by the user by adjusting the running parameters of the historical clothing processing information;
[0139] The comparison module 402 is used to determine the difference information between the historical clothing processing information and the current clothing processing information, and send the difference information to the user;
[0140] In one possible implementation, the difference information includes the rate of change of the operating parameters and the trend of change of the execution results, and the comparison module 402 is specifically used for:
[0141] Determine the second difference between the same operating parameter in the historical clothing processing information and the current clothing processing information;
[0142] For each of the operating parameters, a first ratio is determined between the corresponding second difference and the operating parameter in the current clothing processing information, and the first ratio is used as the rate of change of the operating parameter;
[0143] Determine the third difference between the same execution result in the historical clothing processing information and the current clothing processing information;
[0144] For each execution result, a second ratio is determined between the corresponding third difference and the execution result in the current clothing processing information; the trend of the execution result is determined based on the second ratio, and the trend of the change includes rising or falling.
[0145] In one possible implementation, in comparison module 402,
[0146] The operating parameters include at least one of the following: washing temperature, spin speed, number of rinses, and processing time;
[0147] The execution results include at least one of the following: power consumption per unit weight of clothing, water consumption, processing time, and cleanliness.
[0148] The optimization module 403 is used to respond to the user feedback of the execution result to be optimized, determine at least one operating parameter that is related to the execution result to be optimized, and optimize at least one operating parameter based on the execution result to be optimized, so as to obtain the optimized target clothing processing program.
[0149] In one possible implementation, the optimization module 403 is specifically used for:
[0150] Based on the correlation between at least one of the aforementioned operating parameters and the execution result to be optimized, a prompt word template is generated;
[0151] Based on the prompt word template, the current clothing processing information, and the execution result to be optimized, generate the corresponding prompt word;
[0152] The prompt words are input into a large language model to obtain the target clothing processing program output by the large language model.
[0153] In one possible implementation, the optimization module 403 is specifically used for:
[0154] Obtain historical processing data of the target clothing material; wherein, the historical processing data includes multiple sets of single variable data corresponding to each target running parameter, and historical execution results corresponding to each set of single variable data, wherein the values of the target running parameter are different in the multiple sets of single variable data, and the values of the running parameters other than the target running parameter are the same, and the historical execution results are used to indicate the historical data corresponding to the execution result to be optimized;
[0155] Based on multiple sets of single variable data corresponding to each target running parameter, and the historical execution results corresponding to each set of single variable data, the sensitivity of the execution result to be optimized to each target processing parameter is determined.
[0156] Based on the sensitivity of the execution result to each of the target processing parameters, at least one target running parameter with a sensitivity greater than a preset threshold is selected as at least one running parameter that is correlated with the execution result to be optimized.
[0157] In one possible implementation, the optimization module 403 is specifically used for:
[0158] For each target operating parameter, multiple sets of single variable data are classified based on the numerical range of the target operating parameter value in each set of single variable data, resulting in at least two classification groups; the numerical range and the classification group have a one-to-one correspondence.
[0159] Based on the historical execution results corresponding to each group of single variables, determine the average execution result for each classification group;
[0160] Based on the average execution result corresponding to each of the classification groups, the sensitivity of the execution result to be optimized to each of the target processing parameters is determined.
[0161] In one possible implementation, the optimization module 403 is specifically used for:
[0162] From at least the two classification groups, determine the first classification group corresponding to the maximum numerical range and the second classification group corresponding to the minimum numerical range;
[0163] Determine the first difference between the average execution results corresponding to the first classification group and the second classification group respectively;
[0164] Based on the first difference, the sensitivity of the execution result to be optimized to the target processing parameter is determined; the first difference and the sensitivity are positively correlated.
[0165] The sending module 404 is used to send the target clothing processing program to the user.
[0166] This embodiment provides a clothing processing procedure recommendation device that can execute the clothing processing procedure recommendation method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0167] Figure 5 This is a hardware schematic diagram of an electronic device provided in an embodiment of the present invention. For example... Figure 5 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. The device 50 also includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.
[0168] In a specific implementation, at least one processor 501 executes computer execution instructions stored in the memory 502, causing at least one processor 501 to perform the above method.
[0169] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0170] In the above Figure 5In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0171] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0172] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0173] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method described above.
[0174] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0175] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0176] The division of units described herein is merely a logical functional division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0177] 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 units can be selected to achieve the purpose of this embodiment according to actual needs.
[0178] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0179] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0180] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0181] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it is readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for recommending a garment handling procedure, characterized in that, The method includes: When the current garment processing is completed, the current garment processing information corresponding to the current garment processing and the historical garment processing information of the target garment material corresponding to the current garment processing are determined; wherein, the garment processing information is used to indicate the running parameters and execution results, and the running parameters of the current garment processing are obtained by the user by adjusting the running parameters of the historical garment processing information; Determine the differences between the historical clothing processing information and the current clothing processing information, and send the differences to the user; In response to user feedback on the execution result to be optimized, at least one operating parameter that is related to the execution result to be optimized is determined, and based on the execution result to be optimized, at least one operating parameter is optimized to obtain the optimized target clothing processing program; and the target clothing processing program is sent to the user.
2. The method according to claim 1, characterized in that, The step of optimizing at least one of the operating parameters based on the execution result to obtain the optimized target clothing processing program includes: Based on the correlation between at least one of the aforementioned operating parameters and the execution result to be optimized, a prompt word template is generated; Based on the prompt word template, the current clothing processing information, and the execution result to be optimized, generate the corresponding prompt word; The prompt words are input into a large language model to obtain the target clothing processing program output by the large language model.
3. The method according to claim 1, characterized in that, The determination of at least one operating parameter that is correlated with the execution result to be optimized includes: Obtain historical processing data of the target clothing material; wherein, the historical processing data includes multiple sets of single variable data corresponding to each target running parameter, and historical execution results corresponding to each set of single variable data, wherein the values of the target running parameter are different in the multiple sets of single variable data, and the values of the running parameters other than the target running parameter are the same, and the historical execution results are used to indicate the historical data corresponding to the execution result to be optimized; Based on multiple sets of single variable data corresponding to each target running parameter, and the historical execution results corresponding to each set of single variable data, the sensitivity of the execution result to be optimized to each target processing parameter is determined. Based on the sensitivity of the execution result to each of the target processing parameters, at least one target running parameter with a sensitivity greater than a preset threshold is selected as at least one running parameter that is correlated with the execution result to be optimized.
4. The method according to claim 3, characterized in that, The step of determining the sensitivity of the execution result to be optimized to each target processing parameter based on multiple sets of single variable data corresponding to each target running parameter and the historical execution results corresponding to each set of single variable data includes: For each target operating parameter, multiple sets of single variable data are classified based on the numerical range of the target operating parameter value in each set of single variable data, resulting in at least two classification groups; the numerical range and the classification group have a one-to-one correspondence. Based on the historical execution results corresponding to each group of single variables, determine the average execution result for each classification group; Based on the average execution result corresponding to each of the classification groups, the sensitivity of the execution result to be optimized to each of the target processing parameters is determined.
5. The method according to claim 4, characterized in that, The step of determining the sensitivity of the execution result to be optimized to each target processing parameter based on the average execution result corresponding to each of the classification groups includes: From at least the two classification groups, determine the first classification group corresponding to the maximum numerical range and the second classification group corresponding to the minimum numerical range; Determine the first difference between the average execution results corresponding to the first classification group and the second classification group respectively; Based on the first difference, the sensitivity of the execution result to be optimized to the target processing parameter is determined; the first difference and the sensitivity are positively correlated.
6. The method according to claim 1, characterized in that, The difference information includes the rate of change of the operating parameters and the trend of change of the execution results. The step of determining the difference information between the historical clothing processing information and the current clothing processing information includes: Determine the second difference between the same operating parameter in the historical clothing processing information and the current clothing processing information; For each of the operating parameters, a first ratio is determined between the corresponding second difference and the operating parameter in the current clothing processing information, and the first ratio is used as the rate of change of the operating parameter; Determine the third difference between the same execution result in the historical clothing processing information and the current clothing processing information; For each execution result, a second ratio is determined between the corresponding third difference and the execution result in the current clothing processing information; the trend of the execution result is determined based on the second ratio, and the trend of the change includes rising or falling.
7. The method according to claim 5, characterized in that, The operating parameters include at least one of the following: washing temperature, spin speed, number of rinses, and processing time; The execution results include at least one of the following: power consumption per unit weight of clothing, water consumption, processing time, and cleanliness.
8. A garment processing recommendation device, characterized in that, The device includes: The analysis module is used to determine the current garment processing information and the historical garment processing information of the target garment material when the current garment processing is completed; wherein, the garment processing information is used to indicate the running parameters and execution results, and the running parameters of the current garment processing are obtained by the user by adjusting the running parameters of the historical garment processing information; The comparison module is used to determine the differences between the historical clothing processing information and the current clothing processing information, and to send the differences to the user. An optimization module is used to respond to user feedback on the execution result to be optimized, determine at least one operating parameter that is related to the execution result to be optimized, and optimize at least one operating parameter based on the execution result to be optimized, so as to obtain the optimized target clothing processing program. The sending module is used to send the target clothing processing program to the user.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.
10. An electronic device, characterized in that, include: At least one processor and memory; wherein, The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method as described in any one of claims 1-7.
