Method and device for controlling air conditioner, and electronic device

By statically dividing the preset space of the air conditioner, determining the user's location and obtaining temperature and humidity information, the parameter compensation of the air conditioner is achieved, the temperature and humidity deviation problem felt by the sensor and the user is solved, and the control accuracy of the air conditioner and the user experience are improved.

CN116202196BActive Publication Date: 2025-09-16QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310176880.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2025-09-16
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

The air conditioner fails to take into account the deviation between the temperature and humidity felt by the sensor and the user during control, resulting in poor parameter control accuracy.

Method used

By statically dividing the preset space, multiple lattice units of preset sizes are obtained, the user position is determined, and the first target unit and the second target unit are determined according to the user position, the temperature and humidity information of each unit is obtained, and the air conditioner is controlled using the optimal temperature and humidity to perform parameter compensation.

Benefits of technology

The accuracy of parameter control of the air conditioner is improved, the deviation between the temperature and humidity felt by the user and the temperature and humidity detected by the air conditioner sensor is reduced, and the user experience is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116202196B_ABST
    Figure CN116202196B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of air conditioner control and discloses a method for controlling an air conditioner, comprising: statically dividing a preset space to obtain a plurality of lattice units of preset sizes. Determining the user position within the preset space. Determining a first target unit and a second target unit from each lattice unit based on the user position; the second target unit is used to represent the lattice unit at the user position. Acquiring temperature and humidity information of the first target unit and the second target unit respectively. Determining the optimal temperature and humidity based on the temperature and humidity information of the first target unit. Controlling the air conditioner based on the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit. This reduces the deviation between the temperature and humidity at the user position and the temperature and humidity detected by the air conditioner sensor, thereby improving the accuracy of parameter control of the air conditioner. The present application also discloses a device and electronic device for controlling an air conditioner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of air conditioner control, for example, to a method and device for controlling an air conditioner, and an electronic device. Background Art

[0002] Air conditioners are now widely used and have become a necessity. With their widespread use, demands for their functionality and features are increasing. Air conditioners are now widely used and have become a necessity. With their widespread use, demands for their functionality and features are increasing. Air conditioners can detect indoor temperature and humidity and control them accordingly, ensuring that the indoor temperature and humidity meet the user's set standards.

[0003] During the implementation of the embodiments of the present disclosure, it was found that at least the following problems exist in the related art:

[0004] Air conditioners are equipped with sensors, and they often interpret the temperature and humidity detected by the sensors as the indoor ambient temperature and humidity. Related art control techniques fail to consider the distance between the air conditioner's location and other locations in the room. Consequently, there is often a discrepancy between the temperature and humidity detected by the sensors and the temperature and humidity experienced by the user. This results in poor accuracy in air conditioner parameter control.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to ordinary technicians in this field. Summary of the Invention

[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0007] Embodiments of the present disclosure provide a method and apparatus for controlling an air conditioner, and an electronic device, so as to improve the accuracy of parameter control of the air conditioner.

[0008] In some embodiments, a preset space is statically divided to obtain a plurality of lattice cells of a preset size; the preset space is the space where the air conditioner is located. A user position within the preset space is determined. Based on the user position, a first target cell and a second target cell are determined from each of the lattice cells; the second target cell is used to represent the lattice cell at the user position. Temperature and humidity information of the first target cell and the second target cell are obtained respectively. An optimal temperature and humidity are determined based on the temperature and humidity information of the first target cell. The air conditioner is controlled based on the temperature and humidity information of the second target cell and the optimal temperature and humidity to perform parameter compensation on the second target cell.

[0009] In some embodiments, determining the first target cell and the second target cell from each of the lattice cells based on the user location includes: determining a heat conduction path of the air conditioner based on the user location, determining the lattice cells involved in the heat conduction path as the first target cell, and determining the lattice cell at the user location as the second target cell.

[0010] In some embodiments, determining the heat conduction path of the air conditioner according to the user position includes: determining a line between the user position and an air outlet of the air conditioner as the heat conduction path of the air conditioner.

