Air conditioner preheating function control method and device, computer device, and storage medium

By analyzing air conditioner usage data and user habits, and combining random and regular indices to determine whether the air conditioner preheating function should be turned on or off, the problem of energy waste in the air conditioner preheating function has been solved, achieving energy saving and improved user experience.

CN116255723BActive Publication Date: 2025-11-04GUANGDONG CHIGO HEATING & VENTILATION EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310332248.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2025-11-04
Estimated Expiration
2043-03-30

AI Technical Summary

Technical Problem

The existing air conditioner preheating function is prone to energy waste in scenarios where users leave the air conditioner idle for a long time or use it for a short time, and it is impossible to effectively control the opening and closing of the preheating function according to the user's usage habits.

Method used

By acquiring users' air conditioning usage data within a predetermined period, dividing the data into different groups, calculating user usage habit output values, combining random index, regular index, and calendar system to determine attribute days, outputting control commands, detecting air conditioning temperature in real time to calculate preheating scores, and determining whether the preheating function is turned on or off based on control commands and current operating status.

Benefits of technology

It enables automatic adjustment of the air conditioner's preheating function based on user habits, improving user experience and saving energy. It ensures that the air conditioner preheats when needed and turns off when idle, reducing energy waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116255723B_ABST
    Figure CN116255723B_ABST
Patent Text Reader

Abstract

The embodiment of the application belongs to the field of air conditioner electric control, and relates to a control method of air conditioner preheating function, comprising: acquiring air conditioner use data of a user in a predetermined period, and dividing the air conditioner use data into different data groups according to weeks; acquiring a preset random index, a regular index and a data proportion value; calculating a user habit output value according to the data groups and the data proportion value; judging an attribute day according to the user habit output value and a calendar system, and outputting a corresponding control instruction according to the random index, the regular index and a judgment result of the attribute day; calculating a preheating score and acquiring a minimum preheating time; and judging and executing the opening and closing of the air conditioner preheating function according to the control instruction, the minimum preheating time and a current air conditioner running state. The application also provides a control device of air conditioner preheating function, a computer device and a storage medium. The application can effectively judge the air conditioner use habit of the user, and correspondingly adjust the opening and closing of the air conditioner preheating function to meet the energy saving demand.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of air conditioner control, and in particular to an air conditioner preheating function control method and device, a computer device and a storage medium. BACKGROUND

[0002] In a cold situation, the transmission oil in the air conditioner body condenses, and the viscosity of the oil and refrigerant mixture is too large, which makes the compressor start-up resistance large. At this time, it will affect the normal start of the unit, and even if the oil condenses and forms a block, it may also cause hard friction and damage the compressor. In order to deal with this situation, a compressor preheating function is generally used to heat the oil and help the unit start normally, protect the compressor from damage in winter, and prolong the service life.

[0003] The existing air conditioner preheating function logic is relatively simple, and generally uses three conditions of ambient temperature, discharge temperature and compressor stop running time to determine whether to start the compressor preheating function. In this determination method, the compressor will start the preheating function every day, and for a house that is idle for a long time or only has a fixed short period of time for people to live in each week, the compressor will also start the preheating function during the long period of time when no one lives. This will cause unnecessary waste of electric energy and is not conducive to energy saving.

[0004] Because different users have different habits of using air conditioners, and starting the preheating function is a prerequisite for fast heating of the air conditioner, a control method is needed that can start the preheating function in advance to ensure that the air conditioner can quickly heat when in use, and can turn off the preheating function when the user does not need to use the air conditioner, thereby saving electric energy. SUMMARY

[0005] The purpose of the embodiments of the present application is to provide an air conditioner preheating function control method, device, computer device and storage medium to solve the technical problem of wasting electric energy when the air conditioner is idle.

[0006] In order to solve the above technical problem, the embodiments of the present application provide an air conditioner preheating function control method, which adopts the following technical solution:

[0007] Obtain air conditioner usage data of a user in a predetermined period, and divide the air conditioner usage data into different data groups according to weeks;

[0008] Obtain a random index, a regular index and a data proportion value representing user usage habits;

[0009] Calculate a user habit output value representing user usage habits according to the data groups and the data proportion value;

[0010] According to the user habit output value and a preset calendar system, a property day to which the current day belongs is determined, and according to the random index, the regular index and the determination result of the property day, a corresponding control instruction is outputted;

[0011] Real-time detection of the current temperature of the air conditioner, calculation of a preheating score of the air conditioner according to the current temperature, and acquisition of a minimum preheating time of the air conditioner according to the preheating score; and

[0012] According to the control instruction, the minimum preheating time and the current air conditioner running state, the opening and closing of the air conditioner preheating function are determined and executed.

[0013] Further, the step of acquiring the air conditioner use data of the user in the predetermined period and dividing the air conditioner use data into different data groups according to weeks specifically includes:

[0014] The determination time zone is divided into each whole point period of each day in a week;

[0015] The air conditioner use data in the predetermined period is recorded and saved, and the air conditioner use data includes the opening and closing of the air conditioner in the determination time zone; and

[0016] The saved air conditioner use data in the predetermined period is divided into different data groups according to each week.

[0017] Further, the property day includes an idle day, a use day and a holiday; the step of determining the property day to which the current day belongs according to the user habit output value and the preset calendar system, and outputting a corresponding control instruction according to the determination result of the property day specifically includes:

[0018] The user habit output value is acquired, and the property day to which the current day belongs is determined according to the user habit output value and the preset calendar system;

[0019] If the property day is a use day, the air conditioner use data of the current day is calculated according to the data group and the data proportion value, and whether to start the preheating function of the air conditioner in advance is predicted according to the calculation result of the random index, the regular index and the air conditioner use data, and the prediction result is outputted as the control instruction;

[0020] If the property day is an idle day and is not a holiday, a control instruction of closing is outputted; and

[0021] If the property day is an idle day and is a holiday, the prediction result of the last use day closest to the current day is acquired as the control instruction output.

[0022] Further, the step of determining and executing the opening and closing of the air conditioner preheating function according to the control instruction, the minimum preheating time and the current air conditioner running state specifically includes the minimum preheating time:

[0023] acquiring a time period in which the preheating function needs to be turned on in advance according to the control instruction;

[0024] acquiring a running state of the air conditioner at the time period in which the preheating function needs to be turned on in advance;

[0025] if the air conditioner is turned on, turning off the preheating function; and

[0026] if the air conditioner is in a standby state, turning on the preheating function according to the minimum preheating time.

[0027] Further, after the step of judging and executing the turning on and turning off of the preheating function of the air conditioner according to the control instruction, the minimum preheating time and the running state of the air conditioner, the method further comprises:

