Control method and device of air conditioner, electronic equipment and air conditioner

CN121297208BActive Publication Date: 2026-10-27XIAOMI TECH (WUHAN) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511659294.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-04
Publication Date
2026-10-27
Estimated Expiration
2043-01-04

AI Technical Summary

Technical Problem

[0003]本公开提供一种空调器的控制方法、装置、电子设备、空调器、计算机可读存储介质、计算机程序产品,以至少解决相关技术中的新风功能开启时室内空气质量变差,新风滤网的使用寿命降低的问题

Benefits of technology

[0019]本公开的实施例提供的技术方案至少带来以下有益效果:获取当前PM2.5值,如果当前PM2.5值小于预设阈值,则进一步获取用户当前所处时间段和/或室内二氧化碳浓度,并根据用户当前所处时间段和/或室内二氧化碳浓度确定是否开启空调器的新风功能。由此,本方案中可在当前PM2.5值较小时,即室外空气质量较好时,综合考虑到用户当前所处时间段和/或室内二氧化碳浓度,确定是否开启空调器的新风功能,提高了新风功能开启的灵活性,有助于提升室内空气质量,延长了新风滤网的使用寿命。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121297208B_ABST
    Figure CN121297208B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a control method and device of an air conditioner, an electronic device and the air conditioner, and belongs to the technical field of air conditioners. The method comprises: acquiring a current PM2.5 value; if the current PM2.5 value is less than a preset threshold, further acquiring a current time period in which a user is located and / or an indoor carbon dioxide concentration, and determining whether to start a fresh air function of the air conditioner according to the current time period in which the user is located and / or the indoor carbon dioxide concentration. Thus, in the present scheme, when the current PM2.5 value is small, that is, when the outdoor air quality is good, whether to start the fresh air function of the air conditioner is determined by comprehensively considering the current time period in which the user is located and / or the indoor carbon dioxide concentration, thereby improving the flexibility of starting the fresh air function, helping to improve the indoor air quality, and prolonging the service life of the fresh air filter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of air conditioner technology, and in particular to a control method, apparatus, electronic device, air conditioner, and storage medium for an air conditioner. Background Technology

[0002] The fresh air function of air conditioners has the advantages of bringing fresh air into the room and expelling stale air, and is widely used in air conditioners. However, in most related technologies, the fresh air function needs to be manually turned on, and it relies on filters to filter the air. If the outdoor air quality is poor, the filter's filtration capacity is limited, which may cause poor-quality air to be exchanged into the room, thus worsening the indoor air quality and reducing the lifespan of the fresh air filter. Summary of the Invention

[0003] This disclosure provides a control method, apparatus, electronic device, air conditioner, computer-readable storage medium, and computer program product for an air conditioner, to at least solve the problems of deteriorating indoor air quality and reduced lifespan of the fresh air filter when the fresh air function is activated in related technologies. The technical solution of this disclosure is as follows: According to a first aspect of the present disclosure, a method for controlling an air conditioner is provided, comprising: acquiring a current PM2.5 value; if the current PM2.5 value is less than a preset threshold, further acquiring the user's current time period and / or indoor carbon dioxide concentration, and determining whether to activate the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration.

[0004] In one embodiment of this disclosure, determining whether to activate the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration includes: generating a first lookup table based on historical data of the user's fresh air switch status and running time percentage in multiple time periods and multiple carbon dioxide ranges; and querying the first lookup table based on the user's current time period and indoor carbon dioxide concentration to determine whether to activate the fresh air function of the air conditioner.

[0005] In one embodiment of this disclosure, determining whether to turn on the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration further includes: generating a second lookup table based on historical data of the user's fresh air switch status and running time percentage in the multiple carbon dioxide ranges; if it cannot be determined whether to turn on the fresh air function of the air conditioner in the first lookup table, querying the second lookup table based on the indoor carbon dioxide concentration to determine whether to turn on the fresh air function of the air conditioner.

[0006] In one embodiment of this disclosure, determining whether to turn on the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration further includes: generating a third lookup table based on historical data of the user's fresh air switch status and running time percentage during the multiple time periods; if the fresh air function of the air conditioner cannot be determined in the second lookup table, querying the third lookup table based on the user's current time period to determine whether to turn on the fresh air function of the air conditioner.

[0007] In one embodiment of this disclosure, the method further includes: if it cannot be determined whether the fresh air function of the air conditioner is turned on in the first to the third lookup tables, then the fresh air function is turned off.

[0008] In one embodiment of this disclosure, the method further includes: if the current PM2.5 value is greater than or equal to the preset threshold, then determining whether an instruction to turn on the fresh air function of the air conditioner has been received; if an instruction to turn on the fresh air function of the air conditioner is received, then turning on the fresh air function; or, if no instruction to turn on the fresh air function of the air conditioner is received, then turning off the fresh air function.

[0009] According to a second aspect of the present disclosure, a control device for an air conditioner is provided, comprising: an acquisition module configured to acquire a current PM2.5 value; a determination module configured to activate the fresh air function of the air conditioner if the current PM2.5 value is greater than or equal to a preset threshold; the determination module is further configured to acquire the user's current time period and / or indoor carbon dioxide concentration if the current PM2.5 value is less than the preset threshold, and determine whether to activate the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration.

[0010] In one embodiment of this disclosure, the judgment module is further configured to perform: generating a first lookup table based on historical data of the user's fresh air switch status and running time percentage in multiple time periods and multiple carbon dioxide ranges; and querying the first lookup table based on the user's current time period and the indoor carbon dioxide concentration to determine whether to turn on the fresh air function of the air conditioner.

