WO2023273382A1 - Air conditioner control method and device - Google Patents

Air conditioner control method and device Download PDF

Info

Publication number
WO2023273382A1
WO2023273382A1 PCT/CN2022/078976 CN2022078976W WO2023273382A1 WO 2023273382 A1 WO2023273382 A1 WO 2023273382A1 CN 2022078976 W CN2022078976 W CN 2022078976W WO 2023273382 A1 WO2023273382 A1 WO 2023273382A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
air conditioner
angle
opening size
wind deflector
Prior art date
Application number
PCT/CN2022/078976
Other languages
French (fr)
Chinese (zh)
Inventor
李鹏辉
李海军
王彩平
赵国胜
贾香慧
周洪进
张润雨
Original Assignee
青岛海尔空调器有限总公司
青岛海尔空调电子有限公司
海尔智家股份有限公司
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 青岛海尔空调器有限总公司, 青岛海尔空调电子有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔空调器有限总公司
Publication of WO2023273382A1 publication Critical patent/WO2023273382A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/72Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
    • F24F11/79Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling the direction of the supplied air
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control 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/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data

Definitions

  • the present application relates to the technical field of air conditioners, in particular to an air conditioner control method and device.
  • Embodiments of the present application provide an air conditioner control method and device to solve the problem of high energy consumption of the air conditioner when windows are opened.
  • an embodiment of the present application provides a method for controlling an air conditioner, wherein a vertical wind deflector is provided in the air conditioner, and the method includes:
  • the switch state is an open state or a closed state
  • the window is a window of the room where the air conditioner is located
  • the angle between the vertical wind deflector and the air conditioner is adjusted to the first angle.
  • the obtaining the opening degree of the window includes:
  • the opening degree of the window is determined according to the opening size and the maximum opening size.
  • the determining the opening degree of the window according to the opening size and the maximum opening size includes:
  • the first ratio is the ratio of the opening size to the maximum opening size, the first ratio is greater than 0 and less than or equal to 1 value;
  • the first ratio is determined as the opening degree of the window.
  • the determining the first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window includes:
  • the first included angle is determined according to the target interval range and the corresponding relationship.
  • the method also includes:
  • an infrared detection device is provided on the window, and the air conditioner is connected to the infrared detection device by Bluetooth;
  • the acquisition of the switch state of the window includes:
  • the obtaining the opening degree of the window includes:
  • the opening size of the window sent by the infrared detection device is received.
  • the embodiment of the present application provides an air conditioner control device, the air conditioner is provided with a vertical wind deflector, and the device includes:
  • the first acquisition module is used to acquire the switch state of the window, the switch state is an open state or a closed state, and the window is a window of the room where the air conditioner is located;
  • the second acquisition module is used to acquire the opening degree of the window when the switch state of the window is in the open state
  • a determining module configured to determine a first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window
  • a processing module configured to adjust the angle between the vertical wind deflector and the air conditioner to the first angle.
  • the second acquiring module is specifically configured to:
  • the opening degree of the window is determined according to the opening size and the maximum opening size.
  • the second acquiring module is specifically configured to:
  • the first ratio is the ratio of the opening size to the maximum opening size, the first ratio is greater than 0 and less than or equal to 1 value;
  • the first ratio is determined as the opening degree of the window.
  • the determination module is specifically used for:
  • the first included angle is determined according to the target interval range and the corresponding relationship.
  • the processing module is also used for:
  • an infrared detection device is provided on the window, and the air conditioner is connected to the infrared detection device by Bluetooth;
  • the first acquisition module is specifically used for:
  • the second acquiring module is specifically used for:
  • the opening size of the window sent by the infrared detection device is received.
  • an air conditioner control device including:
  • a processor configured to execute the program stored in the memory, and when the program is executed, the processor is configured to execute the method described in any one of the above first aspect and various possible designs of the first aspect.
  • an embodiment of the present application provides an air conditioner, the air conditioner includes a control device for the air conditioner, configured to execute the method described in any one of the above first aspect and various possible designs of the first aspect.
  • the embodiment of the present application provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the above-mentioned first aspect and any one of the various possible designs of the first aspect. method.
  • an embodiment of the present application provides a computer program product, the program product including: a computer program stored in a readable storage medium, and at least one processor of an electronic device can read from the readable storage medium The medium reads the computer program, and the at least one processor executes the computer program so that the electronic device executes the method described in any one of the above first aspect and various possible designs of the first aspect.
  • Embodiments of the present application provide an air conditioner control method and device.
  • the method includes: acquiring a switch state of a window, where the switch state is an open state or a closed state, and the window is a window of a room where the air conditioner is located.
  • the switch state of the window is open, obtain the opening degree of the window.
  • the opening degree of the window determine the first included angle between the vertical wind deflector and the air conditioner. Adjust the included angle between the vertical wind deflector and the air conditioner to the first included angle.
  • the angle between the air deflector and the air conditioner is adjusted to the first angle, so as to change the air outlet direction and the covered area of the cold air of the air conditioner, thereby In order to avoid the problems of poor cooling effect and high energy consumption of the air conditioner caused by the coincidence of the cold air coverage area of the air conditioner and the hot air area where the window is located.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application
  • Fig. 2 is a flow chart 1 of the air conditioner control method provided by the embodiment of the present application.
  • Fig. 3 is the schematic diagram of the window provided by the embodiment of the present application.
  • Figure 4 is a schematic diagram of adjusting the angle between the vertical wind deflector and the air conditioner to the first angle provided by the embodiment of the present application;
  • FIG. 5 is the second flow chart of the air conditioner control method provided by the embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an air conditioner control device provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a hardware structure of an air conditioner control device provided by an embodiment of the present application.
  • this application proposes the following technical idea: Considering the case of the room with the window open, taking summer air conditioning as an example, a large amount of hot air is continuously flowing from Windows flooded into the room. According to the refrigeration process of the air conditioner, the cold air obtained by the air conditioner refrigeration system is blown out from the vertical wind deflector of the air conditioner into the room. Among them, the air outlet direction of the cold air and the coverage area of the cold air can be controlled and changed by adjusting the angle between the vertical wind deflector and the air conditioner.
  • the present application adjusts the angle between the vertical wind deflector of the air conditioner and the air conditioner to change the area covered by the cold air of the air conditioner, thereby avoiding the overlap between the area covered by the air conditioner’s cold air and the hot air area where the window is located.
  • the problem of poor cooling effect and high energy consumption of air conditioner causes the problem of poor cooling effect and high energy consumption of air conditioner.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application. Please refer to Figure 1, including: the air conditioner and the infrared detection device on the window of the room where the air conditioner is installed.
  • the air conditioner includes a plurality of vertical wind deflectors and a display panel.
  • the display panel of the air conditioner displays the cooling mode. Adjust the angle between the vertical wind deflector and the air conditioner to change the air outlet direction of the cold air.
  • the infrared detection device is used to detect the opening and closing state of the window, measure the opening size of the window, and send a detection signal to the air conditioner, wherein the detection signal includes, for example, the opening and closing state of the window, and, when the window is in the open state, the opening size of the window.
  • the air conditioner and the infrared detection device can, for example, establish a Bluetooth connection, and the infrared detection device sends the opening and closing status of the window to the air conditioner through Bluetooth communication.
  • the air conditioner When receiving the switch state of the window as the open state, the air conditioner receives the opening size of the window sent by the infrared detection device, and adjusts the angle between the vertical wind deflector and the air conditioner according to the opening size to change the direction of the cold air outlet and the cooling effect. air coverage area.
  • FIG. 2 is a flowchart 1 of the air conditioner control method provided by the embodiment of the present application.
  • the method includes:
  • the execution subject of each embodiment of the present application is an air conditioner, and may also be a control device installed in the air conditioner.
  • the control device for the air conditioner may be implemented by software, or by a combination of software and hardware.
  • the window is the window of the room where the air conditioner is located, and the window may be, for example, a sliding window, a casement window, and a vertically hanging window, etc., and there is no limitation on this.
  • a horizontal sliding window is taken as an example for introduction.
  • FIG. 3 is a schematic diagram of the window provided in the embodiment of the present application.
  • the windows in the figure are two windows.
  • the window on the left is fixed, and the window on the right is pushed to the left to achieve window ventilation.
  • the left picture of Fig. 3 shows that the right window is closed, and the figure shows the maximum opening size that the right window can reach when it is opened.
  • the right window in the right figure in Fig. 3 is in the open state, and the figure shows the current opening size of the right window in the open state.
  • a detection device is arranged on the window, which is used for detecting the switch state of the window, and sending the opening size of the window to the air conditioner when the window is in the open state.
  • the detection device may be, for example, an infrared detection device, an ultrasonic ranging sensor, a laser ranging sensor, and the like.
  • the detection device is, for example, an infrared detection device
  • the infrared detection device uses the principle that the intensity of the reflection of the infrared signal at different distances from obstacles is different to measure the opening and closing status of the window and the opening size of the window.
  • the infrared detection device determines that the switch state of the window is an open state, and the current opening size of the window is the maximum opening size of the window; or, when the infrared detection device When the detected distance is less than the maximum opening size of the window and greater than 0, the infrared detection device determines that the switch state of the window is an open state, and this distance is the current opening size of the window; or, when the distance detected by the infrared detection device is equal to When 0, the infrared detection device determines that the switch state of the window is closed.
  • the air conditioner and the detection device can be connected, and the detection device sends the window switch state to the air conditioner through the Bluetooth connection. Similarly, the air conditioner receives the window switch state sent from the detection device through the Bluetooth connection.
  • the air conditioner determines that the switch state of the window is closed, it directly determines that the angle between the vertical wind deflector and the air conditioner is a preset angle.
  • the air conditioner may, for example, prompt the user that the window in the current room is open by means of voice or indicator light.
  • the user can shut down the air conditioner.
  • the user can press the on/off button in the remote control of the air conditioner, so that the air conditioner receives the shutdown command input by the user; or, a voice device is provided in the air conditioner, and the voice device can collect and recognize the voice information of the user, The user can input voice information for instructing to turn off the air conditioner, so as to input the turn off command.
  • the user can control the air conditioner to shut down through the voice information.
  • the user operation is simple and convenient, and the flexibility is high, which improves the user experience. Specifically, when the user sends voice commands such as "turn off the air conditioner” and “shut down” to the air conditioner, the air conditioner receives and performs a shutdown operation.
  • the opening degree of the window is used to indicate the current opening size of the window relative to the maximum opening size of the window.
  • the current opening size of the window and the maximum opening size of the window are acquired from the infrared detection device.
  • the current opening degree of the window is determined by calculating the ratio of the current opening size of the window to the maximum opening size of the window. Wherein, the current opening degree is the ratio of the current opening size of the window to the maximum opening size of the window.
  • the current opening degree is 1 when the ratio of the current opening size of the window to the maximum opening size of the window is 1, then it is determined that the current switch state of the window is an open state, and the opening degree of the window is 1, which means that the window opening degree reaches Maximum; if the current opening degree is 1/2 of the ratio of the current opening size of the window to the maximum opening size of the window, it is determined that the current switch state of the window is open, and the opening degree is 1/2, which means The window is half open; if the current opening degree is 0 when the ratio of the current opening size of the window to the maximum opening size of the window is 0, it is determined that the current switch state of the window is closed, and the opening degree of the window is 0, that is, the window is fully open. Disabled.
  • the current opening size of the window and the maximum opening size of the window are obtained from the infrared detection device.
  • the opening degree of the window is determined by calculating the ratio of the current opening size of the window to the maximum opening size of the window.
  • the current opening degree is the opening degree corresponding to the interval where the ratio of the current opening size of the window to the maximum opening size of the window is located.
  • the opening degree includes: full opening, the first opening degree, the second opening degree, and the third opening degree, and the opening degrees in descending order are: full opening, the first opening degree, the second opening degree, and the third opening degree.
  • a plurality of intervals can be determined, for example, four intervals are included, namely the first interval, the second interval, the third interval and the fourth interval.
  • the corresponding relationship between these four intervals and the degree of opening is as follows: when the ratio is within the first interval, it is determined that the degree of opening of the window is fully opened. When the ratio is within the second interval, it is determined that the opening degree of the window is the first opening degree. When the ratio is within the third interval, it is determined that the opening degree of the window is the second opening degree. When the ratio is within the fourth interval, it is determined that the opening degree of the window is the third opening degree.
  • the opening degree of the window can be determined according to the ratio of the current opening size of the window to the maximum opening size of the window and the range of each interval. For example, when the ratio of the current opening size of the window to the maximum opening size of the window is within the fourth interval, the current opening degree of the window is the third opening degree.
  • the implementation manner of obtaining the opening degree of the window is only introduced as an example, and is not intended to be limited.
  • the implementation manner of obtaining the opening degree of the window can be selected according to actual conditions.
  • the opening degree of the window is the ratio of the current opening size of the window to the maximum opening size of the window
  • multiple interval ranges are determined according to the value range of the ratio.
  • a first preset relationship between a plurality of interval ranges and the first included angle is obtained.
  • the first preset relationship includes at least one interval range and a first included angle corresponding to each interval range.
  • the first preset relationship between the interval range and the first included angle can be as shown in Table 1:
  • Table 1 is only an example showing the corresponding relationship between the range of the ratio of the current opening size of the window to the maximum opening size of the window and the first included angle, and is not a limitation to the first preset relationship.
  • a first included angle between the vertical wind deflector and the air conditioner is determined. For example, when the switch state of the window is in the open state, if the ratio of the current opening size of the window to the maximum opening size of the window is in the interval A, then it is determined that the first angle between the vertical wind deflector and the air conditioner is the angle A ; If the ratio of the current opening size of the window to the maximum opening size of the window is in the interval B, then determine the first angle between the vertical wind deflector and the air conditioner as the angle B; if the current opening size of the window accounts for the maximum window size When the ratio of the opening size is in the interval C, the first included angle between the vertical wind deflector and the air conditioner is determined as the included angle C.
  • the opening degree of the window is the ratio of the current opening size of the window to the maximum opening size of the window
  • the opening degree of the window is proportional to the first angle between the vertical wind deflector and the air conditioner. inverse ratio. For example, when the opening degree of the window is larger, the first included angle between the vertical wind deflector and the air conditioner is smaller; when the opening degree of the window is smaller, the first included angle between the vertical wind deflector and the air conditioner is smaller. big. For example, when the opening degree of the window is 1, that is, fully open, the first included angle between the vertical wind deflector and the air conditioner is determined to be 15°. When the opening degree of the window is , it is determined that the first included angle between the vertical wind deflector and the air conditioner is 75°.
  • the air conditioner also includes a motor, such as a stepping motor.
  • the motor is used to control the rotation of the vertical wind deflector to realize the adjustment of the angle between the vertical wind deflector and the air conditioner.
  • the second angle between the current vertical wind deflector and the air conditioner is acquired.
  • the motor is controlled to drive the vertical wind deflector to the direction of the first included angle to rotate the third included angle, and the third included angle is the absolute value of the difference between the first included angle and the second included angle.
  • the opening degree of the window is 1, that is, when it is fully opened
  • the determined first angle between the vertical wind deflector and the air conditioner is 15°
  • the second angle between the current vertical wind deflector and the air conditioner The angle is 45°. Therefore, the motor is controlled to drive the vertical wind deflector to rotate 30° in the direction of the first included angle.
  • FIG. 4 is a schematic diagram of adjusting the angle between the vertical wind deflector and the air conditioner to the first angle provided by the embodiment of the present application.
  • the angle between the vertical wind deflector and the air conditioner is 45°.
  • the infrared detection device sends a detection signal to the air conditioner, and the detection signal includes the window being in an open state, the opening size of the window and the maximum opening size of the window.
  • the air conditioner determines that the opening degree of the window is 1, that is, the first included angle between the vertical wind deflector and the air conditioner is determined to be 15°. Therefore, the motor is controlled to drive the vertical wind deflector to rotate 30° in the direction of 15°, so as to adjust the included angle between the vertical wind deflector and the air conditioner to 15°.
  • the air conditioner control method provided in the embodiment of the present application includes: acquiring the switch state of the window, the switch state being an open state or a closed state, and the window being a window of a room where the air conditioner is located.
  • the switch state of the window is open, obtain the opening degree of the window.
  • the opening degree of the window determine the first included angle between the vertical wind deflector and the air conditioner. Adjust the included angle between the vertical wind deflector and the air conditioner to the first included angle.
  • the angle between the air deflector and the air conditioner is adjusted to the first angle, so as to change the air outlet direction and the covered area of the cold air of the air conditioner, thereby In order to avoid the problems of poor cooling effect and high energy consumption of the air conditioner caused by the coincidence of the cold air coverage area of the air conditioner and the hot air area where the window is located.
  • the method includes:
  • step S501 may refer to the execution process of S201, which will not be repeated here.
  • the air conditioner receives the switch state of the window sent from the infrared detection device.
  • the opening and closing states of the windows are in different states, the corresponding control processing of the air conditioner is also different. If it is determined that the switch state of the window is an open state, then perform steps S503 to S509; if it is determined that the switch state of the window is a closed state, then perform step S510;
  • the air conditioner may receive the current opening size of the window and the maximum opening size of the window sent from the infrared detection device.
  • S504. Determine a first ratio according to the opening size and the maximum opening size, where the first ratio is the ratio of the opening size to the maximum opening size, and the first ratio is a value greater than 0 and less than or equal to 1.
  • step S504 and step S505 will be described together.
  • the first ratio is obtained by comparing (dividing) the opening size with the maximum opening size of the window.
  • the first ratio is a value greater than 0 and less than or equal to 1.
  • the first ratio is
  • the first ratio is determined as the opening degree of the window. Therefore, based on the above example, the first ratio of the window is Therefore, the corresponding opening degree of the window is
  • S506. Determine a plurality of interval ranges and a corresponding relationship between interval ranges and included angles, where the included angle is the angle between the vertical wind deflector and the air conditioner.
  • multiple interval ranges are determined according to the value range of the opening degree of the window.
  • the value range of the opening degree of the window is (0,1].
  • the value range of the opening degree is divided into multiple intervals with different ranges.
  • the value The range (0,1] is divided into multiple intervals, including
  • the corresponding relationship between the interval range and the included angle is obtained, where the included angle is the angle between the vertical wind deflector and the air conditioner.
  • the corresponding relationship includes at least one interval range and an included angle corresponding to each interval range. For example, taking the interval range as For example, the corresponding relationship between the interval range and the included angle can be shown in Table 2:
  • Table 2 is only an example showing the correspondence between multiple interval ranges and included angles, and is not intended to limit the correspondence.
  • the degree of opening of the window is obtained based on the above step S505, and the degree of opening of the window is As an example, an implementation manner of determining a target range where the opening degree is located according to the opening degree of the window and multiple interval ranges is described.
  • the target range of the current opening degree of the window is
  • the corresponding relationship between the interval range and the included angle is determined, and based on the step S506, the target interval range where the current opening degree of the window is located is determined.
  • the target range of the current opening degree of the window is And, referring to Table 2, it can be seen that when the interval range is The corresponding included angle is 45°. Therefore, according to the range of the target interval and the corresponding relationship, it can be determined that the first included angle is 45°.
  • step S509 may refer to the execution process of S204, which will not be repeated here.
  • S510 Determine that the included angle between the vertical wind deflector and the air conditioner is a preset included angle, and adjust the included angle between the vertical wind deflector and the air conditioner to the preset included angle.
  • the preset included angle is the included angle between the vertical wind deflector and the air conditioner when the current switch state of the window is closed.
  • the preset included angle may be 90°. It can be understood that when the window is closed, the larger the angle between the vertical wind deflector and the air conditioner, the cold air can be directed towards the room, and the larger the angle is, the more cold air blown out per unit time The larger the amount, the larger the coverage area of the cold air can be expanded, so that the room can quickly reach the preset temperature in the cooling mode.
  • the preset temperature of the air conditioner in the cooling mode is the target temperature to be reached in the room, and when the room reaches the target temperature, the compressor of the air conditioner will stop working so that the room temperature is maintained near the preset temperature.
  • the preset included angle is determined as the maximum possible included angle between the vertical wind deflector and the air conditioner, that is, 90°.
  • the angle between the vertical wind deflector and the air conditioner reaches 90°, the amount of cold air blown per unit time will be larger, which can expand the coverage area of cold air, so that the room can quickly reach the preset value in cooling mode. Set temperature.
  • the control motor drives the angle between the vertical wind deflector and the air conditioner to be adjusted to the preset angle.
  • the implementation of controlling the angle between the motor-driven vertical wind deflector and the air conditioner to adjust to a preset angle and the implementation of controlling the motor-driven vertical wind deflector to adjust the angle between the air conditioner to the first angle Similar and will not be repeated here.
  • the air conditioner control method provided in the embodiment of the present application includes: acquiring the switch state of the window, the switch state being an open state or a closed state, and the window being a window of a room where the air conditioner is located.
  • the switch state of the window is in the open state, obtain the opening size of the window and the maximum opening size of the window.
  • a first ratio is determined, the first ratio is the ratio of the opening size to the maximum opening size, and the first ratio is a value greater than 0 and less than or equal to 1.
  • the first ratio is determined as the opening degree of the window.
  • a plurality of interval ranges and a corresponding relationship between the interval ranges and the included angle are determined, and the included angle is the angle between the vertical wind deflector and the air conditioner.
  • a target interval range where the degree of openness is located is determined.
  • the first included angle is determined according to the range of the target interval and the corresponding relationship. Adjust the included angle between the vertical wind deflector and the air conditioner to the first included angle.
  • the switch state of the window is in the open state, it is determined that the angle between the vertical wind deflector and the air conditioner is a preset angle, and the angle between the vertical wind deflector and the air conditioner is adjusted to the preset angle.
  • FIG. 6 is a schematic structural diagram of a control device for an air conditioner provided in an embodiment of the present application, and the air conditioner is provided with a vertical wind deflector.
  • the apparatus 600 includes: a first obtaining module 601 , a second obtaining module 602 , a determining module 603 , and a processing module 604 .
  • the first acquisition module 601 is configured to acquire the switch state of the window, the switch state is an open state or a closed state, and the window is a window of a room where the air conditioner is located;
  • the second acquiring module 602 is configured to acquire the opening degree of the window when the switch state of the window is in the open state;
  • a determining module 603, configured to determine a first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window;
  • the processing module 604 is configured to adjust the angle between the vertical wind deflector and the air conditioner to the first angle.
  • the second obtaining module 602 is specifically configured to:
  • the opening degree of the window is determined according to the opening size and the maximum opening size.
  • the first ratio is the ratio of the opening size to the maximum opening size, the first ratio is greater than 0 and less than or equal to 1 value;
  • the first ratio is determined as the opening degree of the window.
  • the determining module 603 is specifically configured to:
  • the first included angle is determined according to the target interval range and the corresponding relationship.
  • processing module 604 is also configured to:
  • an infrared detection device is provided on the window, and the air conditioner is connected to the infrared detection device by Bluetooth;
  • the first acquiring module 601 is specifically used for:
  • the second acquiring module 602 is specifically used for:
  • the opening size of the window sent by the infrared detection device is received.
  • the device provided in this embodiment can be used to implement the technical solutions of the above method embodiments, and its implementation principle and technical effect are similar, so this embodiment will not repeat them here.
  • FIG. 7 is a schematic diagram of the hardware structure of the air-conditioning control device provided by the embodiment of the present application.
  • the air-conditioning control device 700 of this embodiment includes: a processor 701 and a memory 702;
  • memory 702 for storing computer-executable instructions
  • the processor 701 is configured to execute the computer-executed instructions stored in the memory, so as to implement the various steps performed by the method for controlling the air conditioner in the above-mentioned embodiments. For details, refer to the related descriptions in the foregoing method embodiments.
  • the memory 702 can be independent or integrated with the processor 701 .
  • the air conditioner control device When the memory 702 is set independently, the air conditioner control device further includes a bus 703 for connecting the memory 702 and the processor 701 .
  • An example of the present application provides an air conditioner, the air conditioner includes a control device of the air conditioner, and implements the air conditioner control method performed by the control device of the air conditioner as above.
  • An embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the control of the air conditioner performed by the above air conditioner control device is realized method.
  • the embodiment of the present application also provides a computer program product, the program product includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of the electronic device can read the computer program from the readable storage medium, at least one processor The computer executes the computer program so that the electronic device executes the solution provided by any one of the above embodiments.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules can be combined or integrated. to another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
  • the above-mentioned integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium.
  • the above-mentioned software functional modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the functions described in various embodiments of the present application. part of the method.
  • processor can be a central processing unit (English: Central Processing Unit, referred to as: CPU), and can also be other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as: ASIC), etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in conjunction with the invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
  • the storage may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
  • NVM non-volatile storage
  • the bus can be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on.
  • the buses in the drawings of the present application are not limited to only one bus or one type of bus.
  • the above-mentioned storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable In addition to programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory magnetic memory
  • flash memory magnetic disk or optical disk.
  • a storage media may be any available media that can be accessed by a general purpose or special purpose computer.
  • the aforementioned program can be stored in a computer-readable storage medium.
  • the program executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
  • the term “include” and its variants may mean non-limiting inclusion; the term “or” and its variants may mean “and/or”.
  • the terms “first”, “second”, etc. in this application are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.
  • “plurality” means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently.
  • the character “/” generally indicates that the contextual objects are an "or” relationship.

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 present application provides an air conditioner control method and device. The method comprises: acquiring an open/closed state of a window, the open/closed state being an open state or a closed state, and the window being a window of a room where an air conditioner is located; if the open/closed state of the window is an open state, acquiring a degree of opening of the window; determining a first included angle between a vertical air guide plate and the air conditioner according to the degree of opening of the window; and adjusting the included angle between the vertical air guide plate and the air conditioner to a first included angle. In the described method, if the window is in an open state, the included angle between the air guide plate and the air conditioner is adjusted to the first included angle according to the degree of opening of the window to change an air outlet direction and coverage area of cold air of the air conditioner, thereby avoiding the problems of a poor refrigeration effect and high energy consumption of the air conditioner caused by the coincidence of the coverage area of the cold air of the air conditioner and a hot air area where the window is located.