[0028] recording actual use data of the user, and updating the use data of the air conditioner in the predetermined period with the actual use data;

[0029] updating the random index, the regular index and the data proportion value with the updated use data of the air conditioner.

[0030] Further, the step of updating the use data of the air conditioner in the predetermined period with the actual use data specifically comprises:

[0031] saving the actual use data as the use data of the air conditioner on the current day, and deleting the use data of the air conditioner farthest from the current day.

[0032] Further, the step of updating the random index, the regular index and the data proportion value with the updated use data of the air conditioner specifically comprises:

[0033] acquiring a proportion value of invalid judgment and total judgment in the updated use data of the air conditioner, and updating the random index by corresponding increasing or decreasing according to whether the proportion value meets a preset threshold, the total judgment being a case of judging that the preheating function of the air conditioner needs to be turned on according to the control instruction, and the invalid judgment being a case of judging that the preheating function of the air conditioner needs to be turned on according to the control instruction but the air conditioner is not turned on by the user;

[0034] acquiring the updated use data of the air conditioner and performing conditional judgment on the use data of all data groups corresponding to the current day, and updating the regular index by corresponding increasing or decreasing according to a result of the conditional judgment; and

[0035] acquiring the updated random index and the regular index and performing comparison judgment, if the random index is larger, calculating and updating the data proportion value according to a preset formula, and if the regular index is larger, updating the data proportion value to a preset value.

[0036] To solve the above technical problems, the embodiment of the present application further provides an air conditioner preheating function control device, comprising:

[0037] A data packet module is configured to obtain air conditioner use data of a user in a predetermined period and divide the air conditioner use data into different data groups according to weeks.

[0038] A data acquisition module is configured to obtain a random index, a regular index and a data proportion value representing a user use rule.

[0039] A data calculation module is configured to calculate a user habit output value representing a user use habit according to the data groups and the data proportion value.

[0040] An instruction output module is configured to determine an attribute day to which a current day belongs according to the user habit output value and a preset calendar system, and output a corresponding control instruction according to the random index, the regular index and a determination result of the attribute day.

[0041] A preheating calculation module is configured to detect a current temperature of the air conditioner in real time, calculate a preheating score of the air conditioner according to the current temperature, and obtain a minimum preheating time of the air conditioner according to the preheating score.

[0042] An execution module is configured to determine and execute the opening and closing of the air conditioner preheating function according to the control instruction, the minimum preheating time and a current air conditioner running state.

[0043] To solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the technical scheme as follows:

[0044] A computer device comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to realize the steps of the air conditioner preheating function control method.

[0045] To solve the above technical problems, the embodiment of the present application further provides a computer readable storage medium, which adopts the technical scheme as follows:

[0046] A computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the air conditioner preheating function control method.

[0047] Compared with the prior art, the embodiment of the present application has the following beneficial effects:

[0048] The air conditioner preheating function control method described in this application embodiment obtains user air conditioner usage data within a predetermined period and divides the air conditioner usage data into different data groups by week; obtains preset random index, regularity index, and data weight value representing user usage patterns; calculates user habit output value representing user usage habits based on the usage data and the data weight value; determines the attribute day of the current day based on the user habit output value and a preset calendar system, and outputs corresponding control commands based on the random index, regularity index, and attribute day determination results; and determines and executes the opening and closing of the air conditioner preheating function based on the control commands and the current air conditioner operating status. This method can effectively determine the user's air conditioner usage habits based on different attribute days and user habit output values, and adjust the opening and closing of the air conditioner's preheating function accordingly for different attribute days. This method can continuously learn and correct the user's air conditioner usage habits in a timely manner, thereby achieving the effect of turning off the preheating function when the air conditioner is idle, and turning on the preheating function in advance when needed to ensure that the user can use it immediately, effectively improving the user's air conditioner usage experience. Furthermore, it can estimate the time period when the user does not need to use the air conditioner to automatically turn off the preheating function, effectively saving electricity consumption when the air conditioner is idle in winter. Attached Figure Description

[0049] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0050] Figure 1 A flowchart of an embodiment of the control method for the air conditioning preheating function according to this application;

[0051] Figure 2 yes Figure 1 A flowchart of a specific implementation method prior to step S10;

[0052] Figure 3 yes Figure 1 A flowchart of a specific implementation of step S10;

[0053] Figure 4 yes Figure 1 A flowchart of a specific implementation of step S40;

[0054] Figure 5 This is a table illustrating example user air conditioner usage data;

[0055] Figure 6 yes Figure 1 A flowchart of a specific implementation of step S50;

[0056] Figure 7 is Figure 1 is a flow chart of one specific embodiment after step S50 of the air conditioner preheating function control method according to the present application;

[0057] Figure 8 is a structural schematic diagram of one embodiment of the control device of the air conditioner preheating function according to the present application;

[0058] Figure 9 is a structural schematic diagram of one embodiment of the computer device according to the present application. DETAILED DESCRIPTION

