CN110836196A - Fan control method and device, fan and readable storage medium - Google Patents

Fan control method and device, fan and readable storage medium Download PDF

Info

Publication number
CN110836196A
CN110836196A CN201810941616.7A CN201810941616A CN110836196A CN 110836196 A CN110836196 A CN 110836196A CN 201810941616 A CN201810941616 A CN 201810941616A CN 110836196 A CN110836196 A CN 110836196A
Authority
CN
China
Prior art keywords
gear
fan
target
mode
working
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.)
Granted
Application number
CN201810941616.7A
Other languages
Chinese (zh)
Other versions
CN110836196B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810941616.7A priority Critical patent/CN110836196B/en
Publication of CN110836196A publication Critical patent/CN110836196A/en
Application granted granted Critical
Publication of CN110836196B publication Critical patent/CN110836196B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The invention discloses a fan control method, a fan control device, a fan and a readable storage medium, wherein the method comprises the following steps: if a switching request carrying a target working mode is received, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode; if yes, determining the current working gear as a target working gear; if not, determining a target working gear in the gears of the target working mode; and controlling the fan to work according to the target working gear under the target working mode. According to the invention, when the current working gear is determined not to exceed the maximum gear of the target working mode, the current working gear is determined as the target working gear, otherwise, the target working gear is determined in the working gears of the target working mode, so that the fan is controlled to work according to the target working gear in the target working mode, and thus, the conflict caused by different gear numbers in different working modes in the working mode switching process is avoided.

Description