Description

空调的控制方法及装置Control method and device for air conditioner
本申请要求于2021年06月29日提交中国专利局、申请号为202110732699.0、申请名称为“空调的控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110732699.0 and the application name "Control Method and Device for Air Conditioning" submitted to the China Patent Office on June 29, 2021, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及空调技术领域,尤其涉及一种空调的控制方法及装置。The present application relates to the technical field of air conditioners, in particular to an air conditioner control method and device.
背景技术Background technique
现有的空调是通过热交换来实现制冷/制热。以制冷为例,制冷的原理具体为空调吸入房间内的热空气,通过制冷系统吸收热空气中热量并送至室外,同时将放热变冷后的空气送回室内,即达到制冷的效果。Existing air conditioners realize cooling/heating through heat exchange. Taking refrigeration as an example, the principle of refrigeration is that the air conditioner sucks in the hot air in the room, absorbs the heat in the hot air through the refrigeration system and sends it to the outside, and at the same time sends the cooled air back to the room to achieve the cooling effect.
然而,当空调所处的房间在开窗时,热空气会不断进入房间。由制冷的原理可知,当空调所处的环境越热,其工作压力就越大,进而耗能也越多。因此,在房间开窗情况下,现有技术存在空调耗能大的问题。However, when the window is open in the room where the air conditioner is located, hot air will continue to enter the room. According to the principle of refrigeration, the hotter the environment where the air conditioner is located, the greater its working pressure, and the more energy it consumes. Therefore, in the case of windows in the room, the prior art has the problem of high energy consumption of the air conditioner.
发明内容Contents of the invention
本申请实施例提供一种空调的控制方法及装置,以解决在开窗的情况下空调耗能大的问题。Embodiments of the present application provide an air conditioner control method and device to solve the problem of high energy consumption of the air conditioner when windows are opened.
第一方面,本申请实施例提供一种空调的控制方法,所述空调中设置有竖向导风板,所述方法包括:In the first aspect, an embodiment of the present application provides a method for controlling an air conditioner, wherein a vertical wind deflector is provided in the air conditioner, and the method includes:
获取窗户的开关状态,所述开关状态为打开状态或者关闭状态,所述窗户为所述空调所在房间的窗户;Obtain the switch state of the window, the switch state is an open state or a closed state, and the window is a window of the room where the air conditioner is located;
在所述窗户的开关状态为打开状态时,获取所述窗户的打开程度;Obtain the opening degree of the window when the switch state of the window is in the open state;
根据所述窗户的打开程度,确定所述竖向导风板与所述空调之间的第一夹角;determining a first angle between the vertical wind deflector and the air conditioner according to the degree of opening of the window;
将所述竖向导风板与所述空调之间的夹角调整至所述第一夹角。The angle between the vertical wind deflector and the air conditioner is adjusted to the first angle.
在一种可能的设计中,所述获取所述窗户的打开程度,包括:In a possible design, the obtaining the opening degree of the window includes:
获取所述窗户的打开尺寸和所述窗户的最大打开尺寸;Obtain the opening size of the window and the maximum opening size of the window;
根据所述打开尺寸和所述最大打开尺寸,确定所述窗户的打开程度。The opening degree of the window is determined according to the opening size and the maximum opening size.
在一种可能的设计中,所述根据所述打开尺寸和所述最大打开尺寸,确定所述窗户的打开程度,包括:In a possible design, the determining the opening degree of the window according to the opening size and the maximum opening size includes:
根据所述打开尺寸和所述最大打开尺寸,确定第一比值,所述第一比值为所述打开尺寸与所述最大打开尺寸的比值,所述第一比值为大于0且小于或等于1的数值;According to the opening size and the maximum opening size, determine a first ratio, the first ratio is the ratio of the opening size to the maximum opening size, the first ratio is greater than 0 and less than or equal to 1 value;
将所述第一比值确定为所述窗户的打开程度。The first ratio is determined as the opening degree of the window.
在一种可能的设计中,所述根据所述窗户的打开程度,确定所述竖向导风板与所述空调之间的第一夹角,包括:In a possible design, the determining the first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window includes:
确定多个区间范围、以及区间范围与夹角之间的对应关系,所述夹角为所述竖向导风板与所述空调之间的角度;Determining a plurality of interval ranges, and a corresponding relationship between interval ranges and included angles, where the included angle is the angle between the vertical wind deflector and the air conditioner;
在所述多个区间范围中,确定所述打开程度所在的目标区间范围;Among the plurality of interval ranges, determine the target interval range where the opening degree is located;
根据所述目标区间范围和所述对应关系,确定所述第一夹角。The first included angle is determined according to the target interval range and the corresponding relationship.
在一种可能的设计中,所述方法还包括:In a possible design, the method also includes:
若确定所述窗户的开关状态为关闭状态,则确定所述竖向导风板与所述空调之间的夹角为预设夹角,并将所述竖向导风板与所述空调之间的夹角调整至所述预设夹角。If it is determined that the switch state of the window is closed, then determine that the angle between the vertical wind deflector and the air conditioner is a preset angle, and set the angle between the vertical wind deflector and the air conditioner The included angle is adjusted to the preset included angle.
在一种可能的设计中,所述窗户上设置有红外检测装置,所述空调与所述红外检测装置蓝牙连接;In a possible design, an infrared detection device is provided on the window, and the air conditioner is connected to the infrared detection device by Bluetooth;
所述获取窗户的开关状态,包括:The acquisition of the switch state of the window includes:
接收所述红外检测装置发送的所述窗户的开关状态;receiving the switch state of the window sent by the infrared detection device;
所述获取所述窗户的打开程度,包括:The obtaining the opening degree of the window includes:
接收所述红外检测装置发送的所述窗户的打开尺寸。The opening size of the window sent by the infrared detection device is received.
第二方面,本申请实施例提供一种空调的控制装置,所述空调中设置有竖向导风板,所述装置包括:In the second aspect, the embodiment of the present application provides an air conditioner control device, the air conditioner is provided with a vertical wind deflector, and the device includes:
第一获取模块,用于获取窗户的开关状态,所述开关状态为打开状态或者关闭状态,所述窗户为所述空调所在房间的窗户;The first acquisition module is used to acquire the switch state of the window, the switch state is an open state or a closed state, and the window is a window of the room where the air conditioner is located;
第二获取模块,用于在所述窗户的开关状态为打开状态时,获取所述窗户的打开程度;The second acquisition module is used to acquire the opening degree of the window when the switch state of the window is in the open state;
确定模块,用于根据所述窗户的打开程度,确定所述竖向导风板与所 述空调之间的第一夹角;A determining module, configured to determine a first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window;
处理模块,用于将所述竖向导风板与所述空调之间的夹角调整至所述第一夹角。A processing module, configured to adjust the angle between the vertical wind deflector and the air conditioner to the first angle.
在一种可能的设计中,所述第二获取模块具体用于:In a possible design, the second acquiring module is specifically configured to:
获取所述窗户的打开尺寸和所述窗户的最大打开尺寸;Obtain the opening size of the window and the maximum opening size of the window;
根据所述打开尺寸和所述最大打开尺寸,确定所述窗户的打开程度。The opening degree of the window is determined according to the opening size and the maximum opening size.
在一种可能的设计中,所述第二获取模块具体用于:In a possible design, the second acquiring module is specifically configured to:
根据所述打开尺寸和所述最大打开尺寸,确定第一比值,所述第一比值为所述打开尺寸与所述最大打开尺寸的比值,所述第一比值为大于0且小于或等于1的数值;According to the opening size and the maximum opening size, determine a first ratio, the first ratio is the ratio of the opening size to the maximum opening size, the first ratio is greater than 0 and less than or equal to 1 value;
将所述第一比值确定为所述窗户的打开程度。The first ratio is determined as the opening degree of the window.
在一种可能的设计中,所述确定模块具体用于:In a possible design, the determination module is specifically used for:
确定多个区间范围、以及区间范围与夹角之间的对应关系,所述夹角为所述竖向导风板与所述空调之间的角度;Determining a plurality of interval ranges, and a corresponding relationship between interval ranges and included angles, where the included angle is the angle between the vertical wind deflector and the air conditioner;
在所述多个区间范围中,确定所述打开程度所在的目标区间范围;Among the plurality of interval ranges, determine the target interval range where the opening degree is located;
根据所述目标区间范围和所述对应关系,确定所述第一夹角。The first included angle is determined according to the target interval range and the corresponding relationship.
在一种可能的设计中,所述处理模块还用于:In a possible design, the processing module is also used for:
若确定所述窗户的开关状态为关闭状态,则确定所述竖向导风板与所述空调之间的夹角为预设夹角,并将所述竖向导风板与所述空调之间的夹角调整至所述预设夹角。If it is determined that the switch state of the window is closed, then determine that the angle between the vertical wind deflector and the air conditioner is a preset angle, and set the angle between the vertical wind deflector and the air conditioner The included angle is adjusted to the preset included angle.
在一种可能的设计中,所述窗户上设置有红外检测装置,所述空调与所述红外检测装置蓝牙连接;In a possible design, an infrared detection device is provided on the window, and the air conditioner is connected to the infrared detection device by Bluetooth;
所述第一获取模块具体用于:The first acquisition module is specifically used for:
接收所述红外检测装置发送的所述窗户的开关状态;receiving the switch state of the window sent by the infrared detection device;
所述第二获取模块具体用于:The second acquiring module is specifically used for:
接收所述红外检测装置发送的所述窗户的打开尺寸。The opening size of the window sent by the infrared detection device is received.
第三方面,本申请实施例提供一种空调的控制设备,包括:In a third aspect, the embodiment of the present application provides an air conditioner control device, including:
存储器,用于存储程序;memory for storing programs;
处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述处理器用于执行如上第一方面以及第一方面各种可能的设计中任一所述的方法。A processor, configured to execute the program stored in the memory, and when the program is executed, the processor is configured to execute the method described in any one of the above first aspect and various possible designs of the first aspect.
第四方面,本申请实施例提供一种空调,所述空调包括所述空调的控制设备,用于执行如上第一方面以及第一方面各种可能的设计中任一所述的方法。In a fourth aspect, an embodiment of the present application provides an air conditioner, the air conditioner includes a control device for the air conditioner, configured to execute the method described in any one of the above first aspect and various possible designs of the first aspect.
第五方面,本申请实施例提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如上第一方面以及第一方面各种可能的设计中任一所述的方法。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the above-mentioned first aspect and any one of the various possible designs of the first aspect. method.
第六方面,本申请实施例提供一种计算机程序产品,所述程序产品包括:计算机程序,所述计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得电子设备执行如上第一方面以及第一方面各种可能的设计中任一所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product including: a computer program stored in a readable storage medium, and at least one processor of an electronic device can read from the readable storage medium The medium reads the computer program, and the at least one processor executes the computer program so that the electronic device executes the method described in any one of the above first aspect and various possible designs of the first aspect.
本申请实施例提供一种空调的控制方法及装置,该方法包括:获取窗户的开关状态,开关状态为打开状态或者关闭状态,窗户为空调所在房间的窗户。在窗户的开关状态为打开状态时,获取窗户的打开程度。根据窗户的打开程度,确定竖向导风板与空调之间的第一夹角。将竖向导风板与空调之间的夹角调整至第一夹角。在上述方法中,在窗户处于打开状态时,根据窗户的打开程度,将导风板与空调的夹角调整至第一夹角,以改变空调的冷空气的出风方向以及覆盖的区域,从而了避免因空调冷空气覆盖区域与窗户所在的热空气区域重合所引起制冷效果不佳以及空调耗能大的问题。Embodiments of the present application provide an air conditioner control method and device. The method includes: acquiring a switch state of a window, where the switch state is an open state or a closed state, and the window is a window of a room where the air conditioner is located. When the switch state of the window is open, obtain the opening degree of the window. According to the opening degree of the window, determine the first included angle between the vertical wind deflector and the air conditioner. Adjust the included angle between the vertical wind deflector and the air conditioner to the first included angle. In the above method, when the window is in the open state, according to the degree of opening of the window, the angle between the air deflector and the air conditioner is adjusted to the first angle, so as to change the air outlet direction and the covered area of the cold air of the air conditioner, thereby In order to avoid the problems of poor cooling effect and high energy consumption of the air conditioner caused by the coincidence of the cold air coverage area of the air conditioner and the hot air area where the window is located.
附图说明Description of drawings
为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present invention. For some embodiments of the invention, those skilled in the art can also obtain other drawings according to these drawings without paying creative efforts.
图1为本申请实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图2为本申请实施例提供的空调的控制方法的流程图一;Fig. 2 is a flow chart 1 of the air conditioner control method provided by the embodiment of the present application;
图3为本申请实施例提供的窗户的示意图;Fig. 3 is the schematic diagram of the window provided by the embodiment of the present application;
图4为本申请实施例提供的将竖向导风板与空调之间的夹角调整至第 一夹角的示意图;Figure 4 is a schematic diagram of adjusting the angle between the vertical wind deflector and the air conditioner to the first angle provided by the embodiment of the present application;
图5为本申请实施例提供的空调的控制方法的流程图二;FIG. 5 is the second flow chart of the air conditioner control method provided by the embodiment of the present application;
图6为本申请实施例提供的空调的控制装置的结构示意图;FIG. 6 is a schematic structural diagram of an air conditioner control device provided in an embodiment of the present application;
图7为本申请实施例提供的空调的控制设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an air conditioner control device provided by an embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
为了便于理解本申请的技术方案,首先对本申请所涉及现有技术、以及现有技术存在的问题进行介绍:In order to facilitate the understanding of the technical solution of this application, firstly, the prior art involved in this application and the problems existing in the prior art are introduced:
现有的空调是通过热交换来实现制冷/制热。以制冷为例,制冷的原理具体为空调吸入房间内的热空气,通过制冷系统吸收热空气中热量并送至室外,同时将放热变冷后的空气送回室内,即达到制冷的效果。Existing air conditioners realize cooling/heating through heat exchange. Taking refrigeration as an example, the principle of refrigeration is that the air conditioner sucks in the hot air in the room, absorbs the heat in the hot air through the refrigeration system and sends it to the outside, and at the same time sends the cooled air back to the room to achieve the cooling effect.
然而,当空调所处的房间在开窗时,热空气会不断涌入房间。由制冷的原理可知,当空调所处的环境越热,其工作压力就越大,进而耗能也越多。因此,在房间开窗情况下,现有技术存在空调耗能大的问题。However, when the window is open in the room where the air conditioner is located, hot air will keep pouring into the room. According to the principle of refrigeration, the hotter the environment where the air conditioner is located, the greater its working pressure, and the more energy it consumes. Therefore, in the case of windows in the room, the prior art has the problem of high energy consumption of the air conditioner.
为了解决现有技术在房间开窗情况下存在空调耗能大的问题,本申请提出了如下的技术构思:考虑到房间开窗的情况下,以夏天空调制冷为例,大量的热空气不断从窗户涌进房间。根据空调的制冷过程,将空调制冷系统得到的冷空气从空调竖向导风板内吹出到房间内。其中,可以通过调整竖向导风板与空调的夹角,来控制改变冷空气的出风方向以及冷空气的覆 盖区域。本申请通过根据窗户的打开程度,来调整空调竖向导风板与空调的夹角,以改变空调的冷空气覆盖的区域,从而了避免因空调冷空气覆盖区域与窗户所在的热空气区域重合所引起制冷效果不佳以及空调耗能大的问题。In order to solve the problem of high energy consumption of the air conditioner in the prior art when the window is open in the room, this application proposes the following technical idea: Considering the case of the room with the window open, taking summer air conditioning as an example, a large amount of hot air is continuously flowing from Windows flooded into the room. According to the refrigeration process of the air conditioner, the cold air obtained by the air conditioner refrigeration system is blown out from the vertical wind deflector of the air conditioner into the room. Among them, the air outlet direction of the cold air and the coverage area of the cold air can be controlled and changed by adjusting the angle between the vertical wind deflector and the air conditioner. According to the opening degree of the window, the present application adjusts the angle between the vertical wind deflector of the air conditioner and the air conditioner to change the area covered by the cold air of the air conditioner, thereby avoiding the overlap between the area covered by the air conditioner’s cold air and the hot air area where the window is located. Cause the problem of poor cooling effect and high energy consumption of air conditioner.
下面,结合图1,对本申请实施例的应用场景进行介绍。Next, with reference to FIG. 1 , the application scenario of the embodiment of the present application will be introduced.
图1为本申请实施例提供的一种应用场景示意图。请参见图1,包括:空调和设置空调所在房间窗户上的红外检测装置。其中,空调包括多个竖向导风板和显示面板。在空调接收到制冷控制指令时,空调的显示面板显示制冷模式。调整竖向导风板与空调的夹角,来改变冷空气的出风方向。红外检测装置用于检测窗户的开关状态以及测量窗户的打开尺寸并向空调发送检测信号,其中检测信号例如包括窗户的开关状态,以及,在窗户处于打开状态时,窗户的打开尺寸。空调和红外检测装置例如可以建立蓝牙连接,红外检测装置通过蓝牙通信向空调发送窗户的开关状态。当接收到窗户的开关状态为打开状态时,空调接收来自红外检测装置发送的窗户的打开尺寸,并根据打开尺寸调整竖向导风板与空调的夹角,来改变冷空气的出风方向以及冷空气的覆盖区域。FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application. Please refer to Figure 1, including: the air conditioner and the infrared detection device on the window of the room where the air conditioner is installed. Wherein, the air conditioner includes a plurality of vertical wind deflectors and a display panel. When the air conditioner receives the cooling control command, the display panel of the air conditioner displays the cooling mode. Adjust the angle between the vertical wind deflector and the air conditioner to change the air outlet direction of the cold air. The infrared detection device is used to detect the opening and closing state of the window, measure the opening size of the window, and send a detection signal to the air conditioner, wherein the detection signal includes, for example, the opening and closing state of the window, and, when the window is in the open state, the opening size of the window. The air conditioner and the infrared detection device can, for example, establish a Bluetooth connection, and the infrared detection device sends the opening and closing status of the window to the air conditioner through Bluetooth communication. When receiving the switch state of the window as the open state, the air conditioner receives the opening size of the window sent by the infrared detection device, and adjusts the angle between the vertical wind deflector and the air conditioner according to the opening size to change the direction of the cold air outlet and the cooling effect. air coverage area.
下面,通过具体实施例,对本申请所示的技术方案进行详细说明。需要说明的是,下面几个实施例可以单独存在,也可以相互结合,对于相同或相似的内容,在不同的实施例中不再重复说明。In the following, the technical solutions shown in this application will be described in detail through specific embodiments. It should be noted that the following embodiments may exist independently or be combined with each other, and the same or similar content will not be repeatedly described in different embodiments.
基于上述介绍的技术构思,下面结合图2和具体的实施例对本申请所提供的空调的控制方法进行详细介绍,图2为本申请实施例提供的空调的控制方法的流程图一。Based on the technical concept introduced above, the air conditioner control method provided by the present application will be described in detail below with reference to FIG. 2 and specific embodiments. FIG. 2 is a flowchart 1 of the air conditioner control method provided by the embodiment of the present application.
如图2所示,该方法包括:As shown in Figure 2, the method includes:
S201、获取窗户的开关状态,开关状态为打开状态或者关闭状态,窗户为空调所在房间的窗户。S201. Obtain the switch state of the window, where the switch state is an open state or a closed state, and the window is a window of a room where the air conditioner is located.
本申请各实施例的执行主体为空调,也可以为设置在空调中的控制装置。可选的,空调的控制装置可以通过软件实现,也可以通过软件和硬件的结合实现。The execution subject of each embodiment of the present application is an air conditioner, and may also be a control device installed in the air conditioner. Optionally, the control device for the air conditioner may be implemented by software, or by a combination of software and hardware.
窗户为空调所在房间的窗户,窗户例如可以为推拉式窗户、平开式窗户以及上下悬开式窗户等,对此不做限制。在本实施例中以水平推拉式窗户为例进行介绍。The window is the window of the room where the air conditioner is located, and the window may be, for example, a sliding window, a casement window, and a vertically hanging window, etc., and there is no limitation on this. In this embodiment, a horizontal sliding window is taken as an example for introduction.
下面,结合图3,通过具体示例,对水平推拉式窗户进行简单的说明,图3为本申请实施例提供的窗户的示意图。Below, with reference to FIG. 3 , the horizontal sliding window will be briefly described through a specific example. FIG. 3 is a schematic diagram of the window provided in the embodiment of the present application.
如图3所示,图中的窗户为2扇窗户。为简单描述,以左边的窗户为固定、通过将右边的窗户向左推动来实现开窗通风。图3左图为右窗处于关闭状态,且图中示出了右窗在打开时可以达到的最大打开尺寸。图3中右图右窗处于打开状态,且图中示出了右窗在打开状态时当前的打开尺寸。As shown in Figure 3, the windows in the figure are two windows. For a simple description, the window on the left is fixed, and the window on the right is pushed to the left to achieve window ventilation. The left picture of Fig. 3 shows that the right window is closed, and the figure shows the maximum opening size that the right window can reach when it is opened. The right window in the right figure in Fig. 3 is in the open state, and the figure shows the current opening size of the right window in the open state.
在窗户上设置有检测装置,用于检测窗户的开关状态,以及当窗户处于打开状态时向空调发送窗户的打开尺寸。检测装置,例如可以为红外检测装置、超声波测距传感器、激光测距传感器等。A detection device is arranged on the window, which is used for detecting the switch state of the window, and sending the opening size of the window to the air conditioner when the window is in the open state. The detection device may be, for example, an infrared detection device, an ultrasonic ranging sensor, a laser ranging sensor, and the like.
可选的,检测装置例如为红外检测装置时,将红外检测装置固定设置在窗户开合的任意一端即可。红外检测装置利用红外信号遇到障碍物距离的不同反射的强度也不同的原理,来对窗户的开关状态以及窗户的打开尺寸进行测量。例如,当红外检测装置检测到的距离等于窗户的最大打开尺寸时,则红外检测装置确定窗户的开关状态为打开状态,且窗户当前的打开尺寸为窗户的最大打开尺寸;或者,当红外检测装置检测到的距离小于窗户的最大打开尺寸且大于0时,则红外检测装置确定窗户的开关状态为打开状态,且此距离为窗户当前的打开尺寸;又或者,当红外检测装置检测到的距离等于0时,则红外检测装置确定窗户的开关状态为关闭状态。Optionally, when the detection device is, for example, an infrared detection device, it is enough to fix the infrared detection device at any end of the opening and closing of the window. The infrared detection device uses the principle that the intensity of the reflection of the infrared signal at different distances from obstacles is different to measure the opening and closing status of the window and the opening size of the window. For example, when the distance detected by the infrared detection device is equal to the maximum opening size of the window, the infrared detection device determines that the switch state of the window is an open state, and the current opening size of the window is the maximum opening size of the window; or, when the infrared detection device When the detected distance is less than the maximum opening size of the window and greater than 0, the infrared detection device determines that the switch state of the window is an open state, and this distance is the current opening size of the window; or, when the distance detected by the infrared detection device is equal to When 0, the infrared detection device determines that the switch state of the window is closed.
可选的,空调和检测装置之间可以连接,检测装置通过蓝牙连接向空调发送窗户的开关状态,同样,空调通过蓝牙连接接收来自检测装置发送的窗户的开关状态。Optionally, the air conditioner and the detection device can be connected, and the detection device sends the window switch state to the air conditioner through the Bluetooth connection. Similarly, the air conditioner receives the window switch state sent from the detection device through the Bluetooth connection.
可选的,在本实施例中当空调确定窗户的开关状态为关闭状态时,直接确定竖向导风板与空调之间的夹角为预设夹角。Optionally, in this embodiment, when the air conditioner determines that the switch state of the window is closed, it directly determines that the angle between the vertical wind deflector and the air conditioner is a preset angle.
可选的,在本实施例中当空调确定窗户的开关状态为打开状态时,空调例如可以通过语音、指示灯等方式提示用户当前房间的窗户为打开状态。当用户收到提示信息后,用户可以对空调进行关机操作。具体的,例如用户可以对空调遥控中开/关按键进行按压操作,以使空调接收到用户输入的关机指令;或者,在空调中设置有语音装置,语音装置可以采集并识别用户的声音信息,用户可以输入用于指示关闭空调的语音信息,以实现输入关闭指令。用户通过语音信息即可实现控制空调进行关机,用户操作简单 方便、且灵活性高,提高了用户体验。具体的,当用户发出“关闭空调”、“关机”等语音指令给空调时,空调接收并进行关机操作。Optionally, in this embodiment, when the air conditioner determines that the switch state of the window is open, the air conditioner may, for example, prompt the user that the window in the current room is open by means of voice or indicator light. After the user receives the prompt message, the user can shut down the air conditioner. Specifically, for example, the user can press the on/off button in the remote control of the air conditioner, so that the air conditioner receives the shutdown command input by the user; or, a voice device is provided in the air conditioner, and the voice device can collect and recognize the voice information of the user, The user can input voice information for instructing to turn off the air conditioner, so as to input the turn off command. The user can control the air conditioner to shut down through the voice information. The user operation is simple and convenient, and the flexibility is high, which improves the user experience. Specifically, when the user sends voice commands such as "turn off the air conditioner" and "shut down" to the air conditioner, the air conditioner receives and performs a shutdown operation.
S202、在窗户的开关状态为打开状态时,获取窗户的打开程度。S202. Acquire the opening degree of the window when the switch state of the window is in the open state.
窗户的打开程度用于表示相对窗户的最大打开尺寸来说,该窗户当前打开的大小。The opening degree of the window is used to indicate the current opening size of the window relative to the maximum opening size of the window.
接下来,以检测装置为红外检测装置为例,对获取窗户的打开程度两种可能的实现方式进行示例性的说明。Next, taking the infrared detection device as an example as an example, two possible implementations of obtaining the opening degree of the window are exemplarily described.
在一种可能的实现方式中,在窗户的开关状态为打开状态时,从红外检测装置获取窗户当前的打开尺寸以及该窗户的最大打开尺寸。通过计算该窗户当前的打开尺寸占窗户最大打开尺寸的比值,来确定窗户当前的打开程度。其中,当前的打开程度为该窗户当前的打开尺寸占窗户最大打开尺寸的比值。例如,若当前的打开程度为该窗户当前的打开尺寸占窗户最大打开尺寸的比值为1时,则确定窗户当前的开关状态为打开状态,且窗户的打开程度为1,即表示窗户打开程度达到最大;若当前的打开程度为该窗户当前的打开尺寸占窗户最大打开尺寸的比值为二分之一时,则确定窗户当前的开关状态为打开状态,且打开程度为二分之一,即表示窗户打开一半;若当前的打开程度为该窗户当前的打开尺寸占窗户最大打开尺寸的比值为0时,则确定窗户当前的开关状态为关闭状态,且窗户的打开程度为0,即窗户处于完全关闭状态。In a possible implementation manner, when the switch state of the window is the open state, the current opening size of the window and the maximum opening size of the window are acquired from the infrared detection device. The current opening degree of the window is determined by calculating the ratio of the current opening size of the window to the maximum opening size of the window. Wherein, the current opening degree is the ratio of the current opening size of the window to the maximum opening size of the window. For example, if the current opening degree is 1 when the ratio of the current opening size of the window to the maximum opening size of the window is 1, then it is determined that the current switch state of the window is an open state, and the opening degree of the window is 1, which means that the window opening degree reaches Maximum; if the current opening degree is 1/2 of the ratio of the current opening size of the window to the maximum opening size of the window, it is determined that the current switch state of the window is open, and the opening degree is 1/2, which means The window is half open; if the current opening degree is 0 when the ratio of the current opening size of the window to the maximum opening size of the window is 0, it is determined that the current switch state of the window is closed, and the opening degree of the window is 0, that is, the window is fully open. Disabled.
在另一种可能的实现方式中,在窗户的开关状态为打开状态时,从红外检测装置获取窗户当前的打开尺寸以及该窗户的最大打开尺寸。通过计算该窗户当前的打开尺寸占窗户最大打开尺寸的比值,来确定窗户的打开程度。其中,当前的打开程度为该窗户当前的打开尺寸占窗户最大打开尺寸的比值所在的区间对应的打开程度。例如,打开程度包括:全开、第一开度、第二开度以及第三开度,以及打开程度从大到小依次为:全开、第一开度、第二开度,第三开度。根据计算窗户当前的打开尺寸占窗户最大打开尺寸的比值,可以确定多个区间,例如包括四个区间,分别为第一区间、第二区间、第三区间及第四区间。这四个区间与打开程度的对应关系如下:当比值位于第一区间内时,确定窗户的打开程度为全开。当比值位于第二区间内时,确定窗户的打开程度为第一开度。当比值位于第三区间内时,确定窗户的打开程度为第二开度。当比值位于第四区间内时,确定 窗户的打开程度为第三开度。因此,可以根据窗户当前的打开尺寸占窗户最大打开尺寸的比值的大小以及各个区间的范围,确定窗户的打开程度。例如,当窗户当前的打开尺寸占窗户最大打开尺寸的比值位于第四区间内,则该窗户当前的打开程度为第三开度。In another possible implementation manner, when the switch state of the window is the open state, the current opening size of the window and the maximum opening size of the window are obtained from the infrared detection device. The opening degree of the window is determined by calculating the ratio of the current opening size of the window to the maximum opening size of the window. Wherein, the current opening degree is the opening degree corresponding to the interval where the ratio of the current opening size of the window to the maximum opening size of the window is located. For example, the opening degree includes: full opening, the first opening degree, the second opening degree, and the third opening degree, and the opening degrees in descending order are: full opening, the first opening degree, the second opening degree, and the third opening degree. Spend. According to calculating the ratio of the current opening size of the window to the maximum opening size of the window, a plurality of intervals can be determined, for example, four intervals are included, namely the first interval, the second interval, the third interval and the fourth interval. The corresponding relationship between these four intervals and the degree of opening is as follows: when the ratio is within the first interval, it is determined that the degree of opening of the window is fully opened. When the ratio is within the second interval, it is determined that the opening degree of the window is the first opening degree. When the ratio is within the third interval, it is determined that the opening degree of the window is the second opening degree. When the ratio is within the fourth interval, it is determined that the opening degree of the window is the third opening degree. Therefore, the opening degree of the window can be determined according to the ratio of the current opening size of the window to the maximum opening size of the window and the range of each interval. For example, when the ratio of the current opening size of the window to the maximum opening size of the window is within the fourth interval, the current opening degree of the window is the third opening degree.
在本实施例中,只是对获取窗户的打开程度的实现方式进行示例性的介绍,并不是做以限制,对获取窗户的打开程度的实现方式可以根据实际情况进行选择。In this embodiment, the implementation manner of obtaining the opening degree of the window is only introduced as an example, and is not intended to be limited. The implementation manner of obtaining the opening degree of the window can be selected according to actual conditions.
S203、根据窗户的打开程度,确定竖向导风板与空调之间的第一夹角。S203. Determine a first included angle between the vertical wind deflector and the air conditioner according to the opening degree of the window.
基于上述步骤S202获得窗户的打开程度后,接下来对确定竖向导风板与空调之间的第一夹角的两种可能的实现方式进行示例性的介绍。After the opening degree of the window is obtained based on the above step S202, two possible implementation manners of determining the first angle between the vertical wind deflector and the air conditioner are exemplarily introduced next.
在一种可能的实现方式中,当窗户的打开程度为该窗户当前的打开尺寸占窗户最大打开尺寸的比值时,根据比值的取值范围,确定多个区间范围。可选的,获取多个区间范围与第一夹角的第一预设关系。其中,第一预设关系中包括至少一个区间范围和每个区间范围对应的第一夹角。例如,区间范围与第一夹角之间的第一预设关系可以如表1所示:In a possible implementation manner, when the opening degree of the window is the ratio of the current opening size of the window to the maximum opening size of the window, multiple interval ranges are determined according to the value range of the ratio. Optionally, a first preset relationship between a plurality of interval ranges and the first included angle is obtained. Wherein, the first preset relationship includes at least one interval range and a first included angle corresponding to each interval range. For example, the first preset relationship between the interval range and the first included angle can be as shown in Table 1:
表1Table 1
区间interval 第一夹角first angle
区间AInterval A 夹角AAngle A
区间BInterval B 夹角BAngle B
区间CInterval C 夹角CAngle C
区间DInterval D 夹角DAngle D
需要说明的是表1只是以示例的形式示意窗户当前的打开尺寸占窗户最大打开尺寸的比值所在的区间范围与第一夹角之间的对应关系,并非对第一预设关系的限定。It should be noted that Table 1 is only an example showing the corresponding relationship between the range of the ratio of the current opening size of the window to the maximum opening size of the window and the first included angle, and is not a limitation to the first preset relationship.
根据比值和第一预设关系,确定竖向导风板与空调之间的第一夹角。例如,当窗户的开关状态处于打开状态时,若该窗户当前的打开尺寸占窗户最大打开尺寸的比值位于区间A时,则确定竖向导风板与空调之间的第一夹角为夹角A;若该窗户当前的打开尺寸占窗户最大打开尺寸的比值位于区间B时,则确定竖向导风板与空调之间的第一夹角为夹角B;若该窗 户当前的打开尺寸占窗户最大打开尺寸的比值位于区间C时,则确定竖向导风板与空调之间的第一夹角为夹角C。According to the ratio and the first preset relationship, a first included angle between the vertical wind deflector and the air conditioner is determined. For example, when the switch state of the window is in the open state, if the ratio of the current opening size of the window to the maximum opening size of the window is in the interval A, then it is determined that the first angle between the vertical wind deflector and the air conditioner is the angle A ; If the ratio of the current opening size of the window to the maximum opening size of the window is in the interval B, then determine the first angle between the vertical wind deflector and the air conditioner as the angle B; if the current opening size of the window accounts for the maximum window size When the ratio of the opening size is in the interval C, the first included angle between the vertical wind deflector and the air conditioner is determined as the included angle C.
在另一种可能的实现方式中,当窗户的打开程度为该窗户当前的打开尺寸占窗户最大打开尺寸的比值时,窗户的打开程度与竖向导风板与空调之间的第一夹角成反比。例如,当窗户的打开程度越大,则竖向导风板与空调之间的第一夹角越小,当窗户的打开程度越小,则竖向导风板与空调之间的第一夹角越大。例如,当窗户的打开程度为1,即全开时,则确定竖向导风板与空调之间的第一夹角为15°。当窗户的打开程度为时,则确定竖向导风板与空调之间的第一夹角为75°。In another possible implementation, when the opening degree of the window is the ratio of the current opening size of the window to the maximum opening size of the window, the opening degree of the window is proportional to the first angle between the vertical wind deflector and the air conditioner. inverse ratio. For example, when the opening degree of the window is larger, the first included angle between the vertical wind deflector and the air conditioner is smaller; when the opening degree of the window is smaller, the first included angle between the vertical wind deflector and the air conditioner is smaller. big. For example, when the opening degree of the window is 1, that is, fully open, the first included angle between the vertical wind deflector and the air conditioner is determined to be 15°. When the opening degree of the window is , it is determined that the first included angle between the vertical wind deflector and the air conditioner is 75°.
S204、将竖向导风板与空调之间的夹角调整至第一夹角。S204. Adjust the angle between the vertical wind deflector and the air conditioner to a first angle.
可选的,空调还包括电机,例如可以为步进电机。其中,电机用于控制竖向导风板进行转动,以实现对竖向导风板与空调之间的夹角进行调整。Optionally, the air conditioner also includes a motor, such as a stepping motor. Wherein, the motor is used to control the rotation of the vertical wind deflector to realize the adjustment of the angle between the vertical wind deflector and the air conditioner.
在一种可能的实现方式中,首先获取当前竖向导风板与空调之间的第二夹角。接下来,控制电机驱动竖向导风板向第一夹角的方向,旋转第三夹角,第三夹角为第一夹角与第二夹角的差值的绝对值。例如,当窗户的打开程度为1,即全开时,则确定的竖向导风板与空调之间的第一夹角为15°,同时,当前竖向导风板与空调之间的第二夹角为45°。因此,控制电机驱动竖向导风板向第一夹角的方向,旋转30°。In a possible implementation manner, first, the second angle between the current vertical wind deflector and the air conditioner is acquired. Next, the motor is controlled to drive the vertical wind deflector to the direction of the first included angle to rotate the third included angle, and the third included angle is the absolute value of the difference between the first included angle and the second included angle. For example, when the opening degree of the window is 1, that is, when it is fully opened, the determined first angle between the vertical wind deflector and the air conditioner is 15°, and at the same time, the second angle between the current vertical wind deflector and the air conditioner The angle is 45°. Therefore, the motor is controlled to drive the vertical wind deflector to rotate 30° in the direction of the first included angle.
下面,结合图4,通过具体示例,对该种可能的实现方式进行说明,图4为本申请实施例提供的将竖向导风板与空调之间的夹角调整至第一夹角的示意图。Next, with reference to FIG. 4 , this possible implementation will be described through a specific example. FIG. 4 is a schematic diagram of adjusting the angle between the vertical wind deflector and the air conditioner to the first angle provided by the embodiment of the present application.
如图4所示,在t1时刻时,竖向导风板与空调之间的之间夹角为45°。在t2时刻时,红外检测装置向空调发送检测信号,检测信号包括窗户处于打开状态、窗户的打开尺寸以及窗户的最大打开尺寸。空调根据窗户的打开尺寸为最大打开尺寸以及窗户的最大打开尺寸,确定窗户的打开程度为1,即确定竖向导风板与空调之间的第一夹角为15°。因此,控制电机驱动竖向导风板向15°所朝的方向旋转30°,以实现将竖向导风板与空调之间的夹角调整为15°。As shown in Figure 4, at time t1, the angle between the vertical wind deflector and the air conditioner is 45°. At time t2, the infrared detection device sends a detection signal to the air conditioner, and the detection signal includes the window being in an open state, the opening size of the window and the maximum opening size of the window. According to the maximum opening size of the window and the maximum opening size of the window, the air conditioner determines that the opening degree of the window is 1, that is, the first included angle between the vertical wind deflector and the air conditioner is determined to be 15°. Therefore, the motor is controlled to drive the vertical wind deflector to rotate 30° in the direction of 15°, so as to adjust the included angle between the vertical wind deflector and the air conditioner to 15°.
本申请实施例提供的空调的控制方法,包括:获取窗户的开关状态,开关状态为打开状态或者关闭状态,窗户为空调所在房间的窗户。在窗户的开关状态为打开状态时,获取窗户的打开程度。根据窗户的打开程度, 确定竖向导风板与空调之间的第一夹角。将竖向导风板与空调之间的夹角调整至第一夹角。在上述方法中,在窗户处于打开状态时,根据窗户的打开程度,将导风板与空调的夹角调整至第一夹角,以改变空调的冷空气的出风方向以及覆盖的区域,从而了避免因空调冷空气覆盖区域与窗户所在的热空气区域重合所引起制冷效果不佳以及空调耗能大的问题。The air conditioner control method provided in the embodiment of the present application includes: acquiring the switch state of the window, the switch state being an open state or a closed state, and the window being a window of a room where the air conditioner is located. When the switch state of the window is open, obtain the opening degree of the window. According to the opening degree of the window, determine the first included angle between the vertical wind deflector and the air conditioner. Adjust the included angle between the vertical wind deflector and the air conditioner to the first included angle. In the above method, when the window is in the open state, according to the degree of opening of the window, the angle between the air deflector and the air conditioner is adjusted to the first angle, so as to change the air outlet direction and the covered area of the cold air of the air conditioner, thereby In order to avoid the problems of poor cooling effect and high energy consumption of the air conditioner caused by the coincidence of the cold air coverage area of the air conditioner and the hot air area where the window is located.
在上述实施例的基础上,下面结合一个具体的实施例对本申请提供的空调的控制方法进行进一步的介绍,结合图5进行介绍,图5为本申请实施例提供的空调的控制方法的流程图二。On the basis of the above-mentioned embodiments, the air-conditioning control method provided by the present application will be further introduced in conjunction with a specific embodiment below, and the introduction will be made in conjunction with Fig. 5, which is a flow chart of the air-conditioning control method provided by the embodiment of the present application two.
如图5所示,该方法包括:As shown in Figure 5, the method includes:
S501、获取窗户的开关状态,开关状态为打开状态或者关闭状态,窗户为空调所在房间的窗户。S501. Obtain the switch state of the window, where the switch state is an open state or a closed state, and the window is a window of a room where the air conditioner is located.
需要说明的是,步骤S501的执行过程可以参照S201的执行过程,此处不再进行赘述。It should be noted that, the execution process of step S501 may refer to the execution process of S201, which will not be repeated here.
S502、判断窗户的开关状态是否为打开状态,若是,则执行S503-S509,若否,则执行S510。S502. Determine whether the switch state of the window is open, if yes, execute S503-S509, if not, execute S510.
在本实施例中,空调接收来自红外检测装置发送的窗户的开关状态。当窗户的开关状态为不同状态时,对应的空调的控制处理也不同。若确定窗户的开关状态为打开状态时,则执行步骤S503至S509;若确定窗户的开关状态为关闭状态时,则执行步骤S510;In this embodiment, the air conditioner receives the switch state of the window sent from the infrared detection device. When the opening and closing states of the windows are in different states, the corresponding control processing of the air conditioner is also different. If it is determined that the switch state of the window is an open state, then perform steps S503 to S509; if it is determined that the switch state of the window is a closed state, then perform step S510;
S503、在窗户的开关状态为打开状态时,获取窗户的打开尺寸和窗户的最大打开尺寸。S503. Acquire the opening size of the window and the maximum opening size of the window when the switch state of the window is the open state.
可选的,当确定窗户当前的开关状态为打开状态时,空调可以接收来自红外检测装置发送的窗户当前的打开尺寸以及窗户的最大打开尺寸。Optionally, when it is determined that the current switch state of the window is the open state, the air conditioner may receive the current opening size of the window and the maximum opening size of the window sent from the infrared detection device.
S504、根据打开尺寸和最大打开尺寸,确定第一比值,第一比值为打开尺寸与最大打开尺寸的比值,第一比值为大于0且小于或等于1的数值。S504. Determine a first ratio according to the opening size and the maximum opening size, where the first ratio is the ratio of the opening size to the maximum opening size, and the first ratio is a value greater than 0 and less than or equal to 1.
S505、将第一比值确定为窗户的打开程度。S505. Determine the first ratio as the opening degree of the window.
接下来,对步骤S504和步骤S505放在一起进行说明。Next, step S504 and step S505 will be described together.
基于上述步骤S503获取到窗户的打开尺寸和窗户的最大打开尺寸后,将打开尺寸与窗户的最大打开尺寸进行(相除)相比,得到的第一比值。其中,第一比值为大于0且小于或等于1的数值。After the opening size of the window and the maximum opening size of the window are acquired based on the above step S503, the first ratio is obtained by comparing (dividing) the opening size with the maximum opening size of the window. Wherein, the first ratio is a value greater than 0 and less than or equal to 1.
例如,窗户当前的打开尺寸为30cm,且窗户的最大打开尺寸为50cm,则第一比值为
Figure PCTCN2022078976-appb-000001
For example, if the current opening size of the window is 30cm, and the maximum opening size of the window is 50cm, then the first ratio is
Figure PCTCN2022078976-appb-000001
在本实施例中,将第一比值确定为窗户的打开程度。因此,在上述例子的基础上,窗户的第一比值为
Figure PCTCN2022078976-appb-000002
因此,窗户的对应的打开程度为
Figure PCTCN2022078976-appb-000003
In this embodiment, the first ratio is determined as the opening degree of the window. Therefore, based on the above example, the first ratio of the window is
Figure PCTCN2022078976-appb-000002
Therefore, the corresponding opening degree of the window is
Figure PCTCN2022078976-appb-000003
S506、确定多个区间范围、以及区间范围与夹角之间的对应关系,夹角为竖向导风板与空调之间的角度。S506. Determine a plurality of interval ranges and a corresponding relationship between interval ranges and included angles, where the included angle is the angle between the vertical wind deflector and the air conditioner.
可选的,根据窗户的打开程度的取值范围,确定多个区间范围。例如,当窗户处于打开状态时,窗户的打开程度的取值范围为(0,1]。可选的,将打开程度的取值范围划分为具有不同范围的多个区间。例如,将取值范围(0,1]划分成多个区间,包括
Figure PCTCN2022078976-appb-000004
Optionally, multiple interval ranges are determined according to the value range of the opening degree of the window. For example, when the window is in the open state, the value range of the opening degree of the window is (0,1]. Optionally, the value range of the opening degree is divided into multiple intervals with different ranges. For example, the value The range (0,1] is divided into multiple intervals, including
Figure PCTCN2022078976-appb-000004
可选的,获取区间范围与夹角之间的对应关系,其中夹角为竖向导风板与空调之间的角度。其中,对应关系中包括至少一个区间范围和每个区间范围对应的夹角。例如,以区间范围为
Figure PCTCN2022078976-appb-000005
为例,对区间范围与夹角之间的对应关系可以如表2所示:
Optionally, the corresponding relationship between the interval range and the included angle is obtained, where the included angle is the angle between the vertical wind deflector and the air conditioner. Wherein, the corresponding relationship includes at least one interval range and an included angle corresponding to each interval range. For example, taking the interval range as
Figure PCTCN2022078976-appb-000005
For example, the corresponding relationship between the interval range and the included angle can be shown in Table 2:
表2Table 2
Figure PCTCN2022078976-appb-000006
Figure PCTCN2022078976-appb-000006
需要说明的是表2只是以示例的形式示意多个区间范围与夹角之间的对应关系,并非对对应关系的限定。It should be noted that Table 2 is only an example showing the correspondence between multiple interval ranges and included angles, and is not intended to limit the correspondence.
S507、在多个区间范围中,确定打开程度所在的目标区间范围。S507. Among the multiple interval ranges, determine the target interval range where the opening degree is located.
基于上述步骤S505获取了窗户的打开程度,以窗户的打开程度为
Figure PCTCN2022078976-appb-000007
为例,对根据窗户的打开程度以及多个区间范围,确定打开程度所在的目标范围的实现方式进行说明。
The degree of opening of the window is obtained based on the above step S505, and the degree of opening of the window is
Figure PCTCN2022078976-appb-000007
As an example, an implementation manner of determining a target range where the opening degree is located according to the opening degree of the window and multiple interval ranges is described.
例如,在上述例子的基础上,多个区间范围为:
Figure PCTCN2022078976-appb-000008
以及当前窗户的打开程度为
Figure PCTCN2022078976-appb-000009
由于
Figure PCTCN2022078976-appb-000010
处于区间
Figure PCTCN2022078976-appb-000011
内,因此窗户当前的打开程度所在的目标区间范围为
Figure PCTCN2022078976-appb-000012
For example, based on the above example, multiple ranges are:
Figure PCTCN2022078976-appb-000008
and the current window openness is
Figure PCTCN2022078976-appb-000009
because
Figure PCTCN2022078976-appb-000010
in range
Figure PCTCN2022078976-appb-000011
Therefore, the target range of the current opening degree of the window is
Figure PCTCN2022078976-appb-000012
S508、根据目标区间范围和对应关系,确定第一夹角。S508. Determine the first included angle according to the range of the target interval and the corresponding relationship.
基于上述步骤S506确定了区间范围与夹角之间的对应关系,以及,基于步骤S506确定了窗户当前的打开程度所在的目标区间范围。Based on the above step S506, the corresponding relationship between the interval range and the included angle is determined, and based on the step S506, the target interval range where the current opening degree of the window is located is determined.
例如,窗户当前的打开程度所在的目标区间范围为
Figure PCTCN2022078976-appb-000013
以及,参考表2可知当区间范围为
Figure PCTCN2022078976-appb-000014
时对应的夹角为45°。因此,根据目标区间范围以及对应关系,可以确定第一夹角为45°。
For example, the target range of the current opening degree of the window is
Figure PCTCN2022078976-appb-000013
And, referring to Table 2, it can be seen that when the interval range is
Figure PCTCN2022078976-appb-000014
The corresponding included angle is 45°. Therefore, according to the range of the target interval and the corresponding relationship, it can be determined that the first included angle is 45°.
S509、将竖向导风板与空调之间的夹角调整至第一夹角。S509. Adjust the angle between the vertical wind deflector and the air conditioner to the first angle.
需要说明的是,步骤S509的执行过程可以参照S204的执行过程,此处不再进行赘述。It should be noted that, the execution process of step S509 may refer to the execution process of S204, which will not be repeated here.
S510、确定竖向导风板与空调之间的夹角为预设夹角,并将竖向导风板与空调之间的夹角调整至预设夹角。S510. Determine that the included angle between the vertical wind deflector and the air conditioner is a preset included angle, and adjust the included angle between the vertical wind deflector and the air conditioner to the preset included angle.
预设夹角为当窗户当前的开关状态为关闭状态时,竖向导风板与空调之间的夹角。例如,预设夹角可以为90°。可以理解的是,当窗户处于关闭状态时,使竖向导风板与空调之间的夹角越大,可以使得冷空气的出风方向正对房间,同时夹角越大单位时刻吹出的冷空气的量也就越大,这样可以扩大冷空气的覆盖区域,从而使得房间快速达到制冷模式下的预设温度。其中,空调在制冷模式下的预设温度为房间内所要达到的目标温度,当房间达到该目标温度为,空调的压缩机则会停止工作,以使房间温度维持在预设温度附近。The preset included angle is the included angle between the vertical wind deflector and the air conditioner when the current switch state of the window is closed. For example, the preset included angle may be 90°. It can be understood that when the window is closed, the larger the angle between the vertical wind deflector and the air conditioner, the cold air can be directed towards the room, and the larger the angle is, the more cold air blown out per unit time The larger the amount, the larger the coverage area of the cold air can be expanded, so that the room can quickly reach the preset temperature in the cooling mode. Wherein, the preset temperature of the air conditioner in the cooling mode is the target temperature to be reached in the room, and when the room reaches the target temperature, the compressor of the air conditioner will stop working so that the room temperature is maintained near the preset temperature.
可选的,将预设夹角确定为竖向导风板与空调之间所能达到的最大的夹角,即90°。当竖向导风板与空调之间夹角达到90°时,此时单位时刻吹出的冷空气的量也就越大,这样可以扩大冷空气的覆盖区域,从而使得房间快速达到制冷模式下的预设温度。Optionally, the preset included angle is determined as the maximum possible included angle between the vertical wind deflector and the air conditioner, that is, 90°. When the angle between the vertical wind deflector and the air conditioner reaches 90°, the amount of cold air blown per unit time will be larger, which can expand the coverage area of cold air, so that the room can quickly reach the preset value in cooling mode. Set temperature.
可选的,在窗户的开关状态为关闭状态时,根据预设夹角,控制电机驱动竖向导风板与空调之间的夹角调整至预设夹角。具体的,控制电机驱动竖向导风板与空调之间的夹角调整至预设夹角的实现方式与控制电机驱 动竖向导风板与空调之间的夹角调整至第一夹角的实现方式类似,此处不再赘述。Optionally, when the switch state of the window is closed, according to the preset angle, the control motor drives the angle between the vertical wind deflector and the air conditioner to be adjusted to the preset angle. Specifically, the implementation of controlling the angle between the motor-driven vertical wind deflector and the air conditioner to adjust to a preset angle and the implementation of controlling the motor-driven vertical wind deflector to adjust the angle between the air conditioner to the first angle Similar and will not be repeated here.
本申请实施例提供的空调的控制方法,包括:获取窗户的开关状态,开关状态为打开状态或者关闭状态,窗户为空调所在房间的窗户。在窗户的开关状态为打开状态时,获取窗户的打开尺寸和窗户的最大打开尺寸。根据打开尺寸和最大打开尺寸,确定第一比值,第一比值为打开尺寸与最大打开尺寸的比值,第一比值为大于0且小于或等于1的数值。将第一比值确定为窗户的打开程度。确定多个区间范围、以及区间范围与夹角之间的对应关系,夹角为竖向导风板与空调之间的角度。在多个区间范围中,确定打开程度所在的目标区间范围。根据目标区间范围和对应关系,确定第一夹角。将竖向导风板与空调之间的夹角调整至第一夹角。在窗户的开关状态为打开状态时,则确定竖向导风板与空调之间的夹角为预设夹角,并将竖向导风板与空调之间的夹角调整至预设夹角。The air conditioner control method provided in the embodiment of the present application includes: acquiring the switch state of the window, the switch state being an open state or a closed state, and the window being a window of a room where the air conditioner is located. When the switch state of the window is in the open state, obtain the opening size of the window and the maximum opening size of the window. According to the opening size and the maximum opening size, a first ratio is determined, the first ratio is the ratio of the opening size to the maximum opening size, and the first ratio is a value greater than 0 and less than or equal to 1. The first ratio is determined as the opening degree of the window. A plurality of interval ranges and a corresponding relationship between the interval ranges and the included angle are determined, and the included angle is the angle between the vertical wind deflector and the air conditioner. Among the plurality of interval ranges, a target interval range where the degree of openness is located is determined. The first included angle is determined according to the range of the target interval and the corresponding relationship. Adjust the included angle between the vertical wind deflector and the air conditioner to the first included angle. When the switch state of the window is in the open state, it is determined that the angle between the vertical wind deflector and the air conditioner is a preset angle, and the angle between the vertical wind deflector and the air conditioner is adjusted to the preset angle.
图6为本申请实施例提供的空调的控制装置的结构示意图,所述空调中设置有竖向导风板。如图6所示,该装置600包括:第一获取模块601、第二获取模块602、确定模块603、以及处理模块604。FIG. 6 is a schematic structural diagram of a control device for an air conditioner provided in an embodiment of the present application, and the air conditioner is provided with a vertical wind deflector. As shown in FIG. 6 , the apparatus 600 includes: a first obtaining module 601 , a second obtaining module 602 , a determining module 603 , and a processing module 604 .
第一获取模块601,用于获取窗户的开关状态,所述开关状态为打开状态或者关闭状态,所述窗户为所述空调所在房间的窗户;The first acquisition module 601 is configured to acquire the switch state of the window, the switch state is an open state or a closed state, and the window is a window of a room where the air conditioner is located;
第二获取模块602,用于在所述窗户的开关状态为打开状态时,获取所述窗户的打开程度;The second acquiring module 602 is configured to acquire the opening degree of the window when the switch state of the window is in the open state;
确定模块603,用于根据所述窗户的打开程度,确定所述竖向导风板与所述空调之间的第一夹角;A determining module 603, configured to determine a first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window;
处理模块604,用于将所述竖向导风板与所述空调之间的夹角调整至所述第一夹角。The processing module 604 is configured to adjust the angle between the vertical wind deflector and the air conditioner to the first angle.
在一种可能的设计中,所述第二获取模块602具体用于:In a possible design, the second obtaining module 602 is specifically configured to:
获取所述窗户的打开尺寸和所述窗户的最大打开尺寸;Obtain the opening size of the window and the maximum opening size of the window;
根据所述打开尺寸和所述最大打开尺寸,确定所述窗户的打开程度。The opening degree of the window is determined according to the opening size and the maximum opening size.
在一种可能的设计中,所述第二获取模块602具体用于:In a possible design, the second obtaining module 602 is specifically configured to:
根据所述打开尺寸和所述最大打开尺寸,确定第一比值,所述第一比值为所述打开尺寸与所述最大打开尺寸的比值,所述第一比值为大于0且小于或等于1的数值;According to the opening size and the maximum opening size, determine a first ratio, the first ratio is the ratio of the opening size to the maximum opening size, the first ratio is greater than 0 and less than or equal to 1 value;
将所述第一比值确定为所述窗户的打开程度。The first ratio is determined as the opening degree of the window.
在一种可能的设计中,所述确定模块603具体用于:In a possible design, the determining module 603 is specifically configured to:
确定多个区间范围、以及区间范围与夹角之间的对应关系,所述夹角为所述竖向导风板与所述空调之间的角度;Determining a plurality of interval ranges, and a corresponding relationship between interval ranges and included angles, where the included angle is the angle between the vertical wind deflector and the air conditioner;
在所述多个区间范围中,确定所述打开程度所在的目标区间范围;Among the plurality of interval ranges, determine the target interval range where the opening degree is located;
根据所述目标区间范围和所述对应关系,确定所述第一夹角。The first included angle is determined according to the target interval range and the corresponding relationship.
在一种可能的设计中,所述处理模块604还用于:In a possible design, the processing module 604 is also configured to:
若确定所述窗户的开关状态为关闭状态,则确定所述竖向导风板与所述空调之间的夹角为预设夹角,并将所述竖向导风板与所述空调之间的夹角调整至所述预设夹角。If it is determined that the switch state of the window is closed, then determine that the angle between the vertical wind deflector and the air conditioner is a preset angle, and set the angle between the vertical wind deflector and the air conditioner The included angle is adjusted to the preset included angle.
在一种可能的设计中,所述窗户上设置有红外检测装置,所述空调与所述红外检测装置蓝牙连接;In a possible design, an infrared detection device is provided on the window, and the air conditioner is connected to the infrared detection device by Bluetooth;
所述第一获取模块601具体用于:The first acquiring module 601 is specifically used for:
接收所述红外检测装置发送的所述窗户的开关状态;receiving the switch state of the window sent by the infrared detection device;
所述第二获取模块602具体用于:The second acquiring module 602 is specifically used for:
接收所述红外检测装置发送的所述窗户的打开尺寸。The opening size of the window sent by the infrared detection device is received.
本实施例提供的装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in this embodiment can be used to implement the technical solutions of the above method embodiments, and its implementation principle and technical effect are similar, so this embodiment will not repeat them here.
图7为本申请实施例提供的空调的控制设备的硬件结构示意图,如图7所示,本实施例的空调的控制设备700包括:处理器701以及存储器702;其中FIG. 7 is a schematic diagram of the hardware structure of the air-conditioning control device provided by the embodiment of the present application. As shown in FIG. 7 , the air-conditioning control device 700 of this embodiment includes: a processor 701 and a memory 702;
存储器702,用于存储计算机执行指令; memory 702, for storing computer-executable instructions;
处理器701,用于执行存储器存储的计算机执行指令,以实现上述实施例中空调的控制方法所执行的各个步骤。具体可以参见前述方法实施例中的相关描述。The processor 701 is configured to execute the computer-executed instructions stored in the memory, so as to implement the various steps performed by the method for controlling the air conditioner in the above-mentioned embodiments. For details, refer to the related descriptions in the foregoing method embodiments.
可选地,存储器702既可以是独立的,也可以跟处理器701集成在一起。Optionally, the memory 702 can be independent or integrated with the processor 701 .
当存储器702独立设置时,该空调的控制设备还包括总线703,用于连接所述存储器702和处理器701。When the memory 702 is set independently, the air conditioner control device further includes a bus 703 for connecting the memory 702 and the processor 701 .
本申请实时例提供一种空调,所述空调包括所述空调的控制设备,实现如上空调的控制设备所执行的空调的控制方法。An example of the present application provides an air conditioner, the air conditioner includes a control device of the air conditioner, and implements the air conditioner control method performed by the control device of the air conditioner as above.
本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上空调的控制设备所执行的空调的控制方法。An embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the control of the air conditioner performed by the above air conditioner control device is realized method.
本申请实施例还提供一种计算机程序产品,程序产品包括:计算机程序,计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从可读存储介质读取计算机程序,至少一个处理器执行计算机程序使得电子设备执行上述任一实施例提供的方案。The embodiment of the present application also provides a computer program product, the program product includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of the electronic device can read the computer program from the readable storage medium, at least one processor The computer executes the computer program so that the electronic device executes the solution provided by any one of the above embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。The above-mentioned integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium. The above-mentioned software functional modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the functions described in various embodiments of the present application. part of the method.
应理解,上述处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor can be a central processing unit (English: Central Processing Unit, referred to as: CPU), and can also be other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as: ASIC), etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in conjunction with the invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The storage may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准 体系结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus can be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
上述存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable In addition to programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
在本申请中,术语“包括”及其变形可以指非限制性的包括;术语“或”及其变形可以指“和/或”。本申请中术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。本申请中,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In this application, the term "include" and its variants may mean non-limiting inclusion; the term "or" and its variants may mean "and/or". The terms "first", "second", etc. in this application are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence. In the present application, "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit it; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the application. scope.