[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description herein is for describing particular embodiments only and is not intended to be limiting of the application; the description and the drawings are to be regarded as illustrative in nature and are not intended to limit the application; the terminology used in the description of the application herein including the abstract is intended to be interpreted in only its colloquial sense and is not intended to be interpreted in a technical sense. The terms "comprising", "having", "including", and "containing" used herein are meant to be interpreted in an inclusive, non-exclusive sense.

[0060] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily all directed to the same embodiment, or to a single alternative embodiment. It is explicitly contemplated that embodiments described herein can be combined with each other.

[0061] In order to make the technical personnel in the art better understand the scheme of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings.

[0062] Reference Figure 1 is a flow chart of one embodiment of the air conditioner preheating function control method according to the present application. The air conditioner preheating function control method comprises the following steps:

[0063] S10, obtaining air conditioner use data of a user in a predetermined period, and dividing the air conditioner use data into different data groups according to weeks;

[0064] In the embodiment, the air conditioner usage data is obtained by recording whether the air conditioner is turned on at the whole hour period in a week. Specifically, the 24 hours in a week are divided into a judgment time zone. The x and y are used to represent the hour and day, for example, the hour from 0:00 to 1:00 on Monday is represented by x1y1, the hour from 1:00 to 2:00 on Monday is represented by x2y1, and so on. The hour from 12:00 to 13:00 on Sunday is represented by x13y7. If the air conditioner is turned on (the compressor is turned on for cooling, heating, dehumidifying, or other modes, even for only one second) in the time range represented by the variable, the variable is assigned a value of 1. For example, if the air conditioner is turned on for 5 minutes from 12:00 to 13:00 on Sunday, x13y7=1 is recorded; if the air conditioner is not turned on, x13y7=0 is recorded.

[0065] In the specific implementation, the predetermined period is generally an integer multiple of a week. In order to facilitate calculation and ensure the accuracy of the data, the embodiment uses three weeks as a period, and divides the data set into three groups A, B, and C. A represents the data of the previous week, B represents the data of the previous two weeks, and C represents the data of the previous three weeks. A, B, and C take the data of the same day of each week in the calculation. For example, A takes the data of Monday, B also takes the data of Monday, and C also takes the data of Monday. When the data is saved for a full predetermined period, the new data will overwrite the old data, thereby updating the data. However, for the updated usage data, the saved data will always meet the length of a predetermined period since the first time the predetermined period is full.

[0066] The embodiment can effectively record the user's use of the air conditioner to facilitate subsequent judgment and learning of the user's use of the air conditioner habit by recording and saving the air conditioner usage data.

[0067] S20, obtaining a preset random index, a regular index, and a data proportion value representing the user's usage habits;

[0068] In the embodiment, the preset random index, regular index, and proportion value are relative to the saved user usage data that is not full of the predetermined period. In the specific implementation, for example, Figure 2As shown, before step S10, there are the following steps: S104, saving the air conditioner use data of the user; S105, judging whether the air conditioner use data is stored for a predetermined period; S201, not stored for the predetermined period, using the initial random index, regular index and data proportion value; S202, stored for the predetermined period, calculating and updating the random index, regular index and data proportion value. The embodiment needs to judge whether the air conditioner use data of the user is saved for a predetermined period, and then starts to acquire the random index, regular index and data proportion value. The method starts to collect the air conditioner use data of the user when the air conditioner is powered on. Since the record of the air conditioner use data of the user is just started to be saved at this time, the predetermined period cannot be immediately stored, and therefore the initial random index, regular index and data proportion value need to be used. In order to facilitate the description of the formula, the random index and regular index are represented by P and Q respectively in the embodiment. When the total number of data collection is less than three weeks, the initial value is defined as P=Q=0. The data proportion value represents the proportion of each data group in the calculation, which is represented by n1, n2 and n3 in the embodiment, and n1, n2 and n3 correspond to A, B and C respectively. The relationship among the three values is n1+n2+n3=1. The values of P and Q also affect the values of n1, n2 and n3, but when the total number of data collection is less than three weeks, the values of n1, n2 and n3 are not affected by the values of P and Q. The preset values of n1, n2 and n3 are n1=0.34, n1=0.33 and n1=0.33 respectively.

[0069] The embodiment can facilitate subsequent calculation by presetting the random index, regular index and data proportion value.

[0070] S30, calculating the user habit output value representing the use habit of the user according to the data group and the data proportion value;

[0071] In the embodiment, the user habit output value is represented by X, which is obtained by the calculation formula X=n1*A+n2*B+n3*C. In the formula, X represents a day of the current week, A, B and C represent a day of the previous week, two weeks and three weeks respectively, and the data used in the operation of X, A, B and C are the same day of the week. Assuming that the calculated day is Monday, the data of the first week Monday is counted. If x1y1+Ax2y1+x3y1+…+x24y1≥1, (the data of x and y is from the A data group), then A=1, otherwise A=0. The values of B and C can be obtained in the same way.

[0072] The embodiment can judge the habit of the user using the air conditioner by calculating the user habit output value, so as to well master the rule of the user using the air conditioner.

[0073] S40, determining an attribute day of the current day according to the user habit output value and a preset calendar system, and outputting a corresponding control instruction according to the random index, the regular index and the attribute day determination result;

[0074] In the embodiment, the attribute day is divided into three types, i.e. idle day, use day and holiday, and each type corresponds to a variable value. The value of the idle day is S=0, the value of the use day is S=1, and the value of the holiday is H={0, 1}. Whether the current day is a holiday is determined by reading the holiday information in the preset calendar system, and whether the current day is an idle day or a use day is determined by whether the user habit output value meets the preset threshold. Specifically, whether the current day is a holiday is determined according to the calendar system. If yes, H=1, otherwise H=0. The attribute day is determined according to X=n1*A+n2*B+n3*C. If X≥0.5, the current day is determined to be a use day, and S=1. Otherwise, S=0.

[0075] The embodiment can distinguish the use of the air conditioner by users on different attribute days, so as to further improve the accuracy of the system.

[0076] S50, detecting the current temperature of the air conditioner in real time, calculating a preheating score of the air conditioner according to the current temperature, and obtaining a minimum preheating time of the air conditioner according to the preheating score; and

[0077] In the embodiment, the calculation of the preheating score needs to obtain the temperature coefficient of the air conditioner and the non-operating time of the air conditioner. The non-operating time of the air conditioner refers to the time between the last time the compressor is started and the next time the preheating function is started, which is measured in hours and is an integer in calculation. The temperature coefficient of the air conditioner is determined as follows. If the current temperature is above 0℃, the value is 0; if the current temperature is below-30℃, the value is 30; and if the current temperature is between-30℃ and 0℃, the absolute value of the current temperature is taken. The current temperature of the air conditioner refers to the outdoor environment temperature measured by the temperature sensing device on the air conditioner. The calculation formula of the preheating score is preheating score F=temperature coefficient*non-operating time of the air conditioner. For example, the air conditioner is not operated for 24 hours, and the measured outdoor environment temperature is-25℃ for 8 hours and-20℃ for 16 hours. Then the preheating score F is 520. The minimum preheating time is determined according to the corresponding relationship between the preset preheating score and the minimum preheating time.

[0078] The method for determining the minimum preheating time in the embodiment is a linear function model method. The maximum preheating score is 5040 minutes, which is the continuous freezing of the machine at -30℃ for 168 hours. When the preheating score x is 5040 minutes, the preheating time y should be at least 60 minutes. When the preheating score x is 0, no preheating is required. Thus, the two points (x, y) = (0, 0) and (5040, 60) are determined. Using the two points, the preset corresponding relationship is y = 0.0119x. For example, when the preheating score x is 520 minutes, the minimum preheating time y is 6.2 minutes.

[0079] It should be understood that the range of the preheating score x and the range of the preheating time y and the corresponding relationship therebetween can be adjusted according to actual conditions.

[0080] S60, according to the control instruction, the minimum preheating time and the current air conditioner running state, judging and executing the opening and closing of the air conditioner preheating function.

[0081] In the embodiment, when the preheating control instruction does not conform to the actual instruction of the user in the case of freezing the machine at extremely low temperature, the compressor needs to be protected to avoid forced opening of the compressor. Therefore, the minimum preheating time needs to be obtained and the compressor needs to be preheated for the minimum preheating time before being turned on to effectively protect the compressor.

[0082] The embodiment comprehensively judges the opening and closing of the air conditioner preheating function by the control instruction, the minimum preheating time and the current air conditioner running state, which can effectively improve the control accuracy of the opening and closing of the air conditioner preheating function, thereby saving electric energy and improving the user experience of using the air conditioner.

[0083] The calculation and algorithm operation mentioned in the embodiment are completed by a learning algorithm. By using the learning algorithm, habits of the user using the air conditioner can be effectively learned to improve the accuracy of the method determination. Meanwhile, in the specific implementation, the embodiment can also display the obtained random index value and the regular index value of the user to the user, and set the air conditioner control scheme corresponding to the high random index value or the high regular index value for the user to select. For example, when the random index value is too high, it indicates that the user's habits are relatively random, and therefore the same comfort scheme as the original preheating start function of the air conditioner can be set to ensure that the user can obtain a comfortable air conditioner use experience. When the regular index value is too high, it indicates that the user's habits are relatively regular, and therefore the energy-saving scheme in which the control method judges and controls the preheating function of the air conditioner can be set to ensure that the opening and closing of the preheating function of the air conditioner can be automatically adjusted to effectively achieve energy saving. In the specific implementation, the above scheme can be set to send the corresponding function recommendation prompt to the customer by the wifi end after obtaining the P value and the Q value, or the above scheme can be set to add the corresponding function button and prompt in the control device such as the online controller for the customer to select, so as to facilitate the customer to self-regulate and control and effectively improve the customer's use experience.

[0084] With reference to Figure 3 , a flow chart of one specific embodiment of step S10 is shown, including the following steps:

[0085] S101, dividing a determination time zone, the determination time zone being each hour period of each day in a week;

[0086] In the embodiment, the specific case of dividing the determination time zone is as described above. By dividing the determination time zone, the use data of the air conditioner can be conveniently recorded.

[0087] S102, recording and saving the use data of the air conditioner in a predetermined period, the use data of the air conditioner including the opening and closing of the air conditioner in the determination time zone; and

[0088] In the embodiment, the recording and saving of the use data of the air conditioner are as described above. By recording the opening and closing of the air conditioner, the situation and regularity of the user using the air conditioner can be effectively mastered to facilitate the learning of the subsequent algorithm.

[0089] S103, dividing the saved use data of the air conditioner in the predetermined period into different data groups according to each week.

[0090] In the embodiment, the case of dividing the data groups is as described above. By dividing the data groups, the situation of the user using the air conditioner in each week can be effectively mastered to determine whether the user has regularity in using the air conditioner.

[0091] With reference to Figure 4, shows a flow chart of one specific embodiment of step S40, comprising the following steps:

[0092] S401, obtaining a user habit output value, and determining a property day to which a current day belongs according to the user habit output value and a preset calendar system;

[0093] In this embodiment, it is first determined whether the current day is a holiday through the preset calendar system, specifically, through the dates with "rest" on the calendar system, and then it is determined whether the current day is an idle day or a use day through the user habit output value, wherein the idle day and the use day are mutually exclusive, and the holiday is independent of the idle day and the use day.

[0094] S402, if the property day is the use day, calculating the air conditioner use data of the current day according to the data set and the data proportion value, and pre-judging whether to start the preheating function of the air conditioner in advance according to the calculation results of the random index, the regular index and the air conditioner use data, and outputting the pre-judgment result as a control instruction;

[0095] In particular, the calculation principle mentioned in the present application needs to be explained;

[0096] Same day superposition: when the air conditioner opening condition of each day in the continuous 3 weeks is counted, the interval of the opening time is superposed, and the following requirements are superposed. When X, A, B, C are superposed, X, A, B, C cannot have both holidays and non-holidays, otherwise special processing should be performed. When X is a holiday, if A, B, C have idle days, X should be replaced by the calculation result of the last adjacent use day according to the number of days; if A, B, C have no idle days, the calculation results of A, B, C can be used for judgment. When X is not a holiday, if A, B, C have holidays, the data of A or B or C should be excluded, that is, n1, n2 or n3 is assigned accordingly; if A, B, C have no holidays, the calculation results of A, B, C can be used for judgment.

[0097] Holiday extension: if y1 is a holiday, in addition to the special air conditioner use condition of y1, the use of the air conditioner may also be extended to the morning of the second day y2. Since y2 is not a holiday, if the air conditioner use condition data of the morning of y2 is used as the judgment in the relationship of X, A, B, C, it may cause calculation deviation. Therefore, it is stipulated that the holiday extension time is 9:00 the next day in this algorithm, that is, x9y2. The air conditioner use conditions of the nine time periods involved in the holiday extension, x1y2, x2y2, …, x9y2, need to use the data of the last week to store.

[0098] In this embodiment, the calculation process of the air conditioner use data is as follows:

[0099] Based on the same day superposition principle and holiday extension principle, the air conditioner use data of A, B, C on the same day is recorded. Assuming that the data of week n is recorded, then let

[0100] x1y8 = n1xA.x1yn + n2xB.x1yn + n3xC.x1yn,

[0101] x2y8 = n1xA.x2yn + n2xB.x2yn + n3xC.x2yn,

[0102] x3y8 = n1xA.x3yn + n2xB.x3yn + n3xC.x3yn,

[0103] ...

[0104] x24y8 = n1xA.x24yn + n2xB.x24yn + n3xC.x24yn,

[0105] Where y8 represents today's calculation data variable, yn represents week n, n is an integer from 1 to 7 representing Monday to Sunday. A.x24yn represents the air conditioner use data of the 24th hour in week n of the A week. It needs to be pointed out that the data of this variable A.x24yn has only two possibilities, 0 or 1, and bit data type can be used to define in order to save chip storage resources, but the data of x24y8 variable is 0-1 every 0.01 change, at least Byte data type is used to define (1 Byte = 8 bit).

[0106] According to the above calculation, the air conditioner use tendency of the day derived from user habits can be obtained. For example, x1y8 is closer to 0, the user is less likely to use the air conditioner at this time, and x1y8 is closer to 1, the user is more likely to use the air conditioner at this time.

[0107] The judgment process of the calculation result according to the random index and the regular index is as follows:

[0108] When Pn > Qn, (Pn and Qn represent the random index and the regular index of the user in week n) the user's randomness is stronger. In the trade-off between ensuring good user experience and saving electricity, the algorithm makes a more inclined judgment according to the size of Pn value.

[0109] x1y8, x2y8,..., x24y8 are sorted out, and non-zero values are taken out, and then each non-zero value is operated and judged as follows:

[0110] When x1y8>1 / 2-(1 / 2)×(Pn / 100), it is considered that the user will turn on the air conditioner, and the compressor preheating function needs to be performed before. Otherwise, it is considered that the user will not turn on the air conditioner, and the compressor preheating function does not need to be performed before. Similarly, x2y8, …, x24y8, etc. Non-zero values can be judged, and the final judgment result is obtained.

[0111] For example, when Pn=10, when x1y8>0.45, it is considered that the user will turn on the air conditioner. When Pn=90, when x1y8>0.05, it is considered that the user will turn on the air conditioner. The larger the random index Pn, the more power the fuzzy control algorithm will sacrifice to ensure the user's experience as much as possible.

[0112] The stronger the user's regularity is when Pn≤Qn. Between the two contradictory choices of ensuring good user experience and saving power, the algorithm makes a more inclined judgment according to the size of Qn value.

[0113] x1y8, x2y8, …, x24y8 are sorted out, and non-zero values are taken out, and then each non-zero value is operated and judged as follows:

[0114] When x1y8>1 / 2+(1 / 2)×(Qn / 100)(Qn range is 0~60, if Qn>60, use Qn=60 to replace the formula for calculation, in order to avoid strong user repetition leading to higher probability required by the algorithm, thus reducing the anti-interference of the algorithm, the value of Qn in the formula needs to be partially limited, the specific limited requirements can be adjusted according to the actual situation), it is considered that the user will turn on the air conditioner, and the compressor preheating function needs to be performed before. Otherwise, it is considered that the user will not turn on the air conditioner, and the compressor preheating function does not need to be performed before. Similarly, x2y8, …, x24y8, etc. Non-zero values can be judged, and the final judgment result is obtained.

[0115] For example, when Qn=10, when x1y8>0.55, it is considered that the user will turn on the air conditioner. When Qn=90, Qn=60 needs to be used for calculation, that is, when x1y8>0.8, it is considered that the user will turn on the air conditioner. The larger the regularity index Qn, the more power the fuzzy control algorithm will save to save energy.

[0116] Which time period in x1y8, x2y8, …, x24y8 is judged as needing to start the compressor preheating function in advance is taken as the calculation result, which needs to be combined with the current running condition of the air conditioner for processing.

[0117] The above data operation and judgment starts at 0:00 at the beginning of the day and completes the calculation within a very short time.

[0118] It should be understood that the time of one hour in advance is the preset time of the present application, which can be adjusted appropriately in specific implementation.

[0119] For example, suppose that the user air conditioner usage data records of A, B, and C are as shown in the table below, wherein the gray squares represent that the user usage of the air conditioner in the time period is determined to be turned on, i.e., xnyn=1, and the blank squares represent that xnyn=0. Figure 5 Suppose that P=5, Q=30, and Monday of the Cth week is determined to be a holiday H(C.y1)=1.

[0120] According to the attribute day determination method, the following calculation results are obtained.

[0121] Attribute day S y1 y2 y3 y4 y5 y6 y7 Week A 1 0 0 0 1 1 1 Week B 1 0 0 0 1 1 1 Week C 1(H=1) 0 (Note) 0 0 1 1 1

[0122] Note: Due to the holiday extension principle, the data of C.x1y2~C.x9y2 stores the air conditioner usage data of the previous week.

[0123] When the time comes to a new week X, the following calculations can be performed according to the above data.

[0124] Determine the attribute day according to X=n1*A+n2*B+n3*C. If X≥0.5, it is determined that the day is a usage day, and S=1. Otherwise, S=0.

[0125] X1=n1*A.y1+n2*B.y1+n3*C.y1 is obtained, wherein because P≤Q and H(C.y1)=1, according to the same day superposition principle, and P≤Q, when X is not a holiday, and there is a holiday in A, B, and C, the holiday data should be removed. Therefore, n1=0.5, n2=0.5, and n3=0.

[0126] X2=n1*A.y2+n2*B.y2+n3*C.y2 is obtained, wherein because P≤Q, n1=0.34, n2=0.33, and n3=0.33.

[0127] X1=1, X2=0, X3=0, X4=0, X5=1, X6=1, and X7=1 can be calculated. That is, Monday, Friday, Saturday, and Sunday are usage days, and Tuesday, Wednesday, and Thursday are idle days.

[0128] Suppose that the current time is Monday, and y8 represents the Monday data of the new week (y8 represents the data of the current day, which can be any day from Monday to Sunday), the following calculations are performed according to the same day superposition principle (remove holidays, n1=0.5, n2=0.5, and n3=0):

[0129] x1y8 = n1 x A.x1y1 + n2 x B.x1y1 + n3 x C.x1y1 = 1,

[0130] x2y8 = n1 x A.x2y1 + n2 x B.x2y1 + n3 x C.x2y1 = 1,

[0131]

[0132] x24y8 = n1 x A.x24y1 + n2 x B.x24y1 + n3 x C.x24y1 = 0

[0133] The calculation results are as follows:

[0134] x 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 y8 1 1 1 1 1 1 1 0.5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

[0135] When Pn≤Qn, when x1y8>1 / 2+(1 / 2) x (Qn / 100)=0.65, it is considered that the user is likely to start the compressor.

[0136] According to the above results, in the time period of x1y8, x2y8, …, x7y8, whether the compressor preheating function is to be started is judged according to the user's air conditioner starting condition.

[0137] Taking another example, assuming that it is Friday now, y8 represents the data of Friday of the new week, according to the same day superposition principle, and P≤Q, then n1=0.34, n1=0.33, n1=0.33.

[0138] The calculation results are as follows:

[0139] x 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 y8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.66 0.67 0.67 1 1 1

[0140] When Pn≤Qn, when x1y8>1 / 2+(1 / 2) x (Qn / 100)=0.65, it is considered that the user is likely to start the compressor.

[0141] According to the above results, in the time period of x19y8, x20y8, …, x24y8, whether the compressor preheating function is to be started is judged according to the user's air conditioner starting condition.

[0142] S403, if the attribute day is a free day and is not a holiday, output a control instruction of closing; and

[0143] In this embodiment, when the attribute day is a free day and is not a holiday, it is indicated that the user will not use the air conditioner on the day, and therefore a control instruction of closing the air conditioner preheating function all day is directly output to achieve the effect of energy saving.

[0144] S404, if the attribute day is a free day and is a holiday, the pre-judgment result of the nearest previous use day from the current day is obtained as the control instruction output.

[0145] In the embodiment, the method for obtaining the prediction result is as described above. When the attribute day is a holiday, it indicates that the user is likely to use the air conditioner on the day. According to the same day superposition principle and the holiday extension principle, the data of the same day in the data set is not used for calculation. In order to ensure the accuracy of the prediction, the prediction result of the day closest to the current day in the use rule of the user needs to be obtained.

[0146] With reference to Figure 6 , a flow chart of one specific embodiment of step S50 is shown, including the following steps:

[0147] S501, obtaining the time period and the minimum preheating time in the control instruction in which the preheating function of the air conditioner needs to be started in advance;

[0148] In the embodiment, the method for obtaining the time period in which the preheating function of the air conditioner needs to be started in advance is as described above.

[0149] S502, obtaining the running state of the current air conditioner at the time period in which the preheating function needs to be started in advance;

[0150] In the embodiment, when the time of the day reaches the last hour of the time period in which the compressor needs to be started in advance according to the fuzzy control algorithm (for example, the algorithm judges that x18y8 is the time period in which the compressor needs to be started in advance, and the phrase means that the time reaches the last hour of the time period of 17:00-18:00, that is, the time of 16:00), if the air conditioner is in the standby state, the compressor preheating function is started immediately. If the air conditioner is in the running state, the compressor preheating function is turned off, and the subsequent one hour will not be judged again (the compressor preheating function is not needed within one hour after the compressor is stopped). If the compressor is turned on in the middle of the hour, the compressor preheating function is turned off accordingly.

[0151] In addition, before judging whether the compressor preheating function is turned on, it is also necessary to judge the time from the last time the compressor is stopped to the current time. If the time from the last time the compressor is stopped to the current time is less than one hour, the compressor preheating function is not turned on, and the judgment time is delayed by 10 minutes for the next judgment. For example, if the time of 16:00 is judged as the last time the compressor is stopped being 15:30, which is less than one hour from 16:00, the compressor preheating function is not turned on this time, and the judgment is made again at 16:10. In this way, the compressor preheating function is turned on in the judgment at 16:30.

[0152] S503, if the air conditioner is turned on, the preheating function is turned off; and

[0153] In the present embodiment, the case of turning off the preheating function is as described above. By turning off the preheating function when the air conditioner is turned on, energy can be saved effectively, and unnecessary waste of electric energy can be avoided.

[0154] S504, if the air conditioner is in standby state, turning on the preheating function according to the minimum preheating time.

[0155] In the present embodiment, the case of turning on the preheating function and the acquisition of the minimum preheating time are as described above. By turning on the preheating function of the air conditioner with the minimum preheating time when the air conditioner is in standby state, the air conditioner can be preheated in advance when the user uses the air conditioner, so that the user can directly use the air conditioner after turning it on, and the user experience can be improved.

[0156] Meanwhile, in the present embodiment, the acquisition of the minimum preheating time is real-time. Before turning on the preheating function of the compressor, the minimum preheating time of the air conditioner needs to be acquired first. In extremely cold conditions, if the present method turns on the compressor incorrectly, and the compressor is not preheated in advance before being turned on, the air conditioner is controlled to turn on the preheating function first to meet the minimum preheating time, and then turn on the compressor, so as to prevent the compressor from being turned on forcibly in the case that the lubricating oil effect is poor due to the long freezing time of the compressor, and the compressor is damaged.

[0157] With reference to the above description, the present application further comprises the following steps: Figure 7 After step S50, the following steps are further included:

[0158] S601, recording the actual use data of the user, and updating the air conditioner use data in the predetermined period with the actual use data;

[0159] The present embodiment can effectively ensure the real-time of the data by updating the air conditioner use data in the predetermined period, and facilitate subsequent calculation.

[0160] S602, updating the random index, the regular index and the data proportion value with the updated air conditioner use data.

[0161] The present embodiment updates the random index, the regular index and the data proportion value. In the next round of air conditioner control, the updated random index, the regular index and the data proportion value can be directly used to predict whether to turn on the preheating function of the air conditioner in advance, so as to effectively ensure the real-time of the data and improve the accuracy of data calculation.

[0162] In other embodiments of the present application, the random index, the regular index and the data proportion value can also not be updated, but directly set according to the experience value in advance. The step S602 comprises the following steps:

[0163] The proportion of invalid judgment and total judgment in the updated air conditioner usage data is obtained, and the random index is updated by corresponding increase or decrease according to whether the proportion value meets a preset threshold value. The total judgment is a judgment according to the control instruction that the air conditioner preheating function needs to be started, and the invalid judgment is a judgment according to the control instruction that the air conditioner preheating function needs to be started, but the user does not start the air conditioner.

[0164] In the embodiment, P values and Q values are respectively represented by P1, P2, …, P7 and Q1, Q2, …, Q7 to represent P values and Q values of Monday, Tuesday to Sunday. When updating the two values, it is necessary to ensure that all calculation data can correspond to a specific day of the previous week. The specific updating method of the random index is as follows:

[0165] When it is obtained which time periods in x1y8, x2y8, …, x24y8 are judged to need to start the compressor preheating function in advance, the fuzzy control algorithm will judge whether the compressor preheating function needs to be started according to the actual operation of the compressor. If it is determined to start the compressor preheating function, and the user does not use it in the next hour, the current judgment is invalid. The update of Pn is determined according to the proportion of invalid judgment / total judgment Pp. If Pp>0.8, the P value is increased by 2 points, if 0.6

[0166] The updated air conditioner usage data is obtained, and the usage data of all data groups corresponding to the current day is conditionally judged. The regular index is updated by corresponding increase or decrease according to the result of the conditional judgment.

[0167] In the embodiment, the specific updating method of the regular index is as follows:

[0168] When the user habit data is full of A, B, C, X for three weeks, storing new data will cause the oldest data to be discarded, and before the data is discarded, A, B, C, X are judged, where X represents a day of the current week, A, B, C represent a day of the previous week, two weeks ago, and three weeks ago respectively, and X, A, B, C are the same week day data used in the judgment. Assuming that the calculated day X is Monday, the data of the first A week Monday, the first B week Monday, and the first C week Monday are calculated, and if the four data are the same, Q increases by 2 points, if the three consecutive data are the same, Q increases by 1 point, if only two consecutive data are the same, Q does not change, and if only one consecutive data is the same, such as A, B, C, X = 1, 0, 1, 0, then Q decreases by 1 point. One of Q1, Q2, …, Q7 is updated every day, but for a certain regularity index Qn, its value changes only once a week.

[0169] The updated random index and regularity index are obtained and compared, and if the random index is larger, the data proportion value is calculated and updated according to the preset formula, and if the regularity index is larger, the data proportion value is updated to the preset initial value.

[0170] In this embodiment, the data proportion value is calculated as follows:

[0171] If P > Q, then

[0172] n1 = (P / 100) × (2 / 3) + 1 / 3

[0173] n2 = (1-n1) × [(P / 100) × (1 / 2) + 1 / 2)]