Fan control method and device, fan and readable storage medium
Technical Field
The invention relates to the technical field of smart home, in particular to a fan control method and device, a fan and a readable storage medium.
Background
At present, domestic electric appliances on the market are various in types and different in functions, different use requirements of users can be met, and the electric fan is taken as an example and widely applied to places such as families, offices and the like, and the purpose of cooling and relieving summer heat is achieved by accelerating air circulation.
The electric fans in the market are provided with at least 1 windshield to provide different air volume, and the functions of the electric fans are diversified as the requirements of users on the living quality are improved. Electric fans on the market at present, especially middle-high-end electric fans, usually provide multiple operation modes for users to select, and the number of gears of each operation mode in the multiple operation modes is different, that is, the value of the corresponding gear of each operation mode may be different.
Because the gear numbers corresponding to different working modes are different, in the process of switching the working modes, conflicts may occur due to different gear numbers possessed by different working modes, for example, after the working modes of the electric fan are switched, the electric fan usually works by adopting the initial working gear corresponding to the switched working mode, and a user may need to adjust the working gear of the electric fan again to adjust the air volume of the electric fan in the switched working mode, so that the user experience is poor. Therefore, how to avoid the conflict caused by different gear numbers in different working modes in the process of switching the working modes becomes an urgent problem to be solved.
Disclosure of Invention
The invention provides a fan control method, a fan control device, a fan and a readable storage medium, which are used for solving the problem of conflict caused by different gear numbers in different working modes in the process of switching the working modes of the fan in the prior art.
The invention provides a fan control method, which is applied to a fan and comprises the following steps:
if a switching request carrying a target working mode is received, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode;
if yes, determining the current working gear as a target working gear; if not, determining a target working gear in the gears of the target working mode;
and controlling the fan to work according to the target working gear under the target working mode.
Further, the determining a target operating range among the ranges of the target operating mode includes:
and determining the maximum gear of the target working mode as a target working gear.
Further, the method further includes, before determining whether the current operating range of the fan does not exceed the maximum range of the target operating mode, the step of:
determining the number of gears of the current working mode of the fan, and determining the number of gears of the target working mode;
judging whether the gear number of the current working mode is consistent with the gear number of the target working mode;
if not, the subsequent steps are carried out.
Further, if it is determined that the number of gear steps of the current operating mode is consistent with the number of gear steps of the target operating mode, the method further includes:
and determining the current working gear as a target working gear.
Further, before the determining whether the current operating range of the fan does not exceed the maximum range of the target operating mode, the method further includes:
judging whether the target working mode is consistent with the acquired current working mode of the fan or not;
if not, the subsequent steps are carried out.
Further, if the target operating mode is consistent with the acquired current operating mode of the fan, the method further includes:
and prompting the information that the working mode is not switchable.
The invention provides a fan control device, which is applied to a fan and comprises:
a judging mode, configured to judge whether a current operating gear of the fan does not exceed a maximum gear of a target operating mode if a switching request carrying the target operating mode is received;
the determining module is used for determining the current working gear as a target working gear when the judging result of the judging mode is yes; when the judgment result of the judgment mode is negative, determining a target working gear in the gears of the target working mode;
and the control module is used for controlling the fan to work according to the target working gear under the target working mode.
Further, the determining module is specifically configured to determine the maximum gear of the target operating mode as the target operating gear.
Further, the judgment mode is further configured to determine the number of gear positions of the current operating mode of the fan, and determine the number of gear positions of the target operating mode; judging whether the gear number of the current working mode is consistent with the gear number of the target working mode; if not, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode.
Further, the determining module is further configured to determine the current working gear as a target working gear when it is determined that the number of gears in the current working mode is consistent with the number of gears in the target working mode.
Further, the judging module is further configured to judge whether the target working mode is consistent with the obtained current working mode of the fan; if not, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode.
Further, the apparatus further comprises:
and the prompting module is used for prompting the information that the working mode is not switchable when the target working mode is consistent with the acquired current working mode of the fan.
The present invention provides a fan, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of any of the methods described above.
The present invention provides a computer readable storage medium storing a computer program executable by a fan, the program, when run on the fan, causing the fan to perform the steps of any of the methods described above.
The invention provides a fan control method, a fan control device, a fan and a readable storage medium, wherein the method comprises the following steps: if a switching request carrying a target working mode is received, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode; if yes, determining the current working gear as a target working gear; if not, determining a target working gear in the gears of the target working mode; and controlling the fan to work according to the target working gear under the target working mode. According to the invention, when the fan determines that the current working gear does not exceed the maximum gear of the target working mode, the current working gear is determined as the target working gear, and when the current working gear exceeds the maximum gear of the target working mode, the target working gear is determined in the working gears of the target working mode so as to control the fan to work according to the target working gear in the target working mode, so that the conflict caused by different gear numbers in different working modes in the working mode switching process is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a fan control process according to embodiment 1 of the present invention;
FIG. 2 is a schematic diagram of a tower fan control flow provided in embodiment 4 of the present invention;
fig. 3 is a schematic structural diagram of a fan according to embodiment 5 of the present invention;
fig. 4 is a schematic diagram of a fan control device according to an embodiment of the present invention.
Detailed Description
In order to avoid conflicts caused by different numbers of gear positions in different working modes in the switching process of the working modes of the fan, the embodiment of the invention provides a fan control method, a fan control device, a fan and a readable storage medium.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a schematic diagram of a fan control process according to an embodiment of the present invention, where the process includes the following steps:
s101: if a switching request carrying a target working mode is received, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode; if yes, S102 is carried out; if not, proceed to S103.
The fan control method provided by the embodiment of the invention is applied to the fan, and the fan can be a floor fan, a table fan, a tower fan, a bladeless fan or an air-conditioning fan and the like.
The fan can receive a switching request carrying a target working mode, the switching request is used for switching the working state of the fan, and the target working mode carried in the switching request is used for controlling the fan to be switched from the current working mode to the target working mode.
The switching request received by the fan can be sent by a user through a terminal, can be directly operated by the user through a key on the fan shell, and the like.
The fan can acquire the current working mode and the current working gear in the current working mode, and the process of acquiring the working mode and the working gear by the fan belongs to the prior art, and is not described in detail in the embodiment of the invention.
At least two working modes supported by the fan are stored in the fan, and if the working modes supported by the fan are 4, the 4 working modes can be normal ventilation, natural wind, sleeping wind and silent wind.
The fan can also store the gear of each supported working mode, the number of the gears of each working mode, namely the wind gear value, can be the same or different, and the size of each gear of the working mode is stored in the fan for each working mode, so that the terminal can acquire the maximum gear of the target working mode.
And after the fan acquires the current working gear and the maximum gear of the target working gear, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode, and executing corresponding operation according to different judgment results.
S102: and determining the current working gear as a target working gear.
If the current working gear of the fan does not exceed the maximum gear of the target working mode, the gear of the target working mode can be considered to comprise the current working gear, and therefore the current working gear can be directly determined as the target working gear in the target working mode.
S103: a target operating range is determined among the ranges of the target operating mode.
If the current operating gear of the fan exceeds the maximum gear of the target operating mode, it may be determined that the current operating gear is not included in the gears of the target operating mode, and therefore the current operating gear cannot be directly determined as the target operating gear in the target operating mode, and it may be determined as the target operating gear in the gears of the target operating mode.
The fan determines a target working gear among the gears of the target working mode, any gear among the gears of the target working mode can be used as the target working gear, and the minimum gear or the maximum gear among the gears of the target working mode can be determined as the target working gear.
S104: and controlling the fan to work according to the target working gear under the target working mode.
And after the fan determines the target working gear in the target working mode, controlling the fan to work according to the target working gear in the target working mode. The process of operating the fan according to the operating mode and the operating gear belongs to the prior art, and is not described in detail in the embodiment of the present invention.
In the embodiment of the invention, when the fan determines that the current working gear does not exceed the maximum gear of the target working mode, the current working gear is determined as the target working gear, and when the fan determines that the current working gear exceeds the maximum gear of the target working mode, the target working gear is determined in the working gears of the target working mode so as to control the fan to work according to the target working gear in the target working mode, thereby avoiding the conflict caused by different gear numbers in different working modes in the switching process of the working modes.
Example 2:
on the basis of the foregoing embodiment, in the embodiment of the present invention, the determining a target operating range among the ranges of the target operating mode includes:
and determining the maximum gear of the target working mode as a target working gear.
In order to further solve the problem that different working modes have different gear numbers in the switching process of the working modes of the fan, so that the user experience is further improved, when the current working gear exceeds the maximum gear of the target working mode, the maximum gear of the target working mode is determined as the target working gear.
The maximum gear of the target working mode is determined as the target working gear in the target working mode, when the current working gear of the current working mode exceeds the maximum gear of the target working mode and the working mode is switched, the change of air output corresponding to the working gear in the working mode switching process is reduced to the maximum extent, and a user is less prone to sensing the change of the working gear in the fan working mode switching process, so that the user experience is further improved.
Example 3:
on the basis of the foregoing embodiments, in an embodiment of the present invention, before determining whether the current operating gear of the fan does not exceed the maximum gear of the target operating mode, the method further includes:
determining the number of gears of the current working mode of the fan, and determining the number of gears of the target working mode;
judging whether the gear number of the current working mode is consistent with the gear number of the target working mode;
if not, the subsequent steps are carried out.
If the gear number of the current working mode is judged to be consistent with the gear number of the target working mode, the method further comprises the following steps:
and determining the current working gear as a target working gear.
In order to further reduce the conflict generated when the fan working modes are switched and different working modes have different working gears, the fan can firstly judge whether the gear number of the current working mode is consistent with the gear number of the target working mode before judging whether the current working gear does not exceed the maximum gear of the target working mode.
After the fan acquires the current working mode, the number of gears of the current working mode can be determined, and the number of gears of the target working mode is determined.
When the fan determines the number of the gears of the working mode, the number of the gears of each working mode stored in the fan may be determined according to the number of the gears of each working mode directly stored in the fan, and the like, which is not described in detail in the embodiment of the present invention.
After the fan determines the number of the gears of the current working mode and the number of the gears of the target working mode, whether the number of the gears of the current working mode is consistent with that of the target working mode or not can be judged, and different processes are executed according to different judgment results.
If the fan determines that the number of the gears of the current working mode is inconsistent with the number of the gears of the target working mode, whether the current working gear does not exceed the maximum gear of the target working mode can be further judged, so that the conflict caused by different working gears of different working modes when the working modes of the fan are switched is further reduced.
If the fan determines that the number of the gears of the current working mode is consistent with the number of the gears of the target working mode, the current working gear can be directly determined as the target working gear, so that conflicts generated when different working modes have different working gears when the working modes of the fan are switched are further reduced.
The above embodiments are described below by taking 4 working modes of the fan supporting normal ventilation, natural wind, sleeping wind and silent wind as examples, wherein the normal ventilation has 12 gears, that is, the number of gears is 12, the natural wind has 4 gears, the sleeping wind has 12 gears, and the silent wind has 1 gear.
When the 4-gear of the common ventilation is switched to the natural wind, the working gear state after the switching is changed into the 4-gear of the natural wind. Because the 4 th gear of the current common ventilation is not the maximum gear which is larger than the natural wind, the 4 th gear of the working gear is kept unchanged, and only the working mode is changed.
When the 4 grades of the common ventilation are switched to the sleep wind, the working gear of the common ventilation is consistent with the working gear of the sleep wind, and when the working mode is switched, the working gear 4 grades are kept unchanged, and only the working mode is changed.
And when the 4-gear of the normal ventilation is switched to the silent wind, the working gear of the normal ventilation is larger than the maximum gear of the silent wind, so that the wind gear is switched to the 1-gear of the maximum value of the silent wind.
According to the embodiment of the invention, before judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode, whether the gear number of the current working mode is consistent with that of the target working mode is judged, so that the conflict caused by different working gears of different working modes when the working modes of the fan are switched is further reduced.
Example 4:
on the basis of the foregoing embodiments, in an embodiment of the present invention, before the determining whether the current operating gear of the fan does not exceed the maximum gear of the target operating mode, the method further includes:
judging whether the target working mode is consistent with the acquired current working mode of the fan or not;
if not, the subsequent steps are carried out.
If the target working mode is consistent with the acquired current working mode of the fan, the method further comprises the following steps:
and prompting the information that the working mode is not switchable.
When the fan judges that the target working mode is inconsistent with the obtained current working mode, whether the current working gear of the fan does not exceed the maximum gear of the target working mode is judged, and misoperation of a user can be avoided.
Each working mode is stored in the fan, the fan can acquire the current working mode, and the process of acquiring the current working mode by the fan belongs to the prior art, and is not described in detail in the embodiment of the invention.
After the fan acquires the current working mode, whether the target working mode is consistent with the current working mode or not can be judged, and different processes are executed according to different judgment results. Specifically, the process of determining whether the target operating mode is consistent with the current operating mode may be to determine whether the current operating gear of the fan does not exceed the maximum gear of the target operating mode, or may be to determine whether the number of gears of the current operating mode is consistent with the number of gears of the target operating mode.
If the fan determines that the target working mode is inconsistent with the current working mode, a subsequent process of judging whether the current working mode does not exceed the maximum gear of the target working mode at that time or a subsequent process of judging whether the number of the gears of the current working mode is consistent with the number of the gears of the target working mode can be carried out, so that conflicts generated when different working modes have different working gears when the working modes of the fan are switched are further reduced.
If the fan determines that the target working mode is consistent with the current working mode, the fan does not need to switch the working modes, the fan does not switch the working modes to avoid misoperation of a user, and the user experience can be further improved by prompting the user of information that the working modes are not switchable.
The process of judging whether the target working mode is inconsistent with the current working mode can also be applied to the scene of judging whether the working mode supported by the fan is one or multiple, and if the working mode supported by the fan is one, the judgment of whether the target working mode is consistent with the current working mode can be applied to ensure that the working mode cannot be switched on the basis that the fan only supports a single working mode.
In the following, each of the above embodiments is described with reference to a tower fan control flow diagram shown in fig. 2, when the fan receives a switching request carrying a target working mode, the fan determines that the current wind speed is X, that is, the current working gear is X.
The fan judges whether the number N of the supported working modes is more than 1. If not, the fan is considered to only support the single working mode A, and a user is prompted that the working mode can not be switched; if so, the fan is deemed to support multiple operating modes B.
Under the condition that the fan supports multiple working modes B, whether the wind gear values, namely the gear numbers, in the current working mode and the target working mode are the same or not is judged, if yes, the wind gear values are unchanged when the working modes are switched, only the working modes are changed, namely only the working modes are switched, and the wind gear values are kept unchanged.
If the current working mode is different from the wind gear value under the target working mode, the current gear value X and the maximum gear M of the target working mode to be switched are determined firstly.
The fan judges whether the current gear value X is larger than the maximum gear M of the target working mode, if so, the gear value under the target working mode is changed into M after the current working mode is switched into the target working mode, if not, the working mode is only switched into the target working mode, and the gear value is kept unchanged.
According to the embodiment of the invention, when the target working mode is judged to be inconsistent with the obtained current working mode, whether the current working gear of the fan does not exceed the maximum gear of the target working mode is judged, so that misoperation of a user can be avoided.
Example 5:
on the basis of the above embodiments, the embodiment of the present invention further provides a fan 300, as shown in fig. 3, including: the system comprises a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302 and the memory 303 complete mutual communication through the communication bus 304;
the memory 303 has stored therein a computer program which, when executed by the processor 301, causes the processor 301 to perform the steps of:
if a switching request carrying a target working mode is received, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode;
if yes, determining the current working gear as a target working gear; if not, determining a target working gear in the gears of the target working mode;
and controlling the fan to work according to the target working gear under the target working mode.
The fan control method provided by the embodiment of the invention is applied to the fan.
The communication bus mentioned above may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 302 is used for communication between the fan and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The processor may be a general-purpose processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
In the embodiment of the invention, when the processor executes the program stored in the memory, the current working gear is determined as the target working gear when the current working gear is determined not to exceed the maximum gear of the target working mode, and the target working gear is determined in the working gears of the target working mode when the current working gear is determined to exceed the maximum gear of the target working mode, so that the fan is controlled to work according to the target working gear in the target working mode, and the conflict caused by different gear numbers in different working modes in the switching process of the working modes is avoided.
Example 6:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer storage readable storage medium, in which a computer program executable by a fan is stored, and when the program runs on the fan, the fan is caused to execute the following steps:
if a switching request carrying a target working mode is received, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode;
if yes, determining the current working gear as a target working gear; if not, determining a target working gear in the gears of the target working mode;
and controlling the fan to work according to the target working gear under the target working mode.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor in a fan, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, nonvolatile memories (NANDFLASH), Solid State Disks (SSDs), etc.
The computer readable storage medium provided in the embodiment of the present invention stores a computer program, and when the computer program is executed by a processor, the computer program determines the current operating range as a target operating range when it is determined that the current operating range does not exceed the maximum range of the target operating mode, and determines a target operating range in the operating ranges of the target operating mode when it is determined that the current operating range exceeds the maximum range of the target operating mode, so as to control the fan to operate according to the target operating range in the target operating mode, thereby avoiding conflicts caused by different numbers of gears in different operating modes during switching of the operating modes.
Fig. 4 is a schematic diagram of a fan control apparatus 400 according to an embodiment of the present invention, applied to a fan, the apparatus including:
a judging mode 41, configured to, if a switching request carrying a target operating mode is received, judge whether a current operating gear of the fan does not exceed a maximum gear of the target operating mode;
a determining module 42, configured to determine the current operating range as a target operating range when a determination result of the determination mode is yes; when the judgment result of the judgment mode is negative, determining a target working gear in the gears of the target working mode;
and a control module 43, configured to control the fan to operate in the target operating mode according to the target operating gear.
The determining module 42 is specifically configured to determine the maximum gear of the target operating mode as the target operating gear.
The judgment mode 41 is further configured to determine the number of gear positions of the current operating mode of the fan, and determine the number of gear positions of the target operating mode; judging whether the gear number of the current working mode is consistent with the gear number of the target working mode; if not, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode.
The determining module 42 is further configured to determine the current operating gear as the target operating gear when it is determined that the number of gears in the current operating mode is consistent with the number of gears in the target operating mode.
The determining module 41 is further configured to determine whether the target operating mode is consistent with the acquired current operating mode of the fan; if not, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode.
The device further comprises:
and the prompting module 44 is configured to prompt information that the working mode is not switchable when the target working mode is consistent with the obtained current working mode of the fan.
In the embodiment of the invention, when the fan determines that the current working gear does not exceed the maximum gear of the target working mode, the current working gear is determined as the target working gear, and when the fan determines that the current working gear exceeds the maximum gear of the target working mode, the target working gear is determined in the working gears of the target working mode so as to control the fan to work according to the target working gear in the target working mode, thereby avoiding the conflict caused by different gear numbers in different working modes in the switching process of the working modes.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A fan control method is applied to a fan, and the method comprises the following steps:
if a switching request carrying a target working mode is received, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode;
if yes, determining the current working gear as a target working gear; if not, determining a target working gear in the gears of the target working mode;
and controlling the fan to work according to the target working gear under the target working mode.
2. The method of claim 1, wherein said determining a target operating range among the ranges of the target operating mode comprises:
and determining the maximum gear of the target working mode as a target working gear.
3. The method of claim 1, wherein said determining if the current operating range of the fan does not exceed the maximum range of the target operating mode further comprises:
determining the number of gears of the current working mode of the fan, and determining the number of gears of the target working mode;
judging whether the gear number of the current working mode is consistent with the gear number of the target working mode;
if not, the subsequent steps are carried out.
4. The method of claim 3, wherein if it is determined that the number of gear steps for the current operating mode is consistent with the number of gear steps for the target operating mode, the method further comprises:
and determining the current working gear as a target working gear.
5. The method of claim 1 or 3, wherein prior to said determining whether the current operating range of the fan does not exceed the maximum range of the target operating mode, the method further comprises:
judging whether the target working mode is consistent with the acquired current working mode of the fan or not;
if not, the subsequent steps are carried out.
6. The method of claim 5, wherein if the target operating mode is consistent with the obtained current operating mode of the fan, the method further comprises:
and prompting the information that the working mode is not switchable.
7. A fan control apparatus, for use with a fan, the apparatus comprising:
a judging mode, configured to judge whether a current operating gear of the fan does not exceed a maximum gear of a target operating mode if a switching request carrying the target operating mode is received;
the determining module is used for determining the current working gear as a target working gear when the judging result of the judging mode is yes; when the judgment result of the judgment mode is negative, determining a target working gear in the gears of the target working mode;
and the control module is used for controlling the fan to work according to the target working gear under the target working mode.
8. The device according to claim 7, wherein the determination module is specifically configured to determine the maximum gear of the target operating mode as the target operating gear.
9. The apparatus of claim 7, wherein the decision mode is further configured to determine a number of gear steps for a current operating mode of the fan and to determine a number of gear steps for the target operating mode; judging whether the gear number of the current working mode is consistent with the gear number of the target working mode; if not, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode.
10. The apparatus of claim 9, wherein the determining module is further configured to determine the current operating range as the target operating range when it is determined that the number of gear steps of the current operating mode is consistent with the number of gear steps of the target operating mode.
11. The apparatus according to claim 7 or 9, wherein the determining module is further configured to determine whether the target operating mode is consistent with the acquired current operating mode of the fan; if not, judging whether the current working gear of the fan does not exceed the maximum gear of the target working mode.
12. The apparatus of claim 11, wherein the apparatus further comprises:
and the prompting module is used for prompting the information that the working mode is not switchable when the target working mode is consistent with the acquired current working mode of the fan.
13. A fan, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of any one of claims 1 to 6.
14. A computer-readable storage medium, in which a computer program executable by a fan is stored, which program, when run on the fan, causes the fan to carry out the steps of the method as claimed in any one of claims 1 to 6.
CN201810941616.7A 2018-08-17 2018-08-17 Fan control method and device, fan and readable storage medium Active CN110836196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810941616.7A CN110836196B (en) 2018-08-17 2018-08-17 Fan control method and device, fan and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810941616.7A CN110836196B (en) 2018-08-17 2018-08-17 Fan control method and device, fan and readable storage medium

