Air conditioning control method, device and air conditioning
By introducing a dynamic threshold mechanism into the air conditioner, the defogging function is automatically turned on based on user operation update thresholds, which solves the problem of glass fogging in the air conditioning environment and improves the accuracy of automatic turning on of the defogging function and the user experience.
Patent Information
- Application Number
- CN202110479657.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-30
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-04-30
AI Technical Summary
Glass in an air-conditioned environment is prone to fogging, and existing technology requires users to manually turn on the defogging function, which results in poor anti-fogging effects.
By introducing a dynamic threshold mechanism into the air conditioner, the threshold is updated based on the user's operation of the designated button, and a decision is made in the next cycle whether to automatically turn on the defogging function, making the automatic turning on of the defogging function closer to the user's intention.
It effectively reduces the possibility of glass fogging in air-conditioned environments and improves the accuracy of automatic opening of the defogging function and user experience.
Smart Images

Figure CN115264781B
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of air conditioning, and in particular, relates to an air conditioning control method, device, air conditioning and computer-readable storage medium. Background Art
[0002] As a common intelligent device for regulating indoor temperature and humidity, air conditioners have been widely used in various occasions. During the operation of air conditioners, due to the large temperature difference between indoor and outdoor, the glass in the air conditioner environment often fogs up, blocking the user's view.
[0003] In the related art, if the glass in the environment where the air conditioner is located is fogged, the user usually needs to manually turn on the defog function of the air conditioner to defog. However, although this method can achieve the defogging effect, the user often turns on the defogging function manually only when he finds that the glass has fogged, and this method has a poor anti-fogging effect. Summary of the invention
[0004] In view of this, the present application provides an air conditioning control method, device, air conditioner and computer-readable storage medium, which can effectively reduce the possibility of fogging of glass in the environment where the air conditioner is located.
[0005] In a first aspect, the present application provides an air conditioning control method, comprising:
[0006] In the first cycle, if the user's operation on the designated button is detected, the dynamic threshold is updated at the end of the first cycle, wherein the designated button is used by the user to manually trigger the turning on and off of the defog function of the air conditioner;
[0007] In a second cycle, whether to turn on the defog function of the air conditioner is determined based on the updated dynamic threshold, wherein the second cycle is a next cycle of the first cycle.
[0008] In a second aspect, the present application provides an air conditioning control device, comprising:
[0009] An updating unit, configured to update the dynamic threshold at the end of the first cycle if an operation of a designated button by a user is detected within the first cycle, wherein the designated button is used by the user to manually trigger the turning on and off of the defog function of the air conditioner;
[0010] The activation unit is used to determine whether to activate the defog function of the air conditioner based on the updated dynamic threshold value within a second cycle, wherein the second cycle is the next cycle of the first cycle.
[0011] In a third aspect, the present application provides an air conditioner, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of the first aspect when executing the computer program.
[0012] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method of the first aspect are implemented.
[0013] In a fifth aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by one or more processors, it implements the steps of the method of the first aspect.
[0014] As can be seen from the above, in the present application scheme, within the first cycle, if the user's operation on the designated button is detected, the dynamic threshold is updated at the end of the above-mentioned first cycle, wherein the above-mentioned designated button is used by the above-mentioned user to manually trigger the opening and closing of the defog function of the above-mentioned air conditioner; within the second cycle, whether to turn on the defog function of the above-mentioned air conditioner is determined based on the updated dynamic threshold, wherein the above-mentioned second cycle is the next cycle of the above-mentioned first cycle. In the present application scheme, the threshold used to determine whether to automatically turn on the defog function of the air conditioner is a dynamic threshold, not a static threshold. The size of the dynamic threshold is related to the user's operation on the designated button, so that the automatic opening of the defog function is closer to the user's opening intention, and the user's opening intention can often reflect the actual fogging of the glass. Therefore, the possibility of fogging of the glass in the environment where the air conditioner is located can be effectively reduced through the present application scheme.
[0015] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 is a flow chart of an implementation of the air conditioning control method provided in an embodiment of the present application;
[0018] Figure 2 is a structural block diagram of an air conditioning control device provided in an embodiment of the present application;
[0019] Figure 3It is a structural schematic diagram of the air conditioner provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0021] The following describes an air conditioning control method provided by an embodiment of the present application. Figure 1 , the air conditioning control method comprises:
[0022] Step 101: within a first cycle, if a user operation on a designated key is detected, the dynamic threshold is updated at the end of the first cycle.
[0023] In the embodiment of the present application, the preset time length can be a cycle, and the air conditioner executes the steps of the above air conditioning control method in each cycle, and the steps executed in each cycle are the same, for example, the steps of the above air conditioning control method are executed once every 1 second. Among them, the air conditioner can be installed in a room or in a vehicle, and the installation location of the air conditioner is not limited here. When the air conditioner is installed in a room, the environment where the air conditioner is located includes the indoor and outdoor of the room, and the glass in the environment includes the window of the room; when the air conditioner is installed in a vehicle, the environment where the air conditioner is located includes the indoor and outdoor of the vehicle, and the glass in the environment includes the front windshield and the window of the vehicle. The first cycle in the embodiment of the present application can be any cycle in the working process of the air conditioner, and the user's operation on the designated button needs to be monitored in each cycle. The designated button is used for the user to manually trigger the opening and closing of the defog function of the air conditioner, that is, the user can turn on and off the defog function by operating the designated button. If the user's operation on the designated button is detected in the first cycle, the dynamic threshold is updated at the end of the first cycle. The dynamic threshold is used to determine whether to automatically turn on the defog function of the air conditioner, and the defog function is used for defog.
[0024] Step 102: In the second cycle, determine whether to turn on the defog function of the air conditioner based on the updated dynamic threshold.
[0025] In the embodiment of the present application, the second cycle is the next cycle of the first cycle, that is, the moment when the first cycle ends is the moment when the second cycle begins. After the dynamic threshold is updated at the end of the first cycle, the second cycle is entered. In the second cycle, whether to turn on the defog function of the air conditioner can be determined based on the updated dynamic threshold. Since the update of the dynamic threshold is related to the user's operation of the designated button, determining whether to turn on the defog function based on the updated dynamic threshold can make the automatic turn-on more in line with the user's intention to turn on the defog function.
[0026] In some embodiments, the dynamic threshold may include one, and the dynamic threshold may be stored in a preset storage location. Whenever the dynamic threshold is needed, the dynamic threshold is read from the preset storage location. Based on this, the above step 101 specifically includes:
[0027] A1. In the first cycle, if the user's first operation on the designated key is detected, the dynamic threshold before the update is reduced at the end of the first cycle to obtain the updated dynamic threshold;
[0028] A2. Within the first cycle, if a second operation of the user on the designated key is detected, the dynamic threshold before updating is increased at the end of the first cycle to obtain an updated dynamic threshold.
[0029] In an embodiment of the present application, the user's operation on the designated button includes a first operation and a second operation, wherein the first operation is used to trigger the defog function of the air conditioner to be turned on, and the second operation is used to trigger the defog function of the air conditioner to be turned off. If the user performs the first operation on the designated button within the first cycle, it can be considered that the user's intention is more inclined to turn on the defog function. In order to be closer to the user's intention to turn on the defog function, the dynamic threshold before the update can be reduced at the end of the first cycle to obtain the updated dynamic threshold. If the user performs the second operation on the designated button within the first cycle, it can be considered that the user's intention is more inclined to turn off the defog function. In order to be closer to the user's intention to turn on the defog function, the dynamic threshold before the update can be increased at the end of the first cycle to obtain the updated dynamic threshold.
[0030] Optionally, the air conditioning control method further includes:
[0031] Periodically determine the fogging probability of glass in the air-conditioning environment;
[0032] Among them, periodically determining the fogging probability means determining the fogging probability of the glass once in each period, wherein the fogging probability of the glass is used to indicate the possibility of the glass fogging. For any period, the greater the fogging probability determined in the period, the greater the possibility of the glass fogging in the period.
[0033] For example, assuming that a cycle is 1 second, the air conditioner determines that the probability of glass fogging is 40% at 9 minutes and 30 seconds, and determines that the probability of glass fogging is 45% at 9 minutes and 31 seconds, which means that the probability of glass fogging at 9 minutes and 31 seconds is greater than the probability of glass fogging at 9 minutes and 30 seconds. Based on this, in order to make the update of the dynamic threshold closer to the user's intention to turn on the defog function, the above step A1 specifically includes:
[0034] In the first cycle, if a first operation of the user on the designated key is detected, and the fogging probability determined in the first cycle is greater than the dynamic threshold before the update, then at the end of the first cycle, the dynamic threshold before the update is reduced to obtain the updated dynamic threshold;
[0035] And, the above step A2 specifically includes:
[0036] In the first cycle, if the user's second operation on the designated key is detected and the fogging probability determined in the first cycle is less than or equal to the dynamic threshold before update, the dynamic threshold before update is increased at the end of the first cycle to obtain the updated dynamic threshold.
[0037] In the embodiment of the present application, if the user's first operation on the designated button is detected in the first cycle, and the fogging probability determined in the first cycle is greater than the dynamic threshold, the dynamic threshold can be reduced at the end of the first cycle. In the next cycle (i.e., the second cycle), the air conditioner will determine whether to automatically turn on the defog function of the air conditioner based on the reduced dynamic threshold.
[0038] If the user's second operation on the designated button is detected in the first cycle, and the fogging probability determined in the first cycle is less than or equal to the dynamic threshold, the dynamic threshold can be increased at the end of the first cycle. In the next cycle, the air conditioner will determine whether to automatically turn on the defog function of the air conditioner based on the increased dynamic threshold.
[0039] If the user's first operation on the designated button is detected in the first cycle, and the fogging probability determined in the first cycle is less than or equal to the dynamic threshold, it is considered that the user intends to only experience the defogging function, and the dynamic threshold can be kept unchanged. If the user's second operation on the designated button is detected in the first cycle, and the fogging probability determined in the first cycle is greater than the dynamic threshold, the dynamic threshold can also be kept unchanged.
[0040] For example, the dynamic threshold can be updated by the formula F=F*(1-a*a'), where F is the dynamic threshold and a'=a'*a. When the dynamic threshold needs to be increased, a<1 can be taken, such as a=0.8; when the dynamic threshold needs to be reduced, a>1 can be taken, such as a=1.2.
[0041] In other embodiments, considering that when the outdoor air humidity is high, the possibility of glass fogging is also high, so the corresponding dynamic threshold should be smaller. Based on this, the dynamic threshold can include multiple dynamic thresholds, and different dynamic thresholds correspond to different outdoor air humidity. The above air conditioning control method also includes:
[0042] Periodically obtain the ambient outdoor air humidity;
[0043] Look up the table according to the preset table and the outdoor air humidity obtained in the first cycle to obtain the dynamic threshold value before updating;
[0044] The preset table includes at least two outdoor air humidity levels and dynamic thresholds corresponding to the at least two outdoor air humidity levels, and the size of the dynamic thresholds is obtained through experiments. As an example, the preset table is as follows:
[0045]
[0046] Specifically, the air conditioner can obtain the outdoor air humidity of the environment where the air conditioner is located in each cycle. According to the preset table and the outdoor air humidity obtained in the first cycle, a table can be looked up to obtain the dynamic threshold corresponding to the outdoor air humidity obtained in the first cycle, and the dynamic threshold is the dynamic threshold that needs to be updated, that is, the dynamic threshold before the update. For example, when the outdoor air humidity obtained in the first cycle is 80%, the dynamic threshold before the update is 50%. It should be noted that if the outdoor air humidity obtained in the first cycle does not exist in the preset table, the dynamic threshold corresponding to the outdoor air humidity obtained in the first cycle can be calculated by linear interpolation. For example, according to the example of the above preset table, if the outdoor air humidity obtained in the first cycle is 90%, the dynamic threshold obtained by linear interpolation is 50%, and if the outdoor air humidity obtained in the first cycle is 70%, the dynamic threshold obtained by linear interpolation is 55%. It should be noted that this is only an example, and the specific linear interpolation method can be selected according to needs, which is not limited here.
[0047] In the case where the dynamic threshold includes multiple ones, the above-mentioned determining whether to turn on the defog function of the air conditioner based on the updated dynamic threshold includes:
[0048] If the outdoor air humidity acquired in the second cycle is the same as the outdoor air humidity acquired in the first cycle, it is determined whether to turn on the defog function of the air conditioner based on the updated dynamic threshold.
[0049] Among them, the updated dynamic threshold is actually the dynamic threshold corresponding to the outdoor air humidity obtained in the first cycle. If the outdoor air humidity obtained in the second cycle is different from the outdoor air humidity obtained in the first cycle, then in the second cycle, it will be determined whether to turn on the defogging function based on the dynamic threshold corresponding to the outdoor air humidity obtained in the second cycle. Therefore, only when the outdoor air humidity obtained in the second cycle is the same as the outdoor air humidity obtained in the first cycle, will it be determined whether to turn on the defogging function of the air conditioner based on the updated dynamic threshold. It should be noted that if the dynamic threshold before the update is obtained by linear interpolation, at the end of the first cycle, the way to update the dynamic threshold can be: update the two endpoint dynamic thresholds in the preset table. The dynamic threshold corresponding to the outdoor air humidity obtained in the first cycle is within the range between the two endpoint dynamic thresholds. According to the example of the above preset table, if the dynamic threshold corresponding to the outdoor air humidity obtained in the first cycle is 65%, the two endpoint dynamic thresholds can be 60% and 70%, or 50% and 70%, which are not limited here. Specifically, if a first operation of a user on a designated key is detected within the first cycle, the dynamic thresholds of both endpoints in the preset table will be reduced at the end of the first cycle; if a second operation of a user on a designated key is detected within the first cycle, the dynamic thresholds of both endpoints in the preset table will be increased at the end of the first cycle.
[0050] Optionally, the air conditioning control method further includes:
[0051] Periodically determine the fogging probability of glass in the air-conditioning environment;
[0052] Accordingly, the above step 102 specifically includes:
[0053] Based on the fogging probability determined in the second cycle and the updated dynamic threshold, it is determined whether to turn on the defog function of the air conditioner.
[0054] In the embodiment of the present application, in the second cycle, according to the fogging probability determined in the second cycle and the updated dynamic threshold, it can be determined whether to automatically turn on the defog function of the air conditioner. For example, the fogging probability determined in the second cycle can be compared with the updated dynamic threshold. If the fogging probability determined in the second cycle is greater than the updated dynamic threshold, it indicates that the glass is more likely to fog in the second cycle, and the defog function of the air conditioner can be automatically turned on at this time; if the fogging probability determined in the second cycle is less than or equal to the dynamic threshold, it indicates that the glass is less likely to fog in the second cycle, and the defog function of the air conditioner can be turned off at this time.
[0055] Optionally, in order to further prevent the glass from fogging, the air conditioning control method further includes:
[0056] If the fogging probability determined in the second cycle is less than or equal to the updated dynamic threshold, the corresponding comfortable humidity interval is obtained according to the fogging probability determined in the second cycle, and the indoor air humidity of the environment is obtained;
[0057] If the indoor air humidity of the environment is outside the comfortable humidity range, turn on the humidity adjustment function of the air conditioner.
[0058] In an embodiment of the present application, if the fogging probability determined in the second cycle is less than or equal to the dynamic threshold, the corresponding comfort humidity interval can be obtained according to the fogging probability, and the current indoor air humidity of the air-conditioning environment can be obtained. Among them, the comfortable humidity interval is a humidity interval that makes the human body feel comfortable, and different fogging probabilities correspond to different comfortable humidity intervals. For example, through experiments, it is found that the humidity interval that the human body feels comfortable is 40% to 65%. If the fogging probability is high, in order to prevent fogging, the user's comfort can be appropriately reduced. Based on this, the corresponding relationship between the fogging probability and the comfortable humidity interval can be pre-set as shown in Table 2:
[0059] Fogging probability (%) 30 50 80 100 Comfortable humidity range (%) 40~65 40~65 30~60 30~50
[0060] Table 2
[0061] According to Table 2, if the fogging probability determined in the second cycle is 30%, the corresponding comfortable humidity interval is 40% to 65%. It should be noted that if the fogging probability determined in the second cycle cannot be found in the table, the corresponding comfortable humidity interval can be calculated by linear interpolation. For example, when the fogging probability is 90%, the comfortable humidity interval obtained by linear interpolation is 30% to 55%. It should be noted that this is only an example, and the specific linear interpolation method can be selected according to needs.
[0062] If the obtained indoor air humidity of the environment is outside the comfortable humidity range, the humidity adjustment function of the air conditioner can be turned on to adjust the indoor air humidity of the environment where the air conditioner is located to within the comfortable humidity range. Specifically, the humidity adjustment function includes a humidification function and a dehumidification function. If the indoor air humidity of the environment is less than the minimum value of the comfortable humidity range, the humidification function can be turned on. If the indoor air humidity of the environment is greater than the maximum value of the comfortable humidity range, the dehumidification function can be turned on.
[0063] Optionally, when the air conditioner is installed in a vehicle, the periodic determination of the fogging probability of the glass in the environment where the air conditioner is located specifically includes:
[0064] Periodically obtain environmental parameters of the environment and the speed of the vehicle;
[0065] The fogging probability of the glass in the environment is determined according to the environmental parameters and the vehicle speed.
[0066] In the embodiment of the present application, when determining the fogging probability of the glass in each cycle, the environmental parameters of the environment where the air conditioner is located in the cycle and the speed of the vehicle in the cycle can be obtained. Assuming that one second is a cycle, when the air conditioner determines the fogging probability of the glass in 9 minutes and 30 seconds, the environmental parameters of the environment where the air conditioner is located in 9 minutes and 30 seconds and the speed of the vehicle in 9 minutes and 30 seconds can be obtained. Among them, the environmental parameters may include the temperature inside the car, the air humidity inside the car, the temperature outside the car, the air humidity outside the car and the intensity of sunlight. Then, based on the environmental parameters and the speed, the fogging probability of the glass in the environment where the air conditioner is located can be determined.
[0067] Specifically, an outside temperature sensor and a sunlight intensity sensor can be installed outside the vehicle, and an inside temperature sensor and an inside humidity sensor can be installed inside the vehicle, wherein the outside temperature sensor is used to detect the outside temperature, the sunlight intensity sensor is used to detect the sunlight intensity of the vehicle's environment, the inside temperature sensor is used to detect the inside temperature, and the inside humidity sensor is used to detect the inside air humidity. The vehicle is also equipped with a wireless communication module, such as a fifth generation mobile communication technology (5th generation mobile networks, 5G) module. Through the 5G module, the air conditioner can obtain the outside air humidity from the Internet. The vehicle speed can be read from the on-board diagnostics system (On Board Diagnostics, OBD) or from the vehicle's navigation system, which is not limited here. After obtaining the environmental parameters and vehicle speed, the initial fogging probability F0 of the glass can be calculated by the following formula:
[0068] F0=[RH+C1-f(T Incar -T ambient )]×C2÷100
[0069] Among them, RH is the air humidity in the car, which is the relative humidity and is expressed in percentage;
[0070] T Incar is the temperature inside the car, in degrees Celsius (℃);
[0071] T ambient is the outside temperature of the vehicle, in degrees Celsius (℃);
[0072] f(T Incar -T ambient ) is a function obtained by experimental calibration based on the temperature difference between the inside and outside of the vehicle;
[0073] C1 and C2 are both constants, which are calibrated according to the specific vehicle model. The universal typical value of C1 is 45, and the universal typical value of C2 is 80.
[0074] Function f(T Incar -Tambient ) and its independent variable T Incar -T ambien The corresponding relationship is shown in Table 1:
[0075] <![CDATA[T Incar -T ambien (rounded value)]]> <![CDATA[f(T Incar -T ambient )]]> 0 100 5 82 10 75 15 70 20 67 25 63 30 54 35 51 40 48 45 40 50 37
[0076] Table 1
[0077] The initial fogging probability F0 calculated according to the above formula cannot accurately reflect the possibility of glass fogging. The possibility of fogging is also related to the air humidity outside the vehicle, the vehicle speed and the intensity of sunlight. The specific reasons are: when the vehicle speed is higher, the glass surface temperature is closer to the external ambient temperature, and the glass is more likely to fog; when the sunlight intensity is greater, the water vapor on the glass surface evaporates faster, and the glass is less likely to fog; when the air humidity outside the vehicle is high, the humid air encounters the cold glass, and the water vapor condenses into small water droplets, forming fog on the outside of the glass. Based on this, the initial fogging probability F0 can also be corrected according to the air humidity outside the vehicle, the vehicle speed and the intensity of sunlight. Specifically, when the vehicle's air intake mode is the internal circulation mode, the correction factor c can be calculated according to the following formula:
[0078] c=(c1*v / 200+c2*(1-s / 100)) / 3
[0079] When the vehicle's air intake mode is external circulation mode, the correction factor c can be calculated according to the following formula:
[0080] c=(c1*v / 200+c2*(1-s / 100)+c3*(0.5*h+0.5*k)) / 3
[0081] Wherein, c1 is the preset first correction factor related to vehicle speed, v is the vehicle speed (km / h), c2 is the preset second correction factor related to sunlight, s is the sunlight intensity, which is expressed in percentage, c3 is the preset third correction factor related to the air humidity outside the vehicle and the external circulation ratio, h is the air humidity outside the vehicle, which is the relative humidity, expressed in percentage, and k is the external circulation ratio. The larger the external circulation ratio, the greater the external air intake. Wherein, c1, c2 and c3 are all obtained through experimental calibration.
[0082] After the correction factor c is calculated, the initial fogging probability F0 can be corrected to obtain the fogging probability F of the glass in the environment. Specifically, the fogging probability F=(F0+c)*0.5, where F0 is the initial fogging probability.
[0083] As can be seen from the above, in the present application scheme, within the first cycle, if the user's operation on the designated button is detected, the dynamic threshold is updated at the end of the above-mentioned first cycle, wherein the above-mentioned designated button is used by the above-mentioned user to manually trigger the opening and closing of the defog function of the above-mentioned air conditioner; within the second cycle, whether to turn on the defog function of the above-mentioned air conditioner is determined based on the updated dynamic threshold, wherein the above-mentioned second cycle is the next cycle of the above-mentioned first cycle. In the present application scheme, the threshold used to determine whether to automatically turn on the defog function of the air conditioner is a dynamic threshold, not a static threshold. The size of the dynamic threshold is related to the user's operation on the designated button, so that the automatic opening of the defog function is closer to the user's opening intention, and the user's opening intention can often reflect the actual fogging of the glass. Therefore, the possibility of fogging of the glass in the environment where the air conditioner is located can be effectively reduced through the present application scheme.
[0084] Corresponding to the air conditioning control method provided above, the embodiment of the present application also provides an air conditioning control device. Figure 2 As shown, the air conditioning control device 200 in the embodiment of the present application includes:
[0085] An updating unit 201 is configured to update the dynamic threshold at the end of the first cycle if an operation of a designated button by a user is detected within the first cycle, wherein the designated button is used by the user to manually trigger the turning on and off of the defog function of the air conditioner;
[0086] The activation unit 202 is used to determine whether to activate the defog function of the air conditioner based on the updated dynamic threshold value within a second cycle, wherein the second cycle is a next cycle of the first cycle.
[0087] Optionally, the updating unit 201 includes:
[0088] A first updating subunit is configured to reduce the dynamic threshold value before updating at the end of the first cycle to obtain the dynamic threshold value after updating if a first operation of a user on a designated button is detected within the first cycle, wherein the first operation is used to trigger the defogging function of the air conditioner to be turned on;
[0089] The second updating sub-unit is used to increase the dynamic threshold before the update at the end of the first cycle to obtain the dynamic threshold after the update if a second operation of the user on the designated button is detected within the first cycle, wherein the second operation is used to trigger the defogging function of the air conditioner to be turned off.
[0090] Optionally, the air conditioning control device 200 further includes:
[0091] A first probability determination unit, used for periodically determining the fogging probability of the glass in the environment where the air conditioner is located;
[0092] The first updating subunit is specifically configured to, within the first cycle, if the first operation of the user on the designated key is detected, and the fogging probability determined within the first cycle is greater than the dynamic threshold before the update, reduce the dynamic threshold before the update at the end of the first cycle to obtain the dynamic threshold after the update;
[0093] The above-mentioned second update sub-unit is specifically used to increase the above-mentioned dynamic threshold before update at the end of the above-mentioned first cycle to obtain the above-mentioned updated dynamic threshold if the above-mentioned second operation of the user on the designated button is detected within the above-mentioned first cycle, and the fogging probability determined within the above-mentioned first cycle is less than or equal to the above-mentioned dynamic threshold before update.
[0094] Optionally, the air conditioning control device 200 further includes:
[0095] A humidity acquisition unit, used for periodically acquiring the outdoor air humidity of the environment where the air conditioner is located;
[0096] A table lookup unit, configured to look up a table according to a preset table and the outdoor air humidity obtained in the first period to obtain a dynamic threshold value before updating, wherein the preset table includes a corresponding relationship between the outdoor air humidity and the dynamic threshold value;
[0097] The activation unit 202 is specifically configured to determine whether to activate the defog function of the air conditioner based on the updated dynamic threshold if the outdoor air humidity acquired in the second cycle is the same as the outdoor air humidity acquired in the first cycle.
[0098] Optionally, the air conditioning control device 200 further includes:
[0099] A second probability determination unit, used for periodically determining the fogging probability of the glass in the environment where the air conditioner is located;
[0100] The opening unit 202 further includes:
[0101] The activation subunit is used to determine whether to activate the defog function of the air conditioner based on the fogging probability determined in the second period and the updated dynamic threshold.
[0102] Optionally, the activation subunit is specifically used to activate the defog function of the air conditioner if the fogging probability determined in the second period is greater than the updated dynamic threshold.
[0103] Optionally, the air conditioning control device 200 further includes:
[0104] an interval acquisition unit, configured to acquire a corresponding comfortable humidity interval according to the fogging probability determined in the second period, and acquire the indoor air humidity of the environment if the fogging probability determined in the second period is less than or equal to the updated dynamic threshold;
[0105] The humidity control activation unit is used to activate the humidity control function of the air conditioner if the indoor air humidity of the environment is outside the comfortable humidity range, so as to adjust the indoor air humidity of the environment to within the comfortable humidity range.
[0106] Optionally, the air conditioner is installed in a vehicle, and the second probability determination unit includes:
[0107] A parameter acquisition subunit, used for periodically acquiring environmental parameters of the above environment and the speed of the above vehicle, wherein the above environmental parameters include the temperature inside the vehicle, the air humidity inside the vehicle, the temperature outside the vehicle, the air humidity outside the vehicle and the intensity of sunlight;
[0108] The probability determination subunit is used to determine the fogging probability of the glass in the above environment according to the above environmental parameters and the above vehicle speed.
[0109] As can be seen from the above, in the present application scheme, within the first cycle, if the user's operation on the designated button is detected, the dynamic threshold is updated at the end of the above-mentioned first cycle, wherein the above-mentioned designated button is used by the above-mentioned user to manually trigger the opening and closing of the defog function of the above-mentioned air conditioner; within the second cycle, whether to turn on the defog function of the above-mentioned air conditioner is determined based on the updated dynamic threshold, wherein the above-mentioned second cycle is the next cycle of the above-mentioned first cycle. In the present application scheme, the threshold used to determine whether to automatically turn on the defog function of the air conditioner is a dynamic threshold, not a static threshold. The size of the dynamic threshold is related to the user's operation on the designated button, so that the automatic opening of the defog function is closer to the user's opening intention, and the user's opening intention can often reflect the actual fogging of the glass. Therefore, the possibility of fogging of the glass in the environment where the air conditioner is located can be effectively reduced through the present application scheme.
[0110] Corresponding to the air conditioning control method provided above, the embodiment of the present application further provides an air conditioning, see Figure 3 The air conditioner 3 in the embodiment of the present application includes: a memory 301, one or more processors 302 ( Figure 3 Only one is shown) and a computer program stored in the memory 301 and executable on the processor. The memory 301 is used to store software programs and units, and the processor 302 executes various functional applications and data processing by running the software programs and units stored in the memory 301 to obtain the resources corresponding to the above-mentioned preset events. Specifically, the processor 302 implements the following steps when running the above-mentioned computer program stored in the memory 301:
[0111] In the first cycle, if the user's operation on the designated button is detected, the dynamic threshold is updated at the end of the first cycle, wherein the designated button is used by the user to manually trigger the turning on and off of the defog function of the air conditioner;
[0112] In a second cycle, whether to turn on the defog function of the air conditioner is determined based on the updated dynamic threshold, wherein the second cycle is a next cycle of the first cycle.
[0113] Assuming that the above is the first possible implementation mode, in a second possible implementation mode provided on the basis of the first possible implementation mode, if the user's operation on the designated key is detected within the first cycle, the dynamic threshold is updated at the end of the first cycle, including:
[0114] If a first operation of a user on a designated button is detected during the first cycle, the dynamic threshold before the update is reduced at the end of the first cycle to obtain the dynamic threshold after the update, wherein the first operation is used to trigger the defogging function of the air conditioner to be turned on;
[0115] During the first cycle, if a second operation of the user on a designated button is detected, the dynamic threshold before the update is increased at the end of the first cycle to obtain the updated dynamic threshold, wherein the second operation is used to trigger the defogging function of the air conditioner to be turned off.
[0116] In a third possible implementation provided on the basis of the second possible implementation, the processor 302 further implements the following steps when running the computer program stored in the memory 301:
[0117] Periodically determining the fogging probability of glass in the environment where the air conditioner is located;
[0118] Correspondingly, if the user's first operation on the designated key is detected during the first cycle, the dynamic threshold before the update is reduced at the end of the first cycle to obtain the updated dynamic threshold, including:
[0119] In the first cycle, if the first operation of the user on the designated key is detected, and the fogging probability determined in the first cycle is greater than the dynamic threshold before the update, then at the end of the first cycle, the dynamic threshold before the update is reduced to obtain the dynamic threshold after the update;
[0120] If a second operation of the user on the designated key is detected during the first cycle, the dynamic threshold before the update is increased at the end of the first cycle to obtain the dynamic threshold after the update, including:
[0121] During the first cycle, if the second operation of the user on the designated button is detected, and the fogging probability determined during the first cycle is less than or equal to the dynamic threshold before the update, then at the end of the first cycle, the dynamic threshold before the update is increased to obtain the updated dynamic threshold.
[0122] In a fourth possible implementation provided on the basis of the first possible implementation, the processor 302 further implements the following steps when running the computer program stored in the memory 301:
[0123] Periodically obtaining the outdoor air humidity of the environment where the air conditioner is located;
[0124] Look up the table according to the preset table and the outdoor air humidity obtained in the first cycle to obtain the dynamic threshold value before updating, wherein the preset table includes the corresponding relationship between the outdoor air humidity and the dynamic threshold value;
[0125] The above-mentioned determining whether to turn on the defog function of the above-mentioned air conditioner based on the updated dynamic threshold value includes:
[0126] If the outdoor air humidity acquired in the second period is the same as the outdoor air humidity acquired in the first period, whether to turn on the defog function of the air conditioner is determined based on the updated dynamic threshold.
[0127] In a fifth possible implementation provided on the basis of the first possible implementation, the processor 302 further implements the following steps when running the computer program stored in the memory 301:
[0128] Periodically determining the fogging probability of glass in the environment where the air conditioner is located;
[0129] In the second cycle, determining whether to turn on the defog function of the air conditioner based on the updated dynamic threshold value includes:
[0130] Based on the fogging probability determined in the second period and the updated dynamic threshold, it is determined whether to turn on the defog function of the air conditioner.
[0131] In a sixth possible implementation provided on the basis of the fifth possible implementation, the determining whether to turn on the defog function of the air conditioner based on the fogging probability determined in the second period and the updated dynamic threshold value includes:
[0132] If the fogging probability determined in the second period is greater than the updated dynamic threshold, the defog function of the air conditioner is turned on.
[0133] In a seventh possible implementation provided on the basis of the sixth possible implementation, the processor 302 further implements the following steps when running the computer program stored in the memory 301:
[0134] If the fogging probability determined in the second period is less than or equal to the updated dynamic threshold, obtaining the corresponding comfortable humidity interval according to the fogging probability determined in the second period, and obtaining the indoor air humidity of the environment;
[0135] If the indoor air humidity of the environment is outside the comfortable humidity range, the humidity adjustment function of the air conditioner is turned on to adjust the indoor air humidity of the environment to within the comfortable humidity range. In an eighth possible implementation provided on the basis of the fifth possible implementation, the air conditioner is installed in a vehicle, and the periodic determination of the fogging probability of the glass in the environment where the air conditioner is located includes:
[0136] Periodically obtaining environmental parameters of the above environment and the speed of the above vehicle, wherein the above environmental parameters include temperature inside the vehicle, air humidity inside the vehicle, temperature outside the vehicle, air humidity outside the vehicle, and sunlight intensity;
[0137] The fogging probability of the glass in the above environment is determined according to the above environmental parameters and the above vehicle speed.
[0138] It should be understood that in the embodiment of the present application, the processor 302 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0139] The memory 301 may include a read-only memory and a random access memory, and provide instructions and data to the processor 302. A part or all of the memory 301 may also include a non-volatile random access memory. For example, the memory 301 may also store information of a device category.
[0140] As can be seen from the above, in the present application scheme, within the first cycle, if the user's operation on the designated button is detected, the dynamic threshold is updated at the end of the above-mentioned first cycle, wherein the above-mentioned designated button is used by the above-mentioned user to manually trigger the opening and closing of the defog function of the above-mentioned air conditioner; within the second cycle, whether to turn on the defog function of the above-mentioned air conditioner is determined based on the updated dynamic threshold, wherein the above-mentioned second cycle is the next cycle of the above-mentioned first cycle. In the present application scheme, the threshold used to determine whether to automatically turn on the defog function of the air conditioner is a dynamic threshold, not a static threshold. The size of the dynamic threshold is related to the user's operation on the designated button, so that the automatic opening of the defog function is closer to the user's opening intention, and the user's opening intention can often reflect the actual fogging of the glass. Therefore, the possibility of fogging of the glass in the environment where the air conditioner is located can be effectively reduced through the present application scheme.
[0141] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0142] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0143] Those of ordinary skill 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 external device software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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 this application.
[0144] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0145] The units described above 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 distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the associated hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The above-mentioned computer-readable storage medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer-readable memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the above-mentioned computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media does not include electrical carrier signals and telecommunication signals.
[0147] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An air conditioning control method, characterized in that: include: In a first cycle, if a user operation on a designated button is detected, the dynamic threshold is updated at the end of the first cycle, wherein the designated button is used by the user to manually trigger the turning on and off of the defog function of the air conditioner; In a second cycle, determining whether to turn on the defog function of the air conditioner based on the updated dynamic threshold, wherein the second cycle is a cycle next to the first cycle; Wherein, if the user's operation on the designated key is detected during the first cycle, the dynamic threshold is updated at the end of the first cycle, including: If a first operation of a user on a designated button is detected within the first cycle, the dynamic threshold before the update is reduced at the end of the first cycle to obtain the updated dynamic threshold, wherein the first operation is used to trigger the defogging function of the air conditioner to be turned on; If a second operation of the user on the designated button is detected within the first cycle, the dynamic threshold before the update is increased at the end of the first cycle to obtain the updated dynamic threshold, wherein the second operation is used to trigger the defogging function of the air conditioner to be turned off; The air conditioning control method further includes: Periodically determining the fogging probability of glass in the environment where the air conditioner is located; Correspondingly, if the first operation of the user on the designated key is detected within the first cycle, the dynamic threshold before the update is reduced at the end of the first cycle to obtain the updated dynamic threshold, including: If, within the first cycle, the first operation of the user on the designated key is detected, and the fogging probability determined within the first cycle is greater than the dynamic threshold before the update, then at the end of the first cycle, the dynamic threshold before the update is reduced to obtain the updated dynamic threshold; If, within the first cycle, a second operation of the user on the designated key is detected, then at the end of the first cycle, the dynamic threshold before the update is increased to obtain the dynamic threshold after the update, including: During the first cycle, if the second operation of the user on the designated button is detected, and the fogging probability determined during the first cycle is less than or equal to the dynamic threshold before the update, then at the end of the first cycle, the dynamic threshold before the update is increased to obtain the updated dynamic threshold.
2. The air conditioning control method according to claim 1, characterized in that: The air conditioning control method further includes: Periodically obtaining the outdoor air humidity of the environment where the air conditioner is located; Look up a table according to a preset table and the outdoor air humidity obtained in the first cycle to obtain a dynamic threshold value before updating, wherein the preset table includes a corresponding relationship between the outdoor air humidity and the dynamic threshold value; The determining whether to turn on the defog function of the air conditioner based on the updated dynamic threshold comprises: If the outdoor air humidity acquired in the second period is the same as the outdoor air humidity acquired in the first period, it is determined whether to turn on the defog function of the air conditioner based on the updated dynamic threshold.
3. The air conditioning control method according to claim 1, characterized in that: The air conditioning control method further includes: Periodically determining the fogging probability of glass in the environment where the air conditioner is located; Determining whether to turn on the defog function of the air conditioner based on the updated dynamic threshold during the second period includes: Based on the fogging probability determined in the second period and the updated dynamic threshold, it is determined whether to turn on the defog function of the air conditioner.
4. The air conditioning control method according to claim 3, characterized in that: The determining whether to turn on the defog function of the air conditioner based on the fogging probability determined in the second period and the updated dynamic threshold value includes: If the fogging probability determined in the second period is greater than the updated dynamic threshold, the defog function of the air conditioner is turned on.
5. The air conditioning control method according to claim 4, characterized in that: The air conditioning control method further includes: If the fogging probability determined in the second period is less than or equal to the updated dynamic threshold, obtaining a corresponding comfortable humidity interval according to the fogging probability determined in the second period, and obtaining the indoor air humidity of the environment; If the indoor air humidity of the environment is outside the comfortable humidity range, the humidity adjustment function of the air conditioner is turned on to adjust the indoor air humidity of the environment to within the comfortable humidity range.
6. The air conditioning control method according to claim 3, characterized in that: The air conditioner is installed in a vehicle, and the periodic determination of the fogging probability of glass in an environment where the air conditioner is located includes: Periodically acquiring environmental parameters of the environment and the speed of the vehicle, the environmental parameters including in-vehicle temperature, in-vehicle air humidity, outside-vehicle temperature, outside-vehicle air humidity, and sunlight intensity; The fogging probability of glass in the environment is determined according to the environmental parameter and the vehicle speed.
7. An air conditioning control device, characterized in that: include: an updating unit, configured to update the dynamic threshold at the end of a first cycle if an operation of a designated button by a user is detected within the first cycle, wherein the designated button is used by the user to manually trigger turning on and off the defog function of the air conditioner; an activation unit, configured to determine whether to activate the defog function of the air conditioner based on the updated dynamic threshold value in a second cycle, wherein the second cycle is a cycle next to the first cycle; The updating unit comprises: A first updating subunit is configured to, if a first operation of a user on a designated button is detected within the first cycle, reduce the dynamic threshold before updating at the end of the first cycle to obtain the updated dynamic threshold, wherein the first operation is used to trigger the defogging function of the air conditioner to be turned on; a second updating subunit, configured to, if a second operation of a user on a designated button is detected within the first cycle, increase the dynamic threshold before the update at the end of the first cycle to obtain the dynamic threshold after the update, wherein the second operation is used to trigger the defogging function of the air conditioner to be turned off; The air conditioning control device also includes: A first probability determination unit, used for periodically determining the fogging probability of glass in the environment where the air conditioner is located; The first updating subunit is configured to, if a first operation of a user on a designated key is detected within the first cycle, and the fogging probability determined within the first cycle is greater than the dynamic threshold before the update, reduce the dynamic threshold before the update at the end of the first cycle to obtain the dynamic threshold after the update; The second updating subunit is used to increase the dynamic threshold before update at the end of the first cycle to obtain the updated dynamic threshold if the second operation of the user on the designated button is detected within the first cycle and the fogging probability determined within the first cycle is less than or equal to the dynamic threshold before update.
8. An air conditioner comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