[0174] n3 = 1-n1-n2, where n1, n2, n3 are two decimal places

[0175] Assuming P = 5, n1 = 0.37, n2 = 0.34, n3 = 0.3.

[0176] Assuming P = 60, n1 = 0.73, n2 = 0.22, n3 = 0.05.

[0177] The larger the P value represents the greater the randomness of the user's habits, so the data of the previous week will have a greater proportion.

[0178] If P ≤ Q, then n1 = 0.34, n1 = 0.33, n1 = 0.33. The larger the Q value represents the stronger the regularity of the user's habits, so the proportions of the three weeks of data are as equal as possible.

[0179] The calculation formulas of n1, n2, n3 need special processing in the following special cases:

[0180] When X is not a holiday, if A, B, C has a holiday, the corresponding A or B or C data should be removed.

[0181] When the data of A, B, C is not three weeks, the corresponding data should be removed.

[0182] When A, B, C only records two groups of data, or when A, B, C has a holiday, the corresponding n=0. Assuming A is a holiday, B, C is not a holiday, then:

[0183] n1=0 n1=0

[0184] n2=[(P / 100)×(1 / 2)+1 / 2)] or n2=0.5

[0185] n3=1-n2(P>Q) n3=0.5(P≤Q)

[0186] When A, B, C only records one group of data, or A, B, C has two holidays, the corresponding n=0. Assuming A, B are holidays, C is not a holiday, then:

