Clothes drying equipment control method and device, electronic equipment and storage medium
By monitoring the weight of clothes in real time and adjusting the fan status dynamically, the problem of existing clothes drying equipment ignoring changes in clothes during drying is solved, which improves drying efficiency and clothing protection, and improves user experience.
Patent Information
- Application Number
- CN202310636417.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing clothes drying equipment ignores changes in the state of the clothes during the drying process, resulting in low drying efficiency and the clothes may be damaged by excessive heating or blowing.
The weight of the clothes is monitored in real time through the gravity sensor, and the switch state of the fan is dynamically adjusted to ensure that the clothes are stopped in the appropriate dry state and avoid excessive care.
Improve drying efficiency, protect clothes, improve user experience, and prevent clothes from being damaged by excessive drying or heating.
Smart Images

Figure CN119061656A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to intelligent electrical appliance technology, and in particular to a method, device, electronic device and storage medium for controlling clothes drying equipment. Background Art
[0002] Smart clothes drying equipment is an integrated multifunctional smart clothes drying rack improved from the traditional hand-cranked clothes drying rack. It has multiple functions such as lighting, sterilization, air drying, drying and voice control. With the continuous development of the economy, smart clothes drying equipment has been widely used.
[0003] Most of the existing clothes drying equipment sets the drying mode of clothes in advance, ignoring the fact that the state of clothes will change during the drying process, such as humidity, temperature, etc. This reduces the efficiency of clothes drying and may also cause the clothes to be damaged due to excessive heating and blowing. Summary of the invention
[0004] The present invention provides a method, device, electronic device and storage medium for controlling clothes drying equipment, which can adjust the state of a fan in real time, avoid damage to clothes due to excessive care, and improve user experience.
[0005] In a first aspect, the present invention provides a method for controlling a clothes drying device, the method comprising:
[0006] Receiving a drying instruction sent by a user, and in response to the drying instruction, obtaining the weight of each piece of clothing at the current moment through each gravity sensor;
[0007] Controlling each fan corresponding to each piece of clothing to be adjusted from an off state to an on state;
[0008] Based on the weight of each clothing item at the current moment and the initial weight of each clothing item, determine whether the fan corresponding to each clothing item needs to be turned off at the current moment; take the next moment as the current moment, and repeat the step of obtaining the weight of at least one clothing item at the current moment through at least one gravity sensor until the fan corresponding to each clothing item needs to be turned off, and adjust the fan corresponding to each clothing item from the on state to the off state.
[0009] In a second aspect, the present invention provides a clothes drying equipment control device, the device comprising:
[0010] A receiving module, used to receive a drying instruction sent by a user, and in response to the drying instruction, obtain the weight of each piece of clothing at the current moment through each gravity sensor;
[0011] A control module, used to control each fan corresponding to each piece of clothing to be adjusted from an off state to an on state;
[0012] The adjustment module is used to determine whether the fan corresponding to each clothing item needs to be turned off at the current moment based on the weight of each clothing item at the current moment and the initial weight of each clothing item; taking the next moment as the current moment, repeatedly executing the step of obtaining the weight of at least one clothing item at the current moment through at least one gravity sensor until the fan corresponding to each clothing item needs to be turned off, and adjusting the fan corresponding to each clothing item from the on state to the off state.
[0013] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for controlling a clothes drying device as described in any one of the embodiments of the present invention is implemented.
[0014] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for controlling a clothes drying device as described in any one of the embodiments of the present invention.
[0015] In the present invention, a drying instruction sent by a user is received, and in response to the drying instruction, the weight of each piece of clothing at the current moment is obtained through each gravity sensor; each fan corresponding to each piece of clothing is controlled to be adjusted from a closed state to an open state; based on the weight of each piece of clothing at the current moment and the initial weight of each piece of clothing, it is determined whether the fan corresponding to each piece of clothing needs to be turned off at the current moment; the next moment is taken as the current moment, and the step of obtaining the weight of at least one piece of clothing at the current moment through at least one gravity sensor is repeatedly executed until the fan corresponding to each piece of clothing needs to be turned off, and the fan corresponding to each piece of clothing is adjusted from an open state to an off state. That is, in the present invention, the switch state of the fan can be controlled in real time according to the state of each piece of clothing, so as to avoid the situation where the clothing is damaged due to excessive care, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 A schematic diagram of a first flow chart of a method for controlling a clothes drying device provided by the present invention;
[0018] Figure 2 A second flow chart of the method for controlling a clothes drying device provided by the present invention;
[0019] Figure 3A third flow chart of the method for controlling a clothes drying device provided by the present invention;
[0020] Figure 4 A structural diagram of the clothes drying equipment control device provided by the present invention;
[0021] Figure 5 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION
[0022] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Figure 1 This is a schematic diagram of the first process of the method for controlling a clothes drying device provided by the present invention. The method of the present invention can be applied to intelligent electrical appliance control scenarios. The method can be executed by a clothes drying device control device applied to a server provided by the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated into an electronic device, such as a controller of a clothes drying device. The following embodiments will be described by taking the device integrated into the controller of a clothes drying device as an example. Figure 1 , the method may specifically include the following steps:
[0026] Step 101: Receive a drying instruction sent by a user, and in response to the drying instruction, obtain the weight of each piece of clothing at the current moment through each gravity sensor.
[0027] The drying instruction is an instruction for instructing the clothes drying device to start drying clothes. When the controller receives the drying instruction sent by the user, it means that the user has hung all the clothes to be dried on the clothes drying holes. At this time, the controller needs to obtain the weight of each piece of clothing at the current moment.
[0028] Specifically, the clothes drying device includes at least one clothes drying rod, each clothes drying rod has a plurality of clothes drying holes, a gravity sensor is arranged directly below each clothes drying hole, and a fan is arranged directly above each clothes drying hole. The user can send a start instruction to the clothes drying device through a mobile phone app or through a start button on the clothes drying device host. After receiving the start instruction, the clothes drying device can control each gravity sensor under each clothes drying hole to collect the weight of each piece of clothing at the current moment.
[0029] Step 102: Control each fan corresponding to each piece of clothing to be adjusted from a closed state to an open state.
[0030] The fans directly above each drying hole can blow air to each piece of clothing to speed up the drying of the clothing. Specifically, when the clothes drying device is not started, the fans are in a closed state. When the user hangs all the clothes to be dried on the clothes drying rod and starts the clothes drying device, the clothes drying device can control each fan above each piece of clothing to be in an open state.
[0031] For example, there are 10 drying holes on a clothes drying rod, and the user hangs clothes on 5 of the drying holes. After the user sends a start command to the clothes drying device, the clothes drying device can collect the weight of each piece of clothing sent by the 10 gravity sensors, and can determine the positions of the 5 clothes drying holes being used according to the weight of each piece of clothing sent by the gravity sensors. Furthermore, the clothes drying device can control the fans at the positions of the 5 clothes drying holes to be in an on state.
[0032] Step 103: Based on the weight of each clothing item at the current moment and the initial weight of each clothing item, determine whether the fan corresponding to each clothing item needs to be turned off at the current moment; take the next moment as the current moment, and repeat the step of obtaining the weight of at least one clothing item at the current moment through at least one gravity sensor until the fan corresponding to each clothing item needs to be turned off, and then adjust the fan corresponding to each clothing item from the on state to the off state.
[0033] Among them, the initial weight of each piece of clothing is the weight of each piece of clothing before being washed, which is determined by the controller before controlling each fan to be turned on. Specifically, if the weight of each piece of clothing at the current moment is significantly different from the initial weight of each piece of clothing, it means that the clothing has a high moisture content and needs to continue to be dried. The controller can take the next moment as the current moment and continue to obtain the weight of each piece of clothing at the current moment. Until the weight of each piece of clothing at the current moment is not much different from the initial weight of each piece of clothing, it means that the clothing has a low moisture content and does not need to be dried. At this time, the controller can turn off the fan.
[0034] In an optional embodiment, at least one camera is provided on the clothes drying rod of the clothes drying device. After the controller obtains the weight of each piece of clothing at the current moment through each gravity sensor, the controller obtains an image of at least one angle of each piece of clothing through at least one camera; performs image analysis on each image to obtain the contour features and texture features of each image; determines the volume of each piece of clothing based on the contour features of each image; determines the material of each piece of clothing based on the texture features of each piece of clothing; multiplies the weight per unit volume of each material preset by the volume of each piece of clothing corresponding to the material to obtain the initial weight of each piece of clothing. Subtracts the weight of each piece of clothing at the current moment from the initial weight of each piece of clothing to obtain the weight difference of each piece of clothing; determines whether the fan corresponding to each piece of clothing needs to be turned off at the current moment according to the weight difference of each piece of clothing; takes the next moment as the current moment, and repeatedly executes the step of obtaining the weight of at least one piece of clothing at the current moment through at least one gravity sensor, until the weight difference of each piece of clothing is less than the preset weight difference of each piece of clothing, and adjusts the fan corresponding to each piece of clothing from the on state to the off state.
[0035] The technical solution of this embodiment can receive the drying instruction sent by the user, and in response to the drying instruction, obtain the weight of each clothing at the current moment through each gravity sensor; control each fan corresponding to each clothing to be adjusted from the closed state to the open state; based on the weight of each clothing at the current moment and the initial weight of each clothing, determine whether the fan corresponding to each clothing needs to be turned off at the current moment; take the next moment as the current moment, and repeat the step of obtaining the weight of at least one clothing at the current moment through at least one gravity sensor until the fan corresponding to each clothing needs to be turned off, and adjust the fan corresponding to each clothing from the open state to the closed state. The technical solution of this embodiment can control the switch state of the fan in real time according to the state of each clothing, avoid the situation where the clothing is damaged due to excessive care, and further improve the user experience.
[0036] Figure 2 This is a second flow chart of the method for controlling the clothes drying device provided by the present invention. The specific method can be as follows: Figure 2 As shown, the method may include the following steps:
[0037] Step 201: Receive a drying instruction sent by a user, and in response to the drying instruction, obtain the weight of each piece of clothing at the current moment through each gravity sensor.
[0038] Step 202: Obtain the material and volume of each piece of clothing.
[0039] Among them, the material of clothing is the abbreviation of clothing material and its surface texture. The material of clothing is the most basic material basis for clothing. The material of clothing can be divided into soft, refreshing, glossy, thick and transparent fabrics. The weight of clothing of the same volume and different materials is different. For example, the initial weight of a sweater and a short-sleeved shirt of the same size is different. Therefore, if you want to obtain the initial weight of the clothing before washing, you need to obtain the material and volume of the clothing. In the embodiment of this scheme, optionally, obtaining the material and volume of each clothing includes the following steps A1-A3:
[0040] Step A1: Acquire an image of at least one angle of each clothing item through at least one camera.
[0041] Among them, at least one camera is arranged on the clothes drying rod of the clothes drying device, and the camera can rotate 360 degrees to take images of each piece of clothing from various angles. In an optional embodiment, after the controller obtains the weight of each piece of clothing at the current moment, the controller can send a start instruction to the camera. After receiving the start instruction sent by the controller, the camera takes images of each piece of clothing from various angles and sends the captured images to the controller.
[0042] Step A2: Perform image analysis on each image to obtain contour features and texture features of each image.
[0043] Image analysis is a process of using mathematical models and image processing techniques to analyze underlying features and upper structures, thereby extracting information with certain intelligence. Image analysis includes image feature extraction, which includes image contour feature extraction and texture extraction.
[0044] In an optional implementation, the commonly used contour feature extraction method includes the hollowing out internal point method. The controller can binarize each image. If the target pixel in the image is black and the eight pixels adjacent to it are all black, the target pixel is deleted, and each pixel on the boundary is traversed to obtain the contour feature of the image. The commonly used texture feature extraction method includes the statistical method. The statistical method is based on the grayscale properties of the pixel and its neighborhood, and studies the statistical characteristics in the texture area, or the first-order, second-order or high-order statistical characteristics of the grayscale in the pixel and its neighborhood. According to the statistical characteristics, the texture characteristics of the image are obtained.
[0045] Step A3: Determine the volume of each piece of clothing based on the contour features of each image; determine the material of each piece of clothing based on the texture features of each piece of clothing.
[0046] Specifically, the shape of different contours and the area enclosed by the contours can reflect the volume of the clothing. For example, the area enclosed by the contour of socks is smaller, while the area enclosed by the contour of a coat is larger. Different texture features correspond to different materials of clothing, and the material of the clothing can be determined based on the texture features of the clothing.
[0047] In the above steps, the controller can accurately determine the material and volume of the clothes based on the images of the clothes at various angles, laying the foundation for the subsequent calculation of the initial weight of the clothes.
[0048] Step 203: multiply the preset weight per unit volume of each material by the volume of each corresponding clothing item to obtain the initial weight of each clothing item.
[0049] The controller can determine the weight per unit volume of each material in advance based on the domain big data. After the controller determines the material and volume of each piece of clothing, the volume of each piece of clothing and the weight per unit volume corresponding to the material of each piece of clothing are multiplied to obtain the initial weight of each piece of clothing.
[0050] Step 204: Control each fan corresponding to each piece of clothing to be adjusted from a closed state to an open state.
[0051] Step 205: Subtract the current weight of each piece of clothing from the initial weight of each piece of clothing to obtain the weight difference of each piece of clothing.
[0052] Specifically, the greater the weight difference between the weight of each piece of clothing at the current moment and the initial weight of each piece of clothing, the greater the moisture content of the clothing. The smaller the weight difference between the weight of each piece of clothing at the current moment and the initial weight of each piece of clothing, the smaller the moisture content of the clothing. According to the moisture content of the clothing, it can be determined whether the clothing is dry at the current moment.
[0053] Step 206: based on the weight difference of each clothing item at the current moment, determine whether the fan corresponding to each clothing item needs to be turned off at the current moment; take the next moment as the current moment, and repeat the step of obtaining the weight of at least one clothing item at the current moment through at least one gravity sensor until the fan corresponding to each clothing item needs to be turned off, and then adjust the fan corresponding to each clothing item from the on state to the off state.
[0054] Specifically, if the weight of each piece of clothing at the current moment is significantly different from the initial weight of each piece of clothing, it means that the clothing has a high moisture content and needs to be aired further. Therefore, the weight difference of each piece of clothing can reflect the moisture content of each piece of clothing. In this solution, when the weight difference of each piece of clothing is less than the preset weight difference of each piece of clothing, it is determined that the fan corresponding to each piece of clothing needs to be turned off.
[0055] The controller may pre-set a preset weight difference based on domain big data, etc. In an optional implementation, after obtaining the weight difference of each piece of clothing, the weight of each piece of clothing at the current moment is subtracted from the initial weight of each piece of clothing to obtain the weight difference of each piece of clothing; if the weight difference of each piece of clothing is greater than or equal to the preset weight difference, it indicates that the clothing needs to continue to be aired. The next moment is taken as the current moment, and the step of obtaining the weight of at least one piece of clothing at the current moment through at least one gravity sensor is repeated until the weight difference of each piece of clothing is less than the preset weight difference of each piece of clothing, and the fan corresponding to each piece of clothing is adjusted from the on state to the off state.
[0056] In this embodiment, a drying instruction sent by a user is received, and in response to the drying instruction, the weight of each clothing at the current moment is obtained through each gravity sensor; the material and volume of each clothing are obtained. The preset weight per unit volume of each material is multiplied by the corresponding volume of each clothing to obtain the initial weight of each clothing. Each fan corresponding to each clothing is controlled to be adjusted from the closed state to the open state. The weight of each clothing at the current moment is subtracted from the initial weight of each clothing to obtain the weight difference of each clothing. Based on the weight of each clothing at the current moment and the initial weight of each clothing, it is determined whether the fan corresponding to each clothing needs to be turned off at the current moment; the next moment is taken as the current moment, and the step of obtaining the weight of at least one clothing at the current moment through at least one gravity sensor is repeatedly executed until the fan corresponding to each clothing needs to be turned off, and the fan corresponding to each clothing is adjusted from the open state to the closed state. The technical solution of this embodiment can determine the moisture content of the clothing in real time according to the weight of the clothing, and further determine whether the fan needs to be turned off according to the dry water content of the clothing, thereby improving the efficiency of drying the clothing, while avoiding the situation where the clothing is damaged due to excessive care, and improving the user experience.
[0057] The following is a further description of the control method of the clothes drying equipment. Figure 3 This is a third flow chart of the method for controlling the clothes drying equipment provided by the present invention. The method can be executed by the clothes drying equipment control device provided by the embodiment of the present invention. The specific method can be as follows: Figure 3 As shown, the method may include the following steps:
[0058] Step 301: Receive a drying instruction sent by a user, and in response to the drying instruction, obtain the weight of each piece of clothing at the current moment through each gravity sensor.
[0059] Step 302: Based on the weight of each piece of clothing at the current moment, the heater corresponding to each piece of clothing is controlled to be adjusted from the off state to the on state.
[0060] A heater is arranged directly above each drying hole, and each heater heats each piece of clothing to speed up the drying of the clothing. Specifically, when the drying device is not started, the heater is in an off state. When the user hangs all the clothing to be dried on the clothes drying rod and starts the drying device, the drying device can control each heater above each piece of clothing to be in an on state.
[0061] For example, there are 10 drying holes on a clothesline, and the user hangs clothes on 3 of the drying holes. After the user sends a start command to the clothesline device, the clothesline device can collect the weight of each piece of clothing sent by the 10 gravity sensors, and can determine the positions of the 3 clothesline holes being used according to the weight of each piece of clothing sent by the gravity sensors. Furthermore, the clothesline device can control the heaters at the positions of the 3 clothesline holes to be turned on.
[0062] Step 303: Acquire the material of each piece of clothing, and determine the target temperature of each piece of clothing corresponding to the material of each piece of clothing based on a predetermined correspondence between the material and the temperature.
[0063] The maximum temperature that clothes made of different materials can withstand is different. For example, the maximum temperature that clothes made of pure cotton can withstand is 80 degrees Celsius, and the maximum temperature that clothes made of silk can withstand is 50 degrees Celsius. The controller can determine the maximum temperature that various clothing materials can withstand in advance based on domain big data, and store the corresponding relationship between various materials and temperatures.
[0064] In an optional embodiment, at least one camera is provided on the clothes drying rod of the clothes drying device. When the controller adjusts the heater from the off state to the on state, the at least one camera obtains an image of at least one angle of each piece of clothing; image analysis is performed on each image to obtain the texture features of each image, and the material of each piece of clothing is determined based on the texture features of each piece of clothing. Furthermore, in the predetermined correspondence between the material and the temperature, the target temperature of each piece of clothing corresponding to the material of each piece of clothing is found.
[0065] Step 304, obtaining the temperature of each clothing item at the current moment through the temperature sensor corresponding to each clothing item, and determining whether the heater corresponding to each clothing item needs to be turned off at the current moment based on the temperature of each clothing item at the current moment and the target temperature; taking the next moment as the current moment, repeating the step of obtaining the temperature of each clothing item at the current moment through the temperature sensor corresponding to each clothing item until the heater corresponding to each clothing item needs to be turned off, and adjusting the heater corresponding to each clothing item from the on state to the off state.
[0066] Specifically, if the difference between the temperature of each piece of clothing at the current moment and the target temperature of each piece of clothing is small, it means that the temperature of the clothing has reached the highest temperature that it can withstand, and the clothing cannot be heated any more, otherwise the clothing may be damaged. In this solution, when the difference between the temperature of each piece of clothing at the current moment and the target temperature of each piece of clothing is less than a preset threshold, it is determined that the heater corresponding to each piece of clothing needs to be turned off at the current moment.
[0067] In an optional embodiment, after obtaining the target temperature of each clothing item, if the difference between the temperature of each clothing item and the target temperature of each clothing item is greater than a preset threshold, indicating that the temperature of the clothing item is low and needs to continue to be heated, the next moment is taken as the current moment, and the step of obtaining the temperature of each clothing item at the current moment through the temperature sensor corresponding to each clothing item is repeated until the difference between the temperature of each clothing item at the current moment and the target temperature of each clothing item is less than the preset threshold, and the heater corresponding to each clothing item is adjusted from the on state to the off state.
[0068] The technical solution of this embodiment can receive the drying instruction sent by the user, and in response to the drying instruction, obtain the weight of each clothing at the current moment through each gravity sensor; control the heater corresponding to each clothing to be adjusted from the off state to the on state; determine the target temperature of each clothing corresponding to the material of each clothing based on the predetermined correspondence between the material and the temperature. The temperature of each clothing at the current moment is obtained through the temperature sensor corresponding to each clothing, and based on the temperature of each clothing at the current moment and the target temperature of each clothing, determine whether the heater corresponding to each clothing needs to be turned off at the current moment; take the next moment as the current moment, and repeat the step of obtaining the temperature of each clothing at the current moment through the temperature sensor corresponding to each clothing, until the heater corresponding to each clothing needs to be turned off, and adjust the heater corresponding to each clothing from the on state to the off state. The technical solution of this embodiment can determine the maximum temperature that the clothing can withstand according to the material of the clothing, and adjust the switch state of the heater in real time according to the temperature of the clothing at the current moment, so as to avoid the situation that the clothing is damaged due to excessive heating, thereby improving the user experience.
[0069] Figure 4This is a structural diagram of a clothes drying equipment control device provided by the present invention, and the device is suitable for executing the clothes drying equipment control method provided by the present invention. Figure 4 As shown, the device may specifically include:
[0070] The receiving module 401 is used to receive a drying instruction sent by a user, and in response to the drying instruction, obtain the weight of each piece of clothing at the current moment through each gravity sensor;
[0071] The control module 402 is used to control each fan corresponding to each piece of clothing to be adjusted from an off state to an on state;
[0072] The adjustment module 403 is used to determine whether the fan corresponding to each clothing item needs to be turned off at the current moment based on the weight of each clothing item at the current moment and the initial weight of each clothing item; taking the next moment as the current moment, repeating the step of obtaining the weight of at least one clothing item at the current moment through at least one gravity sensor until the fan corresponding to each clothing item needs to be turned off, and adjusting the fan corresponding to each clothing item from the on state to the off state.
[0073] Optionally, before controlling each fan corresponding to each piece of clothing to be adjusted from a closed state to an open state, the control module 402 is specifically used to: obtain the material and volume of each piece of clothing;
[0074] The preset weight per unit volume of each material is multiplied by the volume of each corresponding clothing to obtain the initial weight of each clothing.
[0075] Optionally, the control module 402 is further configured to: acquire an image of at least one angle of each piece of clothing through at least one camera;
[0076] Perform image analysis on each image to obtain contour features and texture features of each image;
[0077] The volume of each piece of clothing is determined based on the contour features of each image; and the material of each piece of clothing is determined based on the texture features of each piece of clothing.
[0078] Optionally, the adjustment module 403 is specifically configured to: subtract the weight of each piece of clothing at the current moment from the initial weight of each piece of clothing to obtain a weight difference of each piece of clothing;
[0079] When the weight difference of each piece of clothing is less than the preset weight difference of each piece of clothing, it is determined that the fans corresponding to each piece of clothing need to be turned off.
[0080] Optionally, a heater and a temperature sensor are further provided directly above each drying hole of the clothes drying device. Before controlling each fan corresponding to each piece of clothing to be adjusted from an off state to an on state, the control module 402 is further used to: control the heater corresponding to each piece of clothing to be adjusted from an off state to an on state;
[0081] The temperature of each clothing item at the current moment is obtained through the temperature sensor corresponding to each clothing item, and based on the temperature of each clothing item at the current moment and the target temperature of each clothing item, it is determined whether the heater corresponding to each clothing item needs to be turned off at the current moment; taking the next moment as the current moment, repeating the step of obtaining the temperature of each clothing item at the current moment through the temperature sensor corresponding to each clothing item until the heater corresponding to each clothing item needs to be turned off, and adjusting the heater corresponding to each clothing item from the on state to the off state.
[0082] Optionally, the control module 402 is further used to determine the target temperature of each clothing item corresponding to the material of each clothing item based on a predetermined correspondence between the material and the temperature.
[0083] Optionally, the control module 402 is further used to: when the difference between the temperature of each clothing item at the current moment and the target temperature of each clothing item is less than a preset threshold, determine that the heater corresponding to each clothing item needs to be turned off at the current moment.
[0084] The clothes drying equipment control device provided in the embodiment of the present invention can execute the clothes drying equipment control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in this embodiment can refer to the description in any method embodiment of the present invention.
[0085] Figure 5 A schematic diagram of the structure of an electronic device provided by the present invention, such as Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0086] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0087] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a clothes drying device control method.
[0088] In some embodiments, the clothes drying device control method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the clothes drying device control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the clothes drying device control method in any other appropriate manner (e.g., by means of firmware).
[0089] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0090] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0091] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0092] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0093] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0094] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0097] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for controlling a clothes drying device, characterized in that: Applied to a clothes drying device, the clothes drying device comprises at least one clothes drying rod, the clothes drying rod comprises at least one clothes drying hole, a gravity sensor is arranged directly below each clothes drying hole, and a fan is arranged directly above each clothes drying hole, the method comprises: Receiving a drying instruction sent by a user, and in response to the drying instruction, obtaining the weight of each piece of clothing at the current moment through each gravity sensor; Controlling each fan corresponding to each piece of clothing to be adjusted from an off state to an on state; Based on the weight of each clothing item at the current moment and the initial weight of each clothing item, determine whether the fan corresponding to each clothing item needs to be turned off at the current moment; take the next moment as the current moment, and repeat the step of obtaining the weight of at least one clothing item at the current moment through at least one gravity sensor until the fan corresponding to each clothing item needs to be turned off, and adjust the fan corresponding to each clothing item from the on state to the off state.
2. The method according to claim 1, characterized in that Before controlling each fan corresponding to each piece of clothing to be adjusted from a closed state to an open state, the method further includes: Get the material and volume of each piece of clothing; The preset weight per unit volume of each material is multiplied by the volume of each corresponding clothing to obtain the initial weight of each clothing.
3. The method according to claim 2, characterized in that The clothes drying device further includes at least one camera to obtain the material and volume of each piece of clothing, including: Acquire an image of at least one angle of each piece of clothing by at least one camera; Perform image analysis on each image to obtain contour features and texture features of each image; The volume of each piece of clothing is determined based on the contour features of each image; and the material of each piece of clothing is determined based on the texture features of each piece of clothing.
4. The method according to claim 1, characterized in that: Based on the weight of each piece of clothing at the current moment and the initial weight of each piece of clothing, determining whether the fan corresponding to each piece of clothing needs to be turned off at the current moment includes: Subtract the current weight of each piece of clothing from its initial weight to obtain the weight difference of each piece of clothing; When the weight difference of each piece of clothing is less than the preset weight difference of each piece of clothing, it is determined that the fans corresponding to each piece of clothing need to be turned off.
5. The method according to claim 2, characterized in that: A heater and a temperature sensor are also provided directly above each clothes drying hole of the clothes drying device. Before controlling each fan corresponding to each piece of clothing to be adjusted from a closed state to an open state, the method further includes: Based on the weight of each piece of clothing at the current moment, the heater corresponding to each piece of clothing is controlled to be adjusted from an off state to an on state; The temperature of each clothing item at the current moment is obtained through the temperature sensor corresponding to each clothing item, and based on the temperature of each clothing item at the current moment and the target temperature of each clothing item, it is determined whether the heater corresponding to each clothing item needs to be turned off at the current moment; taking the next moment as the current moment, repeating the step of obtaining the temperature of each clothing item at the current moment through the temperature sensor corresponding to each clothing item until the heater corresponding to each clothing item needs to be turned off, and adjusting the heater corresponding to each clothing item from the on state to the off state.
6. The method according to claim 5, characterized in that Before obtaining the temperature of each clothing item at the current moment through the temperature sensor corresponding to each clothing item, the method further includes: determining the target temperature of each clothing item corresponding to the material of each clothing item based on a predetermined correspondence between the material and the temperature.
7. The method according to claim 5, characterized in that Based on the temperature of each piece of clothing at the current moment and the target temperature of each piece of clothing, determining whether the heater corresponding to each piece of clothing needs to be turned off at the current moment includes: When the difference between the temperature of each clothing item at the current moment and the target temperature of each clothing item is less than a preset threshold, it is determined that the heater corresponding to each clothing item needs to be turned off at the current moment.
8. A clothes drying equipment control device, characterized in that: The device comprises: A receiving module, used to receive a drying instruction sent by a user, and in response to the drying instruction, obtain the weight of each piece of clothing at the current moment through each gravity sensor; A control module, used to control each fan corresponding to each piece of clothing to be adjusted from an off state to an on state; The adjustment module is used to determine whether the fan corresponding to each clothing item needs to be turned off at the current moment based on the weight of each clothing item at the current moment and the initial weight of each clothing item; taking the next moment as the current moment, repeatedly executing the step of obtaining the weight of at least one clothing item at the current moment through at least one gravity sensor until the fan corresponding to each clothing item needs to be turned off, and adjusting the fan corresponding to each clothing item from the on state to the off state.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the clothes drying equipment control method as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the clothes drying equipment control method as described in any one of claims 1 to 7 is implemented.