[0011] In one embodiment of this disclosure, the determination module is further configured to: generate a second lookup table based on historical data of the user's fresh air switch status and running time percentage in the multiple carbon dioxide ranges; if it cannot be determined whether the fresh air function of the air conditioner is turned on in the first lookup table, query the second lookup table based on the indoor carbon dioxide concentration to determine whether the fresh air function of the air conditioner is turned on.

[0012] In one embodiment of this disclosure, the determination module is further configured to: generate a third lookup table based on historical data of the user's fresh air switch status and running time percentage during the multiple time periods; if it cannot be determined whether the fresh air function of the air conditioner is turned on in the second lookup table, query the third lookup table based on the user's current time period to determine whether the fresh air function of the air conditioner is turned on.

[0013] In one embodiment of this disclosure, the determination module is further configured to: if it cannot be determined whether the fresh air function of the air conditioner is turned on in the first to the third lookup tables, then turn off the fresh air function.

[0014] In one embodiment of this disclosure, the judgment module is further configured to: if the current PM2.5 value is greater than or equal to the preset threshold, further determine whether an instruction to turn on the fresh air function of the air conditioner has been received; if an instruction to turn on the fresh air function of the air conditioner has been received, then turn on the fresh air function; or, if no instruction to turn on the fresh air function of the air conditioner has been received, then turn off the fresh air function.

[0015] According to a third aspect of the present disclosure, an electronic device is provided, including a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the method described in the first aspect of the present disclosure.

[0016] According to a fourth aspect of the present disclosure, an air conditioner is provided, including a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the method described in the first aspect of the present disclosure.

[0017] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the method described in the first aspect of the present disclosure.

[0018] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program, characterized in that, when executed by a processor of an electronic device, the computer program implements the steps of the method as described in the first aspect of the present disclosure.

[0019] The technical solution provided by the embodiments of this disclosure offers at least the following beneficial effects: It acquires the current PM2.5 value; if the current PM2.5 value is less than a preset threshold, it further acquires the user's current time period and / or indoor carbon dioxide concentration, and determines whether to activate the air conditioner's fresh air function based on the user's current time period and / or indoor carbon dioxide concentration. Therefore, this solution can determine whether to activate the air conditioner's fresh air function when the current PM2.5 value is low, i.e., when the outdoor air quality is good, by comprehensively considering the user's current time period and / or indoor carbon dioxide concentration. This improves the flexibility of activating the fresh air function, helps improve indoor air quality, and extends the service life of the fresh air filter.

[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0022] Figure 1 This is a flowchart illustrating a control method for an air conditioner according to an exemplary embodiment.

[0023] Figure 2 This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment.

[0024] Figure 3 This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment.

[0025] Figure 4 This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment.

[0026] Figure 5 This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment.

[0027] Figure 6 This is a block diagram illustrating a control device for an air conditioner according to an exemplary embodiment.

[0028] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0029] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0030] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0031] The acquisition, storage, use, and processing of data in this disclosed technical solution all comply with the relevant provisions of national laws and regulations.

[0032] Figure 1 This is a flowchart illustrating a control method for an air conditioner according to an exemplary embodiment, such as... Figure 1 As shown, the control method of the air conditioner in this embodiment includes the following steps.

[0033] S101, get the current PM2.5 value.

[0034] It should be noted that the execution subject of the air conditioner control method in this embodiment is an electronic device or an air conditioner. Electronic devices include mobile phones, laptops, desktop computers, vehicle terminals, smart home appliances, etc. The air conditioner control method in this embodiment can be executed by the air conditioner control device, which can be configured in any electronic device or any air conditioner to execute the air conditioner control method.

[0035] It should be noted that the current PM2.5 value refers to the current outdoor PM2.5 value.

[0036] In one implementation, taking an air conditioner as an example, the air conditioner is equipped with a communication module to obtain the current PM2.5 value, including querying the current PM2.5 value through the communication module. It should be noted that the communication module is not overly limited; for example, it may include a wireless communication module (such as Bluetooth).

[0037] S102, if the current PM2.5 value is less than the preset threshold, then further obtain the user's current time period and / or indoor carbon dioxide concentration, and determine whether to turn on the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration.

[0038] It should be noted that the preset threshold is not subject to many restrictions; for example, it can be 100. .

[0039] Understandably, a 24-hour day can be divided into multiple time periods in advance, without much restriction on the method of division. For example, it can be divided into 0:00 to 3:00, 3:00 to 7:00, 7:00 to 10:00, 10:00 to 14:00, 14:00 to 16:00, 16:00 to 21:00, and 21:00 to 24:00, for a total of 7 time periods.

[0040] In one implementation, taking an air conditioner as the executing entity, the air conditioner is equipped with a clock module to obtain the user's current time period, including obtaining the current time through the clock module and determining the time period of the current time as the user's current time period.

[0041] In one implementation, taking an air conditioner as an example, the indoor unit of the air conditioner is equipped with a carbon dioxide sensor to detect the indoor carbon dioxide concentration and obtain the indoor carbon dioxide concentration, including obtaining the indoor carbon dioxide concentration through the carbon dioxide sensor.

[0042] In one implementation, determining whether to turn on the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration includes determining whether the user's current time period is a target time period and / or whether the indoor carbon dioxide concentration is greater than or equal to a first threshold. If the user's current time period is a target time period and / or the indoor carbon dioxide concentration is greater than or equal to the first threshold, then it is determined that the fresh air function of the air conditioner will be turned on.