[0011] In some embodiments, the temperature and humidity information of the first target unit includes a first temperature and a first humidity, and determining the optimal temperature and humidity based on the temperature and humidity information of the first target unit includes: obtaining a user required temperature; obtaining a temperature difference between the first temperature and the user required temperature; determining a first temperature corresponding to the minimum temperature difference as a target temperature; determining a first humidity of the first target unit corresponding to the target temperature as an absolute humidity; and determining the target temperature and the absolute humidity as the optimal temperature and humidity.

[0012] In some embodiments, the air conditioner is controlled according to the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit, including: obtaining the operating mode of the air conditioner, obtaining the comparison result between the temperature and humidity information of the second target unit and the optimal temperature and humidity, and controlling the air conditioner according to the operating mode and the comparison result to perform parameter compensation on the second target unit.

[0013] In some embodiments, the comparison result includes a temperature comparison result and a humidity comparison result, and controlling the air conditioner according to the operating mode and the comparison result to perform parameter compensation on the second target unit includes: when the operating mode is a first preset mode, controlling the air conditioner according to the temperature comparison result. Or, when the operating mode is a second preset mode, controlling the air conditioner according to the temperature comparison result and the humidity comparison result.

[0014] In some embodiments, controlling the air conditioner based on the temperature comparison result includes: if the temperature comparison result indicates that the second temperature is higher than the target temperature, determining a difference between the second temperature and the target temperature as a first temperature compensation value, and lowering the set temperature of the air conditioner according to the first temperature compensation value.

[0015] In some embodiments, controlling the air conditioner based on the temperature comparison result and the humidity comparison result includes: triggering the air conditioner to activate a dehumidification function to perform humidity compensation if the temperature comparison result indicates that the second temperature is lower than the target temperature and the humidity comparison result indicates that the second humidity is higher than the absolute humidity, determining the difference between the second temperature and the target temperature as a second temperature compensation value, and raising the set temperature of the air conditioner according to the second temperature compensation value.

[0016] In some embodiments, the apparatus for controlling an air conditioner includes: a processor and a memory storing program instructions, and the processor is configured to perform the above-mentioned method for controlling an air conditioner when executing the program instructions.

[0017] In some embodiments, the electronic device includes: an electronic device body; and the device for controlling an air conditioner as described above, which is installed in the electronic device body.

[0018] The method, device, and electronic device for controlling an air conditioner provided by the embodiments of the present disclosure can achieve the following technical effects: by statically dividing a preset space, a plurality of lattice units of preset sizes are obtained. A first target unit and a second target unit are determined from each lattice unit according to the user's position; the second target unit is used to characterize the lattice unit at the user's position. Since the second target unit is the lattice unit at the user's position, the air conditioner is controlled by the temperature and humidity information and the optimal temperature and humidity of the second target unit. When controlling the air conditioner, the temperature and humidity felt by the user are taken into account, and parameter compensation for the lattice unit at the user's position is achieved, so that the deviation between the temperature and humidity felt by the user and the temperature and humidity detected by the air conditioner sensor is reduced, thereby improving the accuracy of parameter control of the air conditioner.

[0019] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] One or more embodiments are exemplarily described by corresponding drawings. These exemplary descriptions and drawings do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation. In addition,

[0021] Figure 1 is a schematic diagram of a method for controlling an air conditioner provided by an embodiment of the present disclosure;

[0022] Figure 2 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;

[0023] Figure 3 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;

[0024] Figure 4 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;

[0025] Figure 5 is a schematic diagram of a device for controlling an air conditioner provided by an embodiment of the present disclosure;

[0026] Figure 6 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The accompanying drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0028] In the description and claims of the embodiments of the present disclosure, as well as in the accompanying drawings, the terms "first," "second," and the like are used to distinguish similar items and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate to describe the embodiments of the present disclosure herein. In addition, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions.

[0029] Unless otherwise stated, the term "plurality" means two or more.

[0030] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.

[0031] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0032] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0033] Combine Figure 1 As shown, an embodiment of the present disclosure provides a method for controlling an air conditioner, the method comprising:

[0034] In step S101, the electronic device statically divides a preset space into a plurality of lattice units of a preset size. The preset space is the space where the air conditioner is located.

[0035] Step S102: The electronic device determines the user's location within a preset space.

[0036] In step S103, the electronic device determines a first target unit and a second target unit from each lattice unit according to the user's position. The second target unit is used to represent the lattice unit at the user's position.