Claims (10)

  1. 一种空调的控制方法,其特征在于,所述空调中设置有竖向导风板,所述方法包括:A control method for an air conditioner, characterized in that the air conditioner is provided with a vertical wind deflector, and the method includes:
    获取窗户的开关状态,所述开关状态为打开状态或者关闭状态,所述窗户为所述空调所在房间的窗户;Obtain the switch state of the window, the switch state is an open state or a closed state, and the window is a window of the room where the air conditioner is located;
    在所述窗户的开关状态为打开状态时,获取所述窗户的打开程度;Obtain the opening degree of the window when the switch state of the window is in the open state;
    根据所述窗户的打开程度,确定所述竖向导风板与所述空调之间的第一夹角;determining a first angle between the vertical wind deflector and the air conditioner according to the degree of opening of the window;
    将所述竖向导风板与所述空调之间的夹角调整至所述第一夹角。The angle between the vertical wind deflector and the air conditioner is adjusted to the first angle.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述窗户的打开程度,包括:The method according to claim 1, wherein said obtaining the opening degree of said window comprises:
    获取所述窗户的打开尺寸和所述窗户的最大打开尺寸;Obtain the opening size of the window and the maximum opening size of the window;
    根据所述打开尺寸和所述最大打开尺寸,确定所述窗户的打开程度。The opening degree of the window is determined according to the opening size and the maximum opening size.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述打开尺寸和所述最大打开尺寸,确定所述窗户的打开程度,包括:The method according to claim 2, wherein the determining the degree of opening of the window according to the opening size and the maximum opening size comprises:
    根据所述打开尺寸和所述最大打开尺寸,确定第一比值,所述第一比值为所述打开尺寸与所述最大打开尺寸的比值,所述第一比值为大于0且小于或等于1的数值;According to the opening size and the maximum opening size, determine a first ratio, the first ratio is the ratio of the opening size to the maximum opening size, the first ratio is greater than 0 and less than or equal to 1 value;
    将所述第一比值确定为所述窗户的打开程度。The first ratio is determined as the opening degree of the window.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述窗户的打开程度,确定所述竖向导风板与所述空调之间的第一夹角,包括:The method according to any one of claims 1-3, wherein the determining the first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window includes:
    确定多个区间范围、以及区间范围与夹角之间的对应关系,所述夹角为所述竖向导风板与所述空调之间的角度;Determining a plurality of interval ranges, and a corresponding relationship between interval ranges and included angles, where the included angle is the angle between the vertical wind deflector and the air conditioner;
    在所述多个区间范围中,确定所述打开程度所在的目标区间范围;Among the plurality of interval ranges, determine the target interval range where the opening degree is located;
    根据所述目标区间范围和所述对应关系,确定所述第一夹角。The first included angle is determined according to the target interval range and the corresponding relationship.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    若确定所述窗户的开关状态为关闭状态,则确定所述竖向导风板与所述空调之间的夹角为预设夹角,并将所述竖向导风板与所述空调之间的夹角调整至所述预设夹角。If it is determined that the switch state of the window is closed, then determine that the angle between the vertical wind deflector and the air conditioner is a preset angle, and set the angle between the vertical wind deflector and the air conditioner The included angle is adjusted to the preset included angle.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述窗户上设置有红外检测装置,所述空调与所述红外检测装置蓝牙连接;The method according to any one of claims 1-5, wherein an infrared detection device is provided on the window, and the air conditioner is connected to the infrared detection device by Bluetooth;
    所述获取窗户的开关状态,包括:The acquisition of the switch state of the window includes:
    接收所述红外检测装置发送的所述窗户的开关状态;receiving the switch state of the window sent by the infrared detection device;
    所述获取所述窗户的打开程度,包括:The obtaining the opening degree of the window includes:
    接收所述红外检测装置发送的所述窗户的打开尺寸。The opening size of the window sent by the infrared detection device is received.
  7. 一种空调的控制装置,其特征在于,所述空调中设置有竖向导风板,所述装置包括:A control device for an air conditioner, characterized in that the air conditioner is provided with a vertical wind deflector, and the device includes:
    第一获取模块,用于获取窗户的开关状态,所述开关状态为打开状态或者关闭状态,所述窗户为所述空调所在房间的窗户;The first acquisition module is used to acquire the switch state of the window, the switch state is an open state or a closed state, and the window is a window of the room where the air conditioner is located;
    第二获取模块,用于在所述窗户的开关状态为打开状态时,获取所述窗户的打开程度;The second acquisition module is used to acquire the opening degree of the window when the switch state of the window is in the open state;
    确定模块,用于根据所述窗户的打开程度,确定所述竖向导风板与所述空调之间的第一夹角;A determining module, configured to determine a first angle between the vertical wind deflector and the air conditioner according to the opening degree of the window;
    处理模块,用于将所述竖向导风板与所述空调之间的夹角调整至所述第一夹角。A processing module, configured to adjust the angle between the vertical wind deflector and the air conditioner to the first angle.
  8. 一种空调的控制设备,其特征在于,包括:An air conditioner control device, characterized in that it includes:
    存储器,用于存储程序;memory for storing programs;
    处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述处理器用于执行如权利要求1至6中任一所述的方法。A processor, configured to execute the program stored in the memory, and when the program is executed, the processor is configured to execute the method according to any one of claims 1 to 6.
  9. 一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至6中任一所述的方法。A computer-readable storage medium, characterized by comprising instructions, which, when run on a computer, cause the computer to execute the method as claimed in any one of claims 1 to 6.
  10. 一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法。A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
