CN106445657B - Fan control method and device and mobile terminal - Google Patents

Fan control method and device and mobile terminal Download PDF

Info

Publication number
CN106445657B
CN106445657B CN201610806595.9A CN201610806595A CN106445657B CN 106445657 B CN106445657 B CN 106445657B CN 201610806595 A CN201610806595 A CN 201610806595A CN 106445657 B CN106445657 B CN 106445657B
Authority
CN
China
Prior art keywords
preset
fan
rotating speed
temperature threshold
current environment
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.)
Expired - Fee Related
Application number
CN201610806595.9A
Other languages
Chinese (zh)
Other versions
CN106445657A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610806595.9A priority Critical patent/CN106445657B/en
Publication of CN106445657A publication Critical patent/CN106445657A/en
Application granted granted Critical
Publication of CN106445657B publication Critical patent/CN106445657B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)
  • Structures Of Non-Positive Displacement Pumps (AREA)

Abstract

The application provides a fan control method, a fan control device and a mobile terminal, wherein the method comprises the following steps: judging the age level of the user; detecting the current environment temperature; and controlling the rotating speed of the fan according to the age group to which the user belongs, the current environmental temperature and a preset control strategy, wherein the preset control strategy comprises the corresponding relation between the age group to which the user belongs, the environmental temperature and the rotating speed of the fan. Therefore, the automatic control of the rotating speed of the fan is realized, and the intelligent degree of the fan is improved.

Description