[0037] In step S104 , the electronic device obtains the temperature and humidity information of the first target unit and the second target unit respectively.

[0038] Step S105 : The electronic device determines the optimal temperature and humidity according to the temperature and humidity information of the first target unit.

[0039] In step S106 , the electronic device controls the air conditioner according to the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit.

[0040] The method for controlling an air conditioner provided by an embodiment of the present disclosure is used to obtain a plurality of lattice units of preset sizes by statically dividing a preset space. A first target unit and a second target unit are determined from each lattice unit based on the user's position; the second target unit is used to characterize the lattice unit at the user's position. Since the second target unit is the lattice unit at the user's position, the air conditioner is controlled by the temperature and humidity information of the second target unit and the optimal temperature and humidity. When controlling the air conditioner, the temperature and humidity felt by the user are taken into account, and parameter compensation for the lattice unit at the user's position is achieved, so that the deviation between the temperature and humidity felt by the user and the temperature and humidity detected by the air conditioner sensor is reduced, thereby improving the accuracy of parameter control of the air conditioner.

[0041] In some embodiments, the electronic device is an air conditioner.

[0042] Furthermore, the electronic device statically divides the preset space to obtain multiple lattice units of a preset size, including: the electronic device obtains three-dimensional data of the preset space, and divides the preset space into multiple lattice units of the preset size in an equal volume manner based on the three-dimensional data. The three-dimensional data includes the length, width, and height of the preset space. The preset size is 0.5 cubic meters. In this way, by dividing the preset space into multiple lattice units of equal size, the air conditioner can easily determine the accurate temperature at different locations in the preset space, thereby enabling targeted temperature compensation for the lattice units at different locations.

[0043] Furthermore, the air conditioner is provided with a occupancy sensor module for obtaining a user's location. The electronic device determines the user's location within a preset space by detecting a preset area with the occupancy sensor module to obtain the user's location, which is the three-dimensional coordinates of the user within the preset space.

[0044] Furthermore, the electronic device determines a first target cell and a second target cell from each lattice cell based on the user's location, including: the electronic device determines a heat conduction path of the air conditioner based on the user's location, determines the lattice cells involved in the heat conduction path as the first target cell, and determines the lattice cell at the user's location as the second target cell.

[0045] Furthermore, the electronic device determines the heat conduction path of the air conditioner according to the user position, including: the electronic device determines the connection line between the user position and the air outlet of the air conditioner as the heat conduction path of the air conditioner.

[0046] Furthermore, the air conditioner is provided with a remote infrared detection device, and the electronic device respectively obtains temperature and humidity information of the first target unit and the second target unit, including: the electronic device detects the temperature of the first target unit and the second target unit through the remote infrared detection device to obtain a first temperature, a first humidity, a second temperature, and a second humidity; determines the first temperature and the first humidity as the temperature and humidity information of the first target unit, and determines the second temperature and the second humidity as the temperature and humidity information of the second target unit.

[0047] Combine Figure 2 As shown, an embodiment of the present disclosure provides a method for controlling an air conditioner, the method comprising:

[0048] In step S201, the electronic device statically divides a preset space into a plurality of lattice units of a preset size. The preset space is the space where the air conditioner is located.

[0049] Step S202: The electronic device determines the user's location within a preset space.

[0050] In step S203 , the electronic device determines the line between the user's position and the air outlet of the air conditioner as the heat conduction path of the air conditioner.

[0051] In step S204, the electronic device determines the lattice cells involved in the heat conduction path as first target cells, and determines the lattice cells at the user's location as second target cells. The second target cells are used to represent the lattice cells at the user's location.

[0052] In step S205 , the electronic device obtains the temperature and humidity information of the first target unit and the second target unit respectively.

[0053] Step S206: The electronic device determines the optimal temperature and humidity according to the temperature and humidity information of the first target unit.

[0054] In step S207 , the electronic device controls the air conditioner according to the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit.