Publications (2)

Publication Number Publication Date
CN110836196A true CN110836196A (en) 2020-02-25
CN110836196B CN110836196B (en) 2021-03-23

Family

ID=69574201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810941616.7A Active CN110836196B (en) 2018-08-17 2018-08-17 Fan control method and device, fan and readable storage medium

Country Status (1)

Country Link
CN (1) CN110836196B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61145398A (en) * 1984-12-20 1986-07-03 Sanyo Electric Co Ltd Motor fan
CN104236010A (en) * 2013-06-20 2014-12-24 广东美的集团芜湖制冷设备有限公司 Control method of air conditioner
CN105179290A (en) * 2015-08-29 2015-12-23 高计丰 Fan operation control system and control method thereof
CN205349817U (en) * 2016-01-24 2016-06-29 佛山市索悦电器有限公司 Novel wind -powered electricity generation way is transferred to fan

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61145398A (en) * 1984-12-20 1986-07-03 Sanyo Electric Co Ltd Motor fan
CN104236010A (en) * 2013-06-20 2014-12-24 广东美的集团芜湖制冷设备有限公司 Control method of air conditioner
CN105179290A (en) * 2015-08-29 2015-12-23 高计丰 Fan operation control system and control method thereof
CN205349817U (en) * 2016-01-24 2016-06-29 佛山市索悦电器有限公司 Novel wind -powered electricity generation way is transferred to fan