Fan control method and device and mobile terminal
Technical Field
The application relates to the technical field of smart home, in particular to a fan control method and device and a mobile terminal.
Background
In the family life, nearly every family is equipped with the fan, utilizes the fan to be as the instrument of summer heat relieving, but the rotational speed control of fan among the prior art all needs manual selection, in case select a certain gear after, if the user no longer carries out the gear switching, the fan can be with the rotational speed work of this gear all the time, and consequently, leads to the fan can't be according to actual environment condition automatic switch operating condition, and intelligent degree is not high, and user experience is not good.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present application is to provide a fan control method, which achieves automatic control of the fan rotation speed, improves the intelligent degree of the fan, and provides better user experience.
A second object of the present application is to provide a fan control apparatus.
A third object of the present application is to provide a mobile terminal.
In order to achieve the above object, an embodiment of a first aspect of the present application provides a fan control method, including: judging the age level of the user; detecting the current environment temperature; and controlling the rotating speed of the fan according to the age group to which the user belongs, the current environmental temperature and a preset control strategy, wherein the preset control strategy comprises the corresponding relation between the age group to which the user belongs, the environmental temperature and the rotating speed of the fan.
According to the fan control method, the current environment temperature is detected, the age group to which the user belongs is judged, the rotating speed of the fan is controlled according to the current environment temperature, the age group to which the user belongs and the preset control strategy, the humanized requirement is met, the automatic control of the fan is realized, the intelligent degree of the fan is improved, and the user experience is improved.
To achieve the above object, a second aspect of the present application provides a fan control apparatus, including: the first judgment module is used for judging the age level of the user; the detection module is used for detecting the current environment temperature; and the processing module is used for controlling the rotating speed of the fan according to the age group to which the user belongs, the current environment temperature and a preset control strategy, wherein the preset control strategy comprises the corresponding relation between the age group to which the user belongs, the environment temperature and the rotating speed of the fan.
The fan control device of the embodiment of the application controls the fan rotating speed according to the current environment temperature, the age group to which the user belongs and the preset control strategy by detecting the current environment temperature and judging the age group to which the user belongs, meets the humanized requirement, realizes the automatic control of the fan, improves the intelligent degree of the fan, and improves the user experience.
To achieve the above object, a third aspect of the present application provides a mobile terminal, including a housing, a circuit board, a processor, a memory, and one or more of the following components: a power circuit, a multimedia component, an audio component, an interface for input/output (I/O), a sensor component, and a communication component; wherein the processor and the memory are arranged in an inner space enclosed by the shell; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of:
judging the age level of the user;
detecting the current environment temperature;
and controlling the rotating speed of the fan according to the age group to which the user belongs, the current environmental temperature and a preset control strategy, wherein the preset control strategy comprises the corresponding relation between the age group to which the user belongs, the environmental temperature and the rotating speed of the fan.
The mobile terminal of the embodiment of the application controls the rotating speed of the fan according to the current environment temperature, the age layer to which the user belongs and the preset control strategy by detecting the current environment temperature and judging the age layer to which the user belongs, meets the humanized requirement, realizes the automatic control of the fan, improves the intelligent degree of the fan, and improves the user experience.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a fan control method according to one embodiment of the present application;
FIG. 2 is a flow chart of a fan control method according to another embodiment of the present application;
FIG. 3 is a flow chart of a fan control method according to yet another embodiment of the present application;
FIG. 4 is a schematic structural diagram of a fan control apparatus according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a fan control apparatus according to another embodiment of the present application;
FIG. 6 is a schematic structural diagram of a fan control apparatus according to yet another embodiment of the present application;
fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes a method and an apparatus for controlling a fan and a mobile terminal according to an embodiment of the present application with reference to the drawings.
Fig. 1 is a flowchart of a fan control method according to an embodiment of the present application. Specifically, the fan control method provided by the present embodiment may be configured to be executed in a mobile terminal having an operating system. It should be noted that the mobile terminal has many types, and can be selected according to application requirements, for example: a mobile phone, a tablet computer, or a wearable device, etc.
As shown in fig. 1, the fan control method includes:
step 101, judging the age group of the user.
Specifically, generally, people in different age groups have different resistances, and the age groups of people can be roughly divided into an infant age group, a child age group, a young age group, an adult age group, and an old age group, and according to the resistance of people, for example, people in the infant age group and the child age group can be determined as a low-resistance group, people in the old age group can be determined as a middle-resistance group, and people in the young age group and the adult age group can be determined as a high-resistance group.
Of course, the designer can also classify the age group according to other classification modes, for example, the age group of the infant, the age group of the child and the age group of the old can be classified into the low-resistance crowd, and the embodiment is not limited.
When users at different ages use the fan, the wind power born by the users is different, generally, the wind power born by the low-resistance crowd is smaller than that born by the medium-resistance crowd, and the wind power born by the medium-resistance crowd is smaller than that born by the high-resistance crowd. That is, the rotational speed of the fan should be lower for a low resistance crowd than for a medium resistance crowd, and lower for a medium resistance crowd.
The embodiment can judge the age group of the user through the face recognition technology, or judge the age group of the user through the age of the user manually input by the user.
In addition, when there are a plurality of current users, it is possible to determine the age groups to which the users belong, determine whether there is a low resistance person, and record the low resistance person.
Step 102, detecting the current ambient temperature.
Specifically, the ambient temperature may be detected by a temperature sensor built in the mobile terminal. Preferably, the current ambient temperature may be detected in real time. Generally, the higher the current ambient temperature, the greater the required fan power, i.e., the higher the fan speed, to meet the user demand.
103, controlling the rotating speed of the fan according to the age group to which the user belongs, the current environment temperature and a preset control strategy, wherein the preset control strategy comprises the corresponding relation between the age group to which the user belongs, the environment temperature and the rotating speed of the fan.
The preset control strategy can be set according to specific actual requirements, and the number of the rotation speed grades of the fan can also be set according to the actual requirements, for example, the rotation speed grades of the fan can be simply divided into a highest-grade rotation speed, a middle-grade rotation speed and a low-grade rotation speed. Or, the rotation speed level of the fan may be further divided into a plurality of levels, the division manner of the rotation speed level of the fan is different, and the corresponding control strategies are also different, as long as the age group to which the user belongs, the ambient temperature, and the rotation speed of the fan form a corresponding relationship, which is not limited in this embodiment.
According to the fan control method provided by the embodiment, the current environment temperature is detected, the age group to which the user belongs is judged, the rotating speed of the fan is controlled according to the current environment temperature, the age group to which the user belongs and a preset control strategy, the humanized requirement is met, the automatic control of the fan is realized, the intelligent degree of the fan is improved, and the user experience is improved.
FIG. 2 is a flow chart of a fan control method according to another embodiment of the present application; the present embodiment proposes an embodiment of a specific control manner based on the embodiment shown in fig. 1.
As shown in fig. 2, the fan control method includes:
step 201, judging the age group of the user.
Specifically, generally, people in different age groups have different resistances, and the age groups of people can be roughly divided into an infant age group, a child age group, a young age group, an adult age group, and an old age group, and according to the resistance of people, for example, people in the infant age group and the child age group can be determined as a low-resistance group, people in the old age group can be determined as a middle-resistance group, and people in the young age group and the adult age group can be determined as a high-resistance group.
Of course, the designer can also classify the age group according to other classification modes, for example, the age group of the infant, the age group of the child and the age group of the old can be classified into the low-resistance crowd, and the embodiment is not limited.
When users at different ages use the fan, the wind power born by the users is different, generally, the wind power born by the low-resistance crowd is smaller than that born by the medium-resistance crowd, and the wind power born by the medium-resistance crowd is smaller than that born by the high-resistance crowd. That is, the rotational speed of the fan should be lower for a low resistance crowd than for a medium resistance crowd, and lower for a medium resistance crowd.
The embodiment can judge the age group of the user through the face recognition technology, or judge the age group of the user through the age of the user manually input by the user.
In addition, when there are a plurality of current users, it is possible to determine the age groups to which the users belong, determine whether there is a low resistance person, and record the low resistance person.
In step 202, the current ambient temperature is detected.
Specifically, the ambient temperature may be detected by a temperature sensor built in the mobile terminal. Preferably, the current ambient temperature may be detected in real time. Generally, the higher the current ambient temperature, the greater the required fan power, i.e., the higher the fan speed, to meet the user demand.
And 203, acquiring a preset adjustable rotating speed corresponding to the age group according to the age group to which the user belongs.
Specifically, the preset adjustable rotating speeds of the users belonging to different age groups are different, for example, the preset adjustable rotating speeds of the low resistance crowd include a rotating speed corresponding to the first gear and a rotating speed corresponding to the second gear. The preset adjustable rotating speed of the middle resistance crowd comprises a rotating speed corresponding to the second gear and a rotating speed corresponding to the third gear. The preset adjustable rotating speed of the crowd with high resistance comprises a rotating speed corresponding to a third gear and a rotating speed corresponding to a fourth gear, wherein the rotating speed corresponding to the first gear is increased to the rotating speed corresponding to the fourth gear in sequence.
204, according to the detected current environment temperature T0Judging the current environment temperature T0And a first predetermined temperature threshold T1And a second preset temperature threshold T2The high-low relationship of (1); wherein the first preset temperature threshold T1Above the second preset temperature threshold T2
If the detected current ambient temperature is higher than the first preset temperature threshold value, namely (T)0>T1) Then step 205 is performed as follows.
Step 205, controlling the rotation speed of the fan to a first preset rotation speed in the preset adjustable rotation speeds.
If the detected current ambient temperature is within the first preset temperature threshold and the second preset temperature threshold, that is (T)2<T0<T1) Then the following step 206 is performed.
And step 206, controlling the rotating speed of the fan to a second preset rotating speed in the preset adjustable rotating speeds.
If the detected current ambient temperature is lower than a second predetermined temperature threshold, i.e. (T)0<T2) Then the following step 207 is performed.
And step 207, controlling the fan to be closed.
It should be noted that, in the above steps, the first preset rotation speed is higher than the second preset rotation speed.
For example, after determining the age group to which the user belongs, the user is judged to be a crowd with low resistance, and if the current ambient temperature is higher than a first preset temperature threshold, the rotating speed of the fan is increased to a first preset rotating speed (for example, the rotating speed corresponding to a second gear); if the current environment temperature is within the first preset temperature threshold and the second preset temperature threshold, reducing the fan rotating speed to a second preset rotating speed (for example, the rotating speed corresponding to the first gear); and if the current ambient temperature is lower than the second preset temperature threshold value, the fan is turned off.
According to the fan control method provided by the embodiment, the rotating speed of the fan can be simply and efficiently controlled according to the age group of the user and the relation between the current ambient temperature and the preset temperature threshold value by detecting the current ambient temperature and judging the age group to which the user belongs, the humanized requirement is met, the automatic control of the fan is realized, the intelligent degree of the fan is improved, and the user experience is improved.
Further, in the above embodiment, after the detected current ambient temperature is lower than the second preset temperature threshold, the method may further include: and acquiring the starting time of the fan, and judging whether the starting time of the fan is greater than or equal to the preset time.
Correspondingly, controlling the fan to turn off comprises: if the starting time of the fan is judged to be greater than or equal to the preset time, controlling the fan to be closed; if the starting time of the fan is judged to be less than the preset time, a prompt signal that the fan is about to be closed is sent to a user, and the fan is controlled to be closed after the starting time reaches the preset time.
In this embodiment, generally, if the ambient temperature is already low and the user further uses a higher fan speed, the following two situations generally exist: the first situation is that the user is just moving, the body heat is high, and therefore the user can immediately adopt a gear with high rotating speed to blow air, and in this situation, the time for opening the fan is not too long from the user; the second case is that the ambient temperature may be higher just when the user turns on the fan, so the gear speed used is higher, and when a longer period of time has elapsed, for example late at night, the ambient temperature is already lower, but the fan is still supplying air at a higher speed, but in this case the time is longer until the user turns on the fan. It is possible to determine which of the above cases the user blows with a higher rotation speed in a case where the ambient temperature is low by determining the on-time period of the fan.
After the fan is started, the fan control device can not be started immediately, the fan can be started after being started for a period of time, when the fan control device is started, the starting time of the fan can be acquired immediately, and the situation that a user is in the two situations is judged by judging the starting time of the fan. If the judgment is that the fan is in the first condition, the fan can not be immediately turned off, the user can be prompted to turn off the fan, and the fan is turned off after the preset time is reached, so that the health of the user is protected on the basis of meeting the subjective requirements of the user as much as possible. If the judgment result is that the fan belongs to the second condition, the fan can be immediately turned off, so that the health of the user is protected.
The embodiment can determine the time when the fan is turned off by comprehensively judging the turn-on time of the remote control fan and the current ambient temperature, so as to further improve the user experience.
Fig. 3 is a flowchart of a fan control method according to still another embodiment of the present application. This embodiment is based on the embodiment shown in fig. 1, and proposes another specific control manner different from the embodiment shown in fig. 2.
As shown in fig. 3, the fan control method includes:
step 301, judging the age group of the user.
Specifically, generally, people in different age groups have different resistances, and the age groups of people can be roughly divided into an infant age group, a child age group, a young age group, an adult age group, and an old age group, and according to the resistance of people, for example, people in the infant age group and the child age group can be determined as a low-resistance group, people in the old age group can be determined as a middle-resistance group, and people in the young age group and the adult age group can be determined as a high-resistance group.
Of course, the designer can also classify the age group according to other classification modes, for example, the age group of the infant, the age group of the child and the age group of the old can be classified into the low-resistance crowd, and the embodiment is not limited.
When users at different ages use the fan, the wind power born by the users is different, generally, the wind power born by the low-resistance crowd is smaller than that born by the medium-resistance crowd, and the wind power born by the medium-resistance crowd is smaller than that born by the high-resistance crowd. That is, the rotational speed of the fan should be lower for a low resistance crowd than for a medium resistance crowd, and lower for a medium resistance crowd.
The embodiment can judge the age group of the user through the face recognition technology, or judge the age group of the user through the age of the user manually input by the user.
In addition, when there are a plurality of current users, it is possible to determine the age groups to which the users belong, determine whether there is a low resistance person, and record the low resistance person.
Step 302, detecting a current ambient temperature.
Specifically, the ambient temperature may be detected by a temperature sensor built in the mobile terminal. Preferably, the current ambient temperature may be detected in real time. Generally, the higher the current ambient temperature, the greater the required fan power, i.e., the higher the fan speed, to meet the user demand.
Step 303, obtaining the rotation speed corresponding to the age group to which the user belongs and the current ambient temperature according to the age group to which the user belongs, the current ambient temperature and the preset mapping relationship between each ambient temperature and the rotation speed of the fan, and controlling the fan to work at the rotation speed.
Specifically, the difference between the age group to which the user belongs and the current ambient temperature can specifically correspond to different fan rotating speeds, and the corresponding gears of the fan rotating speeds can be many, so that the rotating speeds of the fans can be controlled more accurately, and personalized requirements are met better.
According to the fan control method, the current environment temperature is detected, the age group to which the user belongs is judged, the rotating speed of the fan is controlled according to the current environment temperature, the age group to which the user belongs and a preset control strategy, the humanized requirement is met, the automatic control of the fan is realized, the intelligent degree of the fan is improved, and the user experience is improved.
It should be noted that the execution sequence shown in the flowcharts in the method embodiments of the present invention is only an example, and the step marks do not represent the sequence of the steps.
In order to implement the above embodiments, the present application further provides a fan control device.
Fig. 4 is a schematic structural diagram of a fan control device according to an embodiment of the present application. As shown in fig. 4, the fan control apparatus includes:
the first judging module 11 is used for judging the age level of the user;
the detection module 12 is used for detecting the current ambient temperature;
and the processing module 13 is configured to control the fan rotation speed according to the age group to which the user belongs, the current ambient temperature and a preset control strategy, where the preset control strategy includes a correspondence between the age group to which the user belongs, the ambient temperature and the fan rotation speed.
It should be noted that the foregoing explanation of the embodiment of the fan control method is also applicable to the fan control apparatus of this embodiment, and is not repeated herein.
The fan control device of this embodiment, through detecting current ambient temperature and the affiliated age bracket of judgement user, according to current ambient temperature and the affiliated age bracket of user and the control strategy control fan rotational speed of predetermineeing, accord with humanized demand, realized the automatic control of fan, improved the intelligent degree of fan to user experience has been improved.
FIG. 5 is a schematic structural diagram of a fan control apparatus according to another embodiment of the present application; based on the embodiment shown in fig. 4, specifically, as shown in fig. 5, the processing module 13 includes an obtaining sub-module 131, a determining sub-module 132, and a control sub-module 133.
The obtaining submodule 131 is configured to obtain a preset adjustable rotation speed corresponding to an age group to which a user belongs according to the age group;
the judging submodule 132 is configured to judge, according to the current ambient temperature detected by the detecting module, a high-low relationship between the current ambient temperature and a first preset temperature threshold and a second preset temperature threshold; wherein the first preset temperature threshold is higher than the second preset temperature threshold;
the control sub-module 133 is configured to: if the judgment sub-module judges that the current environment temperature detected by the detection module is higher than a first preset temperature threshold value, controlling the rotating speed of the fan to be a first preset rotating speed in the preset adjustable rotating speeds; if the judging submodule judges that the current environment temperature detected by the detecting module is within the first preset temperature threshold and the second preset temperature threshold, controlling the rotating speed of the fan to be a second preset rotating speed in the preset adjustable rotating speeds; if the judgment sub-module judges that the current environment temperature detected by the detection module is lower than a second preset temperature threshold value, the fan is controlled to be closed; wherein the first preset rotating speed is higher than the second preset rotating speed.
It should be noted that the foregoing explanation of the embodiment of the fan control method is also applicable to the fan control apparatus of this embodiment, and is not repeated herein.
FIG. 6 is a schematic structural diagram of a fan control apparatus according to yet another embodiment of the present application; as shown in fig. 6, further, the fan control apparatus further includes: a second judging module 14 and a prompting module 15.
The second determining module 14 is configured to obtain a starting duration of the fan, and determine whether the starting duration of the fan is greater than or equal to a preset duration.
The control sub-module 133 is configured to: if the second judging module judges that the starting time of the fan is longer than or equal to the preset time, controlling the fan to be closed; if the second judging module judges that the starting time of the fan is shorter than the preset time, a prompting signal that the fan is to be closed is sent to a user at the prompting module, and the fan is controlled to be closed after the starting time reaches the preset time.
The prompting module 15 is configured to send a prompt signal to a user that the fan is to be turned off if the second determining module determines that the turning-on duration of the fan is less than the preset duration.
It should be noted that the foregoing explanation of the embodiment of the fan control method is also applicable to the fan control apparatus of this embodiment, and is not repeated herein.
Optionally, based on the embodiment shown in fig. 4, the processing module 13 may further be configured to: and according to the age group to which the user belongs, the current environment temperature and the preset mapping relation between each environment temperature and the fan rotating speed, acquiring the rotating speed corresponding to the age group to which the user belongs and the current environment temperature, and controlling the fan to work at the rotating speed.
It should be noted that the foregoing explanation of the embodiment of the fan control method is also applicable to the fan control apparatus of this embodiment, and is not repeated herein.
In order to implement the above embodiments, the present application further provides a mobile terminal.
Fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal in this embodiment may be a mobile phone.
As shown in fig. 7, the mobile terminal 1000 may include one or more of the following components: housing 1001, processor 1002, memory 1003, and one or more of the following: power supply circuitry 1004, multimedia components 1005, audio components 1006, input/output (I/O) interfaces 1007, sensor components 1008, and communications components 1009.
The processor 1002 and the memory 1003 are disposed in an internal space surrounded by the housing 1001; the power supply circuit 1004 is used to supply power to various circuits or devices of the mobile terminal 1000; the memory 1003 is used for storing executable program codes; the processor 1002 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 1003, for performing the steps of:
judging the age level of the user;
detecting the current environment temperature;
and controlling the rotating speed of the fan according to the age group to which the user belongs, the current environmental temperature and a preset control strategy, wherein the preset control strategy comprises the corresponding relation between the age group to which the user belongs, the environmental temperature and the rotating speed of the fan.
It should be noted that the foregoing explanation of the embodiment of the fan control method is also applicable to the mobile terminal of this embodiment, and is not repeated here.
The mobile terminal of the embodiment of the application controls the rotating speed of the fan according to the current environment temperature, the age layer to which the user belongs and the preset control strategy by detecting the current environment temperature and judging the age layer to which the user belongs, meets the humanized requirement, realizes the automatic control of the fan, improves the intelligent degree of the fan, and improves the user experience.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

