Control method for smart home system
By obtaining motion parameters and clothing images in the smart home system and generating a washing program, the problem of mismatch between the program and clothing when the clothing processing device is started is solved, ensuring the improvement of cleaning effect and user experience.
Patent Information
- Application Number
- CN202011581797.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2040-12-28
AI Technical Summary
In the smart home system, the washing procedure sent directly by the clothing processing device at startup does not match the expected cleaning of the clothes, resulting in the inability to effectively clean the clothes worn by the user during exercise, reducing the user experience.
The user's movement parameters and clothing images are obtained through the sports equipment. The server generates a washing program and selectively sends it to the clothing processing device after obtaining the confirmation instructions to ensure that the program matches the clothing.
Ensure that the laundry processing equipment only runs the washing procedures when the clothes the user expects to wear, improves the cleaning effect and user experience, avoids mismatch, and achieves the most reasonable timing for program delivery.
Smart Images

Figure CN114687117B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart home, and specifically provides a control method for a smart home system. Background Art
[0002] In smart home life, taking the washing machine as an example, after the user finishes exercising, the user needs to manually set the washing program and washing parameters. However, users often have an inaccurate grasp of which washing program to choose and how to set the washing parameters, resulting in the selection of washing programs or the setting of washing parameters being inaccurate, making it difficult to clean the clothes.
[0003] In order to solve the above problems, in the prior art, a washing program is generated according to the amount of exercise and sweat of the user. When the washing machine is started, the washing program is directly sent to the washing machine through the Internet of Things so that the washing machine can wash according to the washing program. However, when the washing machine is started, the clothes that the washing machine is expected to wash may not be the clothes that the user wears during exercise, resulting in the washing program running by the washing machine not matching the clothes that are expected to be washed. Neither the clothes that are expected to be washed can be washed cleanly, nor the clothes that the user wears during exercise can be washed cleanly, which reduces the user's experience.
[0004] Therefore, the art needs a new control method for a smart home system to solve the above problems. Summary of the invention
[0005] In order to solve the above-mentioned problems in the prior art, that is, to solve the problem that the server of the existing smart home system directly sends the generated washing and care program to the clothing processing device when the clothing processing device is started, resulting in the problem that the washing program does not match the clothing, the present invention provides a control method for a smart home system, the smart home system comprises a clothing processing device, a motion device and a server, and both the clothing processing device and the motion device can communicate with the server; the control method comprises the following steps: the motion device obtains the user's motion parameters; the motion device obtains an image of the clothing; the motion device sends the motion parameters and the image to the server; the server generates a washing and care program according to the motion parameters and the image; after the server generates the washing and care program, the server obtains a confirmation instruction; according to the acquisition result, the server selectively sends the washing and care program to the clothing processing device so that the clothing processing device runs the washing and care program.
[0006] In the preferred technical solution of the above-mentioned control method, the step of "based on the acquisition result, the server selectively sends the washing and care program to the clothing processing device so that the clothing processing device runs the washing and care program" specifically includes: if the confirmation instruction is obtained, the server sends the washing and care program to the clothing processing device so that the clothing processing device runs the washing and care program.
[0007] In the preferred technical scheme of the above-mentioned control method, the step of "the server sends the washing and care program to the clothing processing device so that the clothing processing device runs the washing and care program" specifically includes: judging whether the clothing processing device is in the on state; if the clothing processing device is in the on state, the server directly sends the washing and care program to the clothing processing device so that the clothing processing device runs the washing and care program; or if the clothing processing device is in the off state, the server sends the washing and care program to the clothing processing device only when at least one of the following conditions is met, wherein the conditions include: the server sends a power-on instruction to the clothing processing device, and the state of the clothing processing device changes from the off state to the on state.
[0008] In the preferred technical solution of the above-mentioned control method, the step of "based on the acquisition result, the server selectively sends the washing and care program to the clothing processing device so that the clothing processing device runs the washing and care program" also includes: if the confirmation instruction is not obtained, the server does not send the washing and care program to the clothing processing device.
[0009] In the preferred technical solution of the above control method, the server communicates with the user terminal; the step of "obtaining a confirmation instruction" specifically includes: after the server sends a prompt message to the user terminal, the operation of obtaining the confirmation instruction is executed.
[0010] In the preferred technical solution of the above control method, the step of "the server generates a washing and care program according to the motion parameters and the image" specifically includes: the server determines the clothing information according to the image; the server generates the washing and care program according to the motion parameters and the clothing information.
[0011] In the preferred technical scheme of the above-mentioned control method, the washing and care program includes a washing program and a drying program; the step of "the server generates the washing and care program according to the motion parameters and the clothing information" specifically includes: judging whether the clothing processing device has a drying mode; if the clothing processing device has the drying mode, the server generates the washing program according to the motion parameters and the clothing information, and the server generates the drying program according to the clothing information.
[0012] In the preferred technical solution of the above control method, the step of "the server generates the washing program according to the motion parameters and the clothing information" also includes: if the clothing processing device does not have the drying mode, the server generates the washing program according to the motion parameters and the clothing information.
[0013] In the preferred technical scheme of the above control method, the clothing information includes color and material; the step of "the server generates the washing program according to the motion parameters and the clothing information" specifically includes: judging whether the clothing is suitable for mixed washing according to the color; if the clothing is suitable for mixed washing, the server determines the washing time according to the motion parameters, the server determines the washing temperature according to the material, and the server generates the washing program according to the washing time and the washing temperature; and / or if the clothing is not suitable for mixed washing, the server issues a prompt message to prompt the user that the clothing is not suitable for mixed washing and it is recommended to wash them separately; wherein the motion parameters include at least one of calories, exercise volume and sweat volume.
[0014] In the preferred technical solution of the above control method, the clothing information also includes quantity; the step of "the server generates the drying program according to the clothing information" specifically includes: the server determines the drying time according to the quantity; the server generates the drying program according to the drying time.
[0015] Those skilled in the art can understand that, in the preferred technical scheme of the control method of the present invention, the smart home system includes a washing machine, a treadmill and a server, and both the washing machine and the treadmill can communicate with the server; the control method includes the following steps: the treadmill obtains the user's motion parameters; the treadmill obtains the image of the clothes; the treadmill sends the motion parameters and the image to the server; the server generates a washing and care program according to the motion parameters and the image; after the server generates the washing and care program, it obtains a confirmation instruction; based on the acquisition result, the server selectively sends the washing and care program to the washing machine so that the washing machine runs the washing and care program.
[0016] Compared with the technical solution in the prior art that the server directly sends the generated washing program to the washing machine when the washing machine is started, the server of the present invention selectively sends the washing program to the washing machine based on the result of obtaining the confirmation instruction so that the washing machine runs the washing program, thereby avoiding sending the washing program to the washing machine when the clothes that the washing machine is expected to wash are not the clothes that the user wears when exercising, thereby avoiding the mismatch between the washing program and the clothes expected to be washed, and ensuring that the washing program is sent to the washing machine when the clothes that the washing machine is expected to wash are the clothes that the user wears when exercising, so that both the clothes expected to be washed and the clothes worn by the user when exercising can be washed cleanly, thereby achieving the purpose of providing the smart home system with the most reasonable sending time of the washing program to the washing machine, thereby improving the user experience.
[0017] Furthermore, the server determines the clothing information based on the image, and generates a washing and care program based on the motion parameters and clothing information, taking into account the impact of exercise parameters such as calories, exercise volume and sweat output during exercise on the washing effect, as well as the impact of information such as clothing color, material and quantity on the washing effect. This makes the washing and care program recommended by the server more accurate, provides more reasonable washing and care for clothing, and further improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The smart home system and control method of the present invention will be described below with reference to the accompanying drawings in combination with a washing machine and a treadmill, wherein:
[0019] Figure 1 is a structural diagram of the smart home system of the present invention;
[0020] Figure 2 is a flow chart of the control method of the present invention;
[0021] Figure 3 is a flow chart of a control method for determining whether a user has clothes in his hand according to the present invention;
[0022] Figure 4 is a flow chart of a control method of the server of the present invention generating a washing and care program according to motion parameters and clothing information;
[0023] Figure 5 is a flow chart of a control method for a server of the present invention to generate a washing program according to motion parameters and clothing information;
[0024] Figure 6 is a flow chart of a control method for a server of the present invention to generate a drying program according to clothing information;
[0025] Figure 7 is a flow chart of a control method in which a server of the present invention selectively sends a washing program to a washing machine;
[0026] Figure 8 is a flow chart of a control method in which a server sends a washing program to a washing machine according to the present invention;
[0027] Fig. 9 It is a logic diagram of the control method of the present invention.
[0028] Reference numerals list
[0029] 1. Washing machine; 2. Treadmill; 3. Server; 4. User end. DETAILED DESCRIPTION
[0030] The 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 used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention. For example, although the present application is described in conjunction with a washing machine and a treadmill, the technical solution of the present invention is not limited thereto, and the smart home system and control method can obviously also be applied to other household appliances such as dryers, integrated washing and drying machines, shoe washing machines, nursing machines, washing machines, televisions and refrigerators, as well as other sports equipment such as back muscle trainers, shoulder press trainers, pull-up machines, fitness bikes, and such changes do not deviate from the principles and scope of the present invention.
[0031] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0032] Based on the technical problems raised in the background technology, the present invention provides a control method for a smart home system, which aims to enable the server to selectively send a washing program to the washing machine based on the result of obtaining the confirmation instruction so that the washing machine runs the washing program, thereby avoiding sending the washing program to the washing machine when the clothes that the washing machine is expected to wash are not the clothes that the user wears when exercising, thereby avoiding the mismatch between the washing program and the clothes expected to be washed, and ensuring that the washing program is sent to the washing machine when the clothes that the washing machine is expected to wash are the clothes that the user wears when exercising, so that both the clothes expected to be washed and the clothes worn by the user when exercising can be washed cleanly, thereby achieving the purpose of providing the smart home system with the most reasonable sending time of the washing program to the washing machine, thereby improving the user experience.
[0033] See first Figure 1, the smart home system of the present invention is described. Among them, Figure 1 It is a structural diagram of the smart home system of the present invention.
[0034] like Figure 1 As shown, the smart home system of the present invention includes a washing machine 1, a treadmill 2 and a server 3. The washing machine 1 and the treadmill 2 can communicate with the server 3, and the server 3 can also communicate with the user terminal 4. It should be noted that although Figure 1 The user terminal 4 is shown in the figure, but the smart home system of the present invention only includes the washing machine 1, the treadmill 2 and the server 3, and does not necessarily include the user terminal 4. Figure 1 The user end 4 is shown only to better describe the sending timing of the washing and care program of the present invention, and does not constitute any limitation to the smart home system of the present invention.
[0035] Preferably, the washing machine 1, the treadmill 2 and the user terminal 4 can communicate with the server 3 via a wide area network, a local area network, WiFi, "WiFi+a router connected to the Internet", Bluetooth, ZIGBEE, NFC, GPRS or other communication methods.
[0036] Preferably, the treadmill 2 includes a detection module, an image acquisition module and a control module. The detection module is used to detect the user's running parameters, and the motion parameters include calories, exercise volume and sweat volume; the image acquisition module is used to capture images of clothing; and the control module is used to send the detection results of the detection module and the image of the user captured by the image acquisition module to the server 3. Of course, the motion parameters may also include only calories, exercise volume or sweat volume, or any two of calories, exercise volume and sweat volume, and those skilled in the art may flexibly adjust and set them. It should be noted that no matter what method the detection module adopts to obtain calories, exercise volume and sweat volume, the specific detection method corresponding to any one of the methods should not limit the present invention.
[0037] The image acquisition module may be, but is not limited to, a camera, etc.
[0038] In terms of physical form, the control module can be any type of controller, such as a programmable controller, a combinational logic controller, etc.
[0039] Preferably, the server 3 can receive motion parameters and image information from the treadmill 2, and generate a washing and care program according to the motion parameters and image information; and according to the result of obtaining the confirmation instruction, the server 3 selectively sends the washing and care program to the washing machine 1, so that the washing machine 1 runs the washing and care program. Of course, the server 3 can also only receive motion parameters from the treadmill 2, and generate a washing and care program according to the motion parameters, which can be flexibly adjusted and set by those skilled in the art.
[0040] The server 3 may be, but is not limited to, a cloud server and a backend server.
[0041] Preferably, the user terminal 4 can receive the prompt information from the server 3 and obtain the confirmation instruction. The user terminal 4 can be an APP installed on the terminal device of the user of the washing machine 1, and the terminal device can be, for example, a mobile device, a computer, etc., or any combination thereof. In some embodiments, the mobile device can include, for example, a mobile phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, etc., or any combination thereof.
[0042] The following takes the exercise parameters including calories, exercise volume and sweat volume as an example to further illustrate the control method for the smart home system of the present invention.
[0043] See also Figure 2 , the control method for the smart home system of the present invention is described. Figure 2 is a flow chart of the control method of the present invention.
[0044] like Figure 2 As shown, the control method for the smart home system of the present invention comprises the following steps:
[0045] S100, the treadmill obtains the user's exercise parameters;
[0046] S200, the treadmill acquires an image of clothing;
[0047] S300, the treadmill sends the motion parameters and images to the server;
[0048] S400, the server generates a washing and care program according to the motion parameters and the image;
[0049] S500, after the server generates the washing and care program, obtain a confirmation instruction;
[0050] S600. According to the acquisition result, the server selectively sends the washing and care program to the washing machine so that the washing machine runs the washing and care program.
[0051] Among them, exercise parameters include calories, exercise volume and sweat volume.
[0052] In step S100, when the user is running on the treadmill, the treadmill detects the user's exercise parameters such as calories, exercise volume, and sweat volume through a detection module.
[0053] In step S200, when the user is running on the treadmill, the treadmill obtains images of clothing through image acquisition modules such as cameras and still cameras.
[0054] In step S500, the step of "obtaining a confirmation instruction" specifically includes that the user terminal performs the operation of obtaining the confirmation instruction after the server sends a prompt message to the user terminal; or the washing machine performs the operation of obtaining the confirmation instruction after the server sends a prompt message to the washing machine. Of course, the execution subject of the above steps can also be the server, that is, the server performs the operation of obtaining the confirmation instruction.
[0055] The user end may be an APP installed on a terminal device of a washing machine user, and 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 mobile phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, or any combination thereof.
[0056] It should be noted that, in the above process, the execution order of step S100 and step 200 is not limited to the order listed above, and step S200 may be executed first and then step S100, or step S100 and step S200 may be executed simultaneously. Those skilled in the art may flexibly adjust and set the execution order of step S100 and step S200 according to actual use requirements. In step S300, the motion parameters may be sent to the server first and then the image may be sent to the server, or the image may be sent to the server first and then the motion parameters may be sent to the server. Those skilled in the art may flexibly adjust and set the order of sending the motion parameters and the image to the server according to actual use requirements.
[0057] Refer to the following Figures 3 to 6 , the control method of the server of the present invention for generating a washing and care program according to motion parameters is described. Figure 3 is a flow chart of a control method for determining whether a user has clothes in his hand according to the present invention; Figure 4 is a flow chart of a control method of the server of the present invention generating a washing and care program according to motion parameters and clothing information; Figure 5 is a flow chart of a control method for a server of the present invention to generate a washing program according to motion parameters and clothing information; Figure 6 It is a flow chart of a control method in which a server of the present invention generates a drying program according to clothing information.
[0058] like Figure 3 As shown, in step S400, the step of "the server generates a washing and care program according to the motion parameters and the image" specifically includes:
[0059] S411, the server determines clothing information according to the image;
[0060] S412. The server generates a washing and care program according to the motion parameters and clothing information.
[0061] The clothing information includes color, material and quantity. Of course, the clothing information may also include only color, material or quantity, or any two of color, material and quantity, which can be flexibly adjusted and set by those skilled in the art.
[0062] The following further describes step S313 by taking information such as color, material and quantity as examples.
[0063] First, let's take the example of getting the color of clothes to further explain:
[0064] After the server receives the image of the clothing from the treadmill, the image processing program set on the server extracts the RGB value of the color of the clothing in the image, compares the RGB value with the preset RGB judgment model, and obtains the color information of the clothing, wherein the preset RGB judgment model can be preset as: 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., and the present invention does not impose any restrictions on this. Among them, the RGB color mode is a color standard, which obtains various colors by changing the three color channels of red (R), green (G), and blue (B) and superimposing them on each other. RGB represents the colors of the three channels of red, green, and blue.
[0065] Secondly, let's take the material of clothing as an example to further explain:
[0066] After the server receives the image of the clothing from the treadmill, the image processing program set on the server performs grayscale processing on the received image, and compares the processed result with the preset grayscale judgment model to obtain the material information of the clothing, wherein the preset grayscale judgment model can be preset as: grayscale value 60% is fiber, grayscale value 100% is cotton and linen, grayscale value 30% is polyester, etc. The present invention does not impose any restrictions on this.
[0067] Again, let's take the example of getting the number of clothes to further illustrate:
[0068] After the server receives the image of the clothes from the treadmill, the image processing program set on the server depicts the outlines of all the clothes in the image based on the received image containing the clothes, counts how many pieces of clothes are depicted in the picture, and determines the number of clothes based on the counted number of pieces of clothes.
[0069] It should be noted that when multiple users are exercising, the exercise parameters and clothing information of each user are obtained separately, and the server generates a washing and care program based on all the obtained exercise parameters and clothing information.
[0070] like Figure 4As shown, the washing and care program includes a washing program and a drying program; in step S412, the step of "the server generates a washing and care program according to the motion parameters and clothing information" specifically includes:
[0071] S421, determining whether the washing machine has a drying mode;
[0072] S422: If the washing machine has a drying mode, the server generates a washing program according to the motion parameters and the clothing information, and the server generates a drying program according to the clothing information;
[0073] S423: If the washing machine does not have a drying mode, the server generates a washing program according to the motion parameters and clothing information.
[0074] In step S422, if the washing machine has a drying mode, in order to avoid the user hanging up the stored clothes, the server generates a washing program based on the exercise parameters and the clothing information, and generates a drying program based on the clothing information. The clothes can be washed and dried, making it convenient for the user to wear them directly the next time he exercises, thereby improving the user experience.
[0075] In step S423, if the washing machine does not have a drying mode and cannot dry the washed clothes, the server can only generate a washing program based on the motion parameters and clothing information, which can clean the clothes and thus improve the user experience.
[0076] It should be noted that, in the above process, step S422 and step S423 have no order of precedence and are parallel, and are only related to the judgment result of whether the washing machine has a drying mode. The corresponding steps can be executed according to different judgment results.
[0077] like Figure 5 As shown, in step S422 and step S423, the step of "the server generates a washing program according to the motion parameters and clothing information" specifically includes:
[0078] S431, judging whether the clothes are suitable for mixed washing according to the colors;
[0079] S432: If the clothes are suitable for mixed washing, the server determines the washing time according to the motion parameters;
[0080] S433, the server determines the washing temperature according to the material;
[0081] S434, the server generates a washing program according to the washing time and washing temperature;
[0082] S435. If the clothes are not suitable for mixed washing, the server sends a prompt message to remind the user that the clothes are not suitable for mixed washing and recommends washing them separately.
[0083] In step S432 to step S434, if the clothes are suitable for mixed washing, it means that the clothes washed together are of the same color, for example, the clothes washed together are all dark colors such as black, dark red, dark gray, dark green, dark blue, dark purple, etc., or the clothes washed together are all light colors such as light yellow, light pink, light blue, etc., or the clothes washed together are all white, etc. There is no risk of color bleeding when washing clothes of the same color together, and they can be mixed for washing. The server determines the washing time according to exercise parameters such as calories, exercise volume and sweat volume, that is, determines the degree of dirtiness of the clothes according to exercise parameters such as calories, exercise volume and sweat volume, and determines the washing time according to the degree of dirtiness of the clothes, so as to ensure that the clothes are washed clean; the server determines the washing temperature according to the material, for example, the maximum washing temperature for cotton and linen is 40°C, the maximum washing temperature for fiber is 60°C, and the maximum washing temperature for silk is 35°C, so as to avoid damage to the clothes; then, the server generates a washing program according to the above-determined washing time and washing temperature, so as to provide a reasonable washing effect for the clothes.
[0084] In step S435, if the clothes are not suitable for mixed washing, it means that the clothes washed together are not of the same color. For example, the clothes washed together are dark colors such as black, dark red, dark gray, dark green, dark blue, dark purple, and white colors, or the clothes washed together are dark colors such as black, dark red, dark gray, dark green, dark blue, dark purple, and light colors. There is a risk of color blending when washing clothes of different colors together, and they cannot be mixed for washing. The server then sends a prompt message to remind the user that the clothes are not suitable for mixed washing and it is recommended to wash them separately.
[0085] Preferably, the server can send a prompt message to the user terminal, or the server can also send a prompt message to the washing machine, or the server can also send a prompt message to other household appliances such as televisions, air conditioners, refrigerators, etc. in the smart home system.
[0086] It should be noted that, in the above process, step S432 and step S435 have no order of precedence and are parallel, and are only related to the judgment result of whether the clothes are suitable for mixed washing. The corresponding steps can be executed according to different judgment results.
[0087] It should also be noted that in the above process, the execution order of step S432 and step S433 is not limited to the order listed above. Step S433 may be executed first and then step S432, or step S432 and step S433 may be executed at the same time. Technical personnel in this field can flexibly adjust and set the execution order of step S432 and step S433 according to actual usage requirements.
[0088] like Figure 6 As shown, in step S422, the step of "the server generates a drying program according to the clothing information" specifically includes:
[0089] S441, the server determines the drying time according to the quantity;
[0090] S442: The server generates a drying program according to the drying time.
[0091] Specifically, the server determines the drying time according to the quantity, for example, one piece of clothing needs to be dried for 15 minutes, three pieces of clothing need to be dried for 30 minutes, five pieces of clothing need to be dried for 50 minutes, etc. As the number of clothes increases, the drying time gradually increases, avoiding the clothes not being dried due to a short drying time and avoiding the waste of resources due to a long drying time. Then, the server generates a drying program according to the drying time to provide a reasonable drying effect for the clothes.
[0092] Refer to the following Figure 7 and Figure 8 , the control method of the server of the present invention selectively sending the washing and care program to the washing machine is described. Among them, Figure 7 is a flow chart of a control method in which a server of the present invention selectively sends a washing program to a washing machine; Figure 8 It is a flow chart of a control method in which a server of the present invention sends a washing program to a washing machine.
[0093] like Figure 7 As shown, in step S600, the step of "according to the acquisition result, the server selectively sends the washing and care program to the washing machine so that the washing machine runs the washing and care program" specifically includes:
[0094] S611: If a confirmation instruction is obtained, the server sends the washing and care program to the washing machine so that the washing machine runs the washing and care program;
[0095] S612: If no confirmation instruction is obtained, the server does not send the washing program to the washing machine.
[0096] In step S611, if a confirmation instruction is obtained, it means that the clothes that the user plans to wash are the clothes he wears when exercising, and the washing program determined by the server matches the clothes that the user plans to wash and can wash the clothes that are planned to be washed clean. Then the server sends the washing program to the washing machine so that the washing machine runs the washing program.
[0097] In step S612, if no confirmation instruction is obtained, it means that the clothes that the user plans to wash are not the clothes he wears when exercising, and the washing program determined by the server does not match the clothes that the user plans to wash, and the clothes that are planned to be washed cannot be washed cleanly, then the server will not send the washing program to the washing machine.
[0098] It should be noted that, in the above process, step S611 and step S612 have no order of precedence and are parallel, and are only related to the acquisition result of the confirmation instruction. The corresponding steps can be executed according to different acquisition results.
[0099] like Figure 8 As shown, in step S611, the step of "the server sends the washing and care program to the washing machine so that the washing machine runs the washing and care program" specifically includes:
[0100] S621, determining whether the washing machine is in the on state;
[0101] S622: If the washing machine is in the on state, the server directly sends the washing and care program to the washing machine so that the washing machine runs the washing and care program;
[0102] S623: If the washing machine is in the off state, the server sends the washing program to the washing machine only after the server sends a power-on command to the washing machine and the state of the washing machine changes from the off state to the on state.
[0103] In step S622, if the washing machine is in the on state, it means that the washing machine has been started and is about to wash the clothes worn by the user during exercise. The server directly sends the washing program to the washing machine so that the washing machine runs the washing program to clean the clothes worn by the user during exercise.
[0104] Preferably, after the washing machine receives the washing and care program, the server can control the washing machine to run the washing and care program, the user can operate the washing machine to run the washing and care program, or the user end can control the washing machine to run the washing and care program. Technical personnel in this field can flexibly adjust and set it according to actual usage requirements.
[0105] In step S623, if the washing machine is in the off state, it means that the washing machine has not been started yet. Even if the washing and care program is sent to the washing machine, the washing machine cannot run the washing and care program. In order to ensure that the washing machine can run the washing and care program, the server sends a start-up command to the washing machine and the state of the washing machine changes from the off state to the on state. The server will send the washing and care program to the washing machine.
[0106] It should be noted that, when it is determined that the washing machine is in the off state, the conditions for when the server sends the washing and care program to the washing machine are not limited to the above-mentioned conditions. The server may also send the washing and care program to the washing machine only at the same time or after the server sends the power-on command to the washing machine; or the server may send the washing and care program to the washing machine after the user operates the power button of the washing machine to change the state of the washing machine from the off state to the on state. Those skilled in the art can flexibly adjust and set the conditions for when to send the washing and care program to the washing machine in actual applications.
[0107] It should also be noted that in the above process, step S622 and step S623 have no order of precedence and are parallel, and are only related to the judgment result of whether the washing machine is in the on state. The corresponding steps can be executed according to different judgment results.
[0108] Refer to the following Fig. 9 , a possible control process of the present invention is introduced. Among them, Fig. 9 It is a logic diagram of the control method of the present invention.
[0109] like Fig. 9 As shown, a possible complete process of the control method of the present invention is:
[0110] S701. When a user is running on a treadmill, the treadmill obtains the user's exercise parameters, wherein the exercise parameters include calories, exercise volume, and sweat volume;
[0111] S702, the treadmill acquires an image of clothing;
[0112] S703, the treadmill sends the motion parameters and images to the server;
[0113] S704, the server determines clothing information according to the image; wherein the clothing information includes color, material and quantity;
[0114] S705, determining whether the washing machine has a drying mode; if so, executing step S706; if not, the server executes step S708;
[0115] S706, the server determines the drying time according to the quantity;
[0116] S707, the server generates a drying program according to the drying time;
[0117] S708, the server determines whether the clothes are suitable for mixed washing according to the color; if so, execute step S709; if not, execute step S712;
[0118] S709, the server determines the washing time according to the motion parameters;
[0119] S710, the server determines the washing temperature according to the material;
[0120] S711. The server generates a washing program according to the washing time and washing temperature;
[0121] S712: The server sends a prompt message to the user to remind him that the clothes are not suitable for mixed washing and recommends washing them separately.
[0122] After step S711, execute step S713;
[0123] S713, the server sends a prompt message to the user terminal;
[0124] S714, obtaining a confirmation instruction;
[0125] If a confirmation instruction is obtained, execute step S715;
[0126] If no confirmation instruction is obtained, execute step S717;
[0127] S715, determining whether the washing machine is in the power-on state; if so, executing step S716; if not, executing step S716 after the server sends a power-on instruction to the washing machine;
[0128] S716. The server sends the washing and care program to the washing machine so that the washing machine runs the washing and care program;
[0129] S717: The server does not send the washing program to the washing machine.
[0130] It should be pointed out that the above embodiment is only a preferred implementation of the present invention, which is only used to illustrate the principle of the method of the present invention, and is not intended to limit the scope of protection of the present invention. In practical applications, those skilled in the art can allocate the above functions to different steps as needed, that is, decompose or combine the steps in the embodiment of the present invention. For example, the steps of the above embodiment can be combined into one step, or further divided into multiple sub-steps to complete all or part of the functions described above. The names of the steps involved in the embodiments of the present invention are only for distinguishing the steps and are not regarded as limitations of the present invention.
[0131] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A control method for a smart home system, characterized in that: The smart home system includes a clothes processing device, a sports device and a server, and both the clothes processing device and the sports device can communicate with the server; The control method comprises the following steps: The sports device obtains the sports parameters of the user; The sports device acquires an image of the clothing; The motion device sends the motion parameter and the image to the server; The server generates a washing and care program according to the motion parameters and the image; After the server generates the washing and care program, obtaining a confirmation instruction; According to the acquisition result, the server selectively sends the washing and care program to the clothes processing device so that the clothes processing device runs the washing and care program, specifically including: If the confirmation instruction is obtained, the server sends the washing and care program to the clothes processing device so that the clothes processing device runs the washing and care program, which specifically includes: determining whether the laundry processing device is in a powered-on state, If the laundry processing device is in a powered-on state, the server directly sends the washing and care program to the laundry processing device so that the laundry processing device runs the washing and care program, and / or If the clothes processing device is in a shutdown state, the server sends the washing program to the clothes processing device only when at least one of the following conditions is met: The conditions include: The server sends a power-on instruction to the laundry processing device. The state of the clothes processing device changes from an off state to an on state.
2. The control method according to claim 1, characterized in that: The step of "according to the acquisition result, the server selectively sends the washing and care program to the clothes processing device so that the clothes processing device runs the washing and care program" also includes: If the confirmation instruction is not obtained, the server does not send the washing program to the clothing processing device.
3. The control method according to claim 1 or 2, characterized in that: The server communicates with the client; The steps of "obtaining confirmation instructions" specifically include: The operation of obtaining the confirmation instruction is performed only after the server sends the prompt information to the user terminal.
4. The control method according to claim 1, characterized in that: The step of "the server generates a washing and care program according to the motion and the image parameters" specifically includes: The server determines clothing information according to the image; The server generates the washing and care program according to the motion parameters and the clothing information.
5. The control method according to claim 4, characterized in that: The washing and care program includes a washing program and a drying program; The step of "the server generates the washing and care program according to the motion parameters and the clothing information" specifically includes: Determining whether the clothes processing device has a drying mode; If the laundry processing device has the drying mode, the server generates the washing program according to the motion parameter and the laundry information, and the server generates the drying program according to the laundry information.
6. The control method according to claim 5, characterized in that: The step of "the server generates the washing program according to the motion parameters and the clothing information" also includes: If the laundry treating device does not have the drying mode, the server generates the washing program according to the motion parameter and the laundry information.
7. The control method according to claim 5 or 6, characterized in that: The clothing information includes color and material; The step of "the server generates the washing program according to the motion parameters and the clothing information" specifically includes: judging whether the clothes are suitable for mixed washing according to the colors; If the clothes are suitable for mixed washing, the server determines the washing time according to the motion parameters, The server determines the washing temperature according to the material. The server generates the washing program according to the washing time and the washing temperature; and / or If the clothes are not suitable for mixed washing, the server sends a prompt message to remind the user that the clothes are not suitable for mixed washing and recommends washing them separately; The exercise parameter includes at least one of calories, exercise volume and sweat volume.
8. The control method according to claim 5, characterized in that: The clothing information also includes quantity; The step of "the server generates the drying program according to the clothing information" specifically includes: The server determines the drying time according to the quantity; The server generates the drying program according to the drying time.