[0055] The method for controlling an air conditioner provided by the embodiments of the present disclosure determines the lattice cell involved in the line connecting the user's location and the air outlet of the air conditioner as the first target cell, and determines the lattice cell at the user's location as the second target cell, enabling more accurate parameter compensation. This reduces the temperature difference between the temperature at the user's location and the temperature at the air outlet of the air conditioner, maximizing consistency between the temperature and humidity experienced by the user and the desired temperature and humidity. This improves the accuracy of parameter control for the air conditioner.

[0056] Furthermore, the temperature and humidity information of the first target unit of the electronic device includes a first temperature and a first humidity. Determining the optimal temperature and humidity based on the temperature and humidity information of the first target unit includes: the electronic device obtaining a user desired temperature, obtaining a temperature difference between the first temperature and the user desired temperature. Determining the first temperature corresponding to the minimum temperature difference as the target temperature, determining the first humidity of the first target unit corresponding to the target temperature as the absolute humidity, and determining the target temperature and absolute humidity as the optimal temperature and humidity. Thus, since the minimum temperature difference indicates that the first temperature of the first target unit is closest to the user desired temperature, i.e., best meets the user's needs, the first humidity at this first temperature is also most suitable for the user. Therefore, using the first temperature and first humidity of the first target unit as the target temperature and absolute humidity, respectively, enables more accurate control of the air conditioner, thereby improving the temperature control accuracy of the air conditioner. This maximizes the consistency between the temperature experienced by the user and the desired temperature.

[0057] Furthermore, the electronic device obtains the user required temperature, including: the electronic device determines the current set temperature of the air conditioner as the user required temperature.

[0058] In some embodiments, the electronic device obtains a user-required temperature of t, and has m first target units. The first temperatures of each first target unit are t1, t2, t3, ..., tm, and the first humidities of each first target unit are h1, h2, h3, ..., hm. The second target unit is the mth first target unit, and the second temperature of the second target unit is tm, and the second humidity of the second target unit is hm. When the first temperature corresponding to the minimum temperature difference is t2, t2 is determined as the target temperature. The first humidity h2 of the first target unit corresponding to the target temperature t2 is determined as the absolute humidity. The target temperature t2 and the absolute humidity h2 are determined as the optimal temperature and humidity.

[0059] Combine Figure 3 As shown, an embodiment of the present disclosure provides a method for controlling an air conditioner, the method comprising:

[0060] In step S301, the electronic device statically divides a preset space into a plurality of lattice units of a preset size. The preset space is the space where the air conditioner is located.

[0061] Step S302: The electronic device determines the user's location within a preset space.

[0062] In step S303, the electronic device determines a first target unit and a second target unit from each lattice unit according to the user's position. The second target unit is used to represent the lattice unit at the user's position.

[0063] In step S304, the electronic device obtains temperature and humidity information of the first target unit and the second target unit respectively, wherein the temperature and humidity information of the first target unit includes a first temperature and a first humidity.

[0064] Step S305: The electronic device obtains the temperature required by the user.

[0065] Step S306: The electronic device obtains a temperature difference between the first temperature and the temperature required by the user.

[0066] In step S307 , the electronic device determines the first temperature corresponding to the minimum temperature difference as the target temperature.

[0067] In step S308 , the electronic device determines the first humidity of the first target unit corresponding to the target temperature as absolute humidity.

[0068] In step S309, the electronic device determines the target temperature and absolute humidity as the optimal temperature and humidity.

[0069] In step S310 , the electronic device controls the air conditioner according to the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit.

[0070] The method for controlling an air conditioner provided by the embodiment of the present disclosure controls the air conditioner using the temperature and humidity information of the second target unit and the optimal temperature and humidity. The temperature and humidity experienced by the user are taken into account when controlling the air conditioner, and parameter compensation of the lattice unit at the user's location is achieved. This reduces the deviation between the temperature and humidity experienced by the user and the temperature and humidity detected by the air conditioner sensor, thereby improving the accuracy of the air conditioner's parameter control. Simultaneously, the smallest temperature difference indicates that the first temperature of the first target unit is closest to the user's desired temperature, meaning it best meets the user's needs. Therefore, the first humidity at this first temperature is also the most suitable for the user. Therefore, by using the first temperature and first humidity of the first target unit as the target temperature and absolute humidity, respectively, the air conditioner can be controlled more accurately, thereby improving the accuracy of the air conditioner's temperature control. This maximizes the consistency between the temperature experienced by the user and the desired temperature.

