Clothes processing program optimization method and device, equipment and storage medium
By acquiring user description information and analyzing it to generate an optimized clothing processing program, the problem of cumbersome and ineffective clothing processing programs in existing technologies is solved, achieving convenient and effective clothing processing results.
Patent Information
- Application Number
- CN202410455833.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-16
- Publication Date
- 2025-10-24
AI Technical Summary
Existing garment processing equipment requires users to manually select and adjust the garment processing program, which is a cumbersome and complicated process. Furthermore, users have limited understanding of the program, which may result in poor processing results or damage to the garments.
The garment processing equipment obtains user description information, parses garment information and demand information, matches the target garment processing program, generates an optimized garment processing program based on optimization strategies, and automatically adjusts processing parameters to meet user needs.
It enables flexible and convenient adjustment of the garment processing program, ensuring that the garment processing effect meets user needs and avoiding situations where the garments are not cleaned properly or are damaged.
Smart Images

Figure CN120830203A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of electrical appliances, and particularly relates to a clothes processing program optimization method, device, equipment and storage medium. BACKGROUND
[0002] With the continuous improvement of production technology and the continuous growth of user demand, users have higher and higher requirements for laundry equipment. In order to make the clothes processing meet the user's satisfaction, the clothes processing equipment is usually configured with multiple clothes processing programs to meet the user's diverse clothes processing needs.
[0003] The existing clothes processing equipment usually needs the user to manually select the clothes processing program closest to the user's own clothes processing needs before executing the clothes processing program. Some clothes processing equipment also provides a parameter adjustment function of the clothes processing program, and the user can manually adjust the control parameters of the selected clothes processing program to make the clothes processing program more suitable for the user's actual needs.
[0004] However, the above method needs the user to manually set the clothes processing program according to his own judgment, which is complicated and complex. In addition, due to the user's limited understanding of the clothes processing program and its control parameters, the clothes processing effect may be poor, such as incomplete washing or even damage to the clothes. SUMMARY
[0005] The present application provides a clothes processing program optimization method, device, equipment and storage medium to solve the problem of complicated operation and poor flexibility of the existing clothes processing program optimization method.
[0006] In a first aspect, the present application provides a clothes processing program optimization method applied to a clothes processing equipment, the method comprising:
[0007] obtaining description information sent by a user, and obtaining clothes information and demand information of this clothes processing according to the description information;
[0008] obtaining a target clothes processing program matched with the clothes information according to the clothes information;
[0009] obtaining a clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the demand information;
[0010] obtaining an optimized clothes processing program according to the target clothes processing program and the clothes processing program optimization strategy, and controlling the clothes processing equipment to execute the optimized clothes processing program.
[0011] Optionally, the obtaining of the clothes information and the demand information of this clothes processing according to the description information comprises:
[0012] According to the description information, description text information of the description information is acquired;
[0013] Key words of the description text information are extracted, and at least one target key word and a key word type of the target key word are obtained;
[0014] According to each target key word and the key word type of the target key word, clothes information and demand information of this clothes processing are acquired.
[0015] Optionally, the key word type of the target key word is a preset key word type, and the preset key word type includes at least one of clothes material, clothes type, clothes quantity, clothes dirtiness, or additional requirement; the key word extraction of the description text information to obtain at least one target key word and a key word type of the target key word includes:
[0016] Each preset key word type is taken as a current preset key word type to perform the following steps, and the at least one target key word is obtained:
[0017] The description text information is parsed according to the current preset key word type;
[0018] When a word corresponding to the current preset key word type is parsed from the description text information, the word corresponding to the current preset key word type is determined as a target key word.
[0019] Optionally, the clothes information and the demand information of this clothes processing are acquired according to each target key word and the key word type of the target key word, and the clothes information and the demand information of this clothes processing are acquired according to each target key word and the key word type of the target key word.
[0020] According to the key word type of each target key word, a description information item corresponding to each target key word is determined, wherein the description information item is clothes information or demand information;
[0021] The target key word and the key word type of the target key word, whose corresponding description information item is clothes information, are taken as the clothes information;
[0022] The target key word and the key word type of the target key word, whose corresponding description information item is demand information, are taken as the demand information.
[0023] Optionally, the clothes processing program optimization strategy is acquired according to the target clothes processing program, the clothes information, and the demand information, and the clothes processing program optimization strategy is acquired according to the target clothes processing program, the clothes information, and the demand information.
[0024] According to the clothes information and the demand information, at least one target clothes processing operation corresponding to the clothes information and the demand information and a target control parameter of each target clothes processing operation are determined;
[0025] According to the program information of the target clothes processing program, each default clothes processing operation of the target clothes processing program and a default control parameter of each default clothes processing operation are acquired;
[0026] The target clothes processing operation, the target control parameter thereof, the default clothes processing operation and the default control parameter thereof are compared, and a clothes processing program optimization strategy is determined according to a comparison result, wherein the clothes processing program optimization strategy comprises an optimized clothes processing operation and an optimized control parameter of each optimized clothes processing operation.
[0027] Optionally, the acquisition of the optimized clothes processing program according to the target clothes processing program and the clothes processing program optimization strategy comprises:
[0028] According to the comparison result, it is determined whether there is a to-be-optimized clothes processing operation same as the optimized clothes processing operation in each default clothes processing operation according to each optimized clothes processing operation;
[0029] If yes, a control instruction of the to-be-optimized clothes processing operation is modified according to the optimized control parameter of the optimized clothes processing operation to obtain a modified control instruction;
[0030] If no, a new control instruction is generated according to the optimized clothes processing operation and the optimized control parameter thereof;
[0031] According to the control instruction of the target clothes processing program, each modified control instruction and each new control instruction, a control instruction of the optimized clothes processing program is obtained.
[0032] Optionally, before the acquisition of the clothes information and the demand information of the clothes processing according to the description information, the method further comprises:
[0033] The description information record of the clothes processing device is acquired, wherein the description information record comprises at least one historical description information and a corresponding optimized clothes processing program of the historical description information;
[0034] According to each historical description information in the description information record and the description information, it is determined whether there is similar historical description information similar to the description information in the description information record;
[0035] If yes, the clothes processing device is controlled to execute the optimized clothes processing program corresponding to the similar historical description information;
[0036] If no, the step of acquiring the clothes information and the demand information of the clothes processing according to the description information is determined to be executed.
[0037] In a second aspect, the present application provides a clothes processing program optimization apparatus, comprising:
[0038] an acquisition module, configured to acquire description information sent by a user, and acquire clothes information and requirement information of this time of clothes processing according to the description information, and acquire a target clothes processing program matched with the clothes information according to the clothes information;
[0039] an operation module, configured to acquire a clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the requirement information, and acquire an optimized clothes processing program according to the target clothes processing program and the clothes processing program optimization strategy;
[0040] a control module, configured to control the clothes processing device to execute the optimized clothes processing program.
[0041] In a third aspect, the present application provides a clothes processing program optimization device, comprising a processor and a memory in communication connection with the processor;
[0042] the memory stores computer execution instructions;
[0043] the processor executes the computer execution instructions stored in the memory, so as to realize the clothes processing program optimization method according to the first aspect.
[0044] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are used to realize the clothes processing program optimization method according to the first aspect when executed by a computer.
[0045] The clothes processing program optimization method, apparatus, device and storage medium provided by the present application can acquire description information sent by a user, and acquire clothes information and requirement information of this time of clothes processing according to the description information, acquire a target clothes processing program matched with the clothes information according to the clothes information, acquire a clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the requirement information, acquire an optimized clothes processing program according to the target clothes processing program and the clothes processing program optimization strategy, and control the clothes processing device to execute the optimized clothes processing program, so that the clothes processing program can be flexibly adjusted according to various clothes processing requirements of the user, and the clothes processing can reach the expected effect. BRIEF DESCRIPTION OF DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0047] Figure 1Flowchart of the laundry treatment program optimization method provided by the present application Figure 1 ;
[0048] Figure 2 Flowchart of the laundry treatment program optimization method provided by the present application Figure 2 ;
[0049] Figure 3 Structural diagram of a laundry treatment program optimization device provided by the present application
[0050] Figure 4 Structural diagram of a laundry treatment program optimization device provided by the present application
[0051] The specific embodiments of the present application have been shown by the above-mentioned drawings, and will be described in more detail hereinafter. These drawings and the written description are not intended to restrict the scope of the concept of the present application by any means, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0052] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely in combination with the drawings in the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative work fall within the scope of protection of the present application.
[0053] The terms “first”, “second”, “third”, “fourth” and the like (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0054] In the embodiments of the present application, the words “exemplary” or “for example” are used to represent examples, illustrations or descriptions. Any embodiment or design scheme described as “exemplary” or “for example” in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words “exemplary” or “for example” are used to present the relevant concept in a specific manner.
[0055] With the continuous improvement of production technology and the continuous growth of user demand, users have higher and higher requirements for laundry equipment. In order to make the laundry treatment meet the user's satisfaction, the laundry treatment equipment is usually configured with multiple laundry treatment programs to meet the user's diverse laundry treatment needs.
[0056] The existing clothes processing device usually needs the user to manually select the clothes processing program closest to the user's own clothes processing needs before executing the clothes processing program. Some clothes processing devices also provide a parameter adjustment function of the clothes processing program, and the user can manually adjust the control parameters of the selected clothes processing program to make the clothes processing program more suitable for the actual needs of the user.
[0057] However, the above method needs the user to manually set the clothes processing program according to his own judgment, which is complicated and complex. In addition, due to the limited understanding of the user on the clothes processing program and its control parameters, the clothes processing effect may be poor, for example, the clothes may not be washed clean or even damaged.
[0058] To solve the above problems, the present application proposes the following technical concept: before executing the clothes processing program, the clothes processing device allows the user to send the description information of this clothes processing, and analyzes the description information sent by the user to obtain the clothes information and the demand information of this clothes processing; according to the clothes information, a target clothes processing program matching the clothes information is obtained from the preset clothes processing program of the current clothes processing device; taking the target clothes processing program as the basis for optimization, the clothes processing program optimization strategy is obtained according to the demand information; according to the clothes processing program optimization strategy, the target clothes processing program is optimized to obtain an optimized clothes processing program, and the optimized clothes processing program is executed, so that the clothes processing program can meet the diverse clothes processing needs of the user and ensure that the clothes processing reaches the expected effect.
[0059] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can exist independently or in combination. For the same or similar concepts or processes, some embodiments may not be described again. The embodiments of the present application will be described below with reference to the drawings.
[0060] Figure 1 Flowchart of clothes processing program optimization method provided by the embodiment of the present application Figure 1 As shown in the flowchart, the method comprises the following steps. Figure 1
[0061] S101: Obtain the description information sent by the user, and obtain the clothes information and the demand information of this clothes processing according to the description information.
[0062] Specifically, the optimization device of the clothes processing program acquires the description information sent by the user through an information receiving device. The optimization device can be arranged on the clothes processing device or be an external device, such as a server, in communication connection with the clothes processing device. The information receiving device can be an audio acquisition device arranged on the clothes processing device or in communication connection with the clothes processing device, or a mobile terminal in communication connection with the clothes processing device. The description information can be text information or voice information. The specific form of the optimization device, the information receiving device and the description information is not particularly limited in the embodiments of the present application. The optimization device analyzes the acquired description information according to a preset language processing algorithm, determines the clothes information and the demand information of the clothes processing according to the analysis result, and obtains the target clothes processing program according to the clothes information and the demand information. The language processing algorithm can be, for example, a voice recognition model that converts voice information into text information, a syntax analysis algorithm that analyzes the text information to obtain the words included in the text information, or a dictionary library that analyzes the text information to obtain the words included in the target control statement. The words that have an intersection with the preset keyword types included in the preset keyword type set are determined as target keywords. The keywords corresponding to each description information item are determined as the clothes information and the demand information according to the corresponding relationship between the keyword type of the target keyword and the description information item. The specific content and form of the language processing algorithm are not particularly limited in the embodiments.
[0063] S102: Acquire a target clothes processing program matched with the clothes information according to the clothes information.
[0064] The clothes information is the attribute information of the clothes to be processed, such as the number, type, purpose and size of the clothes, which are not particularly limited in the embodiments.
[0065] Specifically, the optimization device acquires the preset corresponding relationship between different clothes attribute information and clothes processing programs from a corresponding storage location, and acquires the clothes processing program corresponding to the clothes information as the target clothes processing program according to the corresponding relationship. The storage form of the corresponding relationship can be, for example, a lookup table with different clothes attribute information sets as indexes.
[0066] S103: Acquire a clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the demand information.
[0067] The demand information may include, for example, the dirtiness of the clothes, the type of stains, and additional requirements expected by the user, such as wrinkle removal, odor removal, and the like; and the clothes treatment program optimization strategy may include clothes treatment operations such as rinsing, drying, spinning, disinfection, and the like, and may also include control parameters corresponding to the clothes treatment operations, such as the water inflow amount for rinsing, the rotation speed for spinning, and the like, and the present embodiment does not make special limitations thereto.
[0068] Specifically, the clothes treatment program optimization rules representing the correspondence between different clothes information and demand information and the corresponding optimized clothes treatment operations are preset in the clothes treatment device; the clothes treatment program optimization rules may be, for example, at least one configuration table including the correspondence between different clothes information and demand information and optimized clothes treatment operations; the clothes treatment optimization rules may also be implemented by a pre-trained artificial intelligence generative model, taking the clothes information and demand information as inputs of the model and obtaining the clothes treatment operations output by the model; the optimization device obtains the optimized clothes treatment operations corresponding to the clothes information and the demand information according to the clothes treatment program optimization rules; obtains the clothes treatment operations corresponding to the target clothes treatment program, and determines the clothes treatment operations and the corresponding control parameters that need to be improved for the target clothes treatment program as the clothes treatment program optimization strategy according to the comparison result between the clothes treatment operations corresponding to the target clothes treatment program and the optimized clothes treatment operations.
[0069] S104: Obtain an optimized clothes treatment program according to the target clothes treatment program and the clothes treatment program optimization strategy, and control the clothes treatment device to execute the optimized clothes treatment program.
[0070] Specifically, the clothes treatment program optimization device reads the control instructions of the target clothes treatment program from the corresponding storage location, modifies the control instructions of the target clothes treatment program according to the clothes treatment program optimization strategy, for example, the optimization strategy includes adding one rinsing and adding a drying operation, then the optimization device adds one to the parameter value corresponding to the number of rinsing in the control instructions of the target clothes treatment program, and splices the control instructions of the drying program after the corresponding instruction group of the spinning; the modified control instructions are taken as the control instructions of the optimized clothes treatment program; and the clothes treatment device is controlled to execute the optimized clothes treatment program.
[0071] The clothes processing program optimization method provided by the embodiments of the present application comprises the following steps: obtaining clothes information and user demand information of clothes processing by analyzing description information sent by a user; obtaining a target clothes processing program matched with the clothes information from preset clothes processing programs of a current clothes processing device according to the clothes information; obtaining a clothes processing program optimization strategy according to the demand information, taking the target clothes processing program as a basis for optimization; and optimizing the target clothes processing program according to the clothes processing program optimization strategy, obtaining an optimized clothes processing program, and executing the optimized clothes processing program, so as to realize flexible and convenient customization of clothes processing programs for users to meet their actual demands and ensure that the clothes processing device achieves the expected processing effect on clothes.
[0072] Figure 2 Flowchart of the clothes processing program optimization method provided by the embodiments of the present application Figure 2 ; as Figure 2 shown, the method comprises the following steps:
[0073] S201: obtaining description information sent by a user, and obtaining description text information of the description information according to the description information.
[0074] Specifically, the optimization device of the clothes processing program obtains the description information sent by the user through an information receiving device, for example, an audio collecting device arranged on a clothes processing device or in communication connection with the clothes processing device, or a mobile terminal in communication connection with the clothes processing device; the description information can be text information or voice information; the embodiments of the present application do not particularly limit the specific form of the information receiving device and the description information; when the description information is text information, the optimization device takes the text information as the description text information; when the description information is information of other modalities, the optimization device converts the description information into corresponding text information through corresponding text conversion technology, for example, converts voice information into text information through a voice recognition model, or converts an image sent by the user into text information through an image recognition text conversion model.
[0075] S202: extracting keywords from the description text information to obtain at least one target keyword and a keyword type thereof.
[0076] Optionally, the keyword type of the target keyword is a preset keyword type, which can include at least one of clothes material, clothes type, clothes quantity, clothes dirtiness, or additional requirements.
[0077] Specifically, the optimization device first parses the description text information through a syntax analysis algorithm or a dictionary library to obtain each word and its type included in the description text information, and then determines the words whose types intersect with the preset keyword types included in the preset keyword type set as target keywords, so as to obtain at least one target keyword.
[0078] Optionally, the specific method steps of keyword extraction on the description text information to obtain at least one target keyword and its keyword type can be as follows:
[0079] The following steps are performed with each of the preset keyword types as a current preset keyword type to obtain the at least one target keyword.
[0080] Step one: parsing the description text information according to the current preset keyword type.
[0081] Step two: when a word corresponding to the current preset keyword type is parsed from the description text information, determining the word corresponding to the current preset keyword type as a target keyword.
[0082] For example, the preset keyword types include clothing material, clothing type, clothing quantity, clothing dirtiness, and additional requirements. When the description text information is "wash 3 cotton shirts, very dirty, and disinfect after washing", the clothing material is taken as the current preset keyword type, the description text information is parsed according to the clothing material, and "cotton" is determined as the target keyword of the preset keyword type "clothing material". The clothing type is taken as the current preset keyword type, the description text information is parsed according to the clothing type, and "shirt" is determined as the target keyword of the preset keyword type "clothing type". The clothing quantity is taken as the current preset keyword type, the description text information is parsed according to the clothing quantity, and "3" is determined as the target keyword of the preset keyword type "clothing quantity". The clothing dirtiness is taken as the current preset keyword type, the description text information is parsed according to the clothing dirtiness, and "very dirty" is determined as the target keyword of the preset keyword type "clothing dirtiness". The additional requirements are taken as the current preset keyword type, the description text information is parsed according to the additional requirements, and "disinfect" is determined as the target keyword of the preset keyword type "additional requirements".
[0083] It can be understood that the description text information is parsed according to each preset keyword type, and a word corresponding to each preset keyword type is determined as a target keyword, which simplifies the step of determining each word and its type in the description text information as a target keyword, and improves the response speed of the clothes processing program optimization method.
[0084] S203: Obtain clothes information and demand information of the clothes processing according to each target keyword and the keyword type thereof.
[0085] Optionally, the specific method steps of obtaining clothes information and demand information of the clothes processing according to each target keyword and the keyword type thereof may be as follows:
[0086] Step one: Determine the description information item corresponding to each target keyword according to the keyword type of each target keyword.
[0087] The description information item is clothes information or demand information.
[0088] Specifically, the optimization device determines the description information item corresponding to the keyword type of the target keyword as the description information item corresponding to the target keyword according to the preset correspondence relationship between different keyword types and description information items.
[0089] Continuing to refer to the above example, the preset correspondence relationship may be, for example, that the description information items corresponding to the clothes material, the clothes quantity and the clothes category are clothes information, and the description information items corresponding to the clothes dirtiness and the additional requirements are demand information.
[0090] Step two: Take the target keyword and the keyword type thereof whose corresponding description information item is clothes information as the clothes information, and take the target keyword and the keyword type thereof whose corresponding description information item is demand information as the demand information.
[0091] Continuing to refer to the above example, the obtained clothes information includes: clothes material: cotton, clothes category: shirt, and clothes quantity: three; and the obtained demand information includes: clothes dirtiness: very dirty, and additional requirements: disinfection.
[0092] S204: Obtain a target clothes processing program matched with the clothes information according to the clothes information.
[0093] Specifically, the optimization device obtains a preset correspondence between different clothes attribute information and clothes processing programs from a corresponding storage location, and according to the correspondence, the clothes processing program corresponding to the clothes information is taken as the target clothes processing program; the storage form of the correspondence may be, for example, a lookup table indexed by different clothes attribute information sets.
[0094] With reference to the above example, the optimization device obtains a preset correspondence between different clothes attribute information and clothes processing programs from a corresponding storage location, and according to the correspondence, the clothes processing program corresponding to the clothes information is determined to be the cotton and linen clothes processing program.
[0095] S205: According to the clothes information and the demand information, at least one target clothes processing operation corresponding to the clothes information and the demand information and a target control parameter of each target clothes processing operation are determined.
[0096] Specifically, the clothes processing device is preset with a clothes processing program optimization rule representing the correspondence between different clothes information and demand information and corresponding target clothes processing operations and their target control parameters; the clothes processing program optimization rule may be, for example, at least one configuration table including the correspondence between different clothes information and demand information and target clothes processing operations and their target control parameters; the clothes processing optimization rule may also be implemented by a pre-trained artificial intelligence generative model, taking clothes information and demand information as inputs of the model, and obtaining target clothes processing operations and their target control parameters output by the model; the optimization device obtains the target clothes processing operation and its target control parameter corresponding to the clothes information and the demand information according to the clothes processing program optimization rule.
[0097] With reference to the above example, the optimization device obtains the corresponding target clothes processing operation and its target control parameter of the clothes information and demand information according to the clothes processing program optimization rule: detergent dosage 50ml; rinsing frequency: 4 times; clothes disinfection: default clothes disinfection control parameter.
[0098] S206: According to the program information of the target clothes processing program, each default clothes processing operation of the target clothes processing program and the default control parameter of each default clothes processing operation are obtained.
[0099] Specifically, the optimization device obtains program information of the target laundry treatment program from a corresponding storage location according to the identification of the target laundry treatment program, and obtains each default laundry treatment operation of the target laundry treatment program and a default control parameter of each of the default laundry treatment operations according to a control instruction of the target laundry treatment program; the program information can be a control instruction set of the laundry treatment program, different control instructions in the control instruction set can be divided into instruction groups according to corresponding laundry treatment operations, for example, control instructions for controlling the laundry treatment equipment to perform a rinsing operation all belong to an instruction group of the rinsing operation, and the control instruction set of the laundry treatment program is spliced from the instruction groups corresponding to different laundry treatment operations according to a preset order.
[0100] Continuing to refer to the above example, the optimization device obtains a control instruction set of the cotton and linen laundry treatment program from a corresponding storage location according to the identification of the cotton and linen laundry treatment program, and obtains each default laundry treatment operation of the cotton and linen laundry treatment program and a default control parameter of each of the default laundry treatment operations according to each instruction group in the control instruction set of the cotton and linen laundry treatment program.
[0101] S207: Comparing each of the target laundry treatment operations and the target control parameters thereof with each of the default laundry treatment operations and the default control parameters thereof, and determining the laundry treatment program optimization strategy according to a comparison result.
[0102] The laundry treatment program optimization strategy includes an optimized laundry treatment operation and an optimized control parameter of each of the optimized laundry treatment operations, the optimized laundry treatment operation is a target laundry treatment operation not included in the target laundry treatment program, or a target laundry treatment operation whose corresponding default control parameter is different from the target control parameter, and the optimized control parameter is the same as the corresponding target control parameter.
[0103] Continuing to refer to the above example, the optimization device compares the target laundry treatment operation and the control parameter thereof with each of the default laundry treatment operations and the default control parameters thereof of the cotton and linen laundry treatment program, the cotton and linen laundry treatment program has a detergent dosage of 40 ml for three shirts in a washing stage, a rinsing frequency of three times, and does not include a laundry sterilization operation; therefore, the laundry treatment program optimization strategy includes: a detergent dosage of 50 ml; a rinsing frequency of four times; and a laundry sterilization with a default laundry sterilization control parameter.
[0104] S208: According to each of the optimized laundry treatment operations and the comparison result, determining whether there is a to-be-optimized laundry treatment operation same as the optimized laundry treatment operation in each of the default laundry treatment operations.
[0105] With reference back to the above example, in the cotton-wool laundry treatment program, the laundry treatment operations to be optimized that are the same as the optimized laundry treatment operation are detergent dispensing and rinsing.
[0106] S209: If yes, modifying the control instructions of the laundry treatment operations to be optimized according to the optimization control parameters of the optimized laundry treatment operation, to obtain modified control instructions.
[0107] With reference back to the above example, in the cotton-wool laundry treatment program, the laundry treatment operations to be optimized that are the same as the optimized laundry treatment operation are detergent dispensing and rinsing, and the optimization device modifies the corresponding control parameters in the instruction group for controlling detergent dispensing and the instruction group for controlling rinsing respectively according to the corresponding optimization control parameters, to obtain modified control instructions.
[0108] S210: If no, generating new control instructions according to the optimized laundry treatment operation and the optimization control parameters thereof.
[0109] With reference back to the above example, the optimization device obtains the pre-stored instruction group for controlling laundry disinfection from the corresponding storage location, and sets the parameters in the instruction group for controlling laundry disinfection according to the default laundry disinfection control parameters, to obtain new control instructions.
[0110] S211: Obtaining the control instructions of the optimized laundry treatment program according to the control instructions of the target laundry treatment program, each of the modified control instructions, and each of the new control instructions.
[0111] With reference back to the above example, the optimization device replaces the original corresponding instruction group with the modified instructions for controlling detergent dispensing and the modified instructions for controlling rinsing according to the correspondence between the optimized laundry treatment operation and different instruction groups, and splices the new control instructions for controlling laundry disinfection at the end of the control instruction set, and the final control instruction set is the control instructions of the optimized laundry treatment program.
[0112] S212: Controlling the laundry treatment device to execute the control instructions of the optimized laundry treatment program.
[0113] Specifically, the optimization device sends the finally obtained control instructions of the optimized laundry treatment program to the control module of the laundry treatment device, to control the laundry treatment device to execute the control instructions.
[0114] Optionally, before step S202, the laundry treatment program optimization method provided by the embodiments of the present application can further include the following steps:
[0115] Step one: Obtaining the description information record of the laundry treatment device.
[0116] The description information record includes at least one historical description information and an optimized clothes processing program corresponding to the historical description information.
[0117] Specifically, the optimization device obtains the description information record of the clothes processing device from a corresponding storage location.
[0118] Step two: determining whether there is historical description information similar to the description information in the description information record according to each historical description information in the description information record and the description information.
[0119] Specifically, the optimization device determines whether there is historical description information similar to the description information in the description information record according to similarity information of each historical description information in the description information record and the description information. For example, the similarity information can be a text similarity of the description information and each historical description information. For example, the method of determining whether the historical description information is similar to the description information can be converting each historical description information and the description information into a feature vector according to a feature extraction algorithm, the vector dimension is the size of the word library, and each dimension of the feature vector is the number of occurrences of the word at this position in the text library. If the word does not appear in the text, it is 0. Calculate the cosine similarity between the feature vectors of each historical description information and the description information, and determine whether the maximum cosine similarity is greater than a preset similarity threshold, for example, 0.7. If yes, there is historical description information similar to the description information in the description information record. Otherwise, there is no historical description information similar to the description information in the description information record.
[0120] Step three: if yes, controlling the clothes processing device to execute the optimized clothes processing program corresponding to the similar historical description information.
[0121] Specifically, if there is historical description information similar to the description information in the description information record, the optimization device determines that the historical description information with the maximum cosine similarity between the feature vectors of the description information is the similar historical description information, obtains the optimized clothes processing program corresponding to the similar historical description information according to the description information record, and controls the clothes processing device to execute the optimized clothes processing program.
[0122] Step four: if no, determining to execute the step of obtaining clothes information and demand information for this clothes processing according to the description information.
[0123] Specifically, if there is no historical description information similar to the description information in the description information record, it is determined to execute steps S202 to S212.
[0124] The clothes processing program optimization method provided by the embodiments of the present application simplifies the step of determining the words having an intersection between the type and the preset keyword types included in the preset keyword type set as target keywords, improves the response speed of the clothes processing program optimization method, by parsing the description text information according to each preset keyword type and determining the words corresponding to each preset keyword type as a target keyword; the optimized clothes processing program is flexibly and quickly generated by selectively modifying and adding the control instruction set of the target clothes processing program according to the correspondence between different clothes processing operations and control instruction sets; the calculation amount and the corresponding time consumption of program generation are saved by executing the optimized clothes processing program of the similar historical description information, and the response speed of the clothes processing program optimization method is further improved.
[0125] Figure 3 The clothes processing program optimization device provided by the embodiments of the present application is shown in a structural schematic diagram; as shown in Figure 3 The present application provides a clothes processing program optimization device, the clothes processing program optimization device 300 comprises:
[0126] The acquisition module 301 is configured to acquire the description information sent by the user, and acquire the clothes information and the demand information of the clothes processing according to the description information; and acquire the target clothes processing program matched with the clothes information according to the clothes information.
[0127] The operation module 302 is configured to acquire the clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the demand information; and acquire the optimized clothes processing program according to the target clothes processing program and the clothes processing program optimization strategy.
[0128] The control module 303 is configured to control the clothes processing device to execute the optimized clothes processing program.
[0129] Optionally, the acquisition module 301 is specifically configured to acquire the description text information of the description information according to the description information; perform keyword extraction on the description text information to obtain at least one target keyword and the keyword type thereof; and acquire the clothes information and the demand information of the clothes processing according to each target keyword and the keyword type thereof.
[0130] Optionally, the keyword type of the target keyword is a preset keyword type, and the preset keyword type includes at least one of a clothing material type, a clothing category type, a clothing quantity type, a clothing dirtiness type, or an additional requirement type; the obtaining module 301 is specifically configured to perform the following steps on each preset keyword type as a current preset keyword type to obtain the at least one target keyword: parsing the description text information according to the current preset keyword type; and determining a keyword corresponding to the current preset keyword type as a target keyword when the keyword corresponding to the current preset keyword type is parsed from the description text information.
[0131] Optionally, the obtaining module 301 is specifically configured to determine a description information item corresponding to each target keyword according to the keyword type of each target keyword, wherein the description information item is clothing information or requirement information; determine a target keyword and a keyword type of the target keyword as the clothing information when the corresponding description information item is the clothing information; and determine a target keyword and a keyword type of the target keyword as the requirement information when the corresponding description information item is the requirement information.
[0132] Optionally, the operation module 302 is specifically configured to determine at least one target clothing processing operation corresponding to the clothing information and the requirement information and a target control parameter of each target clothing processing operation according to the clothing information and the requirement information; obtain each default clothing processing operation of the target clothing processing program and a default control parameter of each default clothing processing operation according to program information of the target clothing processing program; compare each target clothing processing operation and the target control parameter of the target clothing processing operation with each default clothing processing operation and the default control parameter of the default clothing processing operation, and determine a clothing processing program optimization strategy according to a comparison result, wherein the clothing processing program optimization strategy includes an optimized clothing processing operation and an optimized control parameter of each optimized clothing processing operation.
[0133] Optionally, the operation module 302 is specifically configured to determine, according to each optimized clothing processing operation, whether there is a to-be-optimized clothing processing operation same as the optimized clothing processing operation in each default clothing processing operation according to the comparison result; if yes, modify a control instruction of the to-be-optimized clothing processing operation according to the optimized control parameter of the optimized clothing processing operation to obtain a modified control instruction; and if no, generate a new control instruction according to the optimized clothing processing operation and the optimized control parameter of the optimized clothing processing operation; and obtain a control instruction of an optimized clothing processing program according to a control instruction of the target clothing processing program, each modified control instruction, and each new control instruction.
[0134] Optionally, the acquisition module 301 is further configured to acquire a description information record of the clothes processing device, wherein the description information record comprises at least one historical description information and an optimized clothes processing program corresponding to the historical description information; and determine whether there is similar historical description information similar to the description information in the description information record according to each historical description information in the description information record and the description information.
[0135] The control module 303 is further configured to control the clothes processing device to execute the optimized clothes processing program corresponding to the similar historical description information when there is similar historical description information similar to the description information in the description information record.
[0136] The acquisition module 301 is further configured to determine to execute the step of acquiring clothes information and demand information of this clothes processing according to the description information when there is no similar historical description information similar to the description information in the description information record.
[0137] Figure 4 A structural schematic diagram of a clothes processing program optimization device provided by the embodiment of the present application is shown in FIG. 4. Figure 4 As shown in FIG. 4, the clothes processing program optimization device 400 comprises at least one processor 401 and a memory 402; in addition, the clothes processing program optimization device 400 can also have a communication interface 404 for receiving and sending instructions.
[0138] The processor 401, the memory 402 and the communication interface 404 are connected through a bus 403.
[0139] The computer program is stored in the memory 402 and is configured to be executed by the processor 401 to realize the clothes processing program optimization method provided by any embodiment of the present application. Figures 1-2 The clothes processing program optimization method provided by any embodiment of the present application;
[0140] Figure 4 The clothes processing program optimization device of the embodiment shown in FIG. 4 can be used to execute the technical solutions of the above-mentioned method embodiments, and the implementation principles and technical effects are similar, which will not be described here.
[0141] In addition, the embodiment also provides a computer readable storage medium having a computer program stored thereon, and the computer program is executed by the processor to realize the clothes processing program optimization method of the above-mentioned embodiment.
[0142] In several embodiments provided by the present application, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the described apparatus embodiment is merely schematic. For example, the division of the units is only a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0143] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments of the present application.
[0144] In addition, each functional unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can exist physically as a separate unit, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware, or in the form of hardware plus software function units.
[0145] The integrated unit implemented in the form of software function units can be stored in a computer readable storage medium. The above software function unit stored in a storage medium includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute some steps of the method of the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0146] It can be clearly understood by those skilled in the art that, for the convenience and brevity of description, only the above-mentioned division of functional modules is taken as an example. In actual application, the above-mentioned functions can be completed by different functional modules according to needs, i.e., the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. The specific working process of the apparatus described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0147] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the scope of protection of the present application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solution of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solution to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method of optimizing a laundry treatment program, characterized by, Applied to a clothes processing device, the method comprises: obtaining description information sent by a user, and obtaining clothes information and requirement information of this clothes processing according to the description information; obtaining a target clothes processing program matched with the clothes information according to the clothes information; obtaining a clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the requirement information; obtaining an optimized clothes processing program according to the target clothes processing program and the clothes processing program optimization strategy, and controlling the clothes processing device to execute the optimized clothes processing program.
2. The method of claim 1, wherein, The obtaining of the clothes information and the requirement information of this clothes processing according to the description information comprises: obtaining description text information of the description information according to the description information; performing keyword extraction on the description text information to obtain at least one target keyword and a keyword type thereof; obtaining the clothes information and the requirement information of this clothes processing according to each target keyword and the keyword type thereof.
3. The method of claim 2, wherein, The keyword type of the target keyword is a preset keyword type, and the preset keyword type comprises at least one of clothes material, clothes type, clothes quantity, clothes dirtiness and additional requirements; the keyword extraction on the description text information to obtain at least one target keyword and a keyword type thereof comprises: performing the following steps on each preset keyword type as a current preset keyword type to obtain the at least one target keyword: analyzing the description text information according to the current preset keyword type; when a word corresponding to the current preset keyword type is parsed from the description text information, determining the word corresponding to the current preset keyword type as a target keyword.
4. The method of claim 2, wherein, The obtaining of the clothes information and the requirement information of this clothes processing according to each target keyword and the keyword type thereof comprises: determining a description information item corresponding to each target keyword according to the keyword type of each target keyword, wherein the description information item is clothes information or requirement information; taking a target keyword and the keyword type thereof, for which the corresponding description information item is clothes information, as the clothes information; taking a target keyword and the keyword type thereof, for which the corresponding description information item is requirement information, as the requirement information.
5. The method of claim 1, wherein, The obtaining of the clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the requirement information comprises: determining at least one target clothes processing operation and a target control parameter of each target clothes processing operation corresponding to the clothes information and the requirement information according to the clothes information and the requirement information; obtaining each default clothes processing operation of the target clothes processing program and a default control parameter of each default clothes processing operation according to program information of the target clothes processing program; The target clothes processing operation and its target control parameter and each of the default clothes processing operation and its default control parameter are compared, and the clothes processing program optimization strategy is determined according to the comparison result, wherein the clothes processing program optimization strategy comprises an optimized clothes processing operation and an optimized control parameter of each of the optimized clothes processing operation.
6. The method of claim 5, wherein, The optimized clothes processing program is obtained according to the target clothes processing program and the clothes processing program optimization strategy, comprising: According to the comparison result, it is judged whether there is an optimized clothes processing operation in each of the default clothes processing operation according to each of the optimized clothes processing operation; If yes, the control instruction of the optimized clothes processing operation is modified according to the optimized control parameter of the optimized clothes processing operation to obtain a modified control instruction; If no, a new control instruction is generated according to the optimized clothes processing operation and its optimized control parameter; The control instruction of the optimized clothes processing program is obtained according to the control instruction of the target clothes processing program, each of the modified control instruction and each of the new control instruction.
7. The method of claim 1, wherein, Before the clothes information and the demand information of the clothes processing are obtained according to the description information, the method further comprises: The description information record of the clothes processing equipment is obtained, wherein the description information record comprises at least one historical description information and its corresponding optimized clothes processing program; It is judged whether there is similar historical description information similar to the description information in the description information record according to each of the historical description information in the description information record and the description information; If yes, the clothes processing equipment is controlled to execute the optimized clothes processing program corresponding to the similar historical description information; If no, the step of obtaining the clothes information and the demand information of the clothes processing according to the description information is determined. 8.A laundry treatment program optimization apparatus, characterized by, Comprise: The acquisition module is used for obtaining the description information sent by the user, and obtaining the clothes information and the demand information of the clothes processing according to the description information; The target clothes processing program matched with the clothes information is obtained according to the clothes information; The operation module is used for obtaining the clothes processing program optimization strategy according to the target clothes processing program, the clothes information and the demand information; The optimized clothes processing program is obtained according to the target clothes processing program and the clothes processing program optimization strategy; The control module is used for controlling the clothes processing equipment to execute the optimized clothes processing program. 9.A laundry treatment program optimization apparatus, characterized by, Comprise: A processor and a memory in communication connection with the processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory to realize the method in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to realize the clothes processing program optimization method in any one of claims 1 to 7.