Summary of the invention
The embodiment of the present invention provides a kind of method and terminal for automatically selecting laundry mode, can be selected according to the material of clothing
The laundry mode for being suitble to need to wash clothing is selected, laundry damage caused by due to laundry mode selects mistake is reduced, improves use
The practical experience at family has very big practicability.
In a first aspect, the embodiment of the invention provides a kind of methods for automatically selecting laundry mode, including,
All material types of laundry item are identified according to preset rules, every kind of material type is under different laundry modes
Corresponding different damage ratio;
Calculate the total value of all material type corresponding damage ratios under each laundry mode;
Determine the minimum total in the total value of all damage ratios;
Laundry mode corresponding to the minimum total is set as current laundry mode.
Preferably, laundry mode corresponding to the minimum total is set as before current laundry mode washed,
Judge under the laundry mode corresponding to the minimum total, whether the corresponding damage ratio of every kind of material type is respectively less than or is equal to
Preset threshold;
If under the laundry mode corresponding to the minimum total, the corresponding damage ratio of every kind of material type is respectively less than or waits
In preset threshold, executes and laundry mode corresponding to the minimum total is set as the step that current laundry mode is washed
Suddenly.
Preferably, if under the laundry mode corresponding to the minimum total, the corresponding damage ratio of every kind of material type is not
Respectively less than or it is equal to preset threshold, display selection prompting frame carries out selecting required laundry mode for user.
Preferably, by the current laundry mode, technology is sent to washing machine to be washed accordingly by wireless communication
It washs.
On the other hand, the embodiment of the invention provides a kind of terminal, which includes,
Recognition unit, for identifying all material types of laundry item according to preset rules, every kind of material type is not
Different damage ratios is corresponded under same laundry mode;
Computing unit, for calculating the total value of all material type corresponding damage ratios under each laundry mode;
Determination unit, the minimum total in total value for determining all damage ratios;
Processing unit, for laundry mode corresponding to the minimum total to be set as current laundry mode.
Preferably, judging unit, for judging under the laundry mode corresponding to the minimum total, every kind of material type
Whether corresponding damage ratio is respectively less than or is equal to preset threshold;
Execution unit, if under the laundry mode corresponding to the minimum total, the corresponding damage of every kind of material type
Evil executes setup unit than being respectively less than or being equal to preset threshold.
Preferably, prompt unit, if under the laundry mode corresponding to the minimum total, every kind of material type pair
The damage ratio unevenness answered is less than or equal to preset threshold, and display selection prompting frame carries out selecting required laundry mould for user
Formula.
Preferably, sending module, for by the current laundry mode by wireless communication technology be sent to washing machine with
It is washed accordingly.
The embodiment of the present invention can select the laundry mode for being suitble to need to wash clothing according to the material of clothing, reduce because washing
Clothing mode-selection errors and caused by laundry damage, improve the practical experience of user, have very big practicability.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.It will be further appreciated that in description of the invention
Refer to any group of one or more of associated item listed with term "and/or" used in the appended claims
Conjunction and all possible combinations, and including these combinations.
It is a kind of schematic flow diagram of method for automatically selecting laundry mode provided in an embodiment of the present invention, such as referring to Fig. 1
Method shown in figure may include following steps,
Step S101 identifies all material types of laundry item according to preset rules, and every kind of material type is different
Different damage ratios is corresponded under laundry mode.
Wherein, identify that the material type of laundry item refers to that user in actual use generally can be certainly according to preset rules
Oneself distinguishes clothing material type or is heated by needing the clothing washed to mix with water, and is existed according to the temperature of mixture
The mapping table of temperature change and clothing material in certain time determines clothing material type, or is passed by clothing material
Sensor identifies clothing material type, or identifies clothing by identifying the label with clothing material type information of laundry item
Object material type.Herein, the material type of all laundry items can be successively identified before laundry, and is returned accordingly
Class determines all material types inside laundry item.
Furthermore every kind of material type corresponding damage ratio under different laundry modes be it is certain, damage ratio be judgement
A kind of referential data for receiving damage of material type under certain laundry mode, can be washed accordingly by damage ratio
The screening of clothing mode, to reduce the damage to laundry item in washing process.
Again because every kind of material type is corresponding different damage ratio under different laundry modes, therefore can also be with this
Judge damage ratio of all laundry items under different laundry modes.The damage ratio of every kind of material type, which can be, passes through outside
It is determined under experiment condition.Laundry mode refers to wash time, washing intensity, washing demand of the washing machine in washing process
The relevant clothes washing parameters with rinsing times etc..
Step S102 calculates the total value of all material type corresponding damage ratios under each laundry mode.
Wherein, it calculates under a kind of laundry mode wherein, then the total value of the damage ratio of all material types calculates again
Under another laundry mode, the total value of the damage ratio of all material types, until calculating all materials under all laundry modes
The total value of the damage ratio of matter type.
Step S103 determines the minimum total in the total value of all damage ratios.
Wherein, the total value of all damage ratios is ranked up from small to large, so that it is determined that minimum total therein.
Laundry mode corresponding to the minimum total is set as current laundry mode by step S104.
Wherein, the corresponding laundry mode of the minimum total, washing machine are washed under this laundry mode to institute
Laundry item damage be it is the smallest, it is all the corresponding laundry mode of minimum total to be set as current laundry
Mode.
The embodiment of the present invention can determine that a washing process damages the smallest laundry mode to laundry item, reduce because washing
Clothing mode-selection errors and caused by laundry damage, improve the usage experience of user, have very big practicability.
Referring to fig. 2, be another embodiment of the present invention provides a kind of method for automatically selecting laundry mode exemplary flow
To scheme, method as shown in the figure includes the following steps,
Step S201 identifies all material types of laundry item according to preset rules, and every kind of material type is different
Different damage ratios is corresponded under laundry mode.
Step S202 calculates the total value of all material type corresponding damage ratios under each laundry mode.
Step S203 determines the minimum total in the total value of all damage ratios.
Step S204a judges under the laundry mode corresponding to the minimum total, the corresponding damage of every kind of material type
Than whether being respectively less than or being equal to preset threshold.
Wherein, even if because under laundry mode corresponding to minimum total, it is also possible to have the damage ratio of material type
More than certain range, that is, it is more than certain preset threshold, in order to further protect laundry item, reduces the damage to laundry item
It is bad, it needs to judge under above-mentioned laundry mode, whether the corresponding damage ratio of every kind of material type is respectively less than or is equal to default threshold
Value.
Step S204b, if under the laundry mode corresponding to the minimum total, the corresponding damage ratio of every kind of material type
Respectively less than or it is equal to preset threshold, executes the step that laundry mode corresponding to the minimum total is set as to current laundry mode
Suddenly, that is, step S204 is executed.
It wherein, can be by it if so, showing that laundry mode corresponding to the minimum total is optimal laundry mode
It is set as current laundry mode.
Laundry mode corresponding to the minimum total is set as current laundry mode by step S204.
In addition, preferably, the method also includes step S205, if the laundry mould corresponding to the minimum total
Under formula, the corresponding damage ratio unevenness of every kind of material type be less than or equal to preset threshold, display selection prompting frame for user into
Laundry mode needed for row selection.
Wherein, if it is not, then showing that laundry mode corresponding to the minimum total can be to certain material type wait do washing
Object causes biggish damage, can show selection prompting frame at this time, the selection prompting frame may include several laundry mode with
It is selected for user.Further, select the laundry mode shown in prompting frame can be according to the damage of all material types
The size of ratio is ranked up so that user selects, it is of course also possible to according to the maximum value of the damage ratio under each pattern
Size is ranked up so that user selects, in order to further increase selection laundry mode accuracy, as long as a certain
It is more than preset threshold there are the damage ratio of laundry item under laundry mode, i.e., does not show the laundry mould in selection prompting frame
Formula can thus select to avoid user, reduce damage of the washing process to laundry item.
In addition, as it is further preferred that the current laundry mode is passed through nothing the method also includes step S206
Line communication technology is sent to washing machine to be washed accordingly.
Wherein, washing machine is equipped with the processing unit of corresponding wireless communication technique, when washing machine receives current laundry
It when mode, can be washed according to current laundry mode, not only increase the practical experience of user, also ensure laundry item
It is not damaged.
It is a kind of schematic block diagram of terminal provided in an embodiment of the present invention referring to Fig. 3, terminal 100 as shown in the figure can be with
Including,
Recognition unit 101, for identifying that all material types of laundry item, every kind of material type exist according to preset rules
Different damage ratios is corresponded under different laundry modes.
Wherein, identify that the material type of laundry item refers to that user in actual use generally can be certainly according to preset rules
Oneself distinguishes clothing material type or is heated by needing the clothing washed to mix with water, and is existed according to the temperature of mixture
The mapping table of temperature change and clothing material in certain time determines clothing material type, or is passed by clothing material
Sensor identifies clothing material type, or identifies clothing by identifying the label with clothing material type information of laundry item
Object material type.Herein, the material type of all laundry items can be successively identified before laundry, and is returned accordingly
Class determines all material types inside laundry item.
Again because every kind of material type is corresponding different damage ratio under different laundry modes, therefore can also be with this
Judge damage ratio of all laundry items under different laundry modes.The damage ratio of every kind of material type, which can be, passes through outside
It is determined under experiment condition.Laundry mode refers to wash time, washing intensity, washing demand of the washing machine in washing process
The relevant clothes washing parameters with rinsing times etc..
Computing unit 102, for calculating the total value of all material type corresponding damage ratios under each laundry mode.
Wherein, it calculates under a kind of laundry mode wherein, then the total value of the damage ratio of all material types calculates again
Under another laundry mode, the total value of the damage ratio of all material types, until calculating all materials under all laundry modes
The total value of the damage ratio of matter type.
Determination unit 103, the minimum total in total value for determining all damage ratios.
Wherein, the total value of all damage ratios is ranked up from small to large, so that it is determined that minimum total therein.
Processing unit 104, for laundry mode corresponding to the minimum total to be set as current laundry mode.
Wherein, the corresponding laundry mode of the minimum total, washing machine are washed under this laundry mode to institute
Laundry item damage be it is the smallest, it is all the corresponding laundry mode of minimum total to be set as current laundry
Mode.
The embodiment of the present invention can determine that a washing process damages the smallest laundry mode to laundry item, reduce because washing
Clothing mode-selection errors and caused by laundry damage, improve the usage experience of user, have very big practicability.
Referring to fig. 4, be another embodiment of the present invention provides a kind of terminal schematic block diagram, terminal 200 as shown in the figure
May include,
Recognition unit 201, for identifying that all material types of laundry item, every kind of material type exist according to preset rules
Different damage ratios is corresponded under different laundry modes.
Computing unit 202, for calculating the total value of all material type corresponding damage ratios under each laundry mode.
Determination unit 203, the minimum total in total value for determining all damage ratios.
Judging unit 204a, for judging under the laundry mode corresponding to the minimum total, every kind of material type pair
Whether the damage ratio answered is respectively less than or is equal to preset threshold.
Wherein, even if because under laundry mode corresponding to minimum total, it is also possible to have the damage ratio of material type
More than certain range, that is, it is more than certain preset threshold, in order to further protect laundry item, reduces the damage to laundry item
It is bad, it needs to judge under above-mentioned laundry mode, whether the corresponding damage ratio of every kind of material type is respectively less than or is equal to default threshold
Value.
Execution unit 204b, if every kind of material type is corresponding under the laundry mode corresponding to the minimum total
Damage ratio be respectively less than or be equal to preset threshold, execute setup unit.
It wherein, can be by it if so, showing that laundry mode corresponding to the minimum total is optimal laundry mode
It is set as current laundry mode.
Processing unit 204, for laundry mode corresponding to the minimum total to be set as current laundry mode
In addition, preferably, the terminal 200 can also include prompt unit 205, if in the minimum total
Under corresponding laundry mode, the corresponding damage ratio unevenness of every kind of material type is less than or equal to preset threshold, and display selection mentions
Show that frame carries out selecting required laundry mode for user.
Wherein, if it is not, then showing that laundry mode corresponding to the minimum total can be to certain material type wait do washing
Object causes biggish damage, can show selection prompting frame at this time, the selection prompting frame may include several laundry mode with
It is selected for user.Further, select the laundry mode shown in prompting frame can be according to the damage of all material types
The size of ratio is ranked up so that user selects, it is of course also possible to according to the maximum value of the damage ratio under each pattern
Size is ranked up so that user selects.
In addition, as it is further preferred that the terminal 200 further includes sending module 206, for by the current laundry
Technology is sent to washing machine to be washed accordingly to mode by wireless communication.
Wherein, washing machine is equipped with the processing unit of corresponding wireless communication technique, when washing machine receives current laundry
It when mode, can be washed according to current laundry mode, not only increase the practical experience of user, also ensure laundry item
It is not damaged.
In the specific implementation, terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the terminal of that embodiment of the invention can be combined, divided and deleted according to actual needs.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.