PCT/CN2022/078976 2021-06-29 2022-03-03 Air conditioner control method and device WO2023273382A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110732699.0A CN113531854A (en) 2021-06-29 2021-06-29 Control method and device of air conditioner
CN202110732699.0 2021-06-29

Publications (1)

Publication Number Publication Date
WO2023273382A1 true WO2023273382A1 (en) 2023-01-05

Family

ID=78126244

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078976 WO2023273382A1 (en) 2021-06-29 2022-03-03 Air conditioner control method and device

Country Status (2)

Country Link
CN (1) CN113531854A (en)
WO (1) WO2023273382A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113531854A (en) * 2021-06-29 2021-10-22 青岛海尔空调器有限总公司 Control method and device of air conditioner

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009133536A (en) * 2007-11-30 2009-06-18 Toshiba Carrier Corp Air conditioner
CN204438431U (en) * 2015-01-27 2015-07-01 上海新祁环境科技有限公司 Air-conditioner
CN106352485A (en) * 2016-09-12 2017-01-25 Tcl空调器(中山)有限公司 Air conditioner control method and air conditioner
JP2018162925A (en) * 2017-03-27 2018-10-18 三菱電機株式会社 Air conditioning control device, air conditioner, air conditioning system, air conditioning control method, and program
CN109682038A (en) * 2018-12-29 2019-04-26 奥克斯空调股份有限公司 A kind of air-conditioner control method and air conditioner
CN111609470A (en) * 2020-05-29 2020-09-01 佛山市万物互联科技有限公司 Air conditioner operation control method, air conditioner and computer readable storage medium
CN112524772A (en) * 2020-11-30 2021-03-19 珠海格力电器股份有限公司 Control method and device of air conditioner, storage medium and electronic device
CN113531854A (en) * 2021-06-29 2021-10-22 青岛海尔空调器有限总公司 Control method and device of air conditioner

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016156507A (en) * 2015-02-23 2016-09-01 ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド Air conditioner
CN108088038A (en) * 2017-12-15 2018-05-29 徐宏亮 A kind of air-conditioner control method
WO2021064850A1 (en) * 2019-10-01 2021-04-08 三菱電機株式会社 Control device, air-conditioning device, air-conditioning system and control method
CN111981569A (en) * 2020-07-09 2020-11-24 深圳市金龙空调电器有限公司 Energy-saving control system of fan and operation method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009133536A (en) * 2007-11-30 2009-06-18 Toshiba Carrier Corp Air conditioner
CN204438431U (en) * 2015-01-27 2015-07-01 上海新祁环境科技有限公司 Air-conditioner
CN106352485A (en) * 2016-09-12 2017-01-25 Tcl空调器(中山)有限公司 Air conditioner control method and air conditioner
JP2018162925A (en) * 2017-03-27 2018-10-18 三菱電機株式会社 Air conditioning control device, air conditioner, air conditioning system, air conditioning control method, and program
CN109682038A (en) * 2018-12-29 2019-04-26 奥克斯空调股份有限公司 A kind of air-conditioner control method and air conditioner
CN111609470A (en) * 2020-05-29 2020-09-01 佛山市万物互联科技有限公司 Air conditioner operation control method, air conditioner and computer readable storage medium
CN112524772A (en) * 2020-11-30 2021-03-19 珠海格力电器股份有限公司 Control method and device of air conditioner, storage medium and electronic device
CN113531854A (en) * 2021-06-29 2021-10-22 青岛海尔空调器有限总公司 Control method and device of air conditioner