[0043] Conversely, if the user's current time period is not the target time period, and / or the indoor carbon dioxide concentration is less than the first threshold, then the fresh air function of the air conditioner will be turned off.

[0044] It should be noted that there are no strict restrictions on the target time period. For example, it can include the user's off-get off work time, such as 4 PM to 9 PM.

[0045] It should be noted that the first threshold is not subject to many restrictions; for example, it can be 1200. .

[0046] For example, if the target time period is from 4 PM to 9 PM, the first threshold is 1200. If the user is currently in a time period from 4 PM to 9 PM, and the indoor carbon dioxide concentration is 900... If the user's current time period is the target time period, then the fresh air function of the air conditioner can be activated. Therefore, this method can activate the fresh air function of the air conditioner when the user's current time period is the target time period. This is particularly suitable for scenarios where the indoor carbon dioxide concentration is low when the user returns home from get off work. Compared to related technologies that only activate the fresh air function when the indoor carbon dioxide concentration is high, this solution can activate the fresh air function even when the indoor carbon dioxide concentration is low, making it more flexible.

[0047] For example, if the target time period is from 4 PM to 9 PM, the first threshold is 1200. If the user is currently in a time period from 9 PM to midnight, and the indoor carbon dioxide concentration is 1300... If the indoor carbon dioxide concentration is greater than a first threshold, the fresh air function of the air conditioner can be activated. Therefore, this method allows the air conditioner's fresh air function to be activated when the indoor carbon dioxide concentration is high.

[0048] For example, if the target time period is from 4 PM to 9 PM, the first threshold is 1200. If the user is currently in a time period from 9 PM to midnight, and the indoor carbon dioxide concentration is 900... If the target time period is currently in the user's current time period and the indoor carbon dioxide concentration is less than the first threshold, then the fresh air function of the air conditioner will be turned off.

[0049] The air conditioner control method provided in this disclosure acquires the current PM2.5 value. If the current PM2.5 value is less than a preset threshold, it further acquires the user's current time period and / or indoor carbon dioxide concentration, and determines whether to activate the air conditioner's fresh air function based on the user's current time period and / or indoor carbon dioxide concentration. Therefore, this solution can determine whether to activate the air conditioner's fresh air function when the current PM2.5 value is low, i.e., when the outdoor air quality is good, by comprehensively considering the user's current time period and / or indoor carbon dioxide concentration. This improves the flexibility of activating the fresh air function, helps improve indoor air quality, and extends the service life of the fresh air filter.

[0050] Figure 2 This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment, such as... Figure 2 As shown, the control method of the air conditioner in this embodiment includes the following steps.

[0051] S201, Get the current PM2.5 value.

[0052] S202, if the current PM2.5 value is less than the preset threshold, then further obtain the user's current time period and / or indoor carbon dioxide concentration.

[0053] For details regarding steps S201-S202, please refer to the above embodiments, which will not be repeated here.

[0054] S203 generates a first comparison table based on historical data of the user's fresh air switch status and operating time percentage in multiple time periods and multiple carbon dioxide ranges.

[0055] Understandably, the range of carbon dioxide concentration can be pre-divided into multiple carbon dioxide intervals, without much restriction on the method of division. For example, it can be divided into intervals above 1800... 1500 By 1800 1200 Up to 1500 900 Up to 1200 500 Up to 900 Below 500 .

[0056] It is understandable that the fresh air switch status can include both "on" and "off" states. The percentage of runtime can include the percentage of runtime when the fresh air switch is "on" or "off" across multiple time periods and carbon dioxide levels. Specifically, the percentage of runtime when the fresh air switch is "on" refers to the proportion of the total runtime when the fresh air switch is "on" across multiple time periods and carbon dioxide levels to the total operating time of the air conditioner. The percentage of runtime when the fresh air switch is "off" refers to the proportion of the total runtime when the fresh air switch is "off" across multiple time periods and carbon dioxide levels to the total operating time of the air conditioner.

[0057] In one implementation, the first lookup table includes the correspondence between multiple time periods and multiple carbon dioxide intervals and the user's fresh air preference. The first lookup table is generated based on historical data of the user's fresh air switch status and the percentage of time spent in each of the multiple time periods and multiple carbon dioxide intervals. If the percentage of time spent in each of the time periods and carbon dioxide intervals with the fresh air switch on is greater than or equal to the percentage of time spent in each of the time periods with the fresh air switch on is off, then the user's fresh air preference for the corresponding time period and carbon dioxide interval is "on". Conversely, if the percentage of time spent in each of the time periods and carbon dioxide intervals with the fresh air switch on is less than the percentage of time spent in each of the time periods with the fresh air switch on is off, then the user's fresh air preference for the corresponding time period and carbon dioxide interval is "off".

[0058] In some cases, the first lookup table is shown in Table 1.

[0059] Table 1 First Comparison Table

[0060] For example, continuing with Table 1, we can observe that users' carbon dioxide levels were above 1800 between 0:00 and 3:00. The percentage of time the fresh air system was in "on" or "off" state indicates that 80% of the time was spent in "on" mode and 20% in "off" mode. Therefore, the carbon dioxide level was above 1800 during the period from 0:00 to 3:00. The corresponding user's preference for fresh air is "on".

[0061] For example, continuing with Table 1, we can calculate the carbon dioxide level for users between 0:00 and 3:00 by analyzing the data. Up to 1500 The percentage of time the fresh air system was in "on" or "off" state indicates that 5% of the time was spent in "on" mode and 95% was spent in "off" mode. Therefore, the carbon dioxide level was between 1200 and 3 AM. Up to 1500 The corresponding user's preference for fresh air is "off".

