CN108518820B - Air conditioner control method, terminal, air conditioner and computer readable storage medium - Google Patents
Air conditioner control method, terminal, air conditioner and computer readable storage medium Download PDFInfo
- Publication number
- CN108518820B CN108518820B CN201810616760.3A CN201810616760A CN108518820B CN 108518820 B CN108518820 B CN 108518820B CN 201810616760 A CN201810616760 A CN 201810616760A CN 108518820 B CN108518820 B CN 108518820B
- Authority
- CN
- China
- Prior art keywords
- air conditioner
- distance
- air outlet
- air
- outlet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/88—Electrical aspects, e.g. circuits
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/30—Velocity
- F24F2110/32—Velocity of the outside air
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2120/00—Control inputs relating to users or occupants
- F24F2120/10—Occupancy
- F24F2120/12—Position of occupants
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses an air conditioner control method, a terminal, an air conditioner and a computer readable storage medium, wherein the air conditioner control method comprises the following steps: when the wind speed of the air outlet of the air conditioner blown to the preset distance is detected to be less than the preset wind speed, namely in a no-wind-sense mode, acquiring the distance between the air outlet of the air conditioner and the face of the air outlet, which faces the fixed barrier; and determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, and controlling the air conditioner to work at the wind speed within the maximum wind speed range. When the air conditioner is in rooms with different sizes, the indoor air is adjusted at the same maximum air speed, so that the air conditioner is in a smaller space range, the maximum air speed of the air outlet is relatively higher, complete non-wind feeling can not be realized, and the problem that the non-wind feeling function cannot be realized due to the difference between the installation position of the air conditioner and the size of a house is avoided.
Description
Technical Field
The invention relates to the technical field of air conditioners, in particular to an air conditioner control method, a terminal, an air conditioner and a computer readable storage medium.
Background
At present, an air conditioner becomes an essential household appliance in life of people, and the air supply mode of the air conditioner has important influence on the comfort and the health of human bodies. However, most of the existing air conditioners adopt a programmed air supply mode, and particularly in a no-wind-sense mode, the no-wind-sense mode refers to a mode that the wind speed of the air outlet of the air conditioner blowing to a human body or a fixed obstacle is less than a preset wind speed, the preset wind speed is generally 0.3m/s, the angle of the microporous air guide strip is adjusted according to a certain wind speed gear setting, so that local no-wind-sense is realized, however, when the installation position of the air conditioner changes or the size of a room where the air conditioner is located changes, the no-wind-sense mode cannot be automatically adjusted according to the actual environment of the air conditioner, and therefore no-wind-sense cannot be comprehensively realized.
Disclosure of Invention
The invention mainly aims to provide an air conditioner control method, a terminal, an air conditioner and a computer readable storage medium, and aims to solve the technical problem that in the prior art, the control method cannot be automatically adjusted according to the size and the installation position of a room space where the air conditioner is located to achieve controllable no-wind feeling.
In order to achieve the above object, an embodiment of the present invention provides an air conditioner control method, including:
when the wind speed of the air outlet of the air conditioner blown to the preset distance is detected to be less than the preset wind speed;
acquiring the distance between the air outlet of the air conditioner and a fixed barrier opposite to the surface of the air outlet;
determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, and controlling the air conditioner to work at the wind speed within the maximum wind speed range; and the larger the distance is, the larger the maximum wind speed of the corresponding air outlet is.
Optionally, the step of determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet includes:
comparing the distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet with a preset distance interval list;
and determining a distance interval where the distance is located and the maximum wind speed of the air outlet of the air conditioner corresponding to the distance interval.
Optionally, the step of determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet includes:
if the air conditioner prestores the distance between the air outlet of the air conditioner and the fixed barrier opposite to the surface of the air outlet;
determining the distance difference between the distance between the air outlet of the current air conditioner and the face of the air outlet, which is opposite to the fixed barrier, and the pre-stored distance;
and if the distance difference is within the preset distance difference interval, keeping the wind speed of the air outlet corresponding to the pre-stored distance as the maximum wind speed of the air outlet of the air conditioner.
Optionally, after the step of determining a distance difference between a distance between the current air conditioner air outlet and the fixed obstacle and a pre-stored distance, the method further includes:
and if the distance difference is not within the preset distance difference interval, determining the current distance as a prestored distance, and determining the maximum wind speed of the air outlet of the air conditioner according to the current distance.
Optionally, a distance measuring sensor is further arranged on the air conditioner,
the step of obtaining the air outlet of the air conditioner and the distance between the surfaces of the air outlet and the fixed barriers is just opposite to the fixed barriers, further comprises the following steps:
and controlling the distance measuring sensor to detect the distance between the air outlet of the air conditioner and the fixed barrier opposite to the surface of the air outlet at intervals of preset time.
Optionally, the step of determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet includes:
after the preset time interval, if the detected distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet is consistent with the pre-stored distance, keeping the maximum air speed of the air outlet of the air conditioner unchanged;
and if the detected distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, is inconsistent with the pre-stored distance, taking the newly detected distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, as the pre-stored distance, and determining the maximum air speed of the air outlet of the air conditioner according to the current distance.
Optionally, the step of determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet includes:
and if the air conditioner is preset with the air outlet air speed, determining the preset air outlet air speed as the air outlet air speed of the air conditioner.
The present invention also provides a mobile terminal, comprising: the air conditioner control method comprises a memory, a processor and an air conditioner control program which is stored on the memory and can run on the processor, wherein the air conditioner control program realizes the steps of the air conditioner control method when being executed by the processor.
The present invention also provides an air conditioner, comprising: the system comprises a ranging sensor, a memory, a processor and an air conditioner control program stored on the memory and capable of running on the processor, wherein the air conditioner control program realizes the steps of the air conditioner control method when being executed by the processor.
The present invention also provides a computer-readable storage medium having stored thereon an air conditioner control program, which when executed by a processor, implements the steps of the air conditioner control method described above.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1. when the air conditioner is in a no-wind-feeling mode, acquiring the distance between an air outlet of the air conditioner and a fixed obstacle opposite to the air outlet; and determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the fixed obstacle, which is just opposite to the air outlet, and controlling the air conditioner to work at the determined wind speed. When the air conditioner is in a room with different sizes, the air conditioner is adjusted at the same wind speed in a non-wind-sensing mode, so that the air conditioner is in a smaller space range, the maximum wind speed of the air outlet is relatively larger, complete non-wind sensing cannot be realized, or the air conditioner is in a larger space range, the maximum wind speed of the air outlet is relatively smaller, and the air conditioner cannot be quickly adjusted to the space environment. Furthermore, the problem that the non-wind-sensing function cannot be realized due to the difference between the installation position of the air conditioner and the size of the house is avoided.
2. Comparing the distance between the air outlet of the air conditioner and a fixed obstacle facing the surface of the air outlet with a preset distance interval list, and determining the distance interval where the distance is located and the maximum air speed of the air outlet of the air conditioner corresponding to the distance interval; therefore, the maximum wind speed of the corresponding air outlet at the distance can be quickly obtained from the preset distance interval list, calculation of the distance obtained each time is not needed, the maximum wind speed of the air outlet suitable for the distance is obtained, the processing efficiency of the processor is improved, and the effect of quickly adjusting the maximum wind speed of the air outlet according to the detected distance is achieved.
3. The distance between the air outlet of the air conditioner and the face of the air outlet, which is detected currently, and a fixed obstacle is directly opposite to the face of the air outlet of the air conditioner, is judged to be compared with the pre-stored distance of the air conditioner which works in a non-wind-sensing mode before, when the distance difference is too small, the maximum wind speed of the air outlet corresponding to the pre-stored distance before does not need to be changed, the operation pressure of a processor is reduced, when the distance is changed to be small, the detected current distance and the pre-stored distance can be in the same distance interval, the maximum wind speed of the air outlet obtained correspondingly is consistent with the distance before, if the processor compares the currently detected distance with a preset distance interval list all the time, the corresponding maximum wind speed of the air outlet is determined, and.
4. After the preset time is passed, the distance between the air outlet of the air conditioner and the fixed barrier is just opposite to the surface of the air outlet, so that the maximum air speed of the corresponding air outlet is determined according to the detected distance, the continuous work of the distance measuring sensor is avoided, the resource waste is avoided, and the service life of the distance measuring sensor and the service life of the corresponding processor are not prolonged.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a flowchart illustrating an embodiment of a method for controlling an air conditioner according to the present invention;
fig. 3 is a schematic view of an application of the air conditioner control method according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal (hereinafter, referred to as a terminal) in a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 3) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an air conditioner control program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to call the air conditioner control program stored in the memory 1005.
Based on the hardware structure of the mobile terminal and the communication network system, the air conditioner control method and the mobile terminal are provided in various embodiments of the invention.
In an embodiment of a method for controlling an air conditioner according to the present invention, the air conditioner includes an air conditioner and a distance measuring sensor. The air conditioner realizes the air conditioning functions of refrigeration, heating, dehumidification, wind speed regulation and the like. The distance measuring sensor is used for detecting the distance between the air outlet of the air conditioner and the face of the air outlet, which is just opposite to the fixed barrier, and the distance measuring sensor can be arranged at different positions of the air conditioner according to the actual acquisition range or the application range, and the arrangement position of the distance measuring sensor is not limited.
The first embodiment is as follows:
the invention provides an air conditioner control method, in one embodiment of the air conditioner control method, referring to fig. 2 and 3, the method comprises the following steps:
step S10, when the wind speed of the air outlet of the air conditioner blown to the preset distance is detected to be less than the preset wind speed;
in the present application, the wind speed at the position where the wind is blown out from the wind outlet to the preset distance is less than the preset wind speed, and the preset wind speed is generally 0.3m/s, which is the non-wind-sensation mode in the following description. The preset wind speed may be set to other wind speeds. The preset distance is the shortest distance to which the air outlet of the air conditioner blows theoretically; when the wind blowing from the air outlet reaches the preset distance and the wind speed is less than the preset wind speed, the wind blowing is not felt, namely no wind feeling exists.
Step S20, obtaining the distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet;
the distance between the air outlet of the air conditioner and the face of the air outlet opposite to the fixed barrier can be detected by arranging a distance measuring sensor on the air conditioner, and the distance between the air outlet of the air conditioner and the face of the air outlet opposite to the fixed barrier can also be input through the outside, for example, the terminal controls the input. The distance between the air outlet and the fixed barrier, which is just opposite to the surface of the air outlet, is the preset distance in the previous step, namely the air speed of the air outlet blowing to the fixed barrier is smaller than the preset air speed.
The distance measuring sensor may be an infrared sensor or a laser sensor, and may be any device capable of detecting a distance, and is not limited specifically herein.
The fixed barrier is an object which is fixedly arranged right opposite to the surface of the air outlet of the air conditioner, can be a fixed object which is used for separating the space of the air conditioner, such as a wall surface, a screen or a wardrobe and the like.
The distance between the air outlet of the air conditioner and the fixed barrier just opposite to the surface of the air outlet can be detected by the distance measuring sensor:
step S01, a distance measuring signal is transmitted to the face of the air outlet opposite to the fixed barrier by a transmitter of a distance measuring sensor, and the distance measuring sensor is installed on the air conditioner;
step S02, a receiver of the ranging sensor receives a reflected signal formed by the ranging signal on the surface of the air outlet, which is opposite to a fixed obstacle;
and step S03, acquiring the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet according to the time from the transmission of the ranging signal to the reception of the reflected signal.
For example, the distance measuring sensor may be installed on a side of the air conditioner facing the fixed obstacle and near the air outlet, the distance measuring sensor may be an infrared sensor, the transmitter is an infrared transmitter, the distance measuring signal transmitted by the transmitter is an infrared signal, and the receiver is an infrared receiver; or the distance measuring sensor can be a laser sensor, the transmitter is a laser transmitter, the distance measuring signal transmitted by the transmitter is a laser signal, and the receiver is a laser receiver.
The distance between the air conditioner outlet and the fixed obstacle can be calculated by using the time from the emission of the ranging signal to the reception of the reflected signal, and the propagation speed V of the ranging signal and the reflected signal (the propagation speed of the ranging signal and the propagation speed of the reflected signal are equal), wherein the propagation speed V is generally known, for example, if the ranging sensor is an infrared emitter or a laser emitter, the ranging signal and the reflected signal are optical signals, and therefore the propagation speed V is the speed of light.
Step S30, determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the fixed barrier facing the surface of the air outlet, and controlling the air conditioner to work at the wind speed within the maximum wind speed range; and the larger the distance is, the larger the maximum wind speed of the corresponding air outlet is.
The distance between the air outlet of the air conditioner and the fixed obstacle is different, and the wind speed of the air outlet of the air conditioner is different in the non-wind sensing mode. If the air conditioner air outlet with just to the distance between the fixed barrier less, the wind speed of air outlet is great, though be in under the no wind sense mode, nevertheless because the wind speed is too big, the wind of air outlet still has some and can directly blow the space of blowing that the air outlet corresponds, if the human body is in this space of blowing, still can experience the wind of air outlet and directly blow to the human body on, can't experience the travelling comfort of no wind sense. If the distance between the air outlet of the air conditioner and the fixed obstacle is relatively large, the air speed of the air outlet is relatively small, and the air outlet is in a no-wind-sense mode due to the fact that the air speed is too small, air flowing of a blowing space corresponding to the air outlet is relatively small, and the air conditioner is not beneficial to adjusting the environment of the current space.
For example, an air conditioner is fixedly arranged on a wall of a room, when a user uses the air conditioner to adjust the indoor environment temperature, a no-wind-sense mode is started, at the moment, the air conditioner is arranged near an air outlet of the air conditioner, the distance between the air outlet of the air conditioner and the wall surface of the air outlet, which is detected by a distance measuring sensor facing one side of the wall surface facing a fixed obstacle, is 5 meters, when the distance is 5 meters, the maximum wind speed of the air outlet of the air conditioner is determined to be the 5 th wind speed in the maximum wind speed which can be provided by the hardware performance of the air conditioner, the air conditioner controls the maximum wind speed of the air outlet to be the 5 th wind speed, and the indoor environment is adjusted by the wind speed within the 5.
In this embodiment, when it is detected that the wind speed at the position where the wind from the air outlet of the air conditioner blows to the preset distance is smaller than the preset wind speed, that is, in the no-wind-sense mode, the distance between the air outlet of the air conditioner and the fixed obstacle, that is, the preset distance, is obtained; and determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, and controlling the air conditioner to work at the wind speed within the maximum wind speed range. When the air conditioner is in a room with different sizes, the air conditioner is adjusted at the same wind speed in a non-wind-sensation mode, so that the air conditioner is in a smaller space range, the maximum wind speed of the air outlet is relatively larger, complete non-wind sensation cannot be realized, the air conditioner is in a larger space range, the maximum wind speed of the air outlet is relatively smaller, and the air conditioner cannot be quickly adjusted to the space environment. Furthermore, the problem that the non-wind-sensing function cannot be realized due to the difference between the installation position of the air conditioner and the size of the house is avoided.
Example two:
optionally, in an embodiment of the air conditioner control method according to the present invention, in step S30, the step of determining the maximum wind speed of the air conditioner outlet according to the distance between the air conditioner outlet and the fixed obstacle facing the surface of the air outlet includes:
step S31, comparing the distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet with a preset distance interval list;
and step S32, determining a distance section where the distance is located and the maximum wind speed of the air outlet of the air conditioner corresponding to the distance section.
The preset distance interval list may include a plurality of distance intervals, and the distance intervals are numerical intervals. For example, the distance section list includes three distance sections, five distance sections, or ten distance sections, and according to the magnitude of the distance value detected in real time, it is determined to which distance section the distance value detected in real time belongs, that is, the distance sections in which different distances are located are determined, and based on a mapping relationship between the distance sections and the maximum wind speed of the air outlet set in advance, the maximum wind speed of the air outlet corresponding to each distance section is further determined. Therefore, when the air conditioner is in the no-wind-sensation mode, the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet or the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet input from the outside is detected through the distance measuring sensor, the detected distance interval where the distance is located is determined according to the comparison between the detected distance and a preset distance interval list, and the maximum wind speed of the air outlet corresponding to the distance is determined according to the mapping relation between the distance interval and the maximum wind speed of the air outlet.
For example, the preset distance interval list is provided with ten distance intervals, the distance is represented by d, and the distance is 0< d ≦ 1m, 1< d ≦ 2m, 2< d ≦ 3m, 3< d ≦ 4m, 4< d ≦ 5m, 5< d ≦ 6m, 6< d ≦ 7m, 7< d ≦ 8m, 8< d ≦ 9m, and 9< d ≦ 10 m. The wind speed of the first gear to the wind speed of the tenth gear are sequentially and linearly increased corresponding to the wind speed of the first gear to the wind speed of the tenth gear. If the distance between the air outlet of the air conditioner and the face of the air outlet, which is opposite to the fixed barrier, is 4.5m, the distance 4.5m belongs to a distance interval 4< d is less than or equal to 5m, the maximum air speed of the air outlet corresponding to the distance interval is a fifth-gear air speed, when the air conditioner is in a non-wind-sensing mode, the maximum air speed of the air outlet is adjusted to be the fifth-gear air speed, air is supplied by the air speed within the fifth-gear air speed range, that is, under the distance range, the fifth-gear air speed of the air conditioner is the current maximum air speed of the air outlet of the air conditioner, the current air conditioner can output air at the air speed within the maximum air speed range, and the air speed within the maximum air speed range can be divided into a plurality of wind gears for air speed adjustment.
In this embodiment, the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet is compared with a preset distance interval list, so as to determine the distance interval where the distance is located and the maximum wind speed of the air outlet of the air conditioner corresponding to the distance interval; therefore, the maximum wind speed of the corresponding air outlet at the distance can be quickly obtained from the preset distance interval list, calculation of the distance obtained each time is not needed, the wind speed of the air outlet at the proper distance can be obtained, the processing efficiency of the processor is improved, and the effect of quickly adjusting the maximum wind speed of the air outlet according to the detected distance is achieved.
Example three:
optionally, in an embodiment of the air conditioner control method according to the present invention, in step S30, the step of determining the maximum wind speed of the air conditioner outlet according to the distance between the air conditioner outlet and the fixed obstacle facing the surface of the air outlet includes:
step S33, if the air conditioner prestores the distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet, determining the distance difference between the distance between the current air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet and the prestored distance;
and pre-storing the distance, namely the distance corresponding to the maximum wind speed of the air outlet, which is stored before the air conditioner in the no-wind-sense mode. Since the air conditioner is not frequently moved after being placed in a room, the pre-stored distance may be a constant value. The current distance, the distance between the air outlet of the air conditioner and the fixed barrier just opposite to the face of the air outlet, which is detected in real time. And comparing the current distance with the pre-stored distance to determine whether the position of the air conditioner is changed.
Step S34, if the distance difference is within a preset distance difference interval, keeping the wind speed of the air outlet corresponding to the pre-stored distance as the maximum wind speed of the air outlet of the air conditioner;
the preset distance difference interval is a numerical value interval. For example, the preset distance difference interval is-0.1 ≤ d ≤ 0.1m, if the detected distance difference between the current distance and the pre-stored distance or the distance difference between the pre-stored distance and the current distance is-0.1 ≤ d ≤ 0.1m, it is determined that the position of the air conditioner has changed, but the change is very small, and at this time, the air outlet of the air conditioner is controlled by directly using the air speed of the air outlet corresponding to the previous pre-stored distance as the maximum air speed of the air outlet of the air conditioner. The problem that under the condition that the air conditioner moves in a small range, the maximum air speed of the air outlet is changed by looking up a table according to the current distance in real time, so that the processing pressure of the processor is high, unnecessary data processing is carried out, and resource waste is caused is avoided.
And step S35, if the distance difference is not within the preset distance difference interval, determining the current distance as a pre-stored distance, and determining the maximum wind speed of the air outlet of the air conditioner according to the current distance.
And if the air speed of the air outlet corresponding to the previous pre-stored distance is still used as the maximum air speed of the air outlet to work, the requirement of the current air conditioner for adjusting the environment can not be met obviously, the maximum air speed of the corresponding air outlet needs to be determined again according to the detected current distance, and the current distance is updated to be the pre-stored distance.
In this embodiment, by comparing the distance between the currently detected air outlet of the air conditioner and the face of the air outlet facing the fixed barrier with the pre-stored distance of the air conditioner operating in the no-wind-sensation mode before, when the distance difference is too small, the maximum wind speed of the air outlet corresponding to the pre-stored distance before does not need to be changed, the operation pressure of the processor is reduced, and when the distance change is small, the detected current distance and the pre-stored distance may be in the same distance interval, and the maximum wind speed of the air outlet obtained correspondingly is consistent with the previous distance.
Example four:
optionally, in an embodiment of the air conditioner control method according to the present invention, the air conditioner is further provided with a distance measuring sensor, and step S20, the step of obtaining a distance between the air outlet of the air conditioner and a fixed obstacle facing the surface of the air outlet further includes:
and step S21, controlling the distance measuring sensor to detect the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet at intervals of preset time.
The preset time can be set according to the air conditioner system or set by a user according to actual requirements. After the preset time interval, the distance measuring sensor detects the distance between the air outlet of the air conditioner and the fixed barrier facing the surface of the air outlet again.
Step S22, after a preset time interval, if the detected distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet is consistent with the pre-stored distance, keeping the maximum air speed of the air outlet of the air conditioner unchanged;
and step S23, if the detected distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet is inconsistent with the pre-stored distance, taking the newly detected distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet as the pre-stored distance, and determining the maximum air speed of the air outlet of the air conditioner according to the current distance.
Because the air conditioner is generally fixed in position, in a starting state, after the distance measuring sensor detects the distance between the air outlet of the air conditioner and the face of the air outlet, which faces a fixed barrier, when the no-wind-sense mode is started, the maximum wind speed of the air outlet of the air conditioner is determined according to the wind speed of the air outlet corresponding to the detected distance. If the re-detected distance, namely the current distance, is compared with the distance in which the air conditioner works before, namely the pre-stored distance, whether the position of the air conditioner is changed or not is determined; if the current distance is consistent with the pre-stored distance, the air conditioner does not change the position, and the air conditioner can work by keeping the pre-stored distance and the maximum wind speed. If the current distance is not consistent with the prestored distance, the current distance is updated to the prestored distance, and the maximum wind speed of the work is determined according to the new prestored distance.
For example, after 3 months of interval, the distance between the surface of the air outlet of the air conditioner and the surface of the air outlet opposite to the wall surface is detected to be 5m, 5m is the current distance, and if the pre-stored distance in front of the air conditioner is 5m, the air conditioner is directly controlled to work according to the maximum wind speed corresponding to the pre-stored distance of 5 m. And if the pre-stored distance before the air conditioner is 4m, updating the distance of 5m to be a new pre-stored distance, determining the maximum wind speed of the corresponding air outlet under the pre-stored distance of 5m, and executing related work according to the newly determined maximum wind speed of the air outlet.
Because the air conditioner is in a fixed position, if the distance measuring sensor works all the time, the detected current distance is transmitted to the processor for processing, which is obviously not beneficial to the long-term use of the distance measuring sensor, and also aggravates the processing pressure of the processor, and wastes resources to a certain extent. After a period of time, the distance measuring sensor is started to measure the distance between the air outlet of the air conditioner and the fixed barrier just opposite to the surface of the air outlet, on one hand, the waste of the distance measuring sensor and processor resources is avoided, and on the other hand, the air conditioner is guaranteed to timely adjust the maximum air speed of the air outlet according to the detected distance.
In this embodiment, after the interval preset time, the face of air conditioner air outlet and air outlet just detects the distance between the fixed barrier to confirm the maximum wind speed of the corresponding air outlet according to the distance that should detect, avoid range sensor to last work, cause the waste of resource, also do not contribute to the life of extension range sensor and corresponding treater.
Example five:
optionally, in an embodiment of the air conditioner control method according to the present invention, in step S30, the step of determining the maximum wind speed of the air conditioner outlet according to the distance between the air conditioner outlet and the fixed obstacle facing the surface of the air outlet includes:
step S301, if the air conditioner has a preset air outlet air speed, determining the preset air outlet air speed as the air outlet air speed of the air conditioner.
The preset air outlet air speed generally refers to an air outlet air speed set by a user in a self-defined manner. And when the wind speed set by the user exists, controlling the air conditioner to work at the wind speed set by the user on the basis of the principle that the priority set by the user is high.
The present invention also provides a mobile terminal, comprising: the air conditioner control method comprises a memory, a processor and an air conditioner control program which is stored on the memory and can run on the processor, wherein the air conditioner control program realizes the steps of the air conditioner control method when being executed by the processor.
The present invention also provides an air conditioner, comprising: the system comprises a ranging sensor, a memory, a processor and an air conditioner control program stored on the memory and capable of running on the processor, wherein the air conditioner control program realizes the steps of the air conditioner control method when being executed by the processor.
The present invention also provides a computer-readable storage medium, wherein an air conditioner control program is stored on the computer-readable storage medium, and when executed by a processor, the air conditioner control program implements the steps of the air conditioner control method described above.
In the embodiments of the mobile terminal, the air conditioner, and the computer-readable storage medium of the present invention, all technical features of the embodiments of the air conditioner control method are included, and the expanding and explaining contents of the specification are substantially the same as those of the embodiments of the air conditioner control method, and are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention 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 such alterations and modifications as fall within the scope of the invention.
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 (8)
1. An air conditioner control method, characterized in that the air conditioner control method comprises:
when the wind speed of the air outlet of the air conditioner blown to the preset distance is detected to be less than the preset wind speed;
acquiring the distance between the air outlet of the air conditioner and a fixed obstacle facing the surface of the air outlet through a distance measuring sensor, wherein the distance measuring sensor is an infrared sensor or a laser sensor;
determining the maximum wind speed of the air outlet of the air conditioner according to the distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, and controlling the air conditioner to work at the wind speed within the maximum wind speed range; the larger the distance is, the larger the maximum wind speed of the corresponding air outlet is;
the step of determining the maximum wind speed of the air conditioner air outlet according to the distance between the air conditioner air outlet and the fixed barrier facing the surface of the air outlet comprises the following steps:
comparing the distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet with a preset distance interval list;
and determining a distance interval where the distance is located and the maximum wind speed of the air outlet of the air conditioner corresponding to the distance interval.
2. The method as claimed in claim 1, wherein the step of determining the maximum wind speed of the outlet of the air conditioner according to the distance between the outlet and the fixed obstacle facing the surface of the outlet comprises:
if the air conditioner prestores the distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet, determining the distance difference between the current distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet and the prestored distance;
and if the distance difference is within the preset distance difference interval, keeping the wind speed of the air outlet corresponding to the pre-stored distance as the maximum wind speed of the air outlet of the air conditioner.
3. The method as claimed in claim 2, wherein after the step of determining the difference between the distance between the current air conditioner outlet and the fixed obstacle facing the outlet, and the pre-stored distance, the method further comprises:
and if the distance difference is not within the preset distance difference interval, determining the current distance as a pre-stored distance, and determining the maximum wind speed of the air outlet of the air conditioner according to the current distance.
4. The method of claim 1, wherein the step of obtaining the distance between the air outlet of the air conditioner and the fixed obstacle facing the surface of the air outlet further comprises:
and controlling the distance measuring sensor to detect the distance between the air outlet of the air conditioner and the fixed barrier opposite to the surface of the air outlet at intervals of preset time.
5. The method as claimed in claim 4, wherein the step of determining the maximum wind speed of the outlet of the air conditioner according to the distance between the outlet and the fixed obstacle facing the surface of the outlet comprises:
after the preset time interval, if the detected distance between the air outlet of the air conditioner and the fixed obstacle opposite to the surface of the air outlet is consistent with the pre-stored distance, keeping the maximum air speed of the air outlet of the air conditioner unchanged;
and if the detected distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, is inconsistent with the pre-stored distance, taking the newly detected distance between the air outlet of the air conditioner and the surface of the air outlet, which is opposite to the fixed barrier, as the pre-stored distance, and determining the maximum air speed of the air outlet of the air conditioner according to the current distance.
6. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor, and an air conditioner control program stored on the memory and executable on the processor, the air conditioner control program when executed by the processor implementing the steps of the air conditioner control method of any one of claims 1 to 5.
7. An air conditioner, characterized in that the air conditioner comprises: ranging sensor, a memory, a processor and an air conditioner control program stored on the memory and executable on the processor, the air conditioner control program when executed by the processor implementing the steps of the air conditioner control method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that an air conditioner control program is stored thereon, which when executed by a processor implements the steps of the air conditioner control method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810616760.3A CN108518820B (en) | 2018-06-13 | 2018-06-13 | Air conditioner control method, terminal, air conditioner and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810616760.3A CN108518820B (en) | 2018-06-13 | 2018-06-13 | Air conditioner control method, terminal, air conditioner and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108518820A CN108518820A (en) | 2018-09-11 |
CN108518820B true CN108518820B (en) | 2021-03-19 |
Family
ID=63427452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810616760.3A Active CN108518820B (en) | 2018-06-13 | 2018-06-13 | Air conditioner control method, terminal, air conditioner and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108518820B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110410989B (en) * | 2019-08-13 | 2020-07-14 | 珠海格力电器股份有限公司 | Method and device for detecting distance between air conditioner indoor unit and air outlet and air conditioning system |
CN111023574A (en) * | 2019-11-04 | 2020-04-17 | 佛山市云米电器科技有限公司 | Rapid heating and constant temperature control method and fan heater |
CN111023572A (en) * | 2019-11-04 | 2020-04-17 | 佛山市云米电器科技有限公司 | Rapid heating method of warm air blower and warm air blower |
CN111023248A (en) * | 2019-11-04 | 2020-04-17 | 佛山市云米电器科技有限公司 | Rapid heating and constant temperature control method and fan heater |
CN111023247A (en) * | 2019-11-04 | 2020-04-17 | 佛山市云米电器科技有限公司 | Rapid heating and constant temperature control method and fan heater |
CN110986314A (en) * | 2019-12-05 | 2020-04-10 | 青岛海尔空调器有限总公司 | Intelligent air supply adjusting method of air conditioner and air conditioner |
CN111442502B (en) * | 2020-04-07 | 2022-06-28 | 青岛海尔空调器有限总公司 | Air supply control method and system of air conditioner |
CN112665160B (en) * | 2020-12-21 | 2022-01-28 | 珠海格力电器股份有限公司 | Control method of air conditioner and air conditioner |
CN112728711A (en) * | 2020-12-24 | 2021-04-30 | 珠海格力电器股份有限公司 | Control method for intelligent air supply of air conditioner, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104456853A (en) * | 2014-12-08 | 2015-03-25 | 广东美的制冷设备有限公司 | Air conditioner and control method and system thereof |
CN104676759A (en) * | 2015-02-13 | 2015-06-03 | 广东美的制冷设备有限公司 | Air conditioner indoor unit and control method thereof |
CN104949294A (en) * | 2015-07-23 | 2015-09-30 | 广东美的制冷设备有限公司 | Control method, control system and air conditioner |
CN105135518A (en) * | 2015-08-07 | 2015-12-09 | 广东美的制冷设备有限公司 | Indoor unit of air conditioner and controlling method for indoor air outlet of air conditioner |
CN105241017A (en) * | 2015-10-26 | 2016-01-13 | 广东美的制冷设备有限公司 | Air conditioner system and frequency control method of air conditioner compressor |
CN106440201A (en) * | 2016-09-26 | 2017-02-22 | 北京智能管家科技有限公司 | Air conditioner air supply method and device and air conditioner |
CN107246704A (en) * | 2017-02-20 | 2017-10-13 | 珠海格力电器股份有限公司 | Intelligent air supply control method and device for air conditioner |
CN107906695A (en) * | 2017-10-02 | 2018-04-13 | 广东美的制冷设备有限公司 | Air conditioner air blowing control method, air conditioner and readable storage medium |
CN107907884A (en) * | 2017-10-02 | 2018-04-13 | 广东美的制冷设备有限公司 | Object distance detection method, device, air conditioner and storage medium |
CN108050666A (en) * | 2017-12-28 | 2018-05-18 | 广东美的制冷设备有限公司 | Automatic air conditionning method, air-conditioning and computer readable storage medium |
-
2018
- 2018-06-13 CN CN201810616760.3A patent/CN108518820B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104456853A (en) * | 2014-12-08 | 2015-03-25 | 广东美的制冷设备有限公司 | Air conditioner and control method and system thereof |
CN104676759A (en) * | 2015-02-13 | 2015-06-03 | 广东美的制冷设备有限公司 | Air conditioner indoor unit and control method thereof |
CN104949294A (en) * | 2015-07-23 | 2015-09-30 | 广东美的制冷设备有限公司 | Control method, control system and air conditioner |
CN105135518A (en) * | 2015-08-07 | 2015-12-09 | 广东美的制冷设备有限公司 | Indoor unit of air conditioner and controlling method for indoor air outlet of air conditioner |
CN105241017A (en) * | 2015-10-26 | 2016-01-13 | 广东美的制冷设备有限公司 | Air conditioner system and frequency control method of air conditioner compressor |
CN106440201A (en) * | 2016-09-26 | 2017-02-22 | 北京智能管家科技有限公司 | Air conditioner air supply method and device and air conditioner |
CN107246704A (en) * | 2017-02-20 | 2017-10-13 | 珠海格力电器股份有限公司 | Intelligent air supply control method and device for air conditioner |
CN107906695A (en) * | 2017-10-02 | 2018-04-13 | 广东美的制冷设备有限公司 | Air conditioner air blowing control method, air conditioner and readable storage medium |
CN107907884A (en) * | 2017-10-02 | 2018-04-13 | 广东美的制冷设备有限公司 | Object distance detection method, device, air conditioner and storage medium |
CN108050666A (en) * | 2017-12-28 | 2018-05-18 | 广东美的制冷设备有限公司 | Automatic air conditionning method, air-conditioning and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108518820A (en) | 2018-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108518820B (en) | Air conditioner control method, terminal, air conditioner and computer readable storage medium | |
CN108489034B (en) | Air conditioner control method, terminal, air conditioner and computer readable storage medium | |
KR102269035B1 (en) | Server and method for controlling a group action | |
US20220052870A1 (en) | Home appliance and control authority sharing method thereof, control terminal and storage medium thereof | |
CN110910503B (en) | Simulation method and device for air conditioning environment | |
CN108458444B (en) | Air conditioner control method, terminal, air conditioner and computer readable storage medium | |
EP2880567B1 (en) | Method and apparatus for switching software interface of a mobile terminal | |
CN108375168B (en) | Method for adjusting air conditioning equipment | |
CN107144056B (en) | The control method and computer readable storage medium of air conditioner and electric expansion valve | |
CN108061426B (en) | Refrigerator control method, refrigerator and computer-readable storage medium | |
JP2003219485A (en) | Household electric apparatus control system and controller, household electric apparatus and remote controller | |
EP3486746B1 (en) | Apparatus control system | |
CN110032156B (en) | Control and adjustment method of household equipment, terminal and household equipment | |
JP7002680B2 (en) | Control method of air conditioning equipment, control device, air conditioning equipment and storage medium | |
CN103116336A (en) | Method and device for automatic management of controlled device through intelligent home control terminal | |
CN105627494A (en) | Method and system for controlling operation of air conditioner | |
US20160054017A1 (en) | Air conditioning management device, air conditioning system, and program | |
JP2021529925A (en) | Control method of air conditioning equipment, equipment and air conditioning equipment | |
CN108762877B (en) | Control method of mobile terminal interface and mobile terminal | |
CN107733016B (en) | Mobile terminal charging control method and mobile terminal | |
CN112229036B (en) | Control method of air conditioner, terminal, air conditioner and storage medium | |
CN112229037A (en) | Control method of air conditioner, terminal, air conditioner and storage medium | |
CN111141009A (en) | Refrigeration control method and device and storage medium | |
CN107505923B (en) | Device control method, electronic device, and computer-readable storage medium | |
CN107575993B (en) | Multi-connected fresh air machine control method and device and computer readable storage medium |
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 |