[0187] n1=0

[0188] n2=0

[0189] n3=1

[0190] When A, B, C has three holidays, because it is impossible in reality that the same day is a holiday for three consecutive weeks, this situation does not need to be considered. However, in order to close the loop of the judgment system, normal n1, n2, n3 calculation can be used in the design of the software to make the judgment, and there is no need to specially handle the holiday situation. It should be understood that this is only to form a software closed loop to avoid the judgment process that has not been considered.

[0191] In the embodiment, the random index and the regular index are both in the range of 0-100. By limiting the range of the random index and the regular index, the calculation can be simplified and the response speed can be improved. In specific implementation, in order to ensure the accuracy and convenience of calculation, the random index and the regular index are integers in the calculation formula.

[0192] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiment methods. The storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0193] It should be understood that although each step in the flowchart of the accompanying drawings is shown in sequence according to the direction of the arrow, these steps are not necessarily executed in sequence according to the direction of the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and they can be executed in other sequences. Moreover, at least part of the steps in the flowchart of the accompanying drawings can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or sub-steps or stages of other steps.

[0194] Further referring to Figure 8 , as an implementation of the method shown in the above Figure 1 , the present application provides an embodiment of a control device for air conditioner preheating function, which corresponds to the method embodiment shown in Figure 1 , and the device can be applied to various electronic devices.