[0062] In one implementation, the runtime of the fresh air system with the air conditioner switch "on" can be weighted and summed to obtain the total runtime of the fresh air system with the air conditioner switch "on". It should be noted that the weights are related to the dates corresponding to the historical timestamps; the closer the historical time is to the current time, the higher the weight; conversely, the further away the historical time is from the current time, the lower the weight. For example, if the current date is August 8th, then the runtime of the fresh air system with the air conditioner switch "on" on August 7th has a weight of 5, the runtime of the fresh air system with the air conditioner switch "on" on August 6th has a weight of 3, the runtime of the fresh air system with the air conditioner switch "on" on August 5th has a weight of 1, the runtime of the fresh air system with the air conditioner switch "on" on August 4th has a weight of 1, and the runtime of the fresh air system with the air conditioner switch "on" on August 3rd has a weight of 0.5.

[0063] It is understandable that the method for obtaining the total runtime when the fresh air switch is in the "off" state can refer to the method for obtaining the total runtime when the fresh air switch is in the "on" state in the above embodiment, and will not be repeated here.

[0064] S204. Based on the user's current time period and indoor carbon dioxide concentration, consult the first reference table to determine whether to turn on the air conditioner's fresh air function.

[0065] Understandably, if the user's fresh air preference is "off", then the fresh air function of the air conditioner will be turned off; if the user's fresh air preference is "on", then the fresh air function of the air conditioner will be turned on.

[0066] For example, continuing with Table 1, if the user's current time period is from 0:00 to 3:00, and the indoor carbon dioxide concentration is 1300... Then, based on the user's current time period and indoor carbon dioxide concentration, Table 1 can be consulted. At this time, the indoor carbon dioxide concentration falls within the range of 1200. Up to 1500 It can be seen that the carbon dioxide level is between 1200 and 3:00. Up to 1500 If the user's fresh air preference is "off", then the fresh air function of the air conditioner can be turned off.

[0067] For example, continuing with Table 1, if the user's current time period is from 3 AM to 7 AM, and the indoor carbon dioxide concentration is 1000... Then, based on the user's current time period and indoor carbon dioxide concentration, Table 1 can be consulted. At this time, the indoor carbon dioxide concentration falls within the range of 900. Up to 1200 It can be seen that the carbon dioxide level is between 3 AM and 7 AM, and the range is 900. Up to 1200 If the user's fresh air preference is "on", then the fresh air function of the air conditioner can be turned on.

[0068] The air conditioner control method provided in the embodiments of this disclosure can generate a first lookup table based on historical data of the user's fresh air switch status and running time percentage in multiple time periods and multiple carbon dioxide ranges, and query the first lookup table according to the user's current time period and indoor carbon dioxide concentration to determine whether to turn on the fresh air function of the air conditioner.

[0069] Figure 3 This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment, such as... Figure 3 As shown, the control method of the air conditioner in this embodiment includes the following steps.

[0070] S301, get the current PM2.5 value.

[0071] S302, if the current PM2.5 value is less than the preset threshold, then further obtain the user's current time period and / or indoor carbon dioxide concentration.

[0072] S303 generates a first comparison table based on historical data of the user's fresh air switch status and operating time percentage in multiple time periods and multiple carbon dioxide ranges.

[0073] S304. Based on the user's current time period and indoor carbon dioxide concentration, consult the first reference table to determine whether to turn on the air conditioner's fresh air function.

[0074] For details regarding steps S301-S304, please refer to the above embodiments, which will not be repeated here.

[0075] S305 generates a second comparison table based on historical data of the user's fresh air switch status and operating time percentage in multiple carbon dioxide ranges.

[0076] It should be noted that the relevant information regarding the carbon dioxide range and the status of the fresh air switch can be found in the above embodiments, and will not be repeated here.

[0077] Understandably, the percentage of runtime can include the percentage of runtime when the user's fresh air switch is "on" or "off" across multiple carbon dioxide levels. Specifically, the percentage of runtime when the fresh air switch is "on" refers to the proportion of the total runtime when the user's fresh air switch is "on" across multiple carbon dioxide levels to the total operating time of the air conditioner. The percentage of runtime when the fresh air switch is "off" refers to the proportion of the total runtime when the user's fresh air switch is "off" across multiple carbon dioxide levels to the total operating time of the air conditioner.

[0078] In one implementation, the second lookup table includes a correspondence between multiple carbon dioxide ranges and user fresh air preferences. The second lookup table is generated based on historical data of the user's fresh air switch status and the percentage of time spent in each of the multiple carbon dioxide ranges. If the percentage of time spent in a carbon dioxide range with the fresh air switch on is greater than or equal to the percentage of time spent with the fresh air switch off is off, then the user's fresh air preference for the corresponding carbon dioxide range is "on". Conversely, if the percentage of time spent in a carbon dioxide range with the fresh air switch on is less than the percentage of time spent with the fresh air switch off is off, then the user's fresh air preference for the corresponding carbon dioxide range is "off".

[0079] In some cases, a second lookup table is shown in Table 2.

[0080] Table 2 Second Comparison Table

[0081] For example, continuing with Table 2, we can statistically analyze users whose carbon dioxide levels are above 1800. The percentage of runtime when the fresh air switch was "on" or "off" indicates that 80% of the runtime was with the switch "on" and 20% was with the switch "off." This suggests that the carbon dioxide level was above 1800. The corresponding user's preference for fresh air is "on".