[0071] Furthermore, the electronic device controls the air conditioner based on the temperature and humidity information of the second target unit and the optimal temperature and humidity to compensate for the parameters of the second target unit. This includes: the electronic device obtains the operating mode of the air conditioner, obtains a comparison result between the temperature and humidity information of the second target unit and the optimal temperature and humidity, and controls the air conditioner based on the operating mode and the comparison result to compensate for the parameters of the second target unit. In this way, by comparing the temperature and humidity information detected at the user's location with the optimal temperature and humidity, a comparative relationship between the two can be determined, thereby facilitating accurate control of the air conditioner based on this comparative relationship and improving the temperature control accuracy of the air conditioner. This achieves compensation for the temperature and humidity at the user's location, ensuring that the temperature experienced by the user is maximally consistent with the desired temperature.

[0072] Furthermore, the electronic device obtains a comparison result between the temperature and humidity information of the second target unit and the optimal temperature and humidity, including: the electronic device compares the temperature and humidity information of the second target unit with the optimal temperature and humidity to obtain a comparison result.

[0073] In some embodiments, the temperature and humidity information of the second target unit includes a second temperature and a second humidity, and the optimal temperature and humidity include a target temperature and an absolute humidity. The electronic device compares the second temperature with the target temperature to obtain a temperature comparison result, and compares the second humidity with the absolute humidity to obtain a humidity comparison result.

[0074] Combine Figure 4 As shown, an embodiment of the present disclosure provides a method for controlling an air conditioner, the method comprising:

[0075] In step S401, the electronic device statically divides a preset space into a plurality of lattice units of a preset size. The preset space is the space where the air conditioner is located.

[0076] Step S402: The electronic device determines the user's location within a preset space.

[0077] In step S403, the electronic device determines a first target unit and a second target unit from each lattice unit according to the user's position. The second target unit is used to represent the lattice unit at the user's position.

[0078] In step S404 , the electronic device obtains the temperature and humidity information of the first target unit and the second target unit respectively.

[0079] Step S405: The electronic device determines the optimal temperature and humidity according to the temperature and humidity information of the first target unit.

[0080] Step S406: The electronic device obtains the operating mode of the air conditioner.

[0081] Step S407: The electronic device obtains a comparison result between the temperature and humidity information of the second target unit and the optimal temperature and humidity.

[0082] In step S408 , the electronic device controls the air conditioner according to the operation mode and the comparison result to perform parameter compensation on the second target unit.

[0083] By using the method for controlling an air conditioner provided by the embodiment of the present disclosure, by comparing the temperature and humidity information detected at the user's location with the optimal temperature and humidity, a comparative relationship between the two can be determined, thereby facilitating accurate control of the air conditioner based on the comparative relationship and improving the temperature control accuracy of the air conditioner. This achieves compensation for the temperature and humidity at the user's location, so that the temperature felt by the user is aligned with the required temperature to the greatest extent possible. At the same time, the temperature and humidity felt by the user are taken into account when controlling the air conditioner, achieving parameter compensation for the lattice unit at the user's location, reducing the deviation between the temperature and humidity felt by the user and the temperature and humidity detected by the air conditioner sensor, and improving the parameter control accuracy of the air conditioner.

[0084] Furthermore, the comparison result of the electronic device includes a temperature comparison result and a humidity comparison result, and the air conditioner is controlled according to the operating mode and the comparison result to perform parameter compensation on the second target unit, including: when the operating mode of the electronic device is the first preset mode, the air conditioner is controlled according to the temperature comparison result. Or, when the operating mode is the second preset mode, the air conditioner is controlled according to the temperature comparison result and the humidity comparison result. The first preset mode is the cooling mode, and the second preset mode is the heating mode. In this way, by considering the different ways of performing parameter compensation for the user's position under different operating modes, the air conditioner can be controlled more accurately, so that the deviation between the temperature and humidity felt by the user and the temperature and humidity detected by the air conditioner sensor is reduced, thereby improving the user experience of the user using the air conditioner.