[0195] As shown in Figure 8 , the control device for air conditioner preheating function 7 comprises a data grouping module 701, a data acquisition module 702, a data calculation module 703, an instruction output module 704, a preheating calculation module 705, and an execution module 706. Among them:

[0196] The data grouping module 701 is used to obtain the air conditioner usage data of the user within a predetermined period, and divide the air conditioner usage data into different data groups according to weeks;

[0197] The data acquisition module 702 is used to acquire a random index, a regular index and a data proportion value representing the user's usage habits;

[0198] The data calculation module 703 is used to calculate a user habit output value representing the user's usage habits according to the data groups and the data proportion value;

[0199] The instruction output module 704 is configured to output a control instruction according to the user habit output value and a preset calendar system to determine the attribute day of the current day, and according to the random index, the regular index and the attribute day determination result.

[0200] The preheating calculation module 705 is configured to detect a current temperature of the air conditioner in real time, calculate a preheating score of the air conditioner according to the current temperature, and obtain a minimum preheating time of the air conditioner according to the preheating score.

[0201] The execution module 706 is configured to determine and execute the opening and closing of the air conditioner preheating function according to the control instruction and a current air conditioner running state.

[0202] In the embodiment, the system module corresponding to the control method of the air conditioner preheating function can effectively determine the air conditioner use habit of the user, so as to correspondingly adjust the opening and closing of the air conditioner preheating function, and save electric energy.