Also Published As

Publication number Publication date
CN113531854A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN106979596B (en) Method, device and system for controlling air conditioner and air conditioner
WO2020000551A1 (en) Method and device for controlling air guide strip of air conditioning apparatus, and air conditioning apparatus
CN108151150B (en) Embedded air conditioner, system and control method thereof
US11940175B2 (en) Limiting operation of a HVAC system for low-noise municipalities
JP7122401B2 (en) Air conditioning equipment control method, device and air conditioning equipment
CN109974230B (en) Operation control method, operation control device, air conditioner and computer readable storage medium
WO2023273382A1 (en) Air conditioner control method and device
JP2017048929A (en) Air conditioner
JP7179176B2 (en) Air conditioning controller and air conditioning control system
US9816711B2 (en) Air conditioner unit and method for operating same
JPWO2017183083A1 (en) Air conditioning system
CN109506334A (en) A kind of anti-cold air control method, apparatus of air-conditioning and a kind of air-conditioning
US10655867B2 (en) System and method for operating a packaged terminal air conditioner unit
JP2018162925A (en) Air conditioning control device, air conditioner, air conditioning system, air conditioning control method, and program
CN109073254B (en) Air conditioner
CN206709316U (en) A kind of condenser fan speed-adjusting and control system
US11300302B2 (en) Air conditioner system, air conditioner control device, air conditioner method, and program for control using water circulation and based on indoor latent and sensible heat loads
WO2022237841A1 (en) Method, apparatus and device for controlling air conditioner
US20180156524A1 (en) Control device for air-conditioning equipment and air conditioning system
US20170102157A1 (en) Air conditioner units and methods for determining indoor room temperatures
CN113819615B (en) Method and device for controlling air conditioner and air conditioner
US20240003580A1 (en) Air-conditioning system, controller for air-conditioning apparatus, and control method for air-conditioning apparatus
CN112378055A (en) Air conditioner control method and device, air conditioner indoor unit, air conditioner system and storage medium
CN108679808B (en) Method and system for synchronizing air conditioner temperature state based on temperature and humidity sensor
CN112361549A (en) Air conditioner control method and device and air conditioner

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22831213

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE