Washing machine
By using the spectrum acquisition module and control module in the washing machine, identifying and analyzing stain spectrum data, the problem of low efficiency of new stain recognition in the existing technology is solved, and more efficient stain recognition and cleaning effects are achieved.
Patent Information
- Application Number
- CN202311182100.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
Existing washing machines are inefficient when identifying new stains, affecting the cleaning effect.
The spectrum acquisition module is used to scan the stain area, generate spectral data, and query the corresponding stain information in the preset database through the control module. If not found, perform ingredient analysis to determine the unknown stain type and store it in the database.
It improves the efficiency and accuracy of stain recognition, expands the database of stain information, and ensures that the stain type can be quickly queried during the next use, thereby improving the cleaning effect.
Smart Images

Figure CN119615567A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of washing machine control, and specifically relates to a washing machine. Background Art
[0002] At present, in order to improve the cleaning effect of clothes, laundry appliances identify stains on clothes based on intelligent recognition technology and adjust the laundry program according to the type of stains.
[0003] By identifying the stain area, the stain type of the stain area is obtained, and then the washing program is determined according to the stain type. This method is more dependent on the number of identified stain types. When a new stain type appears, the result cannot be identified, which affects the efficiency of identifying stain information. Summary of the invention
[0004] The purpose of the present application is to provide a washing machine for improving the efficiency of identifying stains on clothing.
[0005] According to one aspect of an embodiment of the present application, a washing machine is provided, comprising:
[0006] A spectrum acquisition module, the spectrum acquisition module is used to scan the stain area of the clothes to be washed and generate spectrum data of the stain area;
[0007] The control module, the spectrum acquisition module is configured as follows:
[0008] Performing spectral recognition on the stain area of the laundry to be washed to obtain spectral data of the stain area, wherein the spectral data is obtained by processing the spectral data of the laundry to be washed;
[0009] According to the spectral data, querying a preset database for stain information corresponding to the spectral data, wherein the stain information is a known stain type, and the known stain type refers to a stain type stored in a preset database;
[0010] If the stain information is not found, component analysis is performed on the spectral data to obtain components of the stain in the stain area, and the unknown stain type of the stain area is determined according to the composition ratio of the components, where the unknown stain type is a stain type that is not stored in a preset database;
[0011] The unknown stain type and the spectral data are stored in the preset database.
[0012] The washing machine provided in this embodiment includes a spectrum acquisition module and a control module, and the control module is configured to: identify the stain area of the clothes to be washed according to the spectrum recognition method, obtain the spectrum data of the stain area, query the stain information corresponding to the spectrum data in the preset database according to the spectrum data, if the stain information is not found, perform component analysis on the spectrum data to obtain the components of the stain in the stain area, determine the unknown stain type of the stain area according to the composition ratio of the components, and store the unknown stain type and the spectrum data in the preset database. The preset database is used to store stain information of various stain types, and the stain type on the clothes to be washed can be quickly queried according to the spectrum data. Even if it is not found, the unknown stain type obtained after the component analysis based on the spectrum data will be stored in the preset database to expand the integrity of the stain information, so that the stain type can be quickly queried in the next use, and the efficiency of obtaining the stain information can be improved. The washing machine can quickly match the washing and care program according to the obtained stain information.
[0013] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0014] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 The structural diagram of a washing machine provided in one embodiment of the present application is schematically shown.
[0016] Figure 2 A flowchart showing the steps in which a control module provided by an embodiment of the present application is configured to execute.
[0017] Figure 3 A schematic diagram showing the processing flow of clothing material information provided by an embodiment of the present application.
[0018] Figure 4 A schematic diagram showing the processing flow of clothing material information provided by another embodiment of the present application. DETAILED DESCRIPTION
[0019] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of example embodiments to those skilled in the art.
[0020] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0021] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0022] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0023] Figure 1 The structural diagram of a washing machine provided in one embodiment of the present application is schematically shown.
[0024] like Figure 1 As shown, this embodiment provides a washing machine, and the washing machine 10 includes:
[0025] The spectrum acquisition module 110 is used to scan the stain area of the laundry to be washed and generate spectrum data of the stain area.
[0026] The control module 120 is configured to execute the following steps S110 to S140 .
[0027] Figure 2 A flow chart showing the steps that the control module of this embodiment is configured to execute.
[0028] S110, performing spectral recognition on the stain area of the laundry to be washed to obtain spectral data of the stain area, the spectral data being obtained by processing the spectral data of the laundry to be washed.
[0029] Specifically, the washing machine will match the corresponding washing and care program according to the type of stains on the clothes to be washed to improve the cleaning effect of the clothes.
[0030] When there are stains on the laundry to be washed, the stain area on the laundry to be washed is identified by spectrum, and the spectrum data of the stain area is obtained.
[0031] The stain area refers to the area on the laundry where the stain is located.
[0032] Spectral recognition actually identifies the type of stains in the stain area based on the object's absorption, reflection and scattering characteristics of infrared light.
[0033] The spectral data of stains on clothes of different colors are different.
[0034] Optionally, after acquiring the spectral data of the stain area of the laundry to be washed, the spectral data of the laundry to be washed is acquired.
[0035] According to the difference between the spectral data of the laundry to be washed and the spectral data of the stained area, the type of stain in the stained area can be identified more accurately.
[0036] S120, querying a preset database for stain information corresponding to the spectral data according to the spectral data, where the stain information is a known stain type, and the known stain type refers to a stain type stored in the preset database.
[0037] The preset database stores known stain types, ie, known stain types and spectral data corresponding to the stain types.
[0038] Known stain types include coffee stains, red wine stains, and oil stains, etc. The preset data stores coffee stains, red wine stains, and oil stains and their spectral data.
[0039] After the spectral data of the stain area is obtained, the spectral data is used as a query condition to query matching stain information in a preset database.
[0040] S130: If no stain information is found, component analysis is performed on the spectral data to obtain components of the stain in the stain area, and the unknown stain type of the stain area is determined according to the composition ratio of the components, where the unknown stain type is a stain type that is not stored in a preset database.
[0041] If no stain information is found, component analysis is performed on the spectral data to obtain the components of the stain in the stain area.
[0042] Component analysis of spectral data refers to analyzing the components and composition ratios of the stain area based on the spectral characteristics of different components. Organic and inorganic substances have different spectral characteristics, so the components can be distinguished based on the spectral characteristics.
[0043] The spectral data is decomposed into vector or matrix form, the eigenvalue is solved according to the matrix, and the eigenvector is solved by the homogeneous equation system to separate multiple wavelength values, each wavelength value corresponds to a component of the stain.
[0044] It should be noted that due to the spectral characteristics of the laundry, when processing the spectral data of the stain area, it is necessary to consider the spectral characteristics of the laundry itself, separate the laundry and the stain area, and map the spectral data of the stain area with the original spectral data of the stain.
[0045] S140, storing the unknown stain type and spectral data into a preset database.
[0046] Specifically, after the unknown stain type is identified, the unknown stain type and its spectral data are stored in a preset database.
[0047] The more stain information stored in the preset database, the more likely it is to query the information corresponding to the stain area of the clothes to be washed from the preset database, that is, the faster the type of the stain area is identified, which can improve the efficiency of identifying stains on clothes.
[0048] Optionally, after an unknown stain type is identified, cleaning information is obtained based on the unknown stain type, and the cleaning information is used to help the user manually perform local cleaning on the stained area.
[0049] For example, when the unknown stain type is soy sauce stain, the cleaning information includes: using white radish juice, bleaching powder and ammonia water for cleaning.
[0050] In this embodiment, the stain area of the clothes to be washed is obtained through spectral recognition, and the spectral data of the stain area is obtained. The stain information corresponding to the spectral data is queried in the preset database according to the spectral data; if the stain information is not found, the spectral data is subjected to component analysis to obtain the unknown stain type of the stain in the stain area, and the unknown stain type and the spectral data are stored in the preset database. The preset database is used to store stain information of various stain types, and the stain type on the clothes to be washed is queried according to the spectral data; even if it is not found, the unknown stain information is obtained after component analysis based on the spectral data, and the unknown stain information is stored in the preset database, so as to improve the storage richness of the stain information. In the subsequent use process, the stain information can be quickly obtained from the preset database, and the efficiency of obtaining the stain information is improved.
[0051] As an optional implementation, in S110, after searching a preset database for stain information corresponding to the spectral data according to the spectral data, the method further includes:
[0052] S100: If stain information corresponding to the spectral data is found, a corresponding washing and care program is matched for the clothes to be washed according to the stain information.
[0053] When the stain information of the stain in the stain area is stored in the preset database, the stain type is recorded in the stain information, and after the stain type is determined, the washing and care program is determined according to the stain type.
[0054] The washing and care program includes water temperature, detergent dosage, etc.
[0055] As an optional implementation, at S140, after storing the unknown stain type and the spectral data in a preset database, the control module 120 is further configured to:
[0056] S141, generating a corresponding washing and care program according to the unknown stain type, and sending the washing and care program to the user for confirmation.
[0057] After the type of unknown stain is determined based on component analysis, a corresponding washing and care program is generated based on the type of unknown stain, and the washing and care program is sent to the user for confirmation.
[0058] Unknown stain types refer to stain information that is not stored in the preset database. In order to ensure the accuracy of identification and the protection of the laundry.
[0059] Optionally, the information sent to the user may include a washing and care program and an identified unknown stain type. On the one hand, the user can further confirm whether the identified unknown stain type is accurate, and on the other hand, can confirm the accuracy of the washing and care program confirmed by the unknown stain information, thereby avoiding, to a certain extent, the generation of an inappropriate washing and care program and causing damage to the laundry.
[0060] As an optional implementation, in S120, according to the spectral data, in searching the preset database for stain information corresponding to the spectral data, the control module 120 is further configured to:
[0061] S121, obtaining a spectral value corresponding to the spectral data, and matching the spectral value with a wavelength band stored in a preset database.
[0062] S123: If the corresponding wavelength band is matched, it is determined that the stain type of the stain area is the same as the stain type corresponding to the wavelength band.
[0063] Spectral data can consist of multiple discrete spectral values or continuous spectral curves.
[0064] Get the spectral value of the spectral data, and get the wavelength band according to the spectral value and the preset database.
[0065] For example, the wavelength band of the oil stain type is U1; the wavelength band of the coffee stain type is U2; if the spectrum value matches the wavelength band U1, it means that the stain type of the stain area is oil stain.
[0066] In this embodiment, stain information, including stain type and wavelength band, is stored in a preset database; after the spectral data of the clothes to be washed is obtained, it is matched with the wavelength band in the preset database to quickly confirm the stain type of the stain area.
[0067] If the corresponding stain information is found, the speed of identifying the stain information is improved; if not found, it means that the preset database has not recorded the stain type; after the stains in the stained area are analyzed for components, the identified unknown stain types are stored in the preset database, which is equivalent to maintaining the preset database, thereby increasing the possibility of querying the stain information in the preset database.
[0068] In this embodiment, by obtaining spectral values in spectral data and comparing the spectral values with wavelength bands in a preset database, the stain area is matched with the stain information stored in the preset database, thereby improving the efficiency of obtaining stain information to a certain extent.
[0069] As an optional implementation, S130, if no stain information is found, component analysis is performed on the spectral data to obtain components of the stain in the stain area, and the type of unknown stain in the stain area is determined according to the composition ratio of the components. The control module 120 is further configured to:
[0070] S131, feature decomposing the spectral data to obtain the components of the stain area and the composition ratio of each component.
[0071] S133, determining an unknown stain type according to the composition ratio of each component, where the unknown stain type refers to a stain type that is not stored in a preset database.
[0072] Specifically, the spectral data is processed to decompose the components of the stain in the stain area and the composition ratio of each component from the spectral data of the stain area.
[0073] For example, after feature decomposition of the spectral data, it is found that the components of the stain in the stain area are maltose, glucose and protein. Then the type of the stain in the stain area can be determined based on these components. As shown above, it is preliminarily determined that the stain in the stain area is soy sauce stain.
[0074] Determining the proportion of each component is to further determine the type of stain. If two stains have the same composition, but the difference is the content of one component, then the composition ratio of the components can be used to distinguish them.
[0075] The unknown stain type refers to the stain type in the stain area obtained by feature decomposition of spectral data, and the stain type has not been stored in a preset database.
[0076] In this embodiment, when the preset database does not store the stain information in the stain area, the spectral data of the stain area is feature decomposed to determine the components of the stain in the stain area and the composition ratio of the components. The type of stain in the stain area can be confirmed based on the components and the composition ratio of the components. The identified unknown stain type is stored in the preset database. When the stain area of the laundry to be washed is identified next time, the possibility of querying the stain information from the preset database is increased, thereby improving the efficiency of obtaining the stain information.
[0077] As an optional implementation, in S130, if no stain information is found, component analysis is performed on the spectral data to obtain components of the stain in the stain area, and after the unknown stain type in the stain area is determined according to the composition ratio of the components, the control module 120 is further configured to:
[0078] S151, obtaining image data of the stained area of the clothes to be washed, and sending the image data to the user.
[0079] S152, receiving a stain input type input by a user according to image data, and comparing the stain input type with an unknown stain type, wherein the stain input type is a stain in a stain area defined by the user.
[0080] S153: If the input stain type is consistent with the unknown stain type, the unknown stain type and the spectral data are stored in a preset database.
[0081] This embodiment is used to ensure the accuracy of the identified unknown stain type.
[0082] The image data of the stain area of the clothes to be washed is obtained and sent to the user. The user determines the stain type of the stain area according to the image data and edits the information and sends it to the server.
[0083] After receiving the stain input type input by the user, the server compares the stain input type with the unknown stain type to determine whether the stain input type is consistent with the unknown stain type. If they are consistent, the unknown stain type and the corresponding spectral data are stored in a preset database.
[0084] In this embodiment, the image data can be sent to the user's mobile device for display through the network device, or the image data can be displayed on the display screen of the washing machine, and the stain input type can be generated through the mobile device or display. Assume that the unknown stain type is red wine stain, and the stain input type input by the user is: red wine. The unknown stain type and the stain input type both include the keyword "red wine", and it is determined that the unknown stain type and the stain input type are consistent.
[0085] In this embodiment, the identified unknown stain type is compared with the stain input type generated by the user. If the two are consistent, the unknown stain type is stored in a preset database to ensure the accuracy of the unknown stain type.
[0086] As an optional implementation, at S152, after receiving the stain input type input by the user according to the image data and comparing the stain input type with the unknown stain type, the control module 120 is further configured to:
[0087] S1521: If the stain input type is inconsistent with the unknown stain type, obtain the spectral data corresponding to the stain input type.
[0088] S1522, comparing the spectral data of the stain input type with the spectral data of the stain area, if they are inconsistent, storing the unknown stain type in a preset database.
[0089] On the basis of the above-mentioned embodiment, if the stain input type is inconsistent with the unknown stain type, then obtaining the spectral data corresponding to the stain input type;
[0090] The spectral data corresponding to the input stain type is compared with the spectral data of the stain area. If the two are inconsistent, the unknown stain type is stored in a preset database.
[0091] In this embodiment, when the stain input type is inconsistent with the unknown stain type, the spectral data corresponding to the stain input type is compared with the spectral data of the stain area. If they are inconsistent, it means that the accuracy of the stain input type entered by the user is not high. In order to ensure the accuracy of the data stored in the preset database, the unknown stain type is stored in the preset database.
[0092] As an optional implementation, before storing the unknown stain type and the spectral data in a preset database in S152, the method further includes:
[0093] S1511, send the unknown stain type to the user.
[0094] S1512, receiving the user's confirmation indication regarding the unknown stain type.
[0095] As an optional implementation, after the unknown stain type is identified, the unknown stain type is sent to the user for confirmation to receive the user's confirmation indication for the unknown stain type, so as to improve the accuracy of the unknown stain information.
[0096] As an optional implementation, at S1511, after sending the unknown stain type to the user, the control module 120 is further configured to:
[0097] S1611, receiving editing information from the user, where the editing information includes the stain editing type obtained after the user edits the stain type.
[0098] S1612, storing the stain editing type and spectral data into a preset database.
[0099] Optionally, the user can edit the unknown stain type to obtain an edited stain type.
[0100] The stain editing type edited by the user is stored in a preset database as the user's customization, and the user can query the customized stain editing type according to the user identifier.
[0101] It should be noted that the edited stain type and the unknown stain type are stored together in a preset database.
[0102] Unknown stain types are stored in a public database for all users to access, while user-defined stain edits can be stored based on the user's account.
[0103] In this embodiment, the user-defined stain editing type is stored in a preset database, and the user can select the washing and care program he needs according to the customized content.
[0104] The control module of the washing machine of this embodiment is configured to execute the processing process of the clothing material information. Figure 3 A schematic diagram showing the processing flow of clothing material information provided by this embodiment.
[0105] like Figure 3 As shown, the process of the method for processing clothing material information is as follows:
[0106] S200, performing spectral recognition on stain information of the laundry to be washed to obtain spectral data;
[0107] S210, querying stain information corresponding to the spectral data in a preset database;
[0108] S211, performing component analysis on the spectral data to determine the type of unknown stain;
[0109] In the above, the process from S210 to S220 represents the processing flow when the stain information is found in the preset database; the process from S210 to S211 to S220 represents the processing flow when the stain information is not found in the preset database.
[0110] The specific implementation method of S211 to S220 has been described in the above embodiments and will not be repeated here.
[0111] Figure 4 A schematic diagram showing the processing flow of clothing material information provided by another embodiment of the present application.
[0112] exist Figure 3 Based on the above, in S211, after performing component analysis on the spectral data and determining the type of unknown stain, the process provided in this embodiment is as follows:
[0113] S300, acquiring image data of a stain area of the laundry to be washed;
[0114] S311, receiving a stain input type input by a user according to image data;
[0115] S312, comparing whether the input stain type is consistent with the unknown stain type;
[0116] If they are inconsistent, execute S313 to obtain the spectral data corresponding to the input stain type; if they are consistent, execute S320 to store the unknown stain type and the spectral data in a preset database.
[0117] After obtaining the spectrum data of the stain input type, executing S314, comparing the spectrum data of the stain area with the spectrum data of the stain input type;
[0118] like Figure 4 As shown, regardless of the comparison result of S314, the spectral data of the unknown stain type and the stain area are stored in a preset database.
[0119] The control module receives the spectrum data sent by the spectrum acquisition module, and executes the steps of the method for processing clothing material information provided in the above embodiment according to the spectrum data.
[0120] Optionally, the washing machine provided in this embodiment further includes a display screen, which is used to display image data of the stain area of the clothes to be washed and to display the type of unknown stains.
[0121] Furthermore, the control module is connected to the display screen, and the control module transmits the washing and care program matched according to the unknown stain information to the display screen for display, and the user performs the next step operation through the washing and care program displayed on the display screen.
[0122] Furthermore, the display screen can be used as an input device, and the user inputs the stain editing type through the display screen.
[0123] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0124] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0125] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0127] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0128] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.
[0129] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A washing machine, characterized in that: The washing machine comprises: A spectrum acquisition module, the spectrum acquisition module is used to scan the stain area of the clothes to be washed and generate spectrum data of the stain area; The control module, the spectrum acquisition module is configured as follows: Performing spectral recognition on the stain area of the laundry to be washed to obtain spectral data of the stain area, wherein the spectral data is obtained by processing the spectral data of the laundry to be washed; According to the spectral data, querying a preset database for stain information corresponding to the spectral data, wherein the stain information is a known stain type, and the known stain type refers to a stain type stored in a preset database; If the stain information is not found, component analysis is performed on the spectral data to obtain components of the stain in the stain area, and the unknown stain type of the stain area is determined according to the composition ratio of the components, where the unknown stain type is a stain type that is not stored in a preset database; The unknown stain type and the spectral data are stored in the preset database.
2. The washing machine according to claim 1, characterized in that: The control module is further configured to: If stain information corresponding to the spectral data is found, a corresponding washing and care program is matched for the laundry to be washed according to the stain information.
3. The washing machine according to claim 1, characterized in that: The control module is further configured to: According to the unknown stain type, a corresponding washing and care program is generated, and the washing and care program is sent to the user for confirmation.
4. The washing machine according to claim 1, characterized in that: The control module is further configured to: Acquire a spectral value corresponding to the spectral data, and match the spectral value with a wavelength band stored in the preset database; If the corresponding wavelength band is matched, it is determined that the stain type of the stain area is the same as the stain type corresponding to the wavelength band.
5. The washing machine according to claim 1, characterized in that: The control module is further configured to: Decomposing the spectral data by features to obtain the components of the stain area and the composition ratio of each component; According to the composition ratio of each of the components, an unknown stain type is determined, where the unknown stain type refers to a stain type that is not stored in a preset database.
6. The washing machine according to claim 5, characterized in that: The control module is further configured to: Acquiring image data of the stained area of the laundry to be washed, and sending the image data to a user; receiving a stain input type input by a user according to the image data, and comparing the stain input type with the unknown stain type, wherein the stain input type is a stain on the stain area defined by the user; If the input stain type is consistent with the unknown stain type, the unknown stain type and the spectral data are stored in a preset database.
7. The washing machine according to claim 6, characterized in that: The control module is further configured to: If the stain input type is inconsistent with the unknown stain type, obtaining spectral data corresponding to the stain input type; The spectral data of the stain input type is compared with the spectral data of the stain area. If they are inconsistent, the unknown stain type is stored in a preset database.
8. The washing machine according to claim 1, characterized in that: The control module is further configured to: sending the unknown stain type to a user; A determination indication of the unknown stain type is received from the user.
9. The washing machine according to claim 8, characterized in that: The control module is further configured to: Receiving editing information from a user, wherein the editing information includes an edited stain type obtained after the user edits the stain type; The stain editing type and the spectral data are stored in a preset database.
10. The washing machine according to claim 6, characterized in that: The washing machine also includes: A display screen is connected to the control module and is used to display image data of the stain area of the clothes to be washed and the unknown stain area.