Air conditioner control method and apparatus, air conditioner, and storage medium
The method enhances air conditioner control by determining current and potential comfort levels and adjusting parameters based on marginal benefits, addressing biased and fixed control issues to improve user comfort.
Patent Information
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- GD MIDEA AIR CONDITIONING EQUIP CO LTD
- Filing Date
- 2024-04-30
- Publication Date
- 2026-06-24
AI Technical Summary
Current air conditioning comfort control technologies suffer from biased and fixed control mechanisms, lacking quantitative standards for measuring comfort and failing to accurately adjust operating parameters to achieve comprehensive comfort, due to the absence of utilizing user behavior habits and environmental conditions.
A method for controlling an air conditioner that involves obtaining its current state, determining a current comfort level, constructing potential state combinations, and selecting a target state based on comfort levels and marginal benefits to adjust operating parameters accordingly.
The method allows for more accurate adjustment of indoor comfort levels by considering user comfort and environmental factors, improving user experience through precise control of the air conditioner's operating parameters.
Smart Images

Figure IMGAF001_ABST
Abstract
Description
[0001] This application claims priority to Chinese Patent Application No. 202311086701.7, filed on August 25, 2023, the entire contents of which are incorporated herein by reference.TECHNICAL FIELD
[0002] The present application relates to the technical field of air conditioners, and in particular to a method for controlling an air conditioner, an apparatus for controlling an air conditioner, an air conditioner and a storage medium.BACKGROUND
[0003] Currently, in terms of air conditioning comfort control, the following technologies are mainly comprised: 1. Temperature control technology: By controlling the cooling or heating capacity of the air conditioner, the indoor temperature reaches the user-set temperature value within the user's desired time range and maintains a stable temperature, preventing it from becoming too cold or too hot. 2. Humidity control technology: By controlling the humidification or dehumidification capacity of the air conditioner, the indoor humidity is maintained within the user-set comfortable range. Currently, in actual air conditioning control, humidity control is generally coupled with temperature control for dual control, achieving humidity reduction through cooling. 3. Airflow control technology: By controlling parameters such as the opening and closing degree of the air conditioner vents and the direction of airflow, the indoor airflow speed is adjusted to achieve the user's desired comfort level. Common windless technology falls into this category. 4. Air quality control technology: Through air filtration, negative ion generation, UV sterilization, and other technologies, indoor air quality is improved, and harmful substances in the air are reduced. Common natural wind and air conditioning purification functions belong to this category.
[0004] Current air conditioning comfort control technologies suffer from two main drawbacks: biased control and fixed control mechanisms. Biased control manifests in two ways: temperature control technology primarily affects comfort at the temperature level, while humidity control technology mainly affects comfort at the humidity level. As for wind control technology and air quality control, they also act on dimensions such as comfort and health. Even if some combined technologies combine centralized control technologies to achieve multi-dimensional joint control, there is still a control priority issue. They cannot truly achieve comprehensive control according to complete comfort standards. This is mainly because there is a lack of practically usable quantitative standards for measuring air conditioning comfort (for example, traditional comfort measurement indicators such as PMV or SET require expensive experimental air conditioners or professional instruments to achieve). Fixed control refers to the use of the same control logic for all air conditioners, regardless of the unit, location, user, or time. This is mainly because current air conditioner control logic is mostly derived from expert experience and experimental simulations, and specific information such as user behavior habits, environmental conditions during air conditioner operation, and reported data during operation is not fully utilized.
[0005] Therefore, the comfort control logic in the related art cannot accurately control the operating parameters of the air conditioner, resulting in the air conditioner being unable to accurately adjust the comfort level.SUMMARY TECHNICAL PROBLEM
[0006] The main objective of the present application is to provide a method for controlling an air conditioner, an apparatus for controlling an air conditioner, an air conditioner, and a storage medium, aiming to solve the technical problem of inaccurate adjustment of comfort in the related art.TECHNICAL SOLUTION
[0007] In order to achieve the above objective, the present application provides a method for controlling an air conditioner, comprising: obtaining a current state of the air conditioner; determining a current comfort level based on the current state; constructing potential state combinations based on the current state; determining a comfort level corresponding to each potential state based on the potential state combinations; and determining a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state.
[0008] In an embodiment, the determining the target state based on the current comfort level and the comfort level corresponding to each potential state comprises: determining a comfort variation range for each potential state based on the current comfort level and the comfort level corresponding to each potential state; in response to that the comfort variation range contains a positive comfort variation range, determining a marginal benefit corresponding to each positive comfort variation range; and determining the target state based on the marginal benefit corresponding to each positive comfort variation range.
[0009] In an embodiment, after determining the comfort variation range for each potential state based on the current comfort level and the comfort level corresponding to each potential state, the method comprises: in response to that the comfort variation range does not contain the positive comfort variation range, controlling the air conditioner to operate according to the current state.
[0010] In an embodiment, the in response to that the comfort variation range contains the positive comfort variation range, determining the marginal benefit corresponding to each positive comfort variation range comprises: in response to that the comfort variation range contains the positive comfort variation range, determining a state variation range corresponding to each positive comfort variation range; constructing a state comprehensive change index based on the state variation range; and determining the marginal benefit corresponding to each positive comfort variation range based on the comfort variation range and the state comprehensive change index.
[0011] In an embodiment, the determining the target state based on the marginal benefit corresponding to each positive comfort variation range comprises: selecting a maximum marginal benefit from each positive comfort variation range; and taking a potential state corresponding to the maximum marginal benefit as the target state.
[0012] In an embodiment, after the selecting the maximum marginal benefit from each positive comfort variation range, the method further comprises: comparing the maximum marginal benefit with a preset benefit threshold; and in response to that the maximum marginal benefit is greater than the preset benefit threshold, taking the potential state corresponding to the maximum marginal benefit as the target state; otherwise, taking the current state as the target state.
[0013] In an embodiment, the determining the current comfort level based on the current state comprises: inputting the current state into a comfort measurement model to determine the current comfort level, wherein the comfort measurement model is configured to determine a quantified comfort level based on a state of the air conditioner; the determining the comfort level corresponding to each potential state based on the potential state combinations comprises: inputting each potential state in the potential state combinations into the comfort measurement model to determine the comfort level corresponding to each potential state.
[0014] Besides, in order to achieve the above objective, the present application further provides an apparatus for controlling an air conditioner, comprising: an state obtaining module, configured for obtaining a current state of the air conditioner; a comfort level determination module, configured for determining a current comfort level based on the current state; a state construction module, configured for constructing potential state combinations based on the current state; the comfort level determination module further configured for determining a comfort level corresponding to each potential state based on the potential state combinations; and an air conditioner control module, configured for determining a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state.
[0015] Besides, in order to achieve the above objective, the present application further provides an air conditioner, comprising: a memory, a processor, and a program for controlling an air conditioner stored in the memory and executable on the processor, and the program for controlling the air conditioner, when executed by the processor, implements the method for controlling the air conditioner as described above.
[0016] Besides, in order to achieve the above objective, the present application further provides a storage medium storing a program for controlling an air conditioner, and the program for controlling the air conditioner, when executed by a processor, implements the method for controlling the air conditioner as described above.TECHNICAL EFFECT
[0017] The present application provides a method for controlling an air conditioner, an apparatus for controlling an air conditioner, an air conditioner, and a storage medium. The method for controlling the air conditioner comprises: obtaining a current state of the air conditioner; determining a current comfort level based on the current state; constructing potential state combinations based on the current state; determining a comfort level corresponding to each potential state based on the potential state combinations; and determining a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state. In the present application, the current comfort level and the comfort level corresponding to each potential state within the potential state combinations are determined based on the current state of the air conditioner. The air conditioner is then controlled based on the comfort level of the potential state and the current comfort level, thereby more accurately adjusting the indoor comfort level.BRIEF DESCRIPTION OF THE DRAWINGS
[0018] FIG. 1 is a schematic structural diagram of an air conditioner of hardware operating environment involved in the embodiment of the present application. FIG. 2 is a flowchart of a method for controlling an air conditioner according to a first embodiment of the present application. FIG. 3 is a flowchart of the method for controlling the air conditioner according to a second embodiment of the present application. FIG. 4 is a flowchart of step S502 of the method for controlling the air conditioner according to the second embodiment of the present application. FIG. 5 is a flowchart of step S503 of the method for controlling the air conditioner according to the second embodiment of the present application. FIG. 6 is a flowchart of the method for controlling the air conditioner according to a third embodiment of the present application. FIG. 7 is a structural block diagram of an apparatus for controlling an air conditioner according to a first embodiment of the present application.
[0019] The realization of the objective, functional characteristics, and advantages of the present application are further described with reference to the accompanying drawings.DETAILED DESCRIPTION OF THE EMBODIMENTS
[0020] It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
[0021] Referring to FIG. 1, FIG. 1 is a schematic structural diagram of an air conditioner of hardware operating environment involved in the embodiment of the present application.
[0022] As shown in FIG. 1, the air conditioner may comprise a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a communication bus 1002. The communication bus 1002 is configured to implement communication between the components. The user interface 1003 may comprise a display, an input unit such as a keyboard. The user interface 1003 may also comprise a standard wired interface and a wireless interface. In the present application, the wired interface of user interface 1003 may be a USB interface. The network interface 1004 may further comprise a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed random access memory (RAM) or a non-volatile memory (NVM), such as a magnetic disk memory. The memory 1005 may also be a storage device independent of the foregoing processor 1001.
[0023] Those skilled in the art should understand that the structure shown in FIG. 1 does not constitute a limitation on the air conditioner, and may comprise more or fewer components, a combination of some components, or differently arranged components than shown in the figure.
[0024] As shown in FIG. 1, the memory 1005 as a computer storage medium may comprise an operating system, a network communication module, a user interface module, and a program for controlling an air conditioner.
[0025] In the air conditioner shown in FIG. 1, the network interface 1004 is mainly configured to connect to a background server and perform data communication with the background server. The user interface 1003 is mainly configured to connect to the air conditioner; the method for controlling the air conditioner controls the air conditioner by calling the program for controlling the air conditioner stored in the memory 1005 through the processor 1001 to perform the method for controlling the air conditioner provided in the present application.
[0026] Based on the above hardware structure, the present application provides an embodiment of the method for controlling the air conditioner.
[0027] Referring to FIG. 2, which is a flowchart illustrating the method for controlling the air conditioner according to a first embodiment of the present application, the first embodiment of the method for controlling the air conditioner of the present application is proposed.
[0028] In the first embodiment, the method for controlling the air conditioner comprises the following steps: Step S10: obtaining a current state of the air conditioner.
[0029] The executing entity of the present application can be the air conditioner or the central controller of the air conditioner. In an embodiment, the central controller of the air conditioner can be used as an example for explanation.
[0030] It should be noted that the current state of an air conditioner refers to its operating state at the current moment. The current state is primarily controlled by information such as the environment in which the air conditioner operates, its operating conditions, and user actions. The current state can be determined based on data reported by the air conditioner when it is turned on. This reported data comprises, but is not limited to, current environmental information, the operating conditions of the compressor and fan within the air conditioner, and user actions. For example, if the compressor is not running but the fan speed is high, the air conditioner can be considered to be in ventilation mode; another example is cooling mode, where the air conditioner is cooling the indoor environment.
[0031] Step S20: determining a current comfort level based on the current state.
[0032] The comfort level refers to the degree to which a user feels comfortable in their environment. For example, user comfort level is low in spaces that are too hot or too cold, while user comfort level is relatively high in environments with moderate temperatures. The comfort level is related to factors such as temperature, humidity, and the concentration of various gases in the user's environment. Air conditioners can regulate indoor environmental factors, and therefore can regulate user comfort. In an embodiment, the comfort level can be expressed using specific quantitative values. For example, if the indoor temperature is 30 degrees Celsius and the indoor fan speed of the air conditioner is 80 rpm, the comfort level in this state can be 0.1; while if the indoor temperature is 25 degrees Celsius and the indoor fan speed of the air conditioner is 80 rpm, the indoor temperature is more comfortable for the user, and the comfort level in this state can be 1. Although different users may have some differences in their perception of comfort, the comfort level is mainly determined by the state of the air conditioner.
[0033] The current comfort level refers to the user's level of comfort in the current environment. Given a fixed current state of the air conditioner, the user's current comfort level can be assessed based on parameters such as the air conditioner's operating conditions and environmental information, thus determining the user's current comfort level in the current environment.
[0034] Step S30: constructing potential state combinations based on the current state.
[0035] During the process of adjusting the comfort level, the air conditioner typically adjusts the comfort level based on its current operating state and then increases the comfort level in the next moment. However, during the adjustment process, there may be multiple potential states for the next moment. These potential states are the states that can be obtained by adjusting the air conditioner within a cycle. For example, if the current state is 25 degrees Celsius, the potential states for the next moment could be 25.1 degrees Celsius, 25.2 degrees Celsius, 24.8 degrees Celsius, 24.6 degrees Celsius, etc.
[0036] It should be noted that a potential state combination is the set of all possible potential states at the next moment. The number of potential state combinations is related to the regulating capacity of the air conditioner; the stronger the regulating capacity of the air conditioner, the greater the number of potential state combinations.
[0037] In an embodiment, the parameters of the air conditioner in its current state can be arrayed for calculation to construct potential state combinations. For example, based on the indoor temperature and the indoor fan speed, an array combination can be constructed. When the current temperature is 30 degrees Celsius, the temperature combination can be (29.9, 30, 30.1). When the current fan speed is 80 rpm, the fan speed combination can be (79, 80, 81). Then the potential states are (S1=(29.9, 79), S2=(29.9, 80), S3=(29.9, 81), S4=(30, 79), S5=(30, 81), S6=(30.1, 79), S7=(30.1, 80), S8=(30.1, 81)).
[0038] Step S40: determining a comfort level corresponding to each potential state based on the potential state combinations.
[0039] It should be understood that, as discussed in step S20 above, the output degree is related to the state of the air conditioner. Given a potential state combination, the user's comfort can be directly evaluated based on parameters such as the operating conditions and environmental information of each potential state within the potential state combinations.
[0040] Step S50: determining a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state.
[0041] The target state is the air conditioner state that improves the user's comfort in the current environment. The comfort value of the target state should be greater than or equal to the comfort value of the current state. For example, if the air conditioner is currently in its optimal comfort state, then the comfort values corresponding to all potential states are lower than the current comfort value, and in this case, maintaining the current optimal state is the best approach. If the comfort value corresponding to a potential state is greater than the current comfort value, then the target state should be that potential state.
[0042] In an embodiment, the current comfort level can be directly compared with the comfort level corresponding to each potential state. If the comfort level corresponding to a potential state is greater than the current comfort level, the potential state can be identified as the target state of the air conditioner. Then, the air conditioner can be controlled to operate according to the operating parameters corresponding to the target state, thereby improving the user's comfort.
[0043] In a first embodiment, the method for controlling the air conditioner comprises: obtaining a current state of the air conditioner; determining a current comfort level based on the current state; constructing potential state combinations based on the current state; determining a comfort level corresponding to each potential state based on the potential state combinations; and determining a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state. In the present application, the current comfort level and the comfort level corresponding to each potential state within the potential state combinations are determined based on the current state of the air conditioner. The air conditioner is then controlled based on the comfort level of the potential states and the current comfort level, thereby more accurately adjusting the indoor comfort level.
[0044] As shown in FIG. 3, FIG. 3 is a flowchart illustrating the method for controlling the air conditioner according to a second embodiment of the present application. Based on the first embodiment shown in FIG. 2 above, the second embodiment of the method for controlling the air conditioner of the present application is proposed.
[0045] In the second embodiment, the step S50 further comprises: Step S501: determining a comfort variation range for each potential state based on the current comfort level and the comfort level corresponding to each potential state.
[0046] The comfort variation range refers to the difference between the comfort level at the current moment and the comfort level at the next moment. The comfort variation range is a vector, comprising not only the specific numerical value of the change in comfort but also the direction of the change. When the direction of the change in comfort is positive, the user's comfort will increase from the current moment to the next moment; similarly, when the direction of the change in comfort is negative, the user's comfort will decrease from the current moment to the next moment. For example, when an air conditioner is first turned on, it continuously adjusts at least one of the indoor conditions, such as temperature, humidity, and other concentrations, and the user's comfort level will continuously improve over a period of time; however, when the air conditioner is turned off, the user's comfort level will continuously decrease over time.
[0047] In an embodiment, given that the current comfort level and the corresponding comfort level of the potential state at the next moment are already determined, the comfort variation of each potential state can be calculated directly by using the current comfort level as the subtrahend and the comfort levels of each potential state as the minuend. For example, if the current comfort level is 0.1 and the comfort level of one potential state is 0.2, the comfort variation range for that potential state is a positive 0.1.
[0048] Similarly, taking the above-mentioned potential state combinations under the conditions of a current temperature of 30 degrees Celsius and a current fan speed of 80 rpm as an example, specifically comprising all potential state combinations as (S1=(29.9, 79), S2=(29.9, 80), S3=(29.9, 81), S4=(30, 79), S5=(30, 81), S6=(30.1, 79), S7=(30.1, 80), S8=(30.1, 81)); the calculation yields each Comfort levels under the combined states (U1=0.2, U2=0.25, U3=0.3, U4=0.09, U5=0.11, U6=0.01, U7=0.03, U8=0.05); comfort variation ranges corresponding to each potential state are (ΔU1=0.1, ΔU2=0.15, ΔU3=0.2, ΔU4=-0.01, ΔU5=0.01, ΔU6=-0.09, ΔU7=-0.07, ΔU8=-0.05).
[0049] Step S502: in response to that the comfort variation range contains a positive comfort variation range, determining a marginal benefit corresponding to each positive comfort variation range.
[0050] The positive comfort variation range refers to the direction of comfort change from the current moment to the next moment being positive. The comfort variation range also comprises negative comfort variation range, which refers to the direction of comfort change from the current moment to the next moment being negative. When the comfort variation range comprises positive comfort variation range, it indicates that there is a potential state that can improve the user's comfort in the next moment. If there is no positive comfort variation range, it indicates that the current comfort level corresponding to the current state is the user's optimal comfort level.
[0051] It should be noted that the marginal benefit typically refers to the benefit gained from selling one more unit of product, i.e., the benefit obtained from selling the last unit. In an embodiment, the marginal benefit refers to the comfort gain obtained from adjusting the operating parameters of the air conditioner at the last moment. The marginal benefit directly reflects the user's final comfort gain. For example, given a current temperature of 30 degrees Celsius and a current fan speed of 80 rpm, the potential state comprises temperature changes in steps of 0.1 degrees Celsius and speed changes in steps of 1 rpm. Within a certain range, the marginal benefit is relatively high for every 0.1 degree Celsius decrease in temperature and every 1 rpm increase in speed in the potential state; conversely, the marginal benefit is relatively low for every 0.1 degree Celsius increase in temperature and every 1 rpm increase in speed in the potential state.
[0052] In an embodiment, when the range of each positive comfort change is determined, the marginal benefit of each potential state, i.e. the marginal benefit corresponding to the range of the positive comfort change, can be obtained by calculation using the operating parameters in each potential state and the operating parameters of the current state.
[0053] Step S503: determining the target state based on the marginal benefit corresponding to each positive comfort variation range.
[0054] When the marginal benefit of each potential state corresponding to a positive change in comfort is determined, the potential state that meets the user's final comfort requirements can be directly selected as the target state based on the marginal benefit. Then, the current operating parameters of the air conditioner can be adjusted to the operating parameters corresponding to the target state, thereby further improving the user's comfort.
[0055] Step S504: in response to that the comfort variation range does not contain the positive comfort variation range, controlling the air conditioner to operate according to the current state.
[0056] If there is no positive comfort variation range, it means that none of the potential states can further improve the user's comfort in the next moment. That is, the current comfort corresponding to the current state is the user's optimal comfort. In this case, the user's comfort is optimal when the air conditioner is running in the current state, so it is sufficient to maintain the current operating state of the air conditioner.
[0057] As shown in FIG. 4, the step S502 may comprise: Step S5021: in response to that the comfort variation range contains the positive comfort variation range, determining a state variation range corresponding to each positive comfort variation range.
[0058] During the process of determining the marginal benefit of the potential state for each positive comfort variation, the marginal benefit is related to the comfort variation range and variation dimension of the potential state and the current state. The variation dimension refers to the number of parameters that change compared to the current state. For example, adjusting only the temperature parameter results in a dimension of 1, while adjusting both the temperature and the internal fan speed results in a dimension of 2, and so on.
[0059] In an embodiment, the operating parameters comprised in each potential state with a positive comfort variation range can be calculated together with the operating parameters in the current state to determine the state variation range corresponding to each positive comfort variation range. Taking the above positive comfort variation range (ΔU1=0.1, ΔU2=0.15, ΔU3=0.2) as an example, the potential states corresponding to the positive comfort variation range (ΔU1=0.1, ΔU2=0.15, ΔU3=0.2) comprise the operating parameters S1=(29.9, 79), S2=(29.9, 80), S3=(29.9, 81), and the operating parameters of the current state are (Si=(30, 80)). At this time, the state variation range corresponding to the above three positive comfort variation ranges is (ΔS1=(-0.1, -1), ΔS2=(-0.1, 0), ΔS3=(-0.1, 1)).
[0060] Step S5022: constructing a state comprehensive change index based on the state variation range.
[0061] The state comprehensive change index is an index that measures the impact of changes in the air conditioner's state on user comfort. The state variation index is related to the variation dimension of the air conditioner. For example, if the air conditioner's temperature changes by one unit while the indoor fan speed changes by one unit, the user's comfort level will not change by two units; instead, it will change according to the state comprehensive change index.
[0062] In practical implementation, the state comprehensive change index can be constructed through the formula for calculating the state comprehensive change index. The formula for calculating the state comprehensive change index is: where scale(S1) is the array variation range of each feature within the state.
[0063] For example, similarly, =1, =1.414.
[0064] Step S5023: determining the marginal benefit corresponding to each positive comfort variation range based on the comfort variation range and the state comprehensive change index.
[0065] The marginal benefit is related to the comfort variation range and the state comprehensive change index in the potential state and the current state. If the comfort variation range and the state comprehensive change index for any potential state in the potential state combinations are determined, the marginal benefit of the potential state can be directly calculated through the following formula. For example, the marginal benefit in the above example is (δ1=0.07, δ2=0.15, δ3=0.141).
[0066] In addition, as shown in FIG. 5, the step S503 may comprise: S5031: selecting a maximum marginal benefit from various positive comfort variation ranges.
[0067] Given that the marginal benefits of all potential states corresponding to the positive comfort variation range are determined, it is possible to compare or rank the marginal benefits of each potential state and then select the marginal benefit that meets the marginal benefit requirements.
[0068] S5032: taking a potential state corresponding to the maximum marginal benefit as the target state.
[0069] In an embodiment, considering that the greater the marginal benefit, the greater the user's final comfort, the potential state corresponding to the maximum marginal benefit can be taken as the target state, and then the air conditioner can be controlled to operate according to the parameters of the target state. For example, in the example above, the marginal benefit is (δ1=0.07, δ2=0.15, δ3=0.141), where δ2=0.15 is the maximum marginal benefit. In this case, the second potential state is the target state, and the air conditioner can be controlled to operate according to the array combination parameters S2=(29.9, 80).
[0070] In an embodiment, other potential states can also be selected as the target state, as long as the marginal benefit of the target state meets the user's needs. For example, if the current need is for a marginal benefit greater than 0.1, then both the first potential state and the second potential state can be used as the target state.
[0071] S5033: comparing the maximum marginal benefit with a preset benefit threshold.
[0072] S5034: in response to that the maximum marginal benefit is greater than the preset benefit threshold, taking the potential state corresponding to the maximum marginal benefit as the target state; otherwise, taking the current state as the target state.
[0073] During the process of adjusting the air conditioner, the marginal benefit of the current or set state must also be considered. If the maximum marginal benefit obtained from the potential state is not greater than the marginal benefit of the current or set state, changing the operating state of the air conditioner will not achieve the goal of improving user comfort. Therefore, when determining the maximum marginal benefit among various potential states, it is needed to compare the maximum marginal benefit within the potential state with a preset benefit threshold, and determine the target state of the air conditioner based on the comparison result.
[0074] In an embodiment, if the maximum marginal benefit is not greater than the preset benefit threshold, the current state of the air conditioner is taken as the target state; if the maximum marginal benefit is greater than the preset benefit threshold, the potential state corresponding to the maximum marginal benefit is taken as the target state.
[0075] In the second embodiment, by determining whether there is a positive comfort variation range, and if so, calculating the marginal benefit of each positive comfort variation range, the air conditioner can be controlled more accurately, thereby further improving the user's comfort experience.
[0076] As shown in FIG. 6, FIG. 6 is a flowchart illustrating the method for controlling the air conditioner according to a third embodiment of the present application. Based on the first embodiment or the second embodiment described above, the third embodiment of the method for controlling the air conditioner of the present application is proposed.
[0077] In the third embodiment, the step S20 comprises: Step S20': inputting the current state into a comfort measurement model to determine the current comfort level, where the comfort measurement model is configured to determine a quantified comfort level based on a state of the air conditioner.
[0078] In the comfort level calculation process, a comfort measurement model can be used to directly calculate the quantitative value of comfort. The comfort measurement model can directly obtain the corresponding comfort level based on the parameters of the air conditioner under different states. The comfort measurement model can be pre-trained and directly called when needed.
[0079] The comfort measurement model is a model that meets the accuracy requirements after being trained using a deep learning algorithm on a large number of samples. In the specific training process, parameters such as the air conditioner's operating conditions, environment, and user behavior are used as independent variables, with comfort as the dependent variable. After one training iteration, the accuracy of the comfort measurement model can be tested. If the accuracy is low, the model can be repeatedly trained using different sample libraries until the trained comfort measurement model meets the accuracy requirements.
[0080] In an embodiment, parameters such as the current operating conditions and environmental information can be input into the comfort measurement model, which can then directly analyze and output the current comfort level.
[0081] The step S40 can be the step S40': inputting each potential state in the potential state combinations into the comfort measurement model to determine the comfort level corresponding to each potential state.
[0082] Therefore, in an embodiment, it can also directly use the comfort measurement model to obtain the comfort measurement values of the air conditioner in its current state and various potential states, which does not require high-precision equipment, and simply calculates the comfort of the air conditioner in different states based on the operating condition data in the air conditioner's reported data and real-time environmental data, thus generalizing the applicable scope of air conditioner comfort measurement.
[0083] Besides, the present application further provide a storage medium. The storage medium stores a program for controlling an air conditioner, which, when executed by a processor, implements the steps of the method for controlling the air conditioner described above.
[0084] Since the storage medium can adopt the technical solutions of all the above embodiments, it has at least the beneficial effects brought about by the technical solutions of the above embodiments, which will not be described in detail here.
[0085] In addition, as shown in FIG. 7, the present application further provides an apparatus for controlling an air conditioner.
[0086] In an embodiment, the apparatus for controlling the air conditioner comprises: a state acquisition module 10, a comfort determination module 20, a state construction module 30 and an air conditioner control module 40.
[0087] The state acquisition module 10 is configured for obtaining a current state of the air conditioner.
[0088] The comfort determination module 20 is configured for determining a current comfort level based on the current state.
[0089] The state construction module 30 is configured for constructing potential state combinations based on the current state.
[0090] The comfort determination module 20 is further configured for determining a comfort level corresponding to each potential state based on the potential state combinations.
[0091] The air conditioner control module 40 is configured to determining a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state.
[0092] Other embodiments or specific implementations of the apparatus for controlling the air conditioner proposed in the present application can refer to the above-described method embodiments, and therefore have at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0093] It should be noted that, in this document, the terms "comprising," "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements comprises not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that comprises that element.
[0094] The sequence numbers of the embodiments in the present application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In the unit claims listing several devices, several of these devices may be embodied by the same hardware item. The use of the terms first, second, and third, etc., does not indicate any order and can be interpreted as names.
[0095] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. They can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The software product is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), magnetic disk, optical disk), and comprises several instructions to cause a terminal air conditioner (which may be a mobile phone, a device, a server, or a network air conditioner, etc.) to execute the methods described in the various embodiments of the present application.
[0096] The above are only some embodiments of the present application, and do not limit the scope of the present application thereto. Under the concept of the present application, equivalent structural transformations made according to the description and drawings of the present application, or direct / indirect application in other related technical fields are comprised in the scope of the present application.
Claims
1. A method for controlling an air conditioner, comprising: obtaining a current state of an air conditioner; determining a current comfort level based on the current state; constructing potential state combinations based on the current state; determining a comfort level corresponding to each potential state based on the potential state combinations; and determining a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state.
2. The method for controlling the air conditioner according to claim 1, wherein the determining the target state based on the current comfort level and the comfort level corresponding to each potential state comprises: determining a comfort variation range for each potential state based on the current comfort level and the comfort level corresponding to each potential state; in response to that the comfort variation range comprisea positive comfort variation range, determining a marginal benefit corresponding to each positive comfort variation range; and determining the target state based on the marginal benefit corresponding to each positive comfort variation range.
3. The method for controlling the air conditioner according to claim 2, wherein after determining the comfort variation range for each potential state based on the current comfort level and the comfort level corresponding to each potential state, the method comprises: in response to that the comfort variation range does not comprise a positive comfort variation range, controlling the air conditioner to operate according to the current state.
4. The method for controlling the air conditioner according to claim 2, wherein the in response to that the comfort variation range contains the positive comfort variation range, the determining the marginal benefit corresponding to each positive comfort variation range comprises: in response to that the comfort variation range contains the positive comfort variation range, determining a state variation range corresponding to each positive comfort variation range; constructing a state comprehensive change index based on the state variation range; and determining the marginal benefit corresponding to each positive comfort variation range based on the comfort variation range and the state comprehensive change index.
5. The method for controlling the air conditioner according to claim 2, wherein the determining the target state based on the marginal benefit corresponding to each positive comfort variation range comprises: selecting a maximum marginal benefit from each positive comfort variation range; and determining a potential state corresponding to the maximum marginal benefit as the target state.
6. The method for controlling the air conditioner according to claim 5, wherein after the selecting the maximum marginal benefit from each positive comfort variation range, the method further comprises: comparing the maximum marginal benefit with a preset benefit threshold; and in response to that the maximum marginal benefit is greater than the preset benefit threshold, determining the potential state corresponding to the maximum marginal benefit as the target state; otherwise, determining the current state as the target state.
7. The method for controlling the air conditioner according to any one of claims 1 to 6, wherein the determining the current comfort level based on the current state comprises: inputting the current state into a comfort measurement model to determine the current comfort level, wherein the comfort measurement model is configured to determine a quantified comfort level based on a state of the air conditioner; the determining the comfort level corresponding to each potential state based on the potential state combinations comprises: inputting each potential state in the potential state combinations into the comfort measurement model to determine the current comfort level.
8. An apparatus for controlling an air conditioner, comprising: a state obtaining module, configured to obtain a current state of an air conditioner; a comfort level determination module, configured to determine a current comfort level based on the current state; a state construction module, configured to construct potential state combinations based on the current state; wherein the comfort level determination module is further configured to determine a comfort level corresponding to each potential state; and an air conditioner control module, configured to determine a target state based on the current comfort level and the comfort level corresponding to each potential state, and controlling the air conditioner to operate according to an operating parameter corresponding to the target state.
9. An air conditioner, comprising: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program is configured to control the air conditioner, and when executed by the processor, implements a method for controlling the air conditioner according to any one of claims 1 to 7.
10. A storage medium storing a program, wherein the program is configured to control an air conditioner, and when executed by a processor, implements the method for controlling the air conditioner according to any one of claims 1 to 7.