[0203] To solve the above technical problems, the embodiment of the present application further provides a computer device. For details, please refer to Figure 9 , Figure 9 The basic structure block diagram of the computer device of the embodiment is shown in the figure.

[0204] The computer device 8 includes a memory 81, a processor 82 and a network interface 83 which are connected to each other through a system bus. It should be pointed out that only the computer device 8 with components 81-83 is shown in the figure, but it should be understood that all the shown components are not required to be implemented, and more or fewer components can be alternatively implemented. Among them, those skilled in the art can understand that the computer device here is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), digital signal processor (DSP), embedded device, etc.

[0205] The computer device can be a desktop computer, a notebook computer, a palm computer and a cloud server, etc. The computer device can interact with the user through a keyboard, a mouse, a remote controller, a touchpad or a voice control device, etc.

[0206] The memory 81 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 81 may be an internal storage unit of the computer device 8, such as the hard disk or memory of the computer device 8. In other embodiments, the memory 81 may also be an external storage device of the computer device 8, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. Of course, the memory 81 may include both internal storage units and external storage devices of the computer device 8. In this embodiment, the memory 81 is typically used to store the operating system and various application software installed on the computer device 8, such as program code for a control method of an air conditioner preheating function. In addition, the memory 81 can also be used to temporarily store various types of data that have been output or will be output.

[0207] In some embodiments, the processor 82 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 82 is typically used to control the overall operation of the computer device 8. In this embodiment, the processor 82 is used to run program code stored in the memory 81 or process data, such as program code for running the control method of the air conditioner preheating function.

[0208] The network interface 83 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 8 and other electronic devices.

[0209] This application also provides another embodiment, namely, a computer-readable storage medium storing a control program for an air conditioning preheating function, the control program for the air conditioning preheating function being executable by at least one processor to cause the at least one processor to perform the steps of the control method for the air conditioning preheating function as described above.

[0210] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method described in each embodiment of the present application.

[0211] Obviously, the above-described embodiments are only some of the embodiments of the present application, not all the embodiments, and the drawings show the preferred embodiments of the present application, but do not limit the patent scope of the present application. The present application can be implemented in many different forms, and conversely, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions recorded in the foregoing specific embodiments, or make equivalent replacements to some of the technical features. Any equivalent structure made by using the content of the specification and drawings, directly or indirectly applied to other related technical fields, is also within the scope of the patent protection of the present application.