[0085] Furthermore, the electronic device controls the air conditioner based on the temperature comparison result, including: if the temperature comparison result shows that the second temperature is higher than the target temperature, the electronic device determines the difference between the second temperature and the target temperature as a first temperature compensation value. The set temperature of the air conditioner is lowered according to the first temperature compensation value. In this way, the temperature of the lattice cell at the user's location can be compensated. At the same time, because the air conditioner's cooling mode has a built-in dehumidification function, there is no need to adjust the humidity of the air conditioner.

[0086] Optionally, when the temperature comparison result shows that the second temperature is lower than or equal to the target temperature, the electronic device controls the air conditioner to maintain current operating parameters and continue to operate.

[0087] In some embodiments, the second temperature is tm, the target temperature is tn, and the first temperature compensation value is tm-tn. The set temperature of the air conditioner is the user's desired temperature t, and the set temperature of the air conditioner is lowered according to the first temperature compensation value. The adjusted set temperature of the air conditioner is t-(tm-tn).

[0088] Furthermore, the electronic device controls the air conditioner based on the temperature comparison result and the humidity comparison result, including: when the temperature comparison result shows that the second temperature is lower than the target temperature and the humidity comparison result shows that the second humidity is higher than the absolute humidity, the electronic device triggers the air conditioner to activate a dehumidification function to perform humidity compensation, and determines the difference between the second temperature and the target temperature as a second temperature compensation value. The set temperature of the air conditioner is increased according to the second temperature compensation value.

[0089] Optionally, when the temperature comparison result shows that the second temperature is higher than or equal to the target temperature, and the humidity comparison result shows that the second humidity is lower than the absolute humidity, the electronic device controls the air conditioner to maintain current operating parameters and continue to operate.

[0090] Optionally, after the electronic device controls the air conditioner based on the temperature and humidity information of the second target unit and the optimal temperature and humidity to compensate for the parameters of the second target unit, the electronic device further includes: monitoring the second target unit to obtain a third temperature and a third humidity of the second target unit. If the third temperature and the third humidity of the second target unit remain stable within a preset time period, the air conditioner is controlled to continue operating with the current operating parameters. Thus, if the third temperature and the third humidity of the second target unit remain stable within the preset time period, it is determined that the temperature and humidity at the user's location have reached the optimal temperature and humidity, and the air conditioner is then stopped from adjusting.

[0091] Optionally, the electronic device controls the air conditioner based on the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit, including: the electronic device obtains current weather conditions, adjusts the optimal temperature and humidity based on the current weather conditions, and obtains recommended temperature and humidity. The air conditioner is controlled based on the temperature and humidity information of the second target unit and the recommended temperature and humidity to perform parameter compensation on the second target unit.

[0092] Furthermore, the electronic device adjusts the optimal temperature and humidity according to the current weather conditions to obtain the recommended temperature and humidity, including: the electronic device obtains the temperature and humidity adjustment values ​​corresponding to the current weather conditions from a preset database, and adjusts the optimal temperature and humidity according to the temperature and humidity adjustment values. The preset database stores the correspondence between the current weather conditions and the temperature and humidity adjustment values. Among them, the temperature and humidity adjustment values ​​include a temperature adjustment value and a humidity adjustment value. The recommended temperature and humidity include a recommended temperature and a recommended humidity. In this way, by adjusting the optimal temperature and humidity in combination with the current weather conditions, further consideration is given to actual living conditions, making the control of the air conditioner more accurate, thereby reducing the deviation between the temperature and humidity at the user's location and the temperature and humidity detected by the air conditioner sensor, and improving the accuracy of the air conditioner parameter control.

[0093] In some embodiments, the optimal temperature and humidity include a target temperature tm and an absolute humidity hm. The temperature and humidity adjustment values ​​corresponding to the current weather conditions include a temperature adjustment value of +2 degrees Celsius and a humidity adjustment value of +5%. The recommended temperature and humidity after adjustment to the optimal temperature and humidity include a recommended temperature of tm+2 and a recommended humidity of hm+5%.