Also Published As

Publication number Publication date
CN110836196B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN110578986B (en) Control method and device of air conditioner, air conditioner and computer readable storage medium
CN108692422B (en) Air conditioner defrosting time length adjusting method and device, air conditioner and readable storage medium
EP3242170B1 (en) Prompt information sending method and device
CN110597075A (en) Method and device for detecting control conflict, electronic equipment and storage medium
CN112202654B (en) Control instruction processing method, device, equipment and storage medium
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
CN107238177A (en) Control method and device for mute mode of air conditioner
CN110837230A (en) Method and device for controlling equipment, computing equipment and storage medium
CN111880490A (en) Environment adjusting method and device, electronic equipment and storage medium
CN111442459A (en) Control method of air conditioner, storage medium and air conditioner
CN109286960B (en) Relay network, network distribution method and device thereof, and household appliance
CN111059710A (en) Control method of air conditioner and air conditioner
CN110647044A (en) Household appliance control method and device, electronic device and readable storage medium
CN110986290A (en) Air conditioner, control method thereof, control terminal, server and storage medium
CN114019817A (en) Control method and control device of intelligent household equipment and Internet of things system
CN112229043A (en) Air conditioner operation method and device, electronic equipment and computer readable medium
US11339989B2 (en) Communication method and device for air conditioner, outdoor unit, indoor unit, and air conditioner
CN110836196B (en) Fan control method and device, fan and readable storage medium
WO2019033314A1 (en) Control method and system for household electric appliance
US11297504B2 (en) Provisioning and servicing mesh networks
CN106979169B (en) A kind of fan speed regulation control method and equipment
EP3779618B1 (en) Smart apparatus control method, apparatus, computer storage medium, and smart apparatus control apparatus
CN109274562B (en) Voice instruction execution method and device, intelligent household appliance and medium
CN114879523A (en) Equipment control method and related device
CN115200146A (en) Method and device for sending closing command, storage medium and electronic device

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