Claims

1. A control method of an air conditioner preheating function, characterized by, The method comprises the following steps: obtaining air conditioner use data of a user in a predetermined period, and dividing the air conditioner use data into different data groups according to weeks; obtaining a random index, a regular index and a data proportion value representing a use rule of the user; calculating a user habit output value representing a use habit of the user according to the data groups and the data proportion value; judging an attribute day to which a current day belongs according to the user habit output value and a preset calendar system, and outputting a corresponding control instruction according to a judgment result of the attribute day and the random index and the regular index; real-time detecting a current temperature of the air conditioner, calculating a preheating score of the air conditioner according to the current temperature, and obtaining a minimum preheating time of the air conditioner according to the preheating score; and judging and executing the opening and closing of the preheating function of the air conditioner according to the control instruction, the minimum preheating time and a current running state of the air conditioner; the attribute day comprises an idle day, a use day and a holiday; the step of judging the attribute day to which the current day belongs according to the user habit output value and the preset calendar system, and outputting the corresponding control instruction according to the judgment result of the attribute day comprises: obtaining the user habit output value, judging the attribute day to which the current day belongs according to the user habit output value and the preset calendar system; if the attribute day is the use day, calculating the air conditioner use data of the current day according to the data groups and the data proportion value, and pre-judging whether to start the preheating function of the air conditioner in advance according to the calculation result of the random index, the regular index and the air conditioner use data, and outputting the pre-judgment result as the control instruction; if the attribute day is the idle day and is not a holiday, outputting the control instruction of closing; and if the attribute day is the idle day and is a holiday, obtaining a pre-judgment result of a last use day closest to the current day as the control instruction. the preheating score is calculated according to the following formula: preheating score F = temperature coefficient × air conditioner non-operating time, wherein the air conditioner non-operating time is a time difference value between the time when the last time the compressor is started and the time when the preset function is started in advance next time; the temperature coefficient of the air conditioner comprises: if the current temperature is greater than or equal to 0℃, the temperature coefficient of the air conditioner is 0; if the current temperature is less than or equal to -30℃, the temperature coefficient of the air conditioner is 30; if the current temperature is greater than -30℃ and less than 0℃, the temperature coefficient of the air conditioner is the absolute value of the current temperature, wherein the current temperature is an outdoor environment temperature measured by a temperature sensing device on the air conditioner; the formula for calculating the minimum preheating time according to the preheating score is: y = 0.0119x, wherein y is the minimum preheating time and x is the preheating score. the step of obtaining the air conditioner use data of the user in the predetermined period, and dividing the air conditioner use data into different data groups according to weeks comprises:

2. The control method of a preheating function of an air conditioner according to claim 1, characterized by, dividing a judgment time zone, the judgment time zone being each whole point period of each day in a week; recording and saving the air conditioner use data in the predetermined period, the air conditioner use data comprising the opening and closing of the air conditioner in the judgment time zone; and dividing the saved air conditioner use data in the predetermined period into different data groups according to weeks. ​ 3. The control method of a preheating function of an air conditioner according to claim 1, characterized by, The step of judging and executing the opening and closing of the air conditioner preheating function according to the control instruction, the minimum preheating time and the current air conditioner running state specifically comprises: acquiring a time period in which the air conditioner preheating function needs to be turned on in advance and the minimum preheating time in the control instruction; acquiring the running state of the current air conditioner at the time period in which the air conditioner preheating function needs to be turned on in advance; if the air conditioner is turned on, turning off the preheating function; and if the air conditioner is in a standby state, turning on the preheating function according to the minimum preheating time.

4. The control method of a preheating function of an air conditioner according to claim 1, characterized by, After the step of judging and executing the opening and closing of the air conditioner preheating function according to the control instruction, the minimum preheating time and the current air conditioner running state, the method further comprises: recording actual use data of the user and updating the air conditioner use data in the predetermined period with the actual use data; updating the random index, the regular index and the data proportion value with the updated air conditioner use data.

5. The control method of a preheating function of an air conditioner according to claim 4, characterized by, The step of updating the air conditioner use data in the predetermined period with the actual use data specifically comprises: saving the actual use data as the air conditioner use data of the day and deleting the air conditioner use data farthest from the current day.

6. The control method of a preheating function of an air conditioner according to claim 4, characterized by, The step of updating the random index, the regular index and the data proportion value with the updated air conditioner use data specifically comprises: acquiring the proportion value of invalid judgment and total judgment in the updated air conditioner use data, updating the random index by corresponding increase or decrease according to whether the proportion value meets a preset threshold, the total judgment is the case of judging that the air conditioner preheating function needs to be turned on according to the control instruction, and the invalid judgment is the case of judging that the air conditioner preheating function needs to be turned on according to the control instruction but the user does not turn on the air conditioner; acquiring the updated air conditioner use data and performing conditional judgment on the use data of all data groups corresponding to the current day, and updating the regular index by corresponding increase or decrease according to the result of the conditional judgment; and acquiring the updated random index and the regular index and performing comparison judgment, if the updated random index is greater than the regular index, calculating and updating the data proportion value according to a preset formula, if the regular index is greater than the updated random index, updating the data proportion value to a preset value.

7. A control device for an air conditioner preheating function, characterized in that, The air conditioner preheating function control device executes the air conditioner preheating function control method according to any one of claims 1 to 6, and the air conditioner preheating function control device comprises: a data grouping module configured to acquire air conditioner use data of a user in a predetermined period and divide the air conditioner use data into different data groups according to weeks; a data acquisition module configured to acquire a random index, a regular index and a data proportion value representing a user use habit; a data calculation module configured to calculate a user habit output value representing a user use habit according to the data groups and the data proportion value; an instruction output module configured to determine an attribute day to which the current day belongs according to the user habit output value and a preset calendar system, and output a corresponding control instruction according to the random index, the regular index and the attribute day determination result. The preheating calculation module is configured to detect a current temperature of the air conditioner in real time, calculate a preheating score of the air conditioner according to the current temperature, and obtain a minimum preheating time of the air conditioner according to the preheating score. The execution module is configured to determine and execute the opening and closing of the preheating function of the air conditioner according to the control instruction, the minimum preheating time and a current air conditioner running state. 8.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the control method of the preheating function of the air conditioner according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the control method of the preheating function of the air conditioner according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Preheating control method of air conditioner

    CN112856737A

  • Compressor preheating control method

    CN113154647A