[0094] Furthermore, the electronic device controls the air conditioner based on the temperature and humidity information of the second target unit and the recommended temperature and humidity to perform parameter compensation on the second target unit, including: the electronic device obtains the operating mode of the air conditioner, and when the operating mode is the first preset operating mode and the second temperature is higher than the recommended temperature, determines the difference between the second temperature and the recommended temperature as a third temperature compensation value. The set temperature of the air conditioner is lowered according to the third temperature compensation value. The first preset operating mode is the cooling mode. In this way, the temperature of the lattice unit at the user's location can be compensated. At the same time, because the cooling mode of the air conditioner has a built-in dehumidification function, there is no need to adjust the humidity of the air conditioner.

[0095] Furthermore, the electronic device controls the air conditioner based on the temperature and humidity information of the second target unit and the recommended temperature and humidity to perform parameter compensation for the second target unit, including: the electronic device obtains the operating mode of the air conditioner, and when the operating mode is the second preset operating mode, and the second temperature is lower than the recommended temperature and the second humidity is higher than the recommended humidity, triggers the air conditioner to activate a dehumidification function to perform humidity compensation, and determines the difference between the second temperature and the recommended temperature as a third temperature compensation value. The set temperature of the air conditioner is increased according to the third temperature compensation value. In this way, by controlling the air conditioner to perform dehumidification when the humidity at the user's location is too high, the user experience of using the air conditioner can be improved.

[0096] Combine Figure 5 As shown, an embodiment of the present disclosure provides a device 500 for controlling an air conditioner, comprising a processor 504 and a memory 501. Optionally, the device may further comprise a communication interface 502 and a bus 503. The processor 504, the communication interface 502, and the memory 501 may communicate with each other via the bus 503. The communication interface 502 may be used for information transmission. The processor 504 may call logic instructions in the memory 501 to execute the method for controlling an air conditioner of the above embodiment.

[0097] The device for controlling an air conditioner provided by an embodiment of the present disclosure statically divides a preset space to obtain a plurality of lattice units of a preset size. A first target unit and a second target unit are determined from each lattice unit based on the user's position; the second target unit is used to characterize the lattice unit at the user's position. Since the second target unit is the lattice unit at the user's position, the air conditioner is controlled using the temperature and humidity information of the second target unit and the optimal temperature and humidity. The temperature and humidity felt by the user are taken into account when controlling the air conditioner, and parameter compensation for the lattice unit at the user's position is achieved, so that the deviation between the temperature and humidity felt by the user and the temperature and humidity detected by the air conditioner sensor is reduced, thereby improving the accuracy of parameter control of the air conditioner.

[0098] In addition, the logic instructions in the memory 501 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0099] Memory 501, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. Processor 504 executes the program instructions / modules stored in memory 501 to execute functional applications and process data, thereby implementing the method for controlling the air conditioner in the above-mentioned embodiments.

[0100] The memory 501 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the terminal device. Furthermore, the memory 501 may include a high-speed random access memory and a non-volatile memory.

[0101] An embodiment of the present disclosure provides an electronic device, comprising: an electronic device body, and the above-mentioned device for controlling an air conditioner. The device for controlling the air conditioner is installed on the electronic device body. The installation relationship described here is not limited to placement inside the electronic device body, but also includes installation connections with other components of the electronic device body, including but not limited to physical connections, electrical connections or signal transmission connections, etc. Those skilled in the art will understand that the device for controlling the air conditioner can be adapted to a feasible electronic device body, thereby realizing other feasible embodiments.

[0102] Combine Figure 6 As shown, in some embodiments, the electronic device is an air conditioner. The air conditioner includes an air conditioner body 600 and the above-mentioned device for controlling the air conditioner 500. The device for controlling the air conditioner 500 is installed on the air conditioner body 600.

[0103] The electronic device provided by the embodiment of the present disclosure is used to obtain a plurality of lattice units of preset sizes by statically dividing a preset space. A first target unit and a second target unit are determined from each lattice unit according to the user's position; the second target unit is used to characterize the lattice unit at the user's position. Since the second target unit is the lattice unit at the user's position, the air conditioner is controlled by the temperature and humidity information of the second target unit and the optimal temperature and humidity. When controlling the air conditioner, the temperature and humidity felt by the user are taken into account, and parameter compensation for the lattice unit at the user's position is achieved, so that the deviation between the temperature and humidity felt by the user and the temperature and humidity detected by the air conditioner sensor is reduced, thereby improving the accuracy of parameter control of the air conditioner.

[0104] An embodiment of the present disclosure provides a storage medium storing program instructions, which, when executed, execute the above-mentioned method for controlling an air conditioner.

[0105] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which, when executed by a computer, enable the computer to execute the above-mentioned method for controlling an air conditioner.

[0106] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0107] The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program code, or a transient storage medium.

[0108] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to also include plural forms. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, an element defined by the sentence "comprising a..." does not exclude the presence of other identical elements in the process, method or device that includes the element. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments can be referenced to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can be found in the description of the method part.

[0109] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0110] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, and can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. In addition, the functional units in the embodiments of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0111] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions and operations of the systems, methods and computer program products according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of the code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for controlling an air conditioner, characterized in that: include: Static segmentation of the preset space to obtain multiple lattice units of preset sizes; The preset space is the space where the air conditioner is located; Determining a user's location within the preset space; determining a first target unit and a second target unit from each of the lattice units according to the user position; The second target cell is used to represent a lattice cell at the user position; respectively acquiring temperature and humidity information of the first target unit and the second target unit; Determining the optimal temperature and humidity based on the temperature and humidity information of the first target unit; controlling the air conditioner according to the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit; Determining a first target unit and a second target unit from each of the lattice units according to the user position, comprising: determining a heat conduction path of the air conditioner according to the user position; determining the lattice unit involved in the heat conduction path as the first target unit, and determining the lattice unit at the user position as the second target unit; The temperature and humidity information of the first target unit includes a first temperature and a first humidity. Determining the optimal temperature and humidity based on the temperature and humidity information of the first target unit includes: obtaining the user required temperature; obtaining the temperature difference between the first temperature and the user required temperature; determining the first temperature corresponding to the minimum temperature difference as the target temperature; determining the first humidity of the first target unit corresponding to the target temperature as the absolute humidity; and determining the target temperature and the absolute humidity as the optimal temperature and humidity.

2. The method according to claim 1, characterized in that Determining a heat conduction path of the air conditioner according to the user position includes: A line connecting the user position and the air outlet of the air conditioner is determined as a heat conduction path of the air conditioner.

3. The method according to claim 1, characterized in that The air conditioner is controlled according to the temperature and humidity information of the second target unit and the optimal temperature and humidity to perform parameter compensation on the second target unit, comprising: Obtaining an operating mode of the air conditioner; Obtaining a comparison result between the temperature and humidity information of the second target unit and the optimal temperature and humidity; controlling the air conditioner according to the operation mode and the comparison result to perform parameter compensation on the second target unit; The temperature and humidity information of the second target unit includes a second temperature and a second humidity.

4. The method according to claim 3, characterized in that The comparison result includes a temperature comparison result and a humidity comparison result, and controlling the air conditioner according to the operation mode and the comparison result to perform parameter compensation on the second target unit includes: When the operating mode is the first preset mode, controlling the air conditioner according to the temperature comparison result; or When the operation mode is the second preset mode, the air conditioner is controlled according to the temperature comparison result and the humidity comparison result.

5. The method according to claim 4, characterized in that Controlling the air conditioner according to the temperature comparison result includes: If the temperature comparison result shows that the second temperature is higher than the target temperature, determining a difference between the second temperature and the target temperature as a first temperature compensation value; The set temperature of the air conditioner is lowered according to the first temperature compensation value.

6. The method according to claim 4, characterized in that Controlling the air conditioner according to the temperature comparison result and the humidity comparison result includes: If the temperature comparison result shows that the second temperature is lower than the target temperature, and the humidity comparison result shows that the second humidity is higher than the absolute humidity, triggering the air conditioner to turn on the dehumidification function to perform humidity compensation, and determining the difference between the second temperature and the target temperature as a second temperature compensation value; The set temperature of the air conditioner is increased according to the second temperature compensation value.

7. A device for controlling an air conditioner, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for controlling an air conditioner according to any one of claims 1 to 6 when running the program instructions.

8. An electronic device, characterized in that: include: Electronic device body; The device for controlling an air conditioner according to claim 7 is mounted on the electronic device body.

Citation Information

Patent Citations

  • Air conditioner temperature adjusting system and method

    CN108413569A

  • Air conditioner, temperature compensation method and device of air conditioner, and storage medium

    CN113864985A