CN113584839B - Fan control method, mobile terminal and computer readable storage medium - Google Patents

Fan control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN113584839B
CN113584839B CN202010366677.2A CN202010366677A CN113584839B CN 113584839 B CN113584839 B CN 113584839B CN 202010366677 A CN202010366677 A CN 202010366677A CN 113584839 B CN113584839 B CN 113584839B
Authority
CN
China
Prior art keywords
clothes
fan
laundry
dried
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010366677.2A
Other languages
Chinese (zh)
Other versions
CN113584839A (en
Inventor
陈小平
唐清生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunmi Internet Technology Guangdong Co Ltd
Original Assignee
Yunmi Internet Technology Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yunmi Internet Technology Guangdong Co Ltd filed Critical Yunmi Internet Technology Guangdong Co Ltd
Priority to CN202010366677.2A priority Critical patent/CN113584839B/en
Publication of CN113584839A publication Critical patent/CN113584839A/en
Application granted granted Critical
Publication of CN113584839B publication Critical patent/CN113584839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F58/00Domestic laundry dryers
    • D06F58/32Control of operations performed in domestic laundry dryers 
    • D06F58/34Control of operations performed in domestic laundry dryers  characterised by the purpose or target of the control
    • D06F58/36Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry
    • D06F58/38Control of operational steps, e.g. for optimisation or improvement of operational steps depending on the condition of the laundry of drying, e.g. to achieve the target humidity
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F34/00Details of control systems for washing machines, washer-dryers or laundry dryers
    • D06F34/04Signal transfer or data transmission arrangements
    • D06F34/05Signal transfer or data transmission arrangements for wireless communication between components, e.g. for remote monitoring or control
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F2103/00Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
    • D06F2103/02Characteristics of laundry or load
    • D06F2103/04Quantity, e.g. weight or variation of weight
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F2103/00Parameters monitored or detected for the control of domestic laundry washing machines, washer-dryers or laundry dryers
    • D06F2103/02Characteristics of laundry or load
    • D06F2103/08Humidity
    • DTEXTILES; PAPER
    • D06TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
    • D06FLAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
    • D06F2105/00Systems or parameters controlled or affected by the control systems of washing machines, washer-dryers or laundry dryers
    • D06F2105/30Blowers

Abstract

The embodiment of the application discloses a fan control method, a mobile terminal and a computer readable storage medium, and the embodiment of the application can acquire an image containing clothes; identifying a wet area of the garment from the image; generating a track interface according to the wet area; receiving a sliding operation input by a user based on the track interface; determining an operating parameter of the fan according to the sliding operation; and controlling the fan to run according to the running parameters. According to the scheme, the input sliding operation is received in the track interface generated based on the wet area of the clothes to determine the operation parameters of the fan, so that the operation of the fan is controlled based on the operation parameters, and the convenience and accuracy of fan control are improved.

Description

Fan control method, mobile terminal and computer readable storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to a fan control method, a mobile terminal, and a computer readable storage medium.
Background
Along with the improvement of the living standard of people, the demand of people on clothes is greatly increased, but under different airing conditions, especially when the clothes are in overcast and rainy weather or wet weather, the airing time of the clothes is long, even the clothes are not dried, at the moment, people can generally dry the clothes by adopting open fire or blow the clothes by using electric hair drier, so that a great amount of time is consumed, and the clothes are burnt slightly without attention. Or, people can dry clothes by using the dryer, but the dried clothes are easy to shrink, especially for cotton clothes, the shrinkage is more serious, and the service life of the clothes is influenced. Or, people can blow the clothes to dry by using the fan, but the fan can only blow air according to a fixed mode in the running process, so that the clothes cannot be blown to dry well as soon as possible, the time required for blowing to dry is long, energy is wasted, and the requirements of people cannot be met.
Disclosure of Invention
The embodiment of the application provides a fan control method, a mobile terminal and a computer readable storage medium, which can improve the convenience and accuracy of fan control.
In a first aspect, an embodiment of the present application provides a fan control method, including:
acquiring an image containing laundry;
identifying a wet area of the garment from the image;
generating a track interface according to the wet area;
receiving a sliding operation input by a user based on the track interface;
determining an operating parameter of the fan according to the sliding operation;
and controlling the fan to run according to the running parameters.
In a second aspect, an embodiment of the present application further provides a mobile terminal, including a memory and a processor, where the memory stores a computer program, and the processor executes any one of the fan control methods provided in the embodiments of the present application when calling the computer program in the memory.
In a third aspect, embodiments of the present application further provide a computer readable storage medium storing a computer program, where the computer program is loaded by a processor to perform any one of the fan control methods provided in the embodiments of the present application.
The embodiment of the application can acquire the image containing the clothes, identify the wet area of the clothes according to the image, and generate the track interface according to the wet area; and then receiving sliding operation input by a user based on the track interface, determining operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters. According to the scheme, the input sliding operation is received in the track interface generated based on the wet area of the clothes to determine the operation parameters of the fan, so that the operation of the fan is controlled based on the operation parameters, and the convenience and accuracy of fan control are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a fan control method according to an embodiment of the present application;
FIG. 2 is a schematic illustration of an image of a garment provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of determining a supply air trajectory based on a sliding operation according to an embodiment of the present application;
FIG. 4 is another schematic diagram of determining a supply air trajectory based on a sliding operation according to an embodiment of the present application;
FIG. 5 is a schematic diagram of determining operating parameters based on a sliding operation provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of natural wind detection provided by an embodiment of the present application;
FIG. 7 is a schematic view showing a display of a time required for drying laundry according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
The embodiment of the application provides a fan control method, a mobile terminal and a computer readable storage medium. The fan control method can be applied to a mobile terminal, and the mobile terminal can comprise a mobile terminal such as a smart phone, a tablet computer, a palm computer or a notebook computer, and the like, and is used for controlling a fan, and the details will be described below.
Referring to fig. 1, fig. 1 is a flow chart of a fan control method according to an embodiment of the application. The fan control method may include steps S101 to S106, etc., and specifically may be as follows:
s101, acquiring an image containing clothes.
The clothes may include clothes, socks, or towels, etc. that need to be dried, and the image of the clothes may be collected by a camera or other image collecting device preset in the clothes drying area, where the clothes may include one or more pieces, and the setting position, type, or shooting angle of the image collecting device may be flexibly set according to actual needs, and the specific content is not limited herein, for example, the image including the clothes may be as shown in fig. 2.
In some embodiments, acquiring an image containing the laundry may include: after the clothes are aired for a preset time, detecting whether the clothes are dried or not; if the clothes are not dried, an image containing the clothes is acquired through the camera.
In order to realize that after the clothes are dried for a preset time, under the condition that the clothes are not dried yet, the fan is started to assist the clothes to be dried as soon as possible, so that convenience and flexibility of fan control are improved, specifically, when the clothes start to be dried, the timer is started to start timing, after the timer counts the preset time, the fact that the clothes are dried for the preset time is indicated, and whether the clothes are dried or not can be detected. The preset time can be flexibly set according to actual needs, for example, the preset time can be set by a user or is a default time.
In some embodiments, detecting whether the laundry is dry may include: acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried; if the current weight is greater than the reference weight, determining that the clothes are not dried; if the current weight is less than or equal to the reference weight, it is determined that the laundry is dried.
In order to improve the accuracy of the laundry drying detection, whether the laundry has been dried may be determined by the weight of the laundry. Specifically, when the laundry is in a dry state, the weight of the laundry may be detected by an electronic scale, a gravity sensor, or the like in advance, to obtain a reference weight, and the reference weight may be stored. And collecting the current weight of the currently-aired clothes through a gravity sensor preset on the clothes airing rod or the clothes hanger, comparing the current weight with a pre-stored reference weight, and judging whether the current weight of the clothes is larger than the reference weight. If the current weight is greater than the reference weight, determining that the clothes are not dried; if the current weight is less than or equal to the reference weight, it is determined that the laundry is dried.
When the clothes are included, the current weight of each clothes can be compared with the corresponding reference weight, or the current weight of each clothes is summed to obtain the total weight, the reference weight of each clothes is summed to obtain the total reference weight, then the total weight is compared with the total reference weight, and if the total weight is larger than the total reference weight, the clothes are determined to be not dried; if the total weight is less than or equal to the total reference weight, determining that the laundry is dried.
In some embodiments, detecting whether the laundry is dry may include: collecting current images containing all surfaces of clothes and corresponding reference images when the clothes are dried; if the pixels of the current image and the reference image are not matched, determining that the clothes are not dried; if the pixels of the current image and the reference image match, it is determined that the laundry is dried.
In order to improve the convenience of the laundry drying detection, whether the laundry is dried or not may be determined through the pixel comparison of the images. Specifically, when the laundry is in a dry state, images including the respective surfaces of the laundry may be acquired in advance from different photographing angles by an image acquisition apparatus such as a camera or a camera, to obtain a reference image, and the reference image may be stored.
Then, images including the surfaces of the clothes can be acquired from different shooting angles through one or more image acquisition devices preset in the clothes airing area to obtain a plurality of current images, and the current images of the corresponding shooting angles are compared with the reference images, for example, the current images of the front face of the clothes A are compared with the reference images of the front face of the clothes A. Judging whether the pixels of the current image and the reference image are matched, wherein the color of the clothes in a wet state is different from the color of the clothes in a dry state, so that if the pixels of the current image and the reference image are not matched, the clothes are determined to be not dried, and if the pixels of the current image and the reference image are matched, the clothes are determined to be dried. The pixel matching can be that the pixel value of the clothes in the current image and the pixel value of the clothes in the reference image are smaller than a preset threshold value, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, acquiring an image containing the laundry may include: when the clothes are detected to exist in the clothes airing area, an image containing the clothes is acquired through the camera.
In order to realize that when clothes begin to be dried, the fan is started to assist the clothes to be dried as soon as possible, so that the reliability of fan control is improved. Specifically, an image in a clothes airing area can be acquired through image acquisition equipment such as a camera preset in the clothes airing area, an initial image is obtained, whether clothes exist in the clothes airing area or not is detected based on the initial image, when the clothes exist in the clothes airing area are detected, an image containing the clothes is acquired through the camera, and when the clothes do not exist in the clothes airing area, the image containing the clothes cannot be acquired.
S102, identifying the wet area of the clothes according to the image.
In some embodiments, identifying the wet area of the laundry from the image may include: acquiring a corresponding reference image when clothes are dried; comparing the pixel value of the image with that of the reference image to obtain pixel difference; the wet area of the laundry is determined according to the pixel difference.
In order to improve the accuracy of the identification of the wet area of the laundry, the wet area of the laundry may be determined based on the pixel differences of the laundry in the image. For example, a pre-stored reference image corresponding to the laundry during drying may be obtained, and then the collected image of the laundry is compared with the reference image in pixel value, that is, the pixel value of the area where the laundry is located in the image of the laundry is compared with the pixel value of the area where the laundry is located in the reference image, so as to obtain the pixel difference. Since the pixel value of the laundry in the wet state is different from the pixel value of the laundry in the dry state, the wet area of the laundry may be determined according to the pixel difference of the laundry between the image of the laundry and the reference image.
In some embodiments, identifying the wet area of the laundry from the image may include: and identifying the image through a preset identification model to obtain the wet area.
In order to improve accuracy of identifying the wet area of the clothes, the wet area of the clothes in the image can be identified through the identification model, for example, the wet area of the clothes in the image can be identified through a preset identification model, and the wet area is obtained. The type of the identification model can be flexibly set according to actual needs, the identification model can be an object detection model SSD or a YOLOv3, and the identification model can also be a convolutional neural network CNN or R-CNN. The recognition model can be trained through a plurality of sample images containing clothes with different humidity types, so that a trained recognition model is obtained, and the preset recognition model is the trained recognition model.
S103, generating a track interface according to the wet area.
The track interface can be flexibly set according to actual needs, for example, the track interface can comprise clothes, marked multiple wet areas, candidate air supply tracks and the like.
In some embodiments, generating the trajectory interface from the wet zone comprises: determining the moisture level of the clothes according to the moisture area, and acquiring the position of the clothes; a trajectory interface is generated according to the moisture level and the position of the laundry.
In order to improve the display effect of the track interface and the flexibility of generating the track interface, the humidity level of the laundry may be determined according to the humidity area of the laundry, for example, since the pixel values of the laundry at different humidity levels are different, the pixel values of the laundry may be detected based on the image of the laundry, and the humidity level of the laundry may be determined according to the pixel values. For another example, since the weights of the laundry at different humidity levels are different, the weight of the laundry may be detected, and the humidity level of the laundry may be determined according to the weight of the laundry. And acquiring the position of the clothes in the image, and generating a track interface according to the humidity level and the position of the clothes. For example, the laundry may be displayed in the track interface based on the position of the laundry, and the position of the wet area on the laundry may be determined, and then different wet areas may be marked with different colors on the laundry, etc. based on the level of wetness, the position of the wet area on the laundry, etc., so that the user may intuitively see the wet position of the laundry, the degree of wetness corresponding to the different wet positions, etc.
S104, receiving sliding operation input by a user based on the track interface.
After the track interface is obtained, the track interface can be displayed, and the sliding operation input by the user is received based on the displayed track interface.
S105, determining the operation parameters of the fan according to the sliding operation.
In some embodiments, determining the operating parameters of the fan according to the sliding operation may include: and determining a track passed by the sliding operation to obtain an air supply track, and setting the air supply track as the operation parameter of the fan.
In order to improve the flexibility of determining the operation parameters, for example, as shown in fig. 3, a sliding operation may be performed in a track interface, and a track through which the sliding operation passes may be determined, so as to obtain an air supply track (shown by a black line in fig. 3), where the air supply track is the operation parameters of the fan. For another example, as shown in fig. 4, a sliding operation may be performed on the track interface, and a track through which the sliding operation passes may be determined, so as to obtain an air supply track (as shown by a black line in fig. 4), where the air supply track is an operation parameter of the fan.
In some embodiments, determining the operating parameters of the fan according to the sliding operation may include: and determining the area through which the sliding operation passes, and determining the air supply range, the air quantity and/or the temperature of the air of the fan according to the parameters corresponding to the area determination to obtain the operation parameters.
In order to improve the convenience of determining the operation parameters, the track interface may further include, in addition to the clothes, the operation parameters such as the air supply range, the air supply track, the air volume, and the temperature of the fan selected by the user, for example, as shown in fig. 5, the sliding operation input by the user may be received in the track interface, and the area where the sliding operation passes may be determined, for example, the area where the sliding operation passes through the air volume 1, the air supply range 2, and the temperature 3 in fig. 5, and according to the parameters corresponding to these areas, the operation parameters of the fan may be determined to be the air supply range 2, the air volume 1, and the temperature 3 of the air, so that the operation parameters of the fan may be obtained.
S106, controlling the fan to operate according to the operation parameters.
After determining the operating parameters of the fan, the fan may be controlled to operate in accordance with the operating parameters. Wherein, the fan may include one or more, and when the fan includes a plurality of fans, the fans may be controlled to all operate according to the operation parameters, or the operation parameters corresponding to each fan may be respectively determined, so as to control each fan to operate according to the operation parameters corresponding to each fan.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method may further include: detecting whether the clothes are dried, and turning off the fan when the clothes are dried.
In order to improve the intelligence and convenience of the fan control, whether the clothes are dried may be detected in real time or at preset time intervals during the operation of the fan, for example, whether the clothes are dried may be determined through the pixel comparison of the image of the clothes, or whether the clothes are dried may be determined through the weight of the clothes, etc. When the clothes are not dried, maintaining the on state of the fan; when the laundry has been dried, the fan is turned off.
In some embodiments, detecting whether the laundry has been dried may include: and acquiring the current target weight of the clothes and the corresponding reference weight when the clothes are dried, and determining that the clothes are dried when the target weight is smaller than or equal to the reference weight.
In order to improve the accuracy of the laundry drying detection, whether the laundry has been dried may be determined by the weight of the laundry. Specifically, when the laundry is in a dry state, the weight of the laundry may be detected by an electronic scale, a gravity sensor, or the like in advance, to obtain a reference weight, and the reference weight may be stored. And acquiring the current target weight of the currently-aired clothes through a gravity sensor preset on the clothes airing rod or the clothes hanger, comparing the target weight with a pre-stored reference weight, and judging whether the target weight of the clothes is larger than the reference weight. If the target weight is greater than the reference weight, determining that the laundry is not dried; if the target weight is less than or equal to the reference weight, it is determined that the laundry is dried.
In some embodiments, detecting whether the laundry has been dried may include: an image is acquired that includes the respective surfaces of the laundry, and a reference image corresponding to the laundry when it is dried, and when the image matches pixels of the reference image, it is determined that the laundry is dried.
In order to improve the convenience of the laundry drying detection, whether the laundry is dried or not may be determined through the pixel comparison of the images. Specifically, when the laundry is in a dry state, images including the respective surfaces of the laundry may be acquired in advance from different photographing angles by an image acquisition apparatus such as a camera or a camera, to obtain a reference image, and the reference image may be stored. Then, images including the surfaces of the clothes can be acquired from different shooting angles through one or more image acquisition devices preset in the clothes airing area, so that a plurality of images are obtained, the images of the corresponding shooting angles are compared with reference images, for example, the images of the front face of the clothes A are compared with the reference images of the front face of the clothes A. Judging whether the acquired image of the clothes is matched with the pixels of the reference image, wherein the color of the clothes in a wet state is different from the color of the clothes in a dry state, so that if the image is not matched with the pixels of the reference image, the clothes are determined to be not dried, and if the image is matched with the pixels of the reference image, the clothes are determined to be dried. The pixel matching can be that the pixel value of the clothes in the image and the pixel value of the clothes in the reference image are smaller than a preset threshold value, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method may further include: detecting whether the fan supplies air against natural wind, and turning off the fan when the fan supplies air against natural wind.
In order to avoid energy waste caused by failure in supplying air to clothes when the fan supplies air against natural wind, whether the fan supplies air against natural wind can be detected in real time or at preset intervals during the operation of the fan, for example, whether the blades of the fan are subjected to natural wind resistance or the wind direction of natural wind can be detected. When the fan does not send wind against natural wind, the opening state of the fan is maintained; when the fan blows against natural wind, the fan is turned off.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method may further include: detecting the air quantity of natural wind, and turning off the fan when the air quantity of the natural wind is larger than a preset threshold value.
For example, as shown in fig. 6, in order to avoid that the fan cannot supply air to the clothes when there is a large natural wind, energy is wasted, so that the air volume of the natural wind in the environment where the clothes are located can be detected in real time or at preset time intervals during the operation of the fan, for example, the air volume of the natural wind can be detected by an anemometer or the like. When the air quantity of natural wind is smaller than a preset threshold value, maintaining the starting state of the fan; when the air quantity of natural wind is larger than a preset threshold value, the fact that the fan has a small effect of accelerating clothes drying when supplying air to clothes is indicated, and the fan is turned off, and the preset threshold value can be flexibly set according to actual needs.
In some embodiments, the fan control method may further include: and acquiring the time length required for drying the clothes, and outputting the time length.
In the running process of the fan, the time length required by the clothes to be dried can be obtained in real time, and the time length is dynamically output in a mode of voice broadcasting or display screen display and the like, or is sent to a terminal such as an intelligent television or an intelligent sound box, so that the terminal dynamically outputs the time length in a mode of voice broadcasting or display screen display and the like, and the user can conveniently check the time length. For example, as shown in fig. 7, the time period required for the laundry to become dry may be displayed by a display screen.
Wherein, the acquiring the time period required for the laundry to become dry may include: detecting the weight of the clothes during the running of the fan; acquiring current environmental parameters of an environment where clothes are dried, and acquiring reference weight of the clothes during drying; acquiring a difference between the weight of the laundry and the reference weight; and determining the time length required for air drying the clothes according to the difference value and the current environment parameter.
Specifically, in order to improve accuracy of determining a time length required for air drying of the clothes, a preset gravity sensor on a clothes hanger or a clothes drying rod can be used for detecting current weight of the clothes, acquiring current environmental parameters such as air quantity, air temperature, air humidity and the like of natural wind of an environment where the clothes are dried, and acquiring reference weight of the clothes during drying. The difference between the weight of the laundry and the reference weight, which represents the degree of wetness (i.e. the level of wetness) of the laundry, can then be obtained, at which time the length of time required for the laundry to air dry can be determined from the difference and the current environmental parameters.
It should be noted that, the length of time required for drying the laundry may also be determined by combining the operation parameters of the fan and the type of the laundry, for example, the degree of wetness of the laundry may be determined according to the difference between the weight of the laundry and the reference weight, the type of the laundry may be obtained (for example, the image of the laundry is collected to determine the type of the laundry), and the operation parameters such as the air volume, the operation range, the operation track, and the temperature of the air of the fan may be obtained, and the length of time required for drying the laundry may be determined according to the degree of wetness of the laundry, the current environmental parameters, the operation parameters of the fan, and the type of the laundry.
The embodiment of the application can acquire the image containing the clothes, identify the wet area of the clothes according to the image, and generate the track interface according to the wet area; and then receiving sliding operation input by a user based on the track interface, determining operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters. According to the scheme, the input sliding operation is received in the track interface generated based on the wet area of the clothes to determine the operation parameters of the fan, so that the operation of the fan is controlled based on the operation parameters, and the convenience and accuracy of fan control are improved.
Referring to fig. 8, fig. 8 is a schematic block diagram of a mobile terminal according to an embodiment of the present application.
As shown in fig. 8, the mobile terminal 300 may include a processor 302, a memory 303, and a communication interface 304 connected through a system bus 301, wherein the memory 303 may include a non-volatile computer readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause the processor to perform any of a number of fan control methods.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall mobile terminal.
The memory 303 provides an environment for the execution of a computer program in a non-volatile computer-readable storage medium that, when executed by the processor 302, causes the processor 302 to perform any of a number of fan control methods.
The communication interface 304 is used for communication. It will be appreciated by those skilled in the art that the structure shown in fig. 8 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the mobile terminal 300 to which the present inventive arrangements are applied, and that a particular mobile terminal 300 may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
It should be appreciated that the bus 301 may be, for example, an I2C (Inter-integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk or a removable hard disk, etc., the processor 302 may be a central processing unit (Central Processing Unit, CPU), the processor 302 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in some embodiments the processor 302 is configured to run a computer program stored in the memory 303 to perform the steps of:
acquiring an image containing clothes, identifying a wet area of the clothes according to the image, and generating a track interface according to the wet area; and receiving sliding operation input by a user based on the track interface, determining operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters.
In some embodiments, generating the trajectory interface from the wet zone comprises: determining the moisture level of the clothes according to the moisture area, and acquiring the position of the clothes; a trajectory interface is generated according to the moisture level and the position of the laundry.
In some embodiments, identifying the wet area of the garment from the image comprises: acquiring a corresponding reference image when clothes are dried; comparing the pixel value of the image with that of the reference image to obtain pixel difference; determining a wet area of the laundry according to the pixel difference; or, the image is identified through a preset identification model, so that a wet area is obtained.
In some embodiments, acquiring an image containing the garment includes: after the clothes are aired for a preset time, detecting whether the clothes are dried or not; if the clothes are not dried, acquiring an image containing the clothes through a camera; or when the clothes are detected to exist in the clothes airing area, acquiring an image containing the clothes through the camera.
In some embodiments, detecting whether the laundry is dry comprises: acquiring the current weight of the clothes and the corresponding reference weight when the clothes are dried; if the current weight is greater than the reference weight, determining that the clothes are not dried; if the current weight is less than or equal to the reference weight, determining that the laundry is dried; or collecting current images containing the surfaces of the clothes and corresponding reference images when the clothes are dried; if the pixels of the current image and the reference image are not matched, determining that the clothes are not dried; if the pixels of the current image and the reference image match, it is determined that the laundry is dried.
In some embodiments, determining the operating parameter of the fan from the sliding operation includes: determining a track passed by the sliding operation to obtain an air supply track, and setting the air supply track as an operation parameter of a fan; or determining the area through which the sliding operation passes, and determining the air supply range, the air quantity and/or the temperature of the air of the fan according to the corresponding parameters determined by the area to obtain the operation parameters.
In some embodiments, the fan control method further comprises: and acquiring the time length required for drying the clothes, and outputting the time length.
In some embodiments, after controlling the operation of the fan according to the operation parameter, the fan control method further includes: detecting whether the clothes are dried, and turning off the fan when the clothes are dried; or detecting whether the fan supplies air against natural wind, and closing the fan when the fan supplies air against natural wind; or detecting the air quantity of the natural wind, and turning off the fan when the air quantity of the natural wind is larger than a preset threshold value.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of an embodiment that are not described in detail in the foregoing embodiments may be referred to in the foregoing detailed description of the fan control method, which is not repeated herein.
The embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein the computer program comprises program instructions, and a processor executes the program instructions to realize any one of the fan control methods provided by the embodiment of the application. For example, the computer program is loaded by a processor, the following steps may be performed:
acquiring an image containing clothes, identifying a wet area of the clothes according to the image, and generating a track interface according to the wet area; and receiving sliding operation input by a user based on the track interface, determining operation parameters of the fan according to the sliding operation, and controlling the fan to operate according to the operation parameters.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The computer readable storage medium may be an internal storage unit of the mobile terminal of the foregoing embodiment, for example, a hard disk or a memory of the mobile terminal. The computer readable storage medium may also be an external storage device of the mobile terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the mobile terminal.
Because the computer program stored in the computer readable storage medium can execute any one of the fan control methods provided by the embodiments of the present application, the beneficial effects that any one of the fan control methods provided by the embodiments of the present application can be achieved, and detailed descriptions of the previous embodiments are omitted herein.
It is to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (8)

1. A fan control method, comprising:
acquiring an image containing laundry;
identifying a wet area of the garment from the image;
generating a track interface according to the wet area;
receiving a sliding operation input by a user based on the track interface;
determining an operating parameter of the fan according to the sliding operation;
controlling the fan to run according to the running parameters;
wherein the acquiring an image containing the laundry comprises:
after the clothes are aired for a preset time, detecting whether the clothes are dried or not;
acquiring the current weight of the clothes and the corresponding reference weight of the clothes when the clothes are dried;
if the current weight is greater than the reference weight, determining that the laundry is not dried;
if the current weight is less than or equal to the reference weight, determining that the laundry is dried; or,
collecting current images containing the surfaces of the clothes and corresponding reference images when the clothes are dried;
if the pixels of the current image and the reference image are not matched, determining that the clothes are not dried;
if the current image is matched with the pixels of the reference image, determining that the clothes are dried; if the clothes are not dried, acquiring an image containing the clothes through a camera; or when the clothes are detected to exist in the clothes airing area, acquiring an image containing the clothes through the camera.
2. The method of claim 1, wherein the generating a trajectory interface from the wet zone comprises:
determining a moisture level of the laundry according to the moisture area, and acquiring a position of the laundry;
and generating a track interface according to the humidity level and the position of the clothes.
3. The method of controlling a fan according to claim 1, wherein the identifying the wet area of the laundry from the image includes:
acquiring a corresponding reference image when the clothes are dried;
comparing the pixel value of the image with that of the reference image to obtain a pixel difference;
determining a wet area of the laundry according to the pixel difference; or,
and identifying the image through a preset identification model to obtain a wet area.
4. The method of claim 1, wherein the determining an operating parameter of the fan according to the sliding operation comprises:
determining a track passed by the sliding operation to obtain an air supply track, and setting the air supply track as an operation parameter of a fan; or,
and determining the area through which the sliding operation passes, and determining the air supply range of the fan according to the corresponding parameters according to the area.
5. The fan control method according to any one of claims 1 to 4, characterized in that the fan control method further comprises:
and acquiring the time length required by the clothes to be dried, and outputting the time length.
6. The fan control method according to any one of claims 1 to 4, wherein after the fan operation is controlled according to the operation parameter, the fan control method further comprises:
detecting whether the clothes are dried, and turning off the fan when the clothes are dried; or,
detecting whether the fan supplies air against natural wind, and closing the fan when the fan supplies air against natural wind; or,
detecting the air quantity of natural wind, and closing the fan when the air quantity of the natural wind is larger than a preset threshold value.
7. A mobile terminal comprising a processor and a memory, wherein the memory stores a computer program, and wherein the processor executes the fan control method according to any one of claims 1 to 6 when calling the computer program in the memory.
8. A computer readable storage medium storing a computer program, the computer program being loaded by a processor to perform the fan control method of any of claims 1 to 6.
CN202010366677.2A 2020-04-30 2020-04-30 Fan control method, mobile terminal and computer readable storage medium Active CN113584839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010366677.2A CN113584839B (en) 2020-04-30 2020-04-30 Fan control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010366677.2A CN113584839B (en) 2020-04-30 2020-04-30 Fan control method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113584839A CN113584839A (en) 2021-11-02
CN113584839B true CN113584839B (en) 2023-12-05

Family

ID=78237644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010366677.2A Active CN113584839B (en) 2020-04-30 2020-04-30 Fan control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113584839B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008061733A (en) * 2006-09-06 2008-03-21 Matsushita Electric Ind Co Ltd Clothes drying system
CN105373001A (en) * 2015-10-29 2016-03-02 小米科技有限责任公司 Control method and device for electronic equipment
CN106802574A (en) * 2017-03-28 2017-06-06 北京小米移动软件有限公司 Clothes drying method and apparatus
CN107604618A (en) * 2017-09-12 2018-01-19 美的集团武汉制冷设备有限公司 Airhandling equipment control method, equipment and readable storage medium storing program for executing
CN108914511A (en) * 2018-05-21 2018-11-30 珠海格力电器股份有限公司 Dehumidification device
CN110740181A (en) * 2019-10-17 2020-01-31 北京小米移动软件有限公司 Monitoring method and device for aired clothes and clothes hanger

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008061733A (en) * 2006-09-06 2008-03-21 Matsushita Electric Ind Co Ltd Clothes drying system
CN105373001A (en) * 2015-10-29 2016-03-02 小米科技有限责任公司 Control method and device for electronic equipment
CN106802574A (en) * 2017-03-28 2017-06-06 北京小米移动软件有限公司 Clothes drying method and apparatus
CN107604618A (en) * 2017-09-12 2018-01-19 美的集团武汉制冷设备有限公司 Airhandling equipment control method, equipment and readable storage medium storing program for executing
CN108914511A (en) * 2018-05-21 2018-11-30 珠海格力电器股份有限公司 Dehumidification device
CN110740181A (en) * 2019-10-17 2020-01-31 北京小米移动软件有限公司 Monitoring method and device for aired clothes and clothes hanger

Also Published As

Publication number Publication date
CN113584839A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN106258009B (en) A kind of method, fingerprint capturer and terminal acquiring fingerprint
US20180087212A1 (en) Clothes Dryer and Control Method Therefor
CN109541984A (en) Clothing exposure extent control algorithm suitable for Intellective airer
CN113584836B (en) Fan blowing method, fan and computer readable storage medium
CN113584843B (en) Circulating fan control method, circulating fan and storage medium
CN107333107A (en) Monitor image pickup method, device and its equipment
CN108985263A (en) A kind of collecting method, device, electronic equipment and computer-readable medium
CN113584839B (en) Fan control method, mobile terminal and computer readable storage medium
CN113093556A (en) Clothing collection reminding method, clothes hanger, system and storage medium
CN113584851B (en) Fan operation method, fan and computer readable storage medium
CN113584842B (en) Fan control method, control terminal and computer readable storage medium
CN113584846A (en) Fan control method, fan and computer readable storage medium
CN113047018A (en) Clothes hanger and drying control method, server, system and storage medium thereof
CN113584835B (en) Fan control method, fan and computer readable storage medium
US10140548B2 (en) Statistical noise analysis for motion detection
CN113584840B (en) Fan control method, fan and computer readable storage medium
CN112989870A (en) Fan control method, fan and computer readable storage medium
CN112696372A (en) Fan adjusting method, fan and storage medium
CN111225040A (en) Clothes airing monitoring method and device, storage medium and electronic equipment
CN113584845A (en) Blowing control method, system, circulating fan and computer readable storage medium
CN113668201B (en) Circulating fan control method, circulating fan control system and storage medium
CN113584832B (en) Clothes airing reminding method, system, circulating fan and computer readable storage medium
JP2001167273A5 (en)
CN113584837B (en) Control method of circulation fan, circulation fan and computer readable storage medium
JP7002912B2 (en) Image sensors, person detection methods, programs and control systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant