Disclosure of Invention
The embodiment of the invention provides a method and a system for determining a washing mode, a storage medium and an electronic device, which are used for at least solving the problems that the type of the washing mode of clothes to be washed cannot be rapidly determined and washing equipment cannot be informed to execute the corresponding washing mode in the related technology.
According to an embodiment of the present invention, there is provided a method of determining a washing pattern, including: carrying out image classification on the washing label pictures of a plurality of clothes to be washed to obtain a first washing category corresponding to each washing label picture; determining at least one washing operation corresponding to a plurality of clothes to be washed according to the first washing category corresponding to each washing label picture; and sending a washing instruction to the washing equipment according to the at least one washing operation so as to instruct the washing equipment to execute a corresponding washing mode according to the washing instruction.
In an exemplary embodiment, after image classification is performed on a plurality of washing label pictures of laundry to be washed, and a first washing category corresponding to each washing label picture is obtained, the method further includes: generating a washing list of the clothes to be washed under the condition that the clothes to be washed are multiple, wherein the washing list is used for indicating a plurality of first washing categories corresponding to each piece of clothes to be washed in the multiple pieces of clothes to be washed respectively; summarizing the same washing category of the plurality of clothes to be washed in the washing list to determine the intersection of the washing categories of at least two clothes to be washed in the plurality of clothes to be washed, wherein the intersection of the washing categories is used for indicating one or more clothes to be washed corresponding to the same washing category.
In an exemplary embodiment, after summarizing the same washing category of the plurality of laundry items in the washing list to determine an intersection of the washing categories of at least two laundry items of the plurality of laundry items, the method further comprises: determining target washing operation corresponding to one or more clothes to be washed according to the intersection; in a case where it is determined that the washing apparatus has the target washing mode corresponding to the target washing operation, a target washing instruction to perform the target washing mode is transmitted to the washing apparatus.
According to another embodiment of the present invention, there is provided another washing pattern determining method including: receiving a washing instruction sent by a mobile terminal, wherein the washing instruction is determined by the following steps: the mobile terminal carries out image classification on the washing label pictures of the clothes to be washed to determine a first washing category corresponding to each washing label picture, and determines a washing instruction determined by at least one washing operation corresponding to the clothes to be washed according to the first washing category; and executing a corresponding washing mode according to the washing instruction.
In an exemplary embodiment, before executing the corresponding washing mode according to the washing instruction, the method further includes: acquiring a set washing mode, wherein the washing mode comprises at least one of the following modes: the automatic washing mode preset by the washing equipment and the manual washing mode selected by the washing equipment are adopted; and determining an executable list of target washing instructions corresponding to the set washing mode, wherein the executable list is used for indicating an information list of washing instructions which are allowed to be executed and are set by the washing equipment at the time of factory setting.
In an exemplary embodiment, after determining the executable list of the target washing instructions corresponding to the set washing mode, the method further includes: matching the washing instructions according to the executable list; in case that the washing instruction exists in the executable list, it is determined that the set washing pattern is a pre-selected washing pattern of the laundry to be washed.
In an exemplary embodiment, after determining that the set washing pattern is the pre-selected washing pattern of the laundry to be washed in case that the washing instruction exists in the executable list, the method further includes: under the condition that the same piece of clothes to be washed has a plurality of preselected washing modes, receiving a confirmation instruction of a target object, wherein the confirmation instruction is used for indicating the target object to determine a selection instruction of the target preselected washing mode from the plurality of preselected washing modes; and executing a target pre-selection washing mode corresponding to the confirmation instruction to wash the clothes to be washed.
In an exemplary embodiment, after sending a washing instruction to the washing apparatus according to at least one washing operation to instruct the washing apparatus to perform a corresponding washing mode according to the washing instruction, the method further includes: acquiring an operation state list of all washing devices under a target account, wherein the operation state list is used for determining whether the washing devices are in one of the following states: working state and non-working state; sending the first washing category to a target washing device in a non-working state to instruct the target washing device to execute a washing mode corresponding to the first washing category, wherein the non-working state comprises at least one of the following states: standby state of the washing apparatus, and shutdown state of the washing apparatus.
According to another embodiment of the present invention, there is provided a washing pattern determining system including: the mobile terminal is used for carrying out image classification on the washing label pictures of a plurality of clothes to be washed to obtain a first washing category corresponding to each washing label picture; determining at least one washing operation corresponding to a plurality of clothes to be washed according to the first washing category; sending a washing instruction to the washing equipment according to at least one washing operation; and the washing equipment is connected with the mobile terminal and used for executing a corresponding washing mode according to the washing instruction.
In an exemplary embodiment, the mobile terminal is further configured to generate a washing list of the laundry to be washed if the laundry to be washed is a plurality of pieces, wherein the washing list is used for indicating a plurality of first washing categories corresponding to each piece of laundry to be washed in the plurality of pieces of laundry to be washed; summarizing the same washing category of the plurality of clothes to be washed in the washing list to determine the intersection of the washing categories of at least two clothes to be washed in the plurality of clothes to be washed, wherein the intersection of the washing categories is used for indicating one or more clothes to be washed corresponding to the same washing category.
In an exemplary embodiment, the mobile terminal is further configured to determine, according to the intersection, a target washing operation corresponding to one or more clothes to be washed; in a case where it is determined that the washing apparatus has the target washing mode corresponding to the target washing operation, a target washing instruction to perform the target washing mode is transmitted to the washing apparatus.
In an exemplary embodiment, the washing apparatus is further configured to obtain a set washing mode, where the washing mode includes at least one of: the automatic washing mode preset by the washing equipment and the manual washing mode selected by the washing equipment are adopted; and determining an executable list of target washing instructions corresponding to the set washing mode, wherein the executable list is used for indicating an information list of washing instructions which are allowed to be executed and are set by the washing equipment at the time of factory setting.
In an exemplary embodiment, the washing device is further configured to match the washing instructions according to an executable list; in case that the washing instruction exists in the executable list, it is determined that the set washing pattern is a pre-selected washing pattern of the laundry to be washed.
In an exemplary embodiment, the washing apparatus is further configured to receive a confirmation instruction of the target object when the same piece of laundry has a plurality of preselected washing modes, wherein the confirmation instruction is a selection instruction for instructing the target object to determine the target preselected washing mode from the plurality of preselected washing modes; and executing a target pre-selection washing mode corresponding to the confirmation instruction to wash the clothes to be washed.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the washing label pictures of a plurality of clothes to be washed are subjected to image classification to obtain a first washing category corresponding to each washing label picture; determining at least one washing operation corresponding to a plurality of clothes to be washed according to the first washing category corresponding to each washing label picture; according to at least one washing operation, a washing instruction is sent to the washing equipment to indicate the washing equipment to execute a corresponding washing mode according to the washing instruction, namely, the washing type of the clothes to be washed is quickly judged through the offline washing identification model, and the determined washing type is sent to the washing equipment to indicate the washing equipment to execute the corresponding washing mode.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a computer terminal or a similar operation device of an equipment terminal. Taking the operation on the device terminal as an example, fig. 1 is a hardware structure block diagram of the device terminal of the method for determining the washing mode according to the embodiment of the present invention. As shown in fig. 1, the device terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal of the above-described device. For example, the device terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the determination method of the washing mode in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the device terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the device terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a method for determining a washing pattern is provided, and fig. 2 is a flowchart of the method for determining a washing pattern according to the embodiment of the present invention, the flowchart including the steps of:
step S202, carrying out image classification on the washing label pictures of a plurality of clothes to be washed to obtain a first washing category corresponding to each washing label picture;
optionally, the obtained washing label picture of the laundry to be washed is input into an offline washing label identification model to obtain a first washing category corresponding to the washing label picture, where the offline washing label identification model is trained by machine learning using multiple sets of data, and each set of data in the multiple sets of data includes: washing the label picture and washing categories corresponding to the label picture;
step S204, determining at least one washing operation corresponding to the plurality of clothes to be washed according to the first washing category corresponding to each washing label picture;
step S206, according to the at least one washing operation, sending a washing instruction to the washing equipment to instruct the washing equipment to execute a corresponding washing mode according to the washing instruction.
Through the steps, image classification is carried out on the washing label pictures of a plurality of clothes to be washed, and a first washing category corresponding to each washing label picture is obtained; determining at least one washing operation corresponding to a plurality of clothes to be washed according to the first washing category corresponding to each washing label picture; according to at least one washing operation, a washing instruction is sent to the washing equipment to indicate the washing equipment to execute a corresponding washing mode according to the washing instruction, namely, the washing type of the clothes to be washed is quickly judged through the offline washing identification model, and the determined washing type is sent to the washing equipment to indicate the washing equipment to execute the corresponding washing mode.
It should be noted that the washing label is used for indicating a label carried in the clothes for explaining the washing requirement of the clothes, for example, in the clothes trousers which are usually bought by people, a label (usually white) is arranged at the edge, the top of the label is generally written with the characters of "washing instruction" or "certificate", and then explanation about the raw material components of the clothes trousers is arranged in the label, and pattern and literal explanation about the washing mode and the non-washing mode of the clothes trousers are also arranged in the label; the washing identification means that all washing mark patterns in the picture are automatically detected and identified from the shot washing mark picture of the clothes, the washing mark type of the clothes is obtained, and then the washing type which can be executed by the clothes is determined.
In an exemplary embodiment, after image classification is performed on a plurality of washing label pictures of laundry to be washed, and a first washing category corresponding to each washing label picture is obtained, the method further includes: generating a washing list of the clothes to be washed under the condition that the clothes to be washed are multiple, wherein the washing list is used for indicating a plurality of first washing categories corresponding to each piece of clothes to be washed in the multiple pieces of clothes to be washed respectively; summarizing the same washing category of the plurality of clothes to be washed in the washing list to determine the intersection of the washing categories of at least two clothes to be washed in the plurality of clothes to be washed, wherein the intersection of the washing categories is used for indicating one or more clothes to be washed corresponding to the same washing category.
It can be understood that, when a target object washes a plurality of clothes at the same time, in order to improve the efficiency of performing classified washing on the clothes, firstly, a plurality of washing categories corresponding to each piece of clothes in the clothes to be washed are identified according to the offline washing identifier model, further, in order to ensure the effect of simultaneously washing the clothes and avoid using an incorrect manner to wash the clothes, a washing list corresponding to the plurality of pieces of clothes to be washed is constructed, and the clothes with the same washing categories are summarized, so that the intersection of the washing categories of at least two pieces of clothes to be washed in the plurality of pieces of clothes to be washed is determined, the clothes to be washed with the intersection are simultaneously washed, and the accuracy of washing the clothes is improved.
In an exemplary embodiment, after summarizing the same washing category of the plurality of laundry items in the washing list to determine an intersection of the washing categories of at least two laundry items of the plurality of laundry items, the method further comprises: determining target washing operation corresponding to one or more clothes to be washed according to the intersection; in a case where it is determined that the washing apparatus has the target washing mode corresponding to the target washing operation, a target washing instruction to perform the target washing mode is transmitted to the washing apparatus.
For example, it is recognized at the time that the washing category of the laundry a exists: "hand washable", "maximum wash temperature 40 °, conventional procedure", "allow any bleach"; the washing categories of laundry B exist: "maximum wash temperature 40 °, routine", "allow any bleach", "hang dry"; determining the allowable conditions for washing two clothes simultaneously after taking intersection of the clothes A and the clothes B are as follows: "maximum wash temperature 40 °, routine", "allow any bleach".
Another method for determining a washing pattern is provided in the present embodiment, and fig. 3 is a flowchart of the method for determining a washing pattern according to the embodiment of the present invention, the flowchart including the steps of:
step S302, receiving a washing instruction sent by the mobile terminal, wherein the washing instruction is determined by the following method: the mobile terminal carries out image classification on the washing label pictures of the clothes to be washed to determine a first washing category corresponding to each washing label picture, and determines a washing instruction determined by at least one washing operation corresponding to the clothes to be washed according to the first washing category;
step S304, executing a corresponding washing mode according to the washing instruction.
Through the steps, a washing instruction sent by the mobile terminal is received, wherein the washing instruction is determined through the following modes: the mobile terminal carries out image classification on the washing label pictures of the clothes to be washed to determine a first washing category corresponding to each washing label picture, and determines a washing instruction determined by at least one washing operation corresponding to the clothes to be washed according to the first washing category; the corresponding washing mode is executed according to the washing instruction, namely, the quick judgment of the washing type of the clothes to be washed is realized through the offline washing identification model, and the determined washing type is sent to the washing equipment to indicate the washing equipment to execute the corresponding washing mode, so that the problem that the type of the washing mode of the clothes to be washed cannot be quickly determined and the washing equipment is informed to execute the corresponding washing mode in the prior art can be solved, further, the washing equipment can match the corresponding washing mode according to the determined washing type, the washing experience of a target object is improved, and the determination mode of an optimal washing strategy is improved.
In an exemplary embodiment, before executing the corresponding washing mode according to the washing instruction, the method further includes: acquiring a set washing mode, wherein the washing mode comprises at least one of the following modes: the automatic washing mode preset by the washing equipment and the manual washing mode selected by the washing equipment are adopted; and determining an executable list of target washing instructions corresponding to the set washing mode, wherein the executable list is used for indicating an information list of washing instructions which are allowed to be executed and are set by the washing equipment at the time of factory setting.
It can be understood that, when the washing apparatus leaves a factory, in order to facilitate the washing operation of the target object, the washing mode is preset according to the daily washing habit of the target object, so that the target object can execute the set washing mode on the washing apparatus by way of one-key activation, and in addition, in order to improve the diversity of the washing mode, the washing mode on the washing apparatus includes an automatic mode and a manual selection mode, and further, an executable list of the washing category corresponding to the set washing mode can be determined, so that after the washing category of the laundry is determined, the executable washing mode corresponding to the laundry is quickly determined by matching with the executable list.
In an exemplary embodiment, after determining the executable list of the target washing instructions corresponding to the set washing mode, the method further includes: matching the washing instructions according to the executable list; in case that the washing instruction exists in the executable list, it is determined that the set washing pattern is a pre-selected washing pattern of the laundry to be washed.
In short, since each piece of laundry may have a plurality of washing categories at the same time and more washing patterns may be determined in conjunction with the washing time, the set washing pattern is used as the pre-selected washing pattern of the laundry when it is determined that the first washing category determined by the laundry exists in the executable list.
In an exemplary embodiment, after determining that the set washing pattern is the pre-selected washing pattern of the laundry to be washed in case that the washing instruction exists in the executable list, the method further includes: under the condition that the same piece of clothes to be washed has a plurality of preselected washing modes, receiving a confirmation instruction of a target object, wherein the confirmation instruction is used for indicating the target object to determine a selection instruction of the target preselected washing mode from the plurality of preselected washing modes; and executing a target pre-selection washing mode corresponding to the confirmation instruction to wash the clothes to be washed.
That is, when the same piece of laundry may perform a plurality of pre-selected washing patterns, a target pre-selected washing pattern to be performed may be determined from the plurality of pre-selected washing patterns according to the washing demand of the target object, for example, there are "fast wash" and "soft wash" in the pre-selected washing pattern of the current laundry, but the current target object needs to save time, and thus, an instruction to determine "fast wash" as the washing pattern to be performed is issued.
In an exemplary embodiment, after sending a washing instruction to the washing apparatus according to at least one washing operation to instruct the washing apparatus to perform a corresponding washing mode according to the washing instruction, the method further includes: acquiring an operation state list of all washing devices under a target account, wherein the operation state list is used for determining whether the washing devices are in one of the following states: working state and non-working state; sending the first washing category to a target washing device in a non-working state to instruct the target washing device to execute a washing mode corresponding to the first washing category, wherein the non-working state comprises at least one of the following states: standby state of the washing apparatus, and shutdown state of the washing apparatus.
It can be understood that, since the target object may have a plurality of bound washing devices at the same time, and some washing devices are in the operation state of the washing mode, in order to improve the washing efficiency of the laundry to be washed, the operation states of the washing devices bound to the target object are obtained, the operation states of all the washing devices are determined, and then the washing types of the laundry to be washed are sent to the target washing device in the non-operation state, so as to save the washing time.
In order to better understand the process of the above washing pattern determining method, the following describes the flow of the above washing pattern determining method with reference to two alternative embodiments.
In an optional embodiment of the invention, a method for determining the washing identifier is mainly provided, the washing identifier is shot on the clothes, the washing type of the clothes is automatically obtained, and is combined with a self-carried mode of the washing machine, so that the washing machine can automatically select an optimal washing mode according to the washing identifier type of the clothes, and high-quality automatic professional washing and caring service is provided for customers.
As an optional implementation manner, the method for determining the washing identifier includes the following steps;
step one, deploying a trained offline water mark recognition model on a mobile phone APP;
step two, binding a washing machine (equivalent to washing equipment in the implementation of the invention) with an account of the mobile phone APP;
step three, the user (equivalent to the target object in the embodiment of the invention) sequentially shoots the washing marks of the clothes to be washed, then clicks the identification, the system calls an off-line washing mark identification engine to identify the positions and the types of all the washing mark frames of each picture
Step four, taking intersection according to the picture identification result to obtain the selectable categories of the current washing operation:
for example, panel a, identifying "can be hand washed", "maximum wash temperature 40 °, regular program", "allow any bleach"; panel B, identifying "maximum wash temperature 40 °, routine", "allow any bleach", "hang dry"; the picture content is identified, and according to the type of the identification tag, the intersection result is the "maximum washing temperature 40 °, the routine procedure", the "allow any bleaching agent", which is the selectable type of the current washing operation.
Step five, synchronizing the types which can be selected by the current washing operation and are obtained on the mobile phone APP to the washing machine through an account, and if the types which can be selected by the current washing operation only contain the self-carried mode of the washing machine, directly automatically washing by the washing machine; otherwise, the washing machine program may screen the modes in which the washing machine is operable and inoperable, which includes the following steps:
for example, "category selectable for current washing operation" { "maximum washing temperature 40 °, routine", "allow any bleaching agent" }; "washing machine self-contained mode" { "maximum washing temperature 40 °, normal program", "maximum washing temperature 50 °, normal program", "tumble drying usable, normal temperature", … … }; "washing machine operable mode" ═ d "washing machine self-contained mode" { "maximum washing temperature 40 °, normal program" } of a category that the current washing operation can be selected; "washing machine inoperable mode" - "washing machine operable mode" - "allows any bleaching agent" }; and then synchronizing the content of the 'inoperable washing machine mode' to the mobile phone through the account and prompting. After the user is prompted to operate (for example, the user is directly prompted to add bleaching agent), the washing machine can automatically wash after clicking confirmation.
In summary, according to the optional embodiment of the present invention, the washing mark types are obtained by automatically detecting and identifying all washing mark patterns in the photographed washing label picture, and then the washing mark types are combined with the self-contained mode of the washing machine to automatically select the optimal strategy for washing, so that the washing machine can automatically select the optimal washing mode according to the washing mark types of the clothes, and provide a better automatic professional washing and caring service for the customer.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a system for determining a washing mode is further provided, and the system is used to implement the above embodiments and preferred embodiments, and the description thereof is omitted. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a configuration of a washing pattern determining system according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
(1) the mobile terminal 42 is configured to perform image classification on the washing label pictures of a plurality of clothes to be washed to obtain a first washing category corresponding to each washing label picture; determining at least one washing operation corresponding to the plurality of clothes to be washed according to the first washing category; sending a washing instruction to the washing equipment according to the at least one washing operation;
(2) and the washing equipment 44 is connected with the mobile terminal and is used for executing a corresponding washing mode according to the washing instruction.
By the device, image classification is carried out on the washing label pictures of a plurality of clothes to be washed, and a first washing category corresponding to each washing label picture is obtained; determining at least one washing operation corresponding to a plurality of clothes to be washed according to the first washing category corresponding to each washing label picture; according to at least one washing operation, a washing instruction is sent to the washing equipment to indicate the washing equipment to execute a corresponding washing mode according to the washing instruction, namely, the washing type of the clothes to be washed is quickly judged through the offline washing identification model, and the determined washing type is sent to the washing equipment to indicate the washing equipment to execute the corresponding washing mode.
It should be noted that the washing label is used for indicating a label carried in the clothes for explaining the washing requirement of the clothes, for example, in the clothes trousers which are usually bought by people, a label (usually white) is arranged at the edge, the top of the label is generally written with the characters of "washing instruction" or "certificate", and then explanation about the raw material components of the clothes trousers is arranged in the label, and pattern and literal explanation about the washing mode and the non-washing mode of the clothes trousers are also arranged in the label; the washing identification means that all washing mark patterns in the picture are automatically detected and identified from the shot washing mark picture of the clothes, the washing mark type of the clothes is obtained, and then the washing type which can be executed by the clothes is determined.
In an exemplary embodiment, the mobile terminal is further configured to generate a washing list of the laundry to be washed if the laundry to be washed is a plurality of pieces, wherein the washing list is used for indicating a plurality of first washing categories corresponding to each piece of laundry to be washed in the plurality of pieces of laundry to be washed; summarizing the same washing category of the plurality of clothes to be washed in the washing list to determine the intersection of the washing categories of at least two clothes to be washed in the plurality of clothes to be washed, wherein the intersection of the washing categories is used for indicating one or more clothes to be washed corresponding to the same washing category. It can be understood that, when a target object washes a plurality of clothes at the same time, in order to improve the efficiency of performing classified washing on the clothes, firstly, a plurality of washing categories corresponding to each piece of clothes in the clothes to be washed are identified according to the offline washing identifier model, further, in order to ensure the effect of simultaneously washing the clothes and avoid using an incorrect manner to wash the clothes, a washing list corresponding to the plurality of pieces of clothes to be washed is constructed, and the clothes with the same washing categories are summarized, so that the intersection of the washing categories of at least two pieces of clothes to be washed in the plurality of pieces of clothes to be washed is determined, the clothes to be washed with the intersection are simultaneously washed, and the accuracy of washing the clothes is improved.
In an exemplary embodiment, the mobile terminal is further configured to determine, according to the intersection, a target washing operation corresponding to one or more clothes to be washed; in a case where it is determined that the washing apparatus has the target washing mode corresponding to the target washing operation, a target washing instruction to perform the target washing mode is transmitted to the washing apparatus.
For example, it is recognized at the time that the washing category of the laundry a exists: "hand washable", "maximum wash temperature 40 °, conventional procedure", "allow any bleach"; the washing categories of laundry B exist: "maximum wash temperature 40 °, routine", "allow any bleach", "hang dry"; determining the allowable conditions for washing two clothes simultaneously after taking intersection of the clothes A and the clothes B are as follows: "maximum wash temperature 40 °, routine", "allow any bleach".
In an exemplary embodiment, the washing apparatus is further configured to obtain a set washing mode, where the washing mode includes at least one of: the automatic washing mode preset by the washing equipment and the manual washing mode selected by the washing equipment are adopted; and determining an executable list of target washing instructions corresponding to the set washing mode, wherein the executable list is used for indicating an information list of washing instructions which are allowed to be executed and are set by the washing equipment at the time of factory setting.
It can be understood that, when the washing apparatus leaves a factory, in order to facilitate the washing operation of the target object, the washing mode is preset according to the daily washing habit of the target object, so that the target object can execute the set washing mode on the washing apparatus by way of one-key activation, and in addition, in order to improve the diversity of the washing mode, the washing mode on the washing apparatus includes an automatic mode and a manual selection mode, and further, an executable list of the washing category corresponding to the set washing mode can be determined, so that after the washing category of the laundry is determined, the executable washing mode corresponding to the laundry is quickly determined by matching with the executable list.
In an exemplary embodiment, the washing device is further configured to match the washing instructions according to an executable list; in case that the washing instruction exists in the executable list, it is determined that the set washing pattern is a pre-selected washing pattern of the laundry to be washed.
In short, since each piece of laundry may have a plurality of washing categories at the same time and more washing patterns may be determined in conjunction with the washing time, the set washing pattern is used as the pre-selected washing pattern of the laundry when it is determined that the first washing category determined by the laundry exists in the executable list.
In an exemplary embodiment, the washing apparatus is further configured to receive a confirmation instruction of the target object when the same piece of laundry has a plurality of preselected washing modes, wherein the confirmation instruction is a selection instruction for instructing the target object to determine the target preselected washing mode from the plurality of preselected washing modes; and executing a target pre-selection washing mode corresponding to the confirmation instruction to wash the clothes to be washed.
That is, when the same piece of laundry may perform a plurality of pre-selected washing patterns, a target pre-selected washing pattern to be performed may be determined from the plurality of pre-selected washing patterns according to the washing demand of the target object, for example, there are "fast wash" and "soft wash" in the pre-selected washing pattern of the current laundry, but the current target object needs to save time, and thus, an instruction to determine "fast wash" as the washing pattern to be performed is issued.
In the description of the present invention, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the device or assembly referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, and the two components can be communicated with each other. When an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When a component is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The specific meaning of the above terms in the present invention can be understood in specific cases to those skilled in the art.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
In an exemplary embodiment, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, carrying out image classification on the washing label pictures of a plurality of clothes to be washed to obtain a first washing category corresponding to each washing label picture;
s2, determining at least one washing operation corresponding to the plurality of clothes to be washed according to the first washing category corresponding to each washing label picture;
and S3, sending a washing instruction to the washing equipment according to the at least one washing operation to instruct the washing equipment to execute a corresponding washing mode according to the washing instruction.
In an exemplary embodiment, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, in the present embodiment, the processor may be configured to execute the following steps by a computer program:
s1, carrying out image classification on the washing label pictures of a plurality of clothes to be washed to obtain a first washing category corresponding to each washing label picture;
s2, determining at least one washing operation corresponding to the plurality of clothes to be washed according to the first washing category corresponding to each washing label picture;
and S3, sending a washing instruction to the washing equipment according to the at least one washing operation to instruct the washing equipment to execute a corresponding washing mode according to the washing instruction.
In an exemplary embodiment, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners, and details of this embodiment are not described herein again.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, which may be centralized on a single computing device or distributed across a network of computing devices, and in one exemplary embodiment may be implemented using program code executable by a computing device, such that the steps shown and described may be executed by a computing device stored in a memory device and, in some cases, executed in a sequence different from that shown and described herein, or separately fabricated into individual integrated circuit modules, or multiple ones of them fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.