[0082] For example, continuing with Table 2, we can statistically analyze the user's carbon dioxide level in the range of 1200. Up to 1500 The percentage of runtime when the fresh air switch is in "on" or "off" indicates that the runtime when the fresh air switch is in "on" is 5%, and the runtime when the fresh air switch is in "off" is 95%. Therefore, the carbon dioxide level is in the range of 1200. Up to 1500 The corresponding user's preference for fresh air is "off".

[0083] S306 If it cannot be determined whether to turn on the fresh air function of the air conditioner in the first lookup table, consult the second lookup table according to the indoor carbon dioxide concentration to determine whether to turn on the fresh air function of the air conditioner.

[0084] For example, continuing with Tables 1 and 2, if the user's current time period is from 9 PM to midnight, and the indoor carbon dioxide concentration is 1600... Then, based on the user's current time period and indoor carbon dioxide concentration, Table 1 can be consulted. At this time, the indoor carbon dioxide concentration falls within the range of 1500. By 1800 If the time period from 9 PM to midnight cannot be determined in Table 1, the carbon dioxide range is 1200. Up to 1500 For users whose fresh air preferences are not specified in Table 1 (i.e., whether to turn on the air conditioner's fresh air function), they can refer to Table 2 based on the indoor carbon dioxide concentration, which shows a carbon dioxide range of 1200. Up to 1500 If the user's fresh air preference is "off", then the fresh air function of the air conditioner can be turned off.

[0085] The air conditioner control method provided in the embodiments of this disclosure can generate a second lookup table based on historical data of the user's fresh air switch status and running time percentage in multiple carbon dioxide ranges. If it cannot be determined whether to turn on the fresh air function of the air conditioner in the first lookup table, the second lookup table can be consulted based on the indoor carbon dioxide concentration to determine whether to turn on the fresh air function of the air conditioner. That is, the query order is "first lookup table - second lookup table".

[0086] Figure 4This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment, such as... Figure 4 As shown, the control method of the air conditioner in this embodiment includes the following steps.

[0087] S401, retrieve the current PM2.5 value.

[0088] S402, if the current PM2.5 value is less than the preset threshold, then further obtain the user's current time period and / or indoor carbon dioxide concentration.

[0089] S403 generates a first comparison table based on historical data of the user's fresh air switch status and operating time percentage in multiple time periods and multiple carbon dioxide ranges.

[0090] S404: Based on the user's current time period and indoor carbon dioxide concentration, consult the first reference table to determine whether to turn on the air conditioner's fresh air function.

[0091] S405 generates a second comparison table based on historical data of the user's fresh air switch status and operating time percentage in multiple carbon dioxide ranges.

[0092] S406 If it cannot be determined whether to turn on the fresh air function of the air conditioner in the first lookup table, consult the second lookup table according to the indoor carbon dioxide concentration to determine whether to turn on the fresh air function of the air conditioner.

[0093] For details regarding steps S401-S406, please refer to the above embodiments; they will not be repeated here.

[0094] S407 generates a third reference table based on historical data of the user's fresh air switch status and running time percentage over multiple time periods.

[0095] It should be noted that the relevant information regarding time periods and the status of the fresh air switch can be found in the above embodiments, and will not be repeated here.

[0096] Understandably, the percentage of runtime can include the percentage of runtime when the fresh air switch is "on" or "off" across multiple time periods. Specifically, the percentage of runtime when the fresh air switch is "on" refers to the proportion of the total runtime when the fresh air switch is "on" across multiple time periods to the total operating time of the air conditioner. The percentage of runtime when the fresh air switch is "off" refers to the proportion of the total runtime when the fresh air switch is "off" across multiple time periods to the total operating time of the air conditioner.

[0097] In one implementation, the third lookup table includes the correspondence between multiple time periods and users' fresh air preferences. The third lookup table is generated based on historical data of the user's fresh air switch status and the percentage of time spent in each of the multiple time periods. If the percentage of time spent in which the user's fresh air switch is "on" is greater than or equal to the percentage of time spent in which the user's fresh air switch is "off" during a time period, then the user's fresh air preference for that time period is "on". Conversely, if the percentage of time spent in which the user's fresh air switch is "on" is less than the percentage of time spent in which the user's fresh air switch is "off" during a time period, then the user's fresh air preference for that time period is "off".

[0098] In some cases, the third lookup table is shown in Table 3.

[0099] Table 3 Third Comparison Table

[0100] For example, continuing with Table 3, by statistically analyzing the percentage of time users spent with the fresh air switch on or off during the time period from 0:00 to 3:00, we can see that the percentage of time spent with the fresh air switch on is 80% and the percentage of time spent with the fresh air switch off is 20%. Therefore, we can conclude that the user's preference for the fresh air system during the time period from 0:00 to 3:00 is "on".

[0101] For example, continuing with Table 3, by statistically analyzing the percentage of time users spent with the fresh air switch on or off between 3 AM and 7 AM, we can see that the percentage of time spent with the fresh air switch on is 30% and the percentage of time spent with the fresh air switch off is 70%. Therefore, we can conclude that the user's preference for the fresh air system between 3 AM and 7 AM is "off".

[0102] S408 If it cannot be determined whether the fresh air function of the air conditioner is turned on in the second lookup table, the third lookup table is consulted according to the user's current time period to determine whether the fresh air function of the air conditioner is turned on.

[0103] For example, continuing with Tables 1 to 3, if the user's current time period is from 9 PM to midnight, and the indoor carbon dioxide concentration is 800... Then, based on the user's current time period and indoor carbon dioxide concentration, Table 1 can be consulted. At this time, the indoor carbon dioxide concentration falls within the range of 500. Up to 900 If the time period from 9 PM to midnight cannot be determined in Table 1, the carbon dioxide range is 500. Up to 900μ For users whose fresh air preferences cannot be determined in Table 1 (i.e., whether to turn on the air conditioner's fresh air function), please refer to Table 2 based on the indoor carbon dioxide concentration. If the carbon dioxide concentration cannot be determined in Table 2, the range is 500. Up to 900 For users whose fresh air preferences cannot be determined in Table 2, Table 3 can be consulted based on the user's current time period. It can be found that the user's fresh air preference for the time period from 9 PM to midnight is "on", so it can be determined that the fresh air function of the air conditioner is on.

[0104] The air conditioner control method provided in the embodiments of this disclosure can generate a third lookup table based on historical data of the user's fresh air switch status and running time percentage in multiple time periods. If it cannot be determined whether the fresh air function of the air conditioner is turned on in the first and second lookup tables, the third lookup table can be queried according to the user's current time period to determine whether the fresh air function of the air conditioner is turned on. That is, the query order is "first lookup table - second lookup table - third lookup table".

[0105] It should be noted that the first, second, and third lookup tables can be generated in advance or in real time. No further restrictions are imposed here. Step S203 can be executed before steps S201-S202, steps S303 and S305 can be executed before steps S301-S302, and steps S403, S405, and S407 can be executed before steps S401-S402.

[0106] Based on any of the above embodiments, the method further includes turning off the fresh air function if it cannot be determined whether the fresh air function of the air conditioner is turned on in the first to the third lookup tables.

[0107] It should be noted that Tables 1 to 3 are only examples of the first to third comparison tables, and there may be other implementations of the first to third comparison tables.

[0108] In one implementation, the first lookup table includes the correspondence between multiple time periods and carbon dioxide ranges within N1 days and the user's fresh air preferences; the second lookup table includes the correspondence between multiple time periods and carbon dioxide ranges within N2 days and the user's fresh air preferences; and the third lookup table includes the correspondence between multiple time periods and carbon dioxide ranges within N3 days and the user's fresh air preferences, where N1≤N2≤N3, for example, N1=3, N2=5, N3=10. Thus, the first lookup table reflects the user's latest fresh air preferences. Users can first check the first lookup table based on their current time period and indoor carbon dioxide concentration to determine whether to turn on the air conditioner's fresh air function according to their latest preferences. If the first lookup table fails to determine whether to turn on the air conditioner's fresh air function, the second lookup table can be checked. If the second lookup table also fails to determine whether to turn on the air conditioner's fresh air function, the third lookup table can be checked. The query order is "first lookup table – second lookup table – third lookup table".

[0109] Figure 5 This is a flowchart illustrating a control method for an air conditioner according to another exemplary embodiment, such as... Figure 5 As shown, the control method of the air conditioner in this embodiment includes the following steps.

[0110] S501, retrieve the current PM2.5 value.

[0111] For details regarding step S501, please refer to the above embodiments, which will not be repeated here.

[0112] S502, if the current PM2.5 value is greater than or equal to the preset threshold, then further determine whether a command to turn on the fresh air function of the air conditioner has been received.

[0113] S503: If a command to turn on the fresh air function of the air conditioner is received, then the fresh air function is turned on.

[0114] S504: If no instruction to turn on the fresh air function of the air conditioner is received, then the fresh air function is turned off.

[0115] Understandably, users can issue commands to activate the fresh air function of the air conditioner via remote control, touch buttons on the air conditioner unit, or the air conditioner app on the terminal.

[0116] In one implementation, before determining whether a command to turn on the air conditioner's fresh air function has been received, the system further includes controlling the display to ask the user whether to turn on the fresh air function. For example, the information "whether to turn on the fresh air function" can be displayed on the remote control, the display screen on the air conditioner unit, or the air conditioner app on the terminal.

[0117] In one implementation, if a command to activate the air conditioner's fresh air function is received, the system also includes a control display to remind the user of a high PM2.5 level, indicating poor air quality. If a cancellation command is received, the fresh air function is deactivated; otherwise, if no cancellation command is received, the fresh air function is activated. It is understood that the user may cancel the activation command after seeing the above information.

[0118] The air conditioner control method provided in this disclosure obtains the current PM2.5 value. If the current PM2.5 value is greater than or equal to a preset threshold, it further determines whether a command to activate the air conditioner's fresh air function has been received, and determines whether to activate the fresh air function based on whether the command has been received. Therefore, this solution can determine whether to activate the air conditioner's fresh air function based on the user's command when the current PM2.5 value is high, i.e., when the outdoor air quality is poor, thus improving the flexibility of activating the fresh air function.

[0119] Figure 6 This is a block diagram illustrating a control device for an air conditioner according to an exemplary embodiment. (Refer to...) Figure 6 The control device 100 for an air conditioner according to this embodiment includes: an acquisition module 110 and a judgment module 120.

[0120] The acquisition module 110 is configured to acquire the current PM2.5 value; The judgment module 120 is configured to activate the fresh air function of the air conditioner if the current PM2.5 value is greater than or equal to a preset threshold. The judgment module 120 is further configured to, if the current PM2.5 value is less than a preset threshold, further obtain the user's current time period and / or indoor carbon dioxide concentration, and determine whether to turn on the fresh air function of the air conditioner based on the user's current time period and / or indoor carbon dioxide concentration.

[0121] In one embodiment of this disclosure, the judgment module 120 is further configured to perform: generating a first lookup table based on historical data of the user's fresh air switch status and running time percentage in multiple time periods and multiple carbon dioxide ranges; querying the first lookup table based on the user's current time period and the indoor carbon dioxide concentration to determine whether to turn on the fresh air function of the air conditioner.

[0122] In one embodiment of this disclosure, the determination module 120 is further configured to: generate a second lookup table based on historical data of the user's fresh air switch status and running time percentage in the multiple carbon dioxide ranges; if it cannot be determined whether the fresh air function of the air conditioner is turned on in the first lookup table, query the second lookup table based on the indoor carbon dioxide concentration to determine whether the fresh air function of the air conditioner is turned on.

[0123] In one embodiment of this disclosure, the judgment module 120 is further configured to: generate a third lookup table based on historical data of the user's fresh air switch status and running time percentage during the multiple time periods; if it cannot be determined whether the fresh air function of the air conditioner is turned on in the second lookup table, query the third lookup table based on the user's current time period to determine whether the fresh air function of the air conditioner is turned on.

[0124] In one embodiment of this disclosure, the determination module 120 is further configured to perform the following: if it cannot be determined whether the fresh air function of the air conditioner is turned on in the first lookup table to the third lookup table, then the fresh air function is turned off.

[0125] In one embodiment of this disclosure, the judgment module 120 is further configured to: if the current PM2.5 value is greater than or equal to the preset threshold, further determine whether an instruction to turn on the fresh air function of the air conditioner has been received; if an instruction to turn on the fresh air function of the air conditioner has been received, then turn on the fresh air function; or, if no instruction to turn on the fresh air function of the air conditioner has been received, then turn off the fresh air function.

[0126] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0127] The air conditioner control device provided in the embodiments of this disclosure acquires the current PM2.5 value. If the current PM2.5 value is less than a preset threshold, it further acquires the user's current time period and / or indoor carbon dioxide concentration, and determines whether to activate the air conditioner's fresh air function based on the user's current time period and / or indoor carbon dioxide concentration. Therefore, this solution can determine whether to activate the air conditioner's fresh air function when the current PM2.5 value is low, i.e., when the outdoor air quality is good, by comprehensively considering the user's current time period and / or indoor carbon dioxide concentration. This improves the flexibility of activating the fresh air function, helps improve indoor air quality, and extends the service life of the fresh air filter.

[0128] Figure 7 This is a block diagram illustrating an electronic device 200 according to an exemplary embodiment.

[0129] like Figure 7 As shown, the above-mentioned electronic device 200 includes: The memory 210 and processor 220 are connected by a bus 230, which connects different components (including the memory 210 and the processor 220). The memory 210 stores a computer program, and when the processor 220 executes the program, it implements the air conditioner control method of the present disclosure embodiment.

[0130] Bus 230 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0131] Electronic device 200 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by electronic device 200, including volatile and non-volatile media, removable and non-removable media.