Claims (3)

1. A fan control method is characterized by comprising the following steps:
judging the age level of the user;
detecting the current environment temperature;
acquiring a preset adjustable rotating speed corresponding to an age group according to the age group to which a user belongs;
judging the high-low relation between the current environment temperature and a first preset temperature threshold value and a second preset temperature threshold value according to the detected current environment temperature; wherein the first preset temperature threshold is higher than the second preset temperature threshold;
if the detected current environment temperature is higher than a first preset temperature threshold value, controlling the rotating speed of the fan to be a first preset rotating speed in the preset adjustable rotating speeds;
if the detected current environment temperature is within the first preset temperature threshold and the second preset temperature threshold, controlling the rotating speed of the fan to a second preset rotating speed in the preset adjustable rotating speeds, wherein the first preset rotating speed is higher than the second preset rotating speed;
if the detected current environment temperature is lower than a second preset temperature threshold, acquiring the starting time of the fan, and judging whether the starting time of the fan is greater than or equal to the preset time;
if the starting time of the fan is judged to be greater than or equal to the preset time, controlling the fan to be closed;
if the starting time of the fan is judged to be less than the preset time, a prompt signal that the fan is about to be closed is sent to a user, and the fan is controlled to be closed after the starting time reaches the preset time.
2. A fan control apparatus, comprising:
the first judgment module is used for judging the age level of the user;
the detection module is used for detecting the current environment temperature;
the processing module comprises an acquisition submodule, a judgment submodule and a control submodule, wherein the acquisition submodule is used for acquiring a preset adjustable rotating speed corresponding to an age group to which a user belongs according to the age group; the judgment submodule is used for judging the high-low relation between the current environment temperature and a first preset temperature threshold value and between the current environment temperature and a second preset temperature threshold value according to the current environment temperature detected by the detection module; wherein the first preset temperature threshold is higher than the second preset temperature threshold; the control sub-module is configured to: if the judgment sub-module judges that the current environment temperature detected by the detection module is higher than a first preset temperature threshold value, controlling the rotating speed of the fan to be a first preset rotating speed in the preset adjustable rotating speeds; if the judging submodule judges that the current environment temperature detected by the detecting module is within the first preset temperature threshold and the second preset temperature threshold, controlling the rotating speed of the fan to be a second preset rotating speed in the preset adjustable rotating speeds, wherein the first preset rotating speed is higher than the second preset rotating speed; second judging module and prompting module
The second judgment module is used for acquiring the starting time of the fan and judging whether the starting time of the fan is greater than or equal to the preset time if the judgment sub-module judges that the current environmental temperature detected by the detection module is lower than a second preset temperature threshold;
the control submodule is further used for controlling the fan to be turned off if the second judging module judges that the starting time of the fan is longer than or equal to the preset time; if the second judging module judges that the starting time of the fan is shorter than the preset time, a prompting signal that the fan is to be closed is sent to a user at the prompting module, and the fan is controlled to be closed after the starting time reaches the preset time;
and the prompting module is used for sending a prompting signal that the fan is to be closed to a user if the second judging module judges that the opening time of the fan is less than the preset time.
3. A mobile terminal comprising a housing, a processor, a memory, and one or more of the following components: a power circuit, a multimedia component, an audio component, an interface for input/output (I/O), a sensor component, and a communication component; wherein the processor and the memory are arranged in an inner space enclosed by the shell; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the steps of:
judging the age level of the user;
detecting the current environment temperature;
acquiring a preset adjustable rotating speed corresponding to an age group according to the age group to which a user belongs;
judging the high-low relation between the current environment temperature and a first preset temperature threshold value and a second preset temperature threshold value according to the detected current environment temperature; wherein the first preset temperature threshold is higher than the second preset temperature threshold;
if the detected current environment temperature is higher than a first preset temperature threshold value, controlling the rotating speed of the fan to be a first preset rotating speed in the preset adjustable rotating speeds;
if the detected current environment temperature is within the first preset temperature threshold and the second preset temperature threshold, controlling the rotating speed of the fan to a second preset rotating speed in the preset adjustable rotating speeds, wherein the first preset rotating speed is higher than the second preset rotating speed;
if the detected current environment temperature is lower than a second preset temperature threshold, acquiring the starting time of the fan, and judging whether the starting time of the fan is greater than or equal to the preset time;
if the starting time of the fan is judged to be greater than or equal to the preset time, controlling the fan to be closed;
if the starting time of the fan is judged to be less than the preset time, a prompt signal that the fan is about to be closed is sent to a user, and the fan is controlled to be closed after the starting time reaches the preset time.
CN201610806595.9A 2016-09-05 2016-09-05 Fan control method and device and mobile terminal Expired - Fee Related CN106445657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610806595.9A CN106445657B (en) 2016-09-05 2016-09-05 Fan control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610806595.9A CN106445657B (en) 2016-09-05 2016-09-05 Fan control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106445657A CN106445657A (en) 2017-02-22
CN106445657B true CN106445657B (en) 2020-01-10

