Detailed Description
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention. For example, although the present application is described in conjunction with a washing machine, the technical solution of the present invention is not limited thereto, and the smart home system and the control method can be obviously applied to other laundry treatment apparatuses such as a clothes dryer, a washing and drying all-in-one machine, a shoe washing machine, a nursing machine, etc., without departing from the principle and scope of the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Based on the technical problems provided in the background art, the invention provides a control method for an intelligent home system, which aims to judge the color cross occurrence probability of clothes according to images and formaldehyde content, accurately judge whether the clothes have color cross risk, avoid the occurrence of misjudgment and completely avoid the color cross occurrence phenomenon; according to the probability, the server selectively controls the washing machine to directly operate the clothes processing program, not only can the expected washed clothes be washed clean, but also the phenomenon of color cross of the clothes can be avoided, and further the use experience of a user is improved.
Referring first to fig. 1, a smart home system of the present invention will be described. Fig. 1 is a structural diagram of an intelligent home system according to the present invention.
As shown in fig. 1, the smart home system of the present invention includes a washing machine 1 and a server 2, where the washing machine 1 can communicate with the server 2, and the server 2 can also communicate with a user terminal 3. It should be noted that, although the user end 3 is shown in fig. 1, the smart home system of the present invention only includes the washing machine 1 and the server 2, and does not necessarily include the user end 3, and the user end 3 is shown in fig. 1 only for better describing the control method of the present invention, and does not set any limit to the smart home system of the present invention.
Preferably, both the washing machine 1 and the user terminal 3 can communicate with the server 2 through communication methods such as wan, lan, WiFi, "WiFi + internet access router", bluetooth, ZIGBEE, NFC, GPRS, and the like.
Although not shown in the drawings, the washing machine 1 includes an image pickup module for taking an image of laundry, a detection module, an indication module, a voice module, and a control module; the detection module is used for detecting the formaldehyde content of the clothes; the indicating module is used for indicating clothes with color cross risks; the voice module is used for sending alarm prompt information in a voice mode; the control module is used for sending the detection result of the detection module and the image of the clothes shot by the image acquisition module to the server 2, controlling the indication module to point to the clothes with color cross risk according to the probability of color cross of the clothes, controlling the voice module to send alarm prompt information in a voice mode, and controlling the washing machine 1 to selectively and directly run a clothes processing program.
The image acquisition module may be, but is not limited to, a camera, a video camera, etc.
The detecting module may be, but is not limited to, a formaldehyde detecting sensor, for example, the formaldehyde detecting sensor may be a gas sensor, and the gas sensor is disposed on the top of the outer tub of the washing machine 1; alternatively, the formaldehyde detection sensor may be a liquid sensor disposed at a lower portion of the outer tub of the washing machine 1, and a detection electrode of the liquid sensor is immersed in the washing water. No matter what kind of formaldehyde detection sensor is adopted, the corresponding specific detection method should not limit the present invention at all.
The indication module may be, but is not limited to, an indication lamp, for example, the indication lamp may be an LED lamp, an LCD lamp, or the like.
The voice module may be, but is not limited to, an MP3 voice module, an LD3320 voice module, an N588D voice module, etc.
Wherein, in physical form, the control module can be any type of controller, such as a programmable controller, a combinational logic controller, and the like.
Preferably, the server 2 is capable of receiving the image and the formaldehyde content from the washing machine 1, and judging the possibility of the cross color of the clothes according to the received image and formaldehyde content; and the server 2 selectively controls the washing machine 1 to directly operate the laundry treatment program according to the probability.
The server 2 may be, but is not limited to, a cloud server 2 and a backend server 2.
Preferably, the user terminal 3 can receive the adjusted parameters from the server 2 and obtain the modified parameters. The user end 3 may be an APP installed on a terminal device of a user of the washing machine 1, the terminal device may be, for example, a mobile device, a computer, or any combination thereof. In some embodiments, the mobile device may include, for example, a cell phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, and the like, or any combination thereof.
Referring to fig. 2, a control method for an intelligent home system according to the present invention will be described. Fig. 2 is a flowchart of the control method of the present invention.
As shown in fig. 2, the control method for the smart home system of the present invention includes the following steps:
s100, the washing machine acquires an image of clothes;
s200, the washing machine acquires the formaldehyde content of the clothes;
s300, the washing machine sends the image and the formaldehyde content to a server;
s400, the server judges the color cross probability of the clothes according to the image and the formaldehyde content;
and S500, selectively controlling the washing machine to directly run the clothes processing program by the server according to the probability.
In step S100, after a user puts laundry into an inner tub of a washing machine, the washing machine acquires an image of the laundry through an image capturing module such as a camera. Of course, before the user puts the laundry into the inner tub of the washing machine, the image of the laundry may be acquired through an image capturing module such as a camera, a camcorder, or the like. The timing for acquiring the image of the clothes can be flexibly adjusted and set by a person skilled in the art according to the setting position and the like of an image acquisition module such as a camera, a camera and the like.
In step S200, after the user puts the laundry into the inner tub of the washing machine, the washing machine detects the formaldehyde content of the laundry through the formaldehyde detection sensor.
When a plurality of clothes need to be cleaned, one piece of clothes is put in and the image and the formaldehyde content of the clothes are obtained, then the next piece of clothes is put in continuously, and the image and the formaldehyde content of the next piece of clothes are obtained until all the clothes are put in.
In the above process, the execution sequence of step S100 and step S200 is not limited to the above listed sequence, step S200 may be executed first, step S100 may be executed, step S100 and step S200 may be executed simultaneously, and those skilled in the art may flexibly adjust and set the execution sequence of step S100 and step S200 according to actual use requirements. In step S300, the image may be sent to the server first, and then the formaldehyde content may be sent to the server, or the formaldehyde content may be sent to the server first, and then the image may be sent to the server, or the image and the formaldehyde content may be sent to the server at the same time, and a person skilled in the art may flexibly adjust and set the order of sending the image and the formaldehyde content to the server according to actual use requirements.
The control method of the present invention for determining the possibility of the cross color of the laundry will be described with reference to fig. 3. Fig. 3 is a flowchart of a control method for determining the possibility of color cross of clothes according to the present invention.
As shown in fig. 3, in step S400, the step of determining the probability of the color cross of the clothes according to the image and the formaldehyde content by the server specifically includes:
s411, the server determines the clothes information according to the image;
s412, the server determines the freshness and the old degree of the clothes according to the formaldehyde content;
s413, the server judges the probability according to the clothes information and the clothes old and new degree;
wherein, the clothing information includes color and material. Of course, the clothes information may include only color or material, and those skilled in the art can flexibly adjust and set the content included in the clothes information according to the actual use requirement.
The step S411 is further described below by taking information such as color and texture as an example.
First, taking the color of the clothes as an example to further explain:
after the server receives the image of the clothes from the washing machine, an image processing program arranged on the server extracts RGB values of clothes colors in the image, and the RGB values are compared with a preset RGB judgment model to obtain color information of the clothes, wherein the preset RGB judgment model can be preset as follows: RGB (0, 0, 0) is black, RGB (127, 127, 127) is gray, RGB (255, 0, 0) is red, RGB (0, 255, 0) is green, RGB (0, 0, 255) is blue, etc., which is not limited in this respect. The RGB color scheme is a color standard, and various colors are obtained by changing three color channels of red (R), green (G), and blue (B) and superimposing the three color channels on each other, where RGB is a color representing three channels of red, green, and blue.
Next, the following will be further described by taking the material of the obtained clothes as an example:
after the server receives the image of the clothes from the washing machine, an image processing program arranged on the server performs gray processing on the received image, and compares the processed result with a preset gray judgment model to obtain material information of the clothes, wherein the preset gray judgment model can be preset as follows: the gray value of 60% is fiber, the gray value of 100% is cotton-flax, the gray value of 30% is terylene, etc., which is not limited by the invention.
In step S412, the step of determining the freshness of the clothes according to the formaldehyde content by the server specifically includes: the server compares the formaldehyde content with a first preset content and a second preset content respectively, wherein the first preset content is larger than the second preset content; and determining the freshness and the old degree of the clothes according to the comparison result of the formaldehyde content and the first preset content and the second preset content respectively. The specific judgment process is as follows:
if the detected formaldehyde content is greater than or equal to a first preset content, for example, the first preset content is 70mg/kg, and the detected formaldehyde content is 75mg/kg, which is greater than the first preset content, it indicates that the formaldehyde content of the clothes is high, the clothes is new clothes which have not been washed after leaving the factory, and besides white, clothes of other colors may have loose colors, and may fade during the washing process.
If the detected formaldehyde content is less than the first predetermined content but greater than the second predetermined content, for example, the first predetermined content is 70mg/kg, the second predetermined content is 40mg/kg, the detected formaldehyde content is 60mg/kg, and the detected formaldehyde content is less than the first predetermined content but greater than the second predetermined content, which indicates that the formaldehyde content of the laundry is low, the laundry is new laundry which has been washed only one or two times, and besides white, other colors of laundry may have floating colors, and may be slightly discolored during washing.
If the detected formaldehyde content is less than or equal to a second predetermined level, for example, the second predetermined level is 40mg/kg, and the detected formaldehyde content is 20mg/kg, which is less than the second predetermined level, it indicates that the formaldehyde content of the laundry is very low, and the laundry is old laundry that has been washed for a very large number of times, and even dark-colored laundry may not be discolored.
Of course, the above listed dividing manners and numbers of the preset contents are only exemplary, but not restrictive, and those skilled in the art can flexibly adjust and set the dividing manners and numbers of the preset contents according to the actual color-string determination accuracy requirement, and the like, and the present invention does not limit this.
In step S413, the step of the server determining the probability according to the color, the material and the clothes freshness comprises: color cross probability comparison tables about colors, materials and the new and old degrees of clothes are preset in the server; the server respectively determines the preset cross color probabilities of the color, the material and the new and old degree of the clothes according to the comparison table; multiplying the obtained preset cross color probabilities by weight values of the corresponding preset cross color probabilities respectively to obtain weight cross color probabilities; comparing all the calculated weight cross color probabilities, and determining the maximum weight cross color probability according to the comparison result; and determining the maximum weight color cross-color probability as the final color cross-color probability of the clothes.
The weight value is determined according to the color, material and the degree of freshness of the clothes, and the weight value of any one of the color, the material and the degree of freshness is determined by referring to the rest two parameters.
For example, if the clothes to be washed together are in dark color system such as red, dark gray, dark blue and the like and light color system such as light yellow, light pink, light blue and the like, the clothes in different color systems are washed together and the color cross color risk exists, and the color cross color probability x is preset according to the color determined by the comparison table 11 Is 90%, and its corresponding weight value delta 11 Is 0.1; however, the clothes washed together are made of terylene or nylon, the clothes made of the terylene or nylon do not fade no matter what color, and the color cross probability x is preset according to the materials determined by the comparison table 12 10% of the weight value delta 12 Is 0.6; and the clothes washed together are all old clothes washed for a plurality of times, even if the clothes have floating color, the floating color is cleaned in the previous washing processes for a plurality of times, and the color cross probability x is preset according to the new and old degrees determined by the comparison table 13 5% of the weight valueδ 12 Is 0.3; presetting the color cross color probability x 11 And weight value delta 11 Multiplying to obtain color weight cross color probability k 11 I.e., 9%; presetting the cross color probability x of the material 12 And weight value delta 12 Multiplying to obtain the cross color probability k of the material weight 12 I.e., 6%; presetting the color cross probability x of the new and old degree 13 And weight value delta 13 Multiplying to obtain new and old degree weight cross color probability k 13 I.e. 1.5%.
Further, the color weight cross color probability k 11 Material weight cross color probability k 12 And the new and old degree weight cross color probability k 13 Comparing 9%, 6% and 1.5%, wherein 9% is the maximum cross color probability k max1 Therefore, 9% is determined as the final cross color probability of the laundry.
For another example, if the clothes to be washed together are light-colored clothes and white clothes such as light yellow, light pink, light blue and the like, the risk of color cross is basically avoided when the light-colored clothes and the white clothes are washed together, and the color cross probability x is preset according to the color determined by the comparison table 21 Is 8%, its corresponding weight value delta 21 Is 0.2; however, the clothes washed together are made of cotton and linen, the clothes made of the cotton and linen are easy to fade, and the color cross probability x is preset according to the materials determined by the comparison table 22 60% of the weight value delta 22 Is 0.4; the clothes washed together contain new clothes which are not washed after leaving a factory, loose colors possibly exist, the clothes can fade in the washing process, and the color cross probability x is preset according to the new and old degrees determined by the comparison table 23 Is 50%, and its corresponding weight value delta 23 Is 0.4; presetting the color with the cross color probability x 21 And weight value delta 21 Multiplying to obtain color weight cross color probability k 21 I.e., 1.6%; presetting the cross color probability x of the material 22 And weight value delta 22 Multiplying to obtain the cross color probability k of the material weight 22 I.e., 24%; presetting the color cross probability x of the new and old degree 23 And weight value delta 23 Multiplying to obtain new and old degree weight cross color probability k 23 I.e. 20%.
Further, willColor weight cross color probability k 21 Material weight cross color probability k 22 And new and old degree weight cross color probability k 23 Comparing 1.6%, 24% and 20%, and determining that 24% is the maximum cross color probability k max2 Therefore, 24% is determined as the final cross color probability of the laundry.
For another example, if the clothes to be washed together are dark blue, dark red and other dark color clothes and white clothes, the clothes of different color systems are washed together and have the color cross risk, and the color preset cross color probability x is determined according to the comparison table 31 Is 90%, and its corresponding weight value delta 31 Is 0.6; the clothes washed together are made of jeans, the clothes made of the jeans are particularly easy to fade, and the color-mixing probability x is preset according to the materials determined by the comparison table 32 70%, its corresponding weight value delta 32 Is 0.5; and because the clothes washed together contain new clothes washed only once or twice, the clothes can be faded continuously in the washing process, and the color cross probability x is preset according to the new and old degree determined by the comparison table 33 30% of the weight value delta 32 Is 0.3; presetting the color cross color probability x 31 And weight value delta 31 Multiplying to obtain color weight cross color probability k 31 Namely 54%; presetting the cross color probability x of the material 32 And weight value delta 32 Multiplying to obtain the cross color probability k of the material weight 32 I.e., 35%; presetting the color cross probability x of the new and old degree 33 And weight value delta 33 Multiplying to obtain new and old degree weight cross color probability k 33 I.e., 9%.
Further, the color weight cross color probability k 31 Material weight cross color probability k 32 And new and old degree weight cross color probability k 33 Comparing 54%, 35% and 9%, wherein 54% is the maximum cross color probability k max3 Therefore, 54% is determined as the final cross color probability of the laundry.
It should be noted that the above listed preset cross color probability, weight value and maximum cross color probability are only exemplary, but not restrictive, and those skilled in the art may flexibly adjust and set the preset cross color probability, the weight value and the maximum cross color probability according to the actual detection result and the clothes attribute information.
It should be noted that the method for judging the probability according to the color, the material and the clothes old and new degree by the server is not limited to the above listed method, and those skilled in the art can determine the final color mixing probability of the clothes according to the product of the color preset color mixing probability, the material preset color mixing probability and the clothes old and new degree preset color mixing probability, for example, the color preset color mixing probability x 11 And the material preset cross color probability x 12 And the new and old degree preset cross color probability x 13 The product of multiplication is 0.9 × 0.1 × 0.05 × 100% ═ 0.45%. No matter which method is adopted, the clothes are comprehensively judged according to specific colors, materials and the new and old degree of the clothes. When a plurality of clothes exist, the image and the formaldehyde content of each piece of clothes are respectively obtained, and the server judges the color cross probability of the clothes according to all the obtained images and the formaldehyde content.
It should be noted that, in the above process, the execution sequence of step S411 and step S412 is not limited to the above listed sequence, step S412 may be executed first, step S411 may be executed, step S411 and step S412 may be executed simultaneously, and those skilled in the art may flexibly adjust and set the execution sequence of step S411 and step S412 according to actual use requirements.
Referring to fig. 4 to 6, a control method of selectively controlling the washing machine to directly run the laundry treating process according to the present invention will be described. Wherein, fig. 4 is a first flowchart of a control method of the present invention in which the server selectively controls the washing machine to directly run the laundry treating process; fig. 5 is a second flowchart of a control method of the present invention in which the server selectively controls the washing machine to directly run the laundry treating process; fig. 6 is a flowchart of a control method for controlling the washing machine to operate the laundry treatment program according to the adjusted parameter by the server of the present invention.
As shown in fig. 4, the step of "selectively controlling the washing machine to directly operate the laundry treating program according to the probability" in the step S500 specifically includes:
s511, comparing the probability with a first preset probability and a second preset probability respectively;
and S512, selectively controlling the washing machine to directly run the clothes processing program by the server according to the comparison result between the probability and the first preset probability and the second preset probability respectively.
And the first preset probability is smaller than the second preset probability.
By adopting the control method, the probability of color cross of the clothes is respectively compared with the first preset probability and the second preset probability, and the server selectively controls the washing machine to directly run the clothes treatment program according to the comparison result, so that the clothes treatment program is prevented from being directly run under the condition that the clothes have color cross risk, the clothes are prevented from being damaged, more reasonable washing and protecting can be provided for the clothes, and the use experience of a user is further improved.
As shown in fig. 5, the step of "selectively controlling the washing machine to directly run the laundry treating program according to the comparison result between the probability and the first preset probability and the second preset probability respectively" in step S512 specifically includes:
s521, if the probability is less than or equal to a first preset probability, the server controls the washing machine to directly run the clothes processing program;
s522, if the probability is larger than the second preset probability, the server sends out prompt information to prompt the user that the clothes are not suitable for mixed washing;
s523, if the probability is greater than the first preset probability but less than the second preset probability, the server adjusts the parameters of the clothes treatment program according to the clothes information, the formaldehyde content and the probability;
and S524, the server controls the washing machine to run the clothes processing program according to the adjusted parameters.
The clothes treatment program can be a standard program, a time washing program, a quick washing program, a wool program, a silk program, an ironing-free program, a hard-to-soak washing program, an intelligent washing program or a home textile program and other programs.
In step S521, if the probability is less than or equal to a first preset probability, for example, the first preset probability is 10%, the probability of color cross of the laundry determined in step S413 is 1.5%, and is less than the first preset probability, which indicates that there is substantially no risk of color cross when the laundry is washed together, the server controls the washing machine to directly operate the laundry treating process.
Step S522, if the probability is greater than a second preset probability, for example, the second preset probability is 30%, and the probability of color cross of the laundry determined in step S413 is 54%, which is greater than the second preset probability, indicating that there is a color cross risk in washing the laundry together and the color cross probability is high and the laundry is not suitable for mixed washing, the server sends a prompt message to prompt the user that the laundry is not suitable for mixed washing.
Preferably, the server can send prompt information to the user terminal; or the server can also send prompt information to the washing machine, and after the washing machine receives the prompt information, the control indication module points to the clothes with color cross risk, or the control voice module sends alarm prompt information in a voice mode; or the server can also send prompt information to other household appliances such as a sound box, a television, an air conditioner and a refrigerator in the intelligent home system.
In step S523, if the probability is greater than the first preset probability but less than the second preset probability, for example, the first preset probability is 10%, the second preset probability is 30%, the probability of color cross of the laundry determined in step S413 is 20%, and is greater than the first preset probability but less than the second preset probability, indicating that there is a risk of color cross of the laundry together with the laundry but the color cross probability is low, in order to reduce the risk of color cross to completely avoid the color cross of the laundry, the server adjusts parameters of the laundry processing program, such as the current washing time of 40min, the rotation speed of 98rpm, the rotation-stop ratio of 0.4/0.45, and the washing temperature of 40 ℃, according to the laundry information, the formaldehyde content, and the probability, shortens the washing time to 33min, reduces the rotation speed to 93rpm, reduces the rotation-stop ratio to 0.4/0.5, reduces the washing temperature to 35 ℃, so as to reduce the probability of color cross of the laundry during the washing process, the use experience of the user is further improved.
As shown in fig. 6, the step of "the server controls the washing machine to run the laundry treating program according to the adjusted parameter" in the step S524 specifically includes:
s531, the server sends the adjusted parameters to the washing machine;
s532, after the server sends the adjusted parameters to the washing machine, judging whether the adjusted parameters are modified;
s533, if the adjusted parameter is not modified, controlling the washing machine to run the laundry treatment program according to the adjusted parameter;
and S534, if the adjusted parameters are modified, controlling the washing machine to run the clothes processing program according to the modified parameters.
In step S532, the server may determine whether the adjusted parameters are modified, or whether the adjusted parameters of the washing machine are modified, and those skilled in the art may flexibly adjust and set the execution main body of the step.
In step S533, if the adjusted parameter is not modified, which indicates that the user approves and approves the adjusted parameter, for example, the washing time adjusted in step S523 is 33min, the rotation speed is 93rpm, the spin-stop ratio is 0.4/0.5, and the washing temperature is 35 ℃, the washing machine is controlled to operate the laundry treatment process according to the adjusted parameter.
In step S534, if the adjusted parameter is modified, which indicates that the user does not approve the adjusted parameter, the user modifies the parameter of the laundry processing program according to the user 'S usage requirement, for example, the washing time is modified to 32min, the rotation speed is modified to 94rpm, the rotation/stop ratio is modified to 0.4/0.55, the washing temperature is modified to 32 ℃, and in order to meet the user' S usage requirement, the washing machine is controlled to operate the laundry processing program according to the modified parameter.
Alternatively, in an alternative embodiment, the server may send the adjusted parameters to the user side, and after sending the adjusted parameters to the user side, the server performs steps S532 to S534.
The user side can be an APP installed on a terminal device of a washing machine user, and the terminal device can be a mobile device, a computer and the like, or any combination thereof. In some embodiments, the mobile device may include, for example, a cell phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, and the like, or any combination thereof.
It should be noted that the above-listed determined probabilities, first preset probabilities, second preset probabilities, washing time, rotation speed, rotation/stop ratios and washing temperature are only exemplary, but not restrictive, and those skilled in the art can flexibly adjust and set the determined probabilities, first preset probabilities, second preset probabilities, washing time, rotation/stop ratios, rotation speed and washing temperature according to actual use requirements and models of washing machines in practical applications.
It should be further noted that, in the foregoing process, step S533 and step S534 are not in sequence, are parallel, and are only related to the determination result of whether the adjusted parameter is modified, and corresponding steps may be executed according to different determination results. In the above process, steps S521 to S523 have no sequence, are parallel, and are only related to the comparison result of the probability with the first preset probability and the second preset probability, respectively, and corresponding steps are executed according to different comparison results.
The control method of the present invention is further described below with reference to fig. 7. Fig. 7 is a flowchart of a control method after the prompt message is sent according to the present invention.
As shown in fig. 7, after step S522, the control method further includes:
s541, judging whether the clothes with color cross risk are taken out;
s542, if the clothes with color cross risk are taken out, controlling the washing machine to run a clothes processing program;
s543, if the clothes with the color cross risk are not taken out, acquiring a continuous operation instruction;
s544, if the continuous operation instruction is acquired, controlling the washing machine to operate the clothes processing program;
and S545, if the continuous operation instruction is not acquired, the washing machine is not controlled to operate the clothes treatment program.
In step S541, the specific manner of determining whether the laundry with color cross risk is taken out is: judging whether a door of the washing machine is opened or not, if the door of the washing machine is opened, judging that the clothes with the color cross risk are taken out, and if the door of the washing machine is not opened, judging that the clothes with the color cross risk are not taken out; or acquiring the current weight of the clothes, judging whether the current weight of the clothes is less than the weight of the clothes acquired last time, if the current weight of the clothes is greater than or equal to the weight of the clothes acquired last time, judging that the clothes with color cross risk are not taken out, and if the current weight of the clothes is less than the weight of the clothes acquired last time, judging that the clothes with color cross risk are taken out. Of course, the method of determining whether or not the clothes at risk of color cross are taken out is not limited to the above-mentioned method, and any method may be adopted as long as it is possible to determine whether or not the clothes at risk of color cross are taken out.
In step S542, if the laundry with color cross risk is taken out, indicating that there is no color cross risk in the remaining laundry in the inner tub of the washing machine, and the laundry can be mixed for washing, controlling the washing machine to run the laundry processing program.
In step S543, if the clothes with color cross risk are not taken out, which indicates that the clothes in the inner tub of the washing machine have color cross risk and are not suitable for mixed washing, a continuous operation instruction is further obtained, and whether to control the washing machine to operate the clothes processing program is further determined according to the obtaining condition of the continuous operation instruction.
In step S544, if the continuous operation instruction is obtained, it indicates that the user wishes or forcibly requires to mix and wash the laundry in the inner tub of the washing machine, in this case, the washing machine may be controlled to operate the laundry treatment program only to meet the user' S special requirements.
In step S545, if the continuous operation instruction is not obtained, it indicates that the user may not receive the prompt message, or the user may not receive the prompt message to process the program in time, and in order to avoid color contamination of the laundry due to mixing of the laundry, the washing machine is not controlled to operate the laundry processing program.
In the above process, step S542 and step S543 are not in sequence, are parallel, and are only related to the determination result of whether the clothes with color cross risk is taken out, and corresponding steps may be executed according to different determination results. In the above process, step S544 and step S545 have no sequence, are parallel, and are only related to whether an acquisition result of the continuous operation instruction is acquired, and corresponding steps are executed according to different acquisition results.
The control method of the present invention is further described below with reference to fig. 8. Fig. 8 is a complete flowchart of the control method of the present invention.
As shown in fig. 8, the server has a database; the control method further comprises the following steps:
step S600, under the condition that the color of the clothes is changed, the server acquires a processing scheme matched with the color-changed clothes from the database and sends the processing scheme to the user side, so that the user can timely process the color-changed clothes by adopting a correct method, the color-changed clothes can be timely saved, the color-changed condition is reduced to the minimum, and the loss is reduced to the minimum.
For example, white clothes are stained, the clothes are soaked in bleaching liquid mixed with water for about 20min and then washed by whitening soap; color mixing of colored clothes, namely soaking the clothes in clean water, putting the soaked clothes into a mixed solution of boiled soap water and alkaline water, and finally slightly kneading; alternatively, the washing may be performed with edible salt, or with a bleaching agent.
Alternatively, in an alternative embodiment, in the case where the laundry has been discolored, the server acquires a treatment recipe matching the discolored laundry from the database and transmits the treatment recipe to the washing machine.
Referring now to fig. 9, a possible control flow of the present invention is described. Fig. 9 is a logic diagram of the control method of the present invention.
As shown in fig. 9, one possible complete flow of the control method of the present invention is:
s701, after a user puts clothes into an inner barrel of the washing machine, the washing machine acquires images of the clothes;
s702, the washing machine acquires the formaldehyde content of the clothes;
s703, the washing machine sends the image and the formaldehyde content to a server;
s704, the server determines clothes information according to the image; wherein, the clothes information comprises color and material;
s705, the server determines the freshness and the old degree of the clothes according to the formaldehyde content;
s706, the server judges the probability k according to the clothes information and the clothes freshness and old degree;
s707, comparing k with 10% and 30% respectively;
if k is more than or equal to 10% and less than or equal to 30%, executing the steps S708 to S712;
if k > 30%, go to step S713;
if k is less than 10%, go to step S716;
s708, the server adjusts parameters of the clothes processing program according to the clothes information, the formaldehyde content and the probability;
s709, the server sends the adjusted parameters to the washing machine;
s710, judging whether the adjusted parameters are modified; if not, go to step S711; if yes, go to step S712;
s711, controlling the washing machine to run a clothes processing program according to the adjusted parameters;
s712, controlling the washing machine to run the clothes processing program according to the modified parameters;
s713, the server sends out prompt information to the user side to prompt that clothes of the user are not suitable for mixed washing;
after step S713, step S714 is performed;
s714, judging whether the clothes with color cross risk are taken out; if not, go to step S715; if yes, go to step S716;
s715, acquiring a continuous operation instruction;
if the continuous operation instruction is obtained, executing step S716;
if the continuous operation instruction is not obtained, executing step S717;
s716, controlling the washing machine to run a clothes treatment program;
s717, the washing machine is not controlled to run the clothes processing program;
in the course of the washing machine running the laundry processing program, if the laundry is cross-colored, executing step S718;
and S718, the server acquires the treatment scheme matched with the color-mixed clothes from the database and sends the treatment scheme to the user side or the washing machine.
It should be noted that the above-mentioned embodiment is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and in practical applications, those skilled in the art may perform the above-mentioned function allocation by different steps, i.e. the steps in the embodiment of the present invention are further divided or combined as needed. For example, the steps of the above embodiments may be combined into one step, or further divided into multiple sub-steps to complete all or part of the functions described above. For the names of the steps involved in the embodiments of the present invention, they are only for distinguishing the respective steps, and are not to be construed as limiting the present invention.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.