[0132] Memory 210 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 240 and / or cache memory 250. Electronic device 200 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 260 may be used to read and write non-removable, non-volatile magnetic media (… Figure 7 Not shown; usually referred to as a "hard drive"). Although Figure 7As not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 230 via one or more data media interfaces. Memory 210 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this disclosure.

[0133] A program / utility 280 having a set (at least one) of program modules 270 may be stored in, for example, memory 210. Such program modules 270 include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 270 typically perform the functions and / or methods described in the embodiments of this disclosure.

[0134] Electronic device 200 can also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), and with one or more devices that enable a user to interact with the electronic device 200, and / or with any device that enables the electronic device 200 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 292. Furthermore, electronic device 200 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 293. Figure 7 As shown, network adapter 293 communicates with other modules of electronic device 200 via bus 230. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0135] The processor 220 performs various functional applications and data processing by running programs stored in the memory 210.

[0136] It should be noted that the implementation process and technical principles of the electronic device in this embodiment are explained in the foregoing description of the control method of the air conditioner in this disclosure embodiment, and will not be repeated here.

[0137] The electronic device provided in this embodiment can execute the air conditioner control method described above, obtain the current PM2.5 value, and if the current PM2.5 value is less than a preset threshold, further obtain the user's current time period and / or indoor carbon dioxide concentration, and determine whether to turn on the air conditioner's fresh air function based on the user's current time period and / or indoor carbon dioxide concentration. Therefore, this solution can determine whether to turn on the air conditioner's fresh air function when the current PM2.5 value is low, i.e., when the outdoor air quality is good, by comprehensively considering the user's current time period and / or indoor carbon dioxide concentration. This improves the flexibility of the fresh air function, helps improve indoor air quality, and extends the service life of the fresh air filter.