Family

ID=58165060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610806595.9A Expired - Fee Related CN106445657B (en) 2016-09-05 2016-09-05 Fan control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106445657B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450331A (en) * 2017-07-31 2017-12-08 山东浪潮云服务信息科技有限公司 A kind of intelligent electrical appliance control, apparatus and system
WO2019037025A1 (en) * 2017-08-24 2019-02-28 深圳益创信息科技有限公司 Method of adjusting fan rotation speed, and electric fan
CN107479401A (en) * 2017-09-30 2017-12-15 广东美的制冷设备有限公司 Home appliance and its control method, device, system and readable storage medium storing program for executing
CN115898929A (en) * 2022-12-20 2023-04-04 深圳市创荣发电子有限公司 Fan control method and device and storage medium
CN116045474A (en) * 2022-12-22 2023-05-02 珠海格力电器股份有限公司 Fan control method, device and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010025359A (en) * 2008-07-15 2010-02-04 Fujitsu General Ltd Air conditioner
CN101725556A (en) * 2009-11-17 2010-06-09 暨南大学 Multi-mode temperature control fan governor
CN103712313A (en) * 2012-10-05 2014-04-09 三菱电机株式会社 Air conditioning control system and air conditioning control method
CN104110783A (en) * 2013-12-20 2014-10-22 广东美的制冷设备有限公司 Intelligent air conditioner, and method and device for controlling intelligent air conditioner
CN105757885A (en) * 2012-06-05 2016-07-13 日立空调·家用电器株式会社 Air conditioner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010025359A (en) * 2008-07-15 2010-02-04 Fujitsu General Ltd Air conditioner
CN101725556A (en) * 2009-11-17 2010-06-09 暨南大学 Multi-mode temperature control fan governor
CN105757885A (en) * 2012-06-05 2016-07-13 日立空调·家用电器株式会社 Air conditioner
CN103712313A (en) * 2012-10-05 2014-04-09 三菱电机株式会社 Air conditioning control system and air conditioning control method
CN104110783A (en) * 2013-12-20 2014-10-22 广东美的制冷设备有限公司 Intelligent air conditioner, and method and device for controlling intelligent air conditioner

Also Published As

Publication number Publication date
CN106445657A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106445657B (en) Fan control method and device and mobile terminal
CN109780699B (en) Rotating speed control method and device
EP3215898B1 (en) Thermostat having configurable interface connections
CN109298638B (en) Control method and system for smart home, smart foot pad and smart gateway
US9495009B2 (en) Systems and methods for providing haptic effects
CN104514736A (en) Fan and control method of fan
CN110320815B (en) Control method and device for household appliance and electronic equipment
CN103940027A (en) Natural wind air conditioner and control method thereof
CN103940029A (en) Natural wind air conditioner and control method thereof
KR20180099645A (en) Control device, control method and program
CN113819620B (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN104697039A (en) Electric heater and control method thereof
CN111645493A (en) Parking air conditioner and control method and device thereof
CN112305922B (en) Household electrical appliance control method and device, household electrical appliance and electronic equipment
CN108131774B (en) Air conditioner and control method and device thereof
CN111023514A (en) Method and device for controlling intelligent air conditioner, intelligent air conditioner and storage medium
CN110553361A (en) Air conditioner control method and device, storage medium and electrical equipment
CN109559488B (en) Control method, remote control terminal, household appliance, system and storage medium
US11074089B2 (en) Switch state determining device
CN103954020A (en) Air conditioner, air conditioner system and air conditioner control method
CN203447084U (en) Electric pressure cooker and automatic cover overturning device thereof
CN110501088B (en) Temperature detection device and method and electronic equipment
CN112596426B (en) Control and networking method and device of single-live-wire Bluetooth intelligent switch and electronic equipment
CN114905922A (en) Vehicle air conditioner control method and system and air conditioner controller
CN203980551U (en) Air conditioner supplying natural wind and air conditioner supplying natural wind system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200110