[0138] To implement the above embodiments, this disclosure also proposes an air conditioner, including a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the control method for the air conditioner provided in this disclosure.

[0139] To implement the above embodiments, this disclosure also proposes a computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the steps of the air conditioner control method provided in this disclosure.

[0140] Alternatively, the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0141] To implement the above embodiments, this disclosure also provides a computer program product, including a computer program, characterized in that, when the computer program is executed by the processor of an electronic device, it implements the control method of the air conditioner as described above.

[0142] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0143] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A control method for an air conditioner, characterized in that, include: Acquire historical data on the status of the fresh air switch and the percentage of its operating time for users in different time periods and different carbon dioxide concentration ranges, wherein the time periods correspond to multiple carbon dioxide concentration ranges; Based on the historical data, user fresh air preferences corresponding to each carbon dioxide concentration range in different time periods are determined. The user fresh air preferences are determined based on the percentage of runtime of each fresh air switch state in the historical data. Obtain the current PM2.5 value; if the current PM2.5 value is less than a preset threshold, obtain the current time period and the current indoor carbon dioxide concentration. Based on the current time period and the current indoor carbon dioxide concentration, and the first correspondence between the carbon dioxide concentration ranges in different time periods and the user's fresh air preference, it is determined whether to turn on the fresh air function of the air conditioner.

2. The method as described in claim 1, characterized in that, The method further includes: If the percentage of time the fresh air switch is in the "on" state is greater than or equal to the percentage of time the fresh air switch is in the "off" state, then the user's fresh air preference is "on". If the percentage of time the fresh air switch is in the "on" state is less than the percentage of time the fresh air switch is in the "off" state, then the user's fresh air preference is "off".

3. The method as described in claim 2, characterized in that, Also includes: If the result determined based on the first correspondence is that the fresh air function is not turned on, then based on the historical data of the user's fresh air switch status and running time percentage in different carbon dioxide ranges, a second correspondence between each carbon dioxide range and the user's fresh air preference is determined. If it cannot be determined whether to turn on the fresh air function of the air conditioner based on the first correspondence, it is determined whether to turn on the fresh air function of the air conditioner based on the indoor carbon dioxide concentration and the second correspondence.

4. The method as described in claim 3, characterized in that, Also includes: If the result determined based on the second correspondence is that the fresh air function is not turned on, then a third correspondence between the different time periods and the user's fresh air preference is determined based on the historical data of the user's fresh air switch status and running time percentage in different time periods. If it cannot be determined whether to turn on the fresh air function of the air conditioner based on the second correspondence, it is determined whether to turn on the fresh air function of the air conditioner based on the user's current time period and the third correspondence.

5. The method as described in claim 4, characterized in that, Also includes: If it cannot be determined whether to turn on the fresh air function of the air conditioner in any of the first to the third correspondence relationships, then the fresh air function is turned off.

6. The method according to any one of claims 1-5, characterized in that, Also includes: Get the current PM2.5 value; If the current PM2.5 value is greater than or equal to a preset threshold, then determine whether a command to turn on the fresh air function of the air conditioner has been received; If a command to activate the fresh air function of the air conditioner is received, then the fresh air function is activated. or, If no instruction to turn on the fresh air function of the air conditioner is received, then the fresh air function is turned off.

7. A control device for an air conditioner, characterized in that, include: The acquisition module is configured to acquire historical data on the user's fresh air switch status and the percentage of time spent in different time periods and different carbon dioxide concentration ranges, wherein the time periods correspond to multiple carbon dioxide concentration ranges; based on the historical data, determine the user's fresh air preference corresponding to each carbon dioxide concentration range in different time periods, wherein the user's fresh air preference is determined based on the percentage of time spent in different fresh air switch statuses in the historical data; acquire the current PM2.5 value, and if the current PM2.5 value is less than a preset threshold, acquire the current time period and the current indoor carbon dioxide concentration; The judgment module is configured to determine whether to turn on the fresh air function of the air conditioner based on the current time period and the current indoor carbon dioxide concentration, and the first correspondence between the carbon dioxide concentration range in different time periods and the user's fresh air preference.

8. The apparatus as claimed in claim 7, characterized in that, The judgment module is also configured to execute: If the percentage of time the fresh air switch is in the "on" state is greater than or equal to the percentage of time the fresh air switch is in the "off" state, then the user's fresh air preference is "on"; otherwise, the user's fresh air preference is "off".

9. The apparatus as claimed in claim 8, characterized in that, The judgment module is also configured to execute: If the result determined based on the first correspondence is that the fresh air function is not turned on, then based on the historical data of the user's fresh air switch status and running time percentage in different carbon dioxide ranges, a second correspondence between each carbon dioxide range and the user's fresh air preference is determined. If it cannot be determined whether to turn on the fresh air function of the air conditioner based on the first correspondence, it is determined whether to turn on the fresh air function of the air conditioner based on the indoor carbon dioxide concentration and the second correspondence.

10. The apparatus as claimed in claim 9, characterized in that, The judgment module is also configured to execute: If the result determined based on the second correspondence is that the fresh air function is not turned on, then a third correspondence between the different time periods and the user's fresh air preference is determined based on the historical data of the user's fresh air switch status and running time percentage in different time periods. If it cannot be determined whether to turn on the fresh air function of the air conditioner based on the second correspondence, it is determined whether to turn on the fresh air function of the air conditioner based on the user's current time period and the third correspondence.

11. The apparatus as claimed in claim 10, characterized in that, The judgment module is also configured to execute: If it cannot be determined whether to turn on the fresh air function of the air conditioner in any of the first to the third correspondence relationships, then the fresh air function is turned off.

12. The apparatus according to any one of claims 7-11, characterized in that, The judgment module is also configured to execute: Get the current PM2.5 value; If the current PM2.5 value is greater than or equal to a preset threshold, then determine whether a command to turn on the fresh air function of the air conditioner has been received; If a command to activate the fresh air function of the air conditioner is received, then the fresh air function is activated. or, If no instruction to turn on the fresh air function of the air conditioner is received, then the fresh air function is turned off.

13. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured as follows: The steps of implementing the method according to any one of claims 1-6.

14. An air conditioner, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured as follows: The steps of implementing the method according to any one of claims 1-6.

15. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method described in any one of claims 1-6.

Citation Information

Patent Citations

  • Control method based on air conditioner, air conditioner, home system and storage medium

    CN107560087A

  • Air conditioner air cabinet control method and system and terminal equipment

    CN111059730A