Air conditioner control method, air conditioner and storage medium

By combining weather data from the air conditioner's location with users' historical temperature preferences to generate an initial sleep parameter setting curve, and then adjusting it in real time based on user behavior data, the problem of insufficient comfort in the air conditioner's sleep mode is solved, achieving personalized temperature adjustment and improved user comfort.

CN121163056APending Publication Date: 2025-12-19GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511344314.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2025-12-19

AI Technical Summary

Technical Problem

Existing air conditioner sleep modes cannot flexibly adjust according to regional climate differences and nighttime environmental changes, resulting in decreased comfort and failing to consider users' personalized temperature needs.

Method used

By acquiring weather data from the air conditioner's location and users' historical preferred temperature settings, an initial sleep parameter setting curve is generated, and the air conditioner temperature is dynamically adjusted in real time by combining user behavior data.

Benefits of technology

It enables temperature adjustment based on users' individual needs, improving users' sleep comfort and environmental adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121163056A_ABST
    Figure CN121163056A_ABST
Patent Text Reader

Abstract

The invention provides an air conditioner control method, an air conditioner and a storage medium. The method comprises the steps that when an instruction of entering a sleep mode is obtained, weather data corresponding to the geographic position where the air conditioner is located is obtained, and an initial sleep parameter setting curve in a future preset sleep time period is generated according to the weather data; the step of generating the initial sleep parameter setting curve in the future preset sleep time period according to the weather data comprises the following steps: acquiring outdoor environment temperature data in the future preset sleep time period according to the weather data; acquiring historical preference set temperature data of the user in a future preset sleep time period; and generating an initial sleep parameter setting curve according to the outdoor environment temperature data and the historical preference setting temperature data. By means of the air conditioner control method, the personalized temperature setting requirement of the user in the sleep state can be met, and comfort is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the air conditioning technical field, and specifically, relates to an air conditioner control method, and also relates to an air conditioner applying the air conditioner control method, and further relates to a computer readable storage medium applying the air conditioner control method. BACKGROUND

[0002] The existing air conditioner products are usually equipped with a sleep mode for controlling the air conditioner according to the needs of the user in sleep, but most of them only realize simple adjustment through a fixed temperature curve (for example, increasing or decreasing the temperature by 1-2℃ in the first two hours), and cannot flexibly adjust according to the climate difference of the region and the change of the night environment. For example, the temperature in summer night may rapidly decrease due to rain, or the indoor temperature may increase due to the continuous high temperature outside, and the traditional sleep mode continuously runs according to the preset curve because it cannot sense the external environment, which easily causes the room temperature to deviate from the user's needs and affects the comfort.

[0003] In order to overcome the above-mentioned defects, an existing air conditioner sleep mode control method is as follows: obtaining the weather forecast information of the future N hours of the place where the air conditioner is used through the Internet, calculating the initial sleep mode parameter curve suitable for the user according to the weather forecast information, and controlling the air conditioner according to the initial sleep mode parameter curve, so as to improve the accuracy and rationality of the numerical value of the running parameter setting.

[0004] However, the user's preferred temperature data is not considered in this scheme, which cannot meet the personalized needs of the user, resulting in a decrease in the user's experience.

[0005] Therefore, it is necessary to consider a more optimized air conditioner sleep mode control method. SUMMARY

[0006] The first object of the present application is to provide an air conditioner control method which can meet the personalized temperature setting needs of the user in sleep state and improve the comfort.

[0007] The second object of the present application is to provide an air conditioner which can meet the personalized temperature setting needs of the user in sleep state and improve the comfort.

[0008] The third object of the present application is to provide a computer readable storage medium which can meet the personalized temperature setting needs of the user in sleep state and improve the comfort.

[0009] In order to achieve the above-mentioned first object, the air conditioner control method provided by the present application comprises: when an instruction to enter a sleep mode is obtained, obtaining weather data corresponding to a geographical position where the air conditioner is located, and generating an initial sleep parameter setting curve in a future preset sleep time period according to the weather data; the step of generating the initial sleep parameter setting curve in the future preset sleep time period according to the weather data comprises: obtaining outdoor environment temperature data in the future preset sleep time period according to the weather data; obtaining historical preferred setting temperature data of the user in the future preset sleep time period; and generating the initial sleep parameter setting curve according to the outdoor environment temperature data and the historical preferred setting temperature data.

[0010] As can be seen from the above scheme, the air conditioner control method of the present application generates an initial sleep parameter setting curve by combining weather data corresponding to a geographical position where the air conditioner is located and historical preferred setting temperature data of the user in a future preset sleep time period, so that the set temperature of the air conditioner can be adaptively adjusted according to different temperature requirements of the user, thereby meeting the individual temperature requirements of the user and improving the comfort of the user.

[0011] In a further scheme, the initial sleep parameter setting curve is generated by the following formula:

[0012] T set =clamp(T hist (t)+ΔT(t),T min ,T max );

[0013] wherein T hist (t) is the historical preferred setting temperature in the t period; T ext (t) is the outdoor environment temperature in the t period in the outdoor environment temperature data; and α is a preset environment influence coefficient; clamp(x, T min , T max ) is a limiting function, which limits the calculation result of x in the preset human comfort interval [T min , T max ].

[0014] As can be seen from the above scheme, the initial sleep parameter setting curve is generated by calculating the set temperature in the corresponding period by means of the historical preferred setting temperature and the outdoor environment temperature, so that the outdoor environment temperature and the temperature preference of the user are taken into account, and the rationality of the set temperature is improved.

[0015] In a further scheme, the step of obtaining the historical preferred setting temperature data of the user in the future preset sleep time period comprises: obtaining a preset number of historical setting temperatures of the user in the current period when the sleep mode is used; and obtaining an average value of the preset number of historical setting temperatures, and taking the average value as the historical preferred setting temperature of the current period.

[0016] Therefore, by obtaining the average value of the preset number of historical set temperatures, the historical preferred set temperature can be made more reasonable.

[0017] In a further scheme, after generating the initial sleep parameter setting curve in the future preset sleep period according to the weather data, the method further includes: obtaining user behavior data of the user in the sleep period; and correcting the initial sleep parameter setting curve in real time according to the user behavior data.

[0018] Therefore, by correcting the initial sleep parameter setting curve in real time according to the user behavior data, the intelligent temperature control that adapts to environmental changes and user states can be realized, and the user sleep comfort can be improved.

[0019] In a further scheme, the step of obtaining the user behavior data of the user in the sleep period includes: obtaining the user behavior data by a millimeter wave sensor.

[0020] Therefore, by obtaining the user behavior data by the millimeter wave sensor, the detection accuracy of the user behavior data can be improved.

[0021] In a further scheme, the step of correcting the initial sleep parameter setting curve in real time according to the user behavior data includes: determining whether the user is in a sleep difficulty state according to the user behavior data, and if so, reducing the current set temperature by a preset amplitude.

[0022] Therefore, when the user is in the sleep difficulty state, reducing the current set temperature by the preset amplitude can help the user sleep.

[0023] In a further scheme, if the activity frequency of the user in a first preset time period is greater than a first preset frequency, it is determined that the user is in the sleep difficulty state.

[0024] Therefore, if the activity frequency of the user in the first preset time period is greater than the first preset frequency, it indicates that the user is active frequently and is in the sleep difficulty state.

[0025] In a further scheme, the step of correcting the initial sleep parameter setting curve in real time according to the user behavior data includes: determining whether the user is in a frequent turning state according to the user behavior data, and if so, obtaining a current indoor environment temperature, a current outdoor environment temperature and a current set temperature, and adjusting the reduction amplitude of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature.

[0026] Therefore, when the user is in the frequent turning state, it indicates that the current temperature is too high, and therefore, the current set temperature needs to be reduced to improve the user comfort.

[0027] In a further aspect, the step of adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature comprises: if the current outdoor environment temperature is greater than a first preset outdoor environment temperature, and a difference between the current set temperature and the current indoor environment temperature is greater than a preset temperature value, then reducing the current set temperature by a first preset range; if the current outdoor environment temperature is greater than the first preset outdoor environment temperature, and the difference between the current set temperature and the current indoor environment temperature is less than or equal to the preset temperature value, then reducing the current set temperature by a second preset range, the second preset range being less than the first preset range.

[0028] Therefore, adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature can further improve the accuracy of the current set temperature and improve the comfort of the user.

[0029] In a further aspect, the step of adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature comprises: if the current outdoor environment temperature is greater than a first preset outdoor environment temperature, and a difference between the current set temperature and the current indoor environment temperature is greater than a preset temperature value, then reducing the current set temperature by a first preset range; if the current outdoor environment temperature is greater than the first preset outdoor environment temperature, and the difference between the current set temperature and the current indoor environment temperature is less than or equal to the preset temperature value, then reducing the current set temperature by a second preset range, the second preset range being less than the first preset range.

[0030] Therefore, adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature can further improve the accuracy of the current set temperature and improve the comfort of the user.

[0031] In a further aspect, the step of adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature comprises: if the current outdoor environment temperature is greater than a first preset outdoor environment temperature, and a difference between the current set temperature and the current indoor environment temperature is greater than a preset temperature value, then reducing the current set temperature by a first preset range; if the current outdoor environment temperature is greater than the first preset outdoor environment temperature, and the difference between the current set temperature and the current indoor environment temperature is less than or equal to the preset temperature value, then reducing the current set temperature by a second preset range, the second preset range being less than the first preset range.

[0032] Therefore, adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature can further improve the accuracy of the current set temperature and improve the comfort of the user.

[0033] In a further aspect, the step of adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature comprises: if the current outdoor environment temperature is greater than a first preset outdoor environment temperature, and a difference between the current set temperature and the current indoor environment temperature is greater than a preset temperature value, then reducing the current set temperature by a first preset range; if the current outdoor environment temperature is greater than the first preset outdoor environment temperature, and the difference between the current set temperature and the current indoor environment temperature is less than or equal to the preset temperature value, then reducing the current set temperature by a second preset range, the second preset range being less than the first preset range.

[0034] Therefore, adjusting the reduction range of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature can further improve the accuracy of the current set temperature and improve the comfort of the user.

[0035] In order to achieve the second object of the present application, the present application provides an air conditioner comprising a processor and a memory, the memory storing a computer program, the computer program being executed by the processor to implement the steps of the air conditioner control method.

[0036] In order to achieve the third object of the present application, the present application provides a computer readable storage medium, which stores a computer program, and the computer program realizes the steps of the air conditioner control method when executed by a controller. BRIEF DESCRIPTION OF DRAWINGS

[0037] Figure 1 is a flow chart of an embodiment of the air conditioner control method of the present application.

[0038] Figure 2 is a flow chart of generating an initial sleep parameter setting curve in a future preset sleep time period according to weather data in an embodiment of the air conditioner control method of the present application.

[0039] Figure 3 is a flow chart of judging whether a user is in a difficult-to-sleep state in an embodiment of the air conditioner control method of the present application.

[0040] Figure 4 is a flow chart of judging whether a user is in a frequent-turning state in an embodiment of the air conditioner control method of the present application.

[0041] Figure 5 is a flow chart of judging whether a user is in a night-awake state in an embodiment of the air conditioner control method of the present application.

[0042] The present application is further described below in conjunction with the drawings and embodiments. DETAILED DESCRIPTION

[0043] The air conditioner control method of the present application is an application program applied in an air conditioner, and is used for controlling a sleep mode of the air conditioner.

[0044] As shown in Figure 1 the present embodiment, when the air conditioner control method is working, firstly, step S1 is executed to judge whether an instruction of entering the sleep mode is acquired. When a user needs to sleep, an instruction of running in the sleep mode can be sent to the air conditioner through a remote controller or a control panel, so that the air conditioner runs according to the sleep demand of the user.

[0045] If the instruction of entering the sleep mode is not acquired, the step S1 is continuously executed, and the continuous detection is performed. If the instruction of entering the sleep mode is acquired, the step S2 is executed, the weather data corresponding to the geographical position where the air conditioner is located is acquired, and the initial sleep parameter setting curve in the future preset sleep time period is generated according to the weather data. In order to make the parameter setting of the sleep mode accord with the geographical position where the air conditioner is located, and improve the setting precision, the initial sleep parameter setting curve in the future preset sleep time period needs to be generated according to the weather data. When the weather data corresponding to the geographical position where the air conditioner is located is acquired, the current geographical position can be acquired through the positioning module, and the weather data of the current geographical position can be acquired through the cloud server or the Internet. The future preset sleep time period can be set according to the user demand, for example, the future preset sleep time period is 8 hours in the future.

[0046] In the embodiment, referring to Figure 2 , when the initial sleep parameter setting curve in the future preset sleep time period is generated according to the weather data, the step S11 is executed first, the outdoor environment temperature data in the future preset sleep time period is acquired according to the weather data. In order to better set the set temperature of the air conditioner, the outdoor environment temperature data in the future preset sleep time period needs to be acquired.

[0047] After the outdoor environment temperature data in the future preset sleep time period is acquired, the step S12 is executed, the historical preferred set temperature data of the user in the future preset sleep time period is acquired. In order to make the set temperature of the air conditioner accord with the demand of the user, the historical preferred set temperature data needs to be set according to the historical preferred set temperature data.

[0048] In the embodiment, the step of acquiring the historical preferred set temperature data of the user in the future preset sleep time period includes: acquiring a preset number of historical set temperatures of the user in the current period when the sleep mode is used; and acquiring the average value of the preset number of historical set temperatures, and taking the average value as the historical preferred set temperature of the current period. The preset number can be pre-set according to the experimental data. The preset number of historical set temperatures of the current period refers to the historical set temperatures of the same time period stored when the sleep mode is used for the preset number of times. By acquiring the average value of the preset number of historical set temperatures, the historical preferred set temperature can be more rationalized.

[0049] After the historical preferred set temperature data of the user in the future preset sleep time period is acquired, the step S13 is executed, and the initial sleep parameter setting curve is generated according to the outdoor environment temperature data and the historical preferred set temperature data. The initial sleep parameter setting curve is generated by using the outdoor environment temperature data and the historical preferred set temperature data, so as to take into account the outdoor environment temperature and the user temperature preference, meet the individual temperature demand of the user, and improve the comfort of the user.

[0050] In this embodiment, the initial sleep parameter setting curve is generated by the following formula:

[0051] T set = clamp(T hist (t) + ΔT(t), T min , T max );

[0052]

[0053] wherein T hist (t) is the historical preferred set temperature of the t-th period; T ext (t) is the outdoor environment temperature of the t-th period in the outdoor environment temperature data; α is an environmental influence coefficient (0≤α≤1), representing the adjustment range of the set temperature when the outdoor environment temperature deviates from the historical preferred set temperature, which can be pre-set according to experimental data, and preferably, the value range of α is 0.1 to 0.3, taking into account the outdoor environment temperature and the historical preferred set temperature; clamp(x, T min , T max ) is a limiting function, which limits the calculation result of x in the preset human comfort interval [T min , T max ], and T min , T max are the minimum and maximum values of the human comfort temperature interval, and preferably, T min =24℃ and T max =26℃. The length of each period can be pre-set according to experimental data, for example, the length of each period is 1 hour.

[0054] After the initial sleep parameter setting curve is generated, the air conditioner can be controlled to set the temperature according to the initial sleep parameter setting curve, so that the air conditioner operates according to the set temperature.

[0055] The following is an example. Taking a city as an example, α=0.2, [Tmin, Tmax]=[24℃, 26℃], and taking one hour as the period unit, the set temperature of each period in the initial sleep parameter setting curve is as follows:

[0056]

[0057] After the initial sleep parameter setting curve in the future preset sleep period is generated, step S3 is performed to obtain user behavior data of the user in the sleep period. In order to further make the initial sleep parameter setting curve conform to the user behavior, the initial sleep parameter setting curve can be adjusted according to the user behavior data, so that the set temperature can dynamically adapt to the needs of the user. The user behavior data can be obtained by an infrared sensor, an image acquisition device or a millimeter wave sensor. In the embodiment, the step of obtaining the user behavior data of the user in the sleep period includes: obtaining the user behavior data by the millimeter wave sensor. Obtaining the user behavior data by the infrared sensor, the image acquisition device or the millimeter wave sensor is a common technology for those skilled in the art, and will not be described here.

[0058] After the user behavior data is obtained, step S4 is performed to correct the initial sleep parameter setting curve in real time according to the user behavior data. By further correcting the initial sleep parameter setting curve in real time according to the user behavior data, intelligent temperature control that adapts to environmental changes and user states can be realized, and user sleep comfort can be improved.

[0059] In one embodiment, referring to Figure 3 When the initial sleep parameter setting curve is corrected in real time according to the user behavior data, step S21 is first performed to determine whether the user is in a sleep difficulty state. Whether the user is in a sleep difficulty state can be determined according to the user behavior data. In the embodiment, if the activity frequency of the user in a first preset time length is greater than a first preset frequency, it is determined that the user is in a sleep difficulty state. The first preset time length and the first preset frequency can be pre-set according to experimental data. For example, the first preset time length is 10 minutes, and the first preset frequency is 30 times. The start to the end of a continuous action of the user is confirmed as a number of activities of the user. For example, lifting a hand once or turning over once can be considered as a number of activities. If the activity frequency of the user in the first preset time length is greater than the first preset frequency, it indicates that the user is active frequently and is in a sleep difficulty state.

[0060] If the user is in a sleep difficulty state, step S22 is performed to reduce the current set temperature by a preset amplitude. The preset amplitude can be pre-set according to experimental data. The preset amplitude is 0.5°C. When the user is in a sleep difficulty state, reducing the current set temperature by the preset amplitude can help the user sleep.

[0061] If the user is not in a sleep difficulty state, step S23 is performed to maintain the current set temperature.

[0062] In another embodiment, referring to Figure 4When adjusting the initial sleep parameter setting curve in real time based on user behavior data, step S31 is first executed to determine whether the user is in a state of frequent turning over. This can be determined based on user behavior data. In this embodiment, if the number of turns over exceeds a preset number within a preset time period, the user is confirmed to be in a state of frequent turning over.

[0063] If the user is frequently tossing and turning, continue with step S31 for continuous monitoring. If the user is confirmed to be frequently tossing and turning, proceed to step S32 to obtain the current indoor ambient temperature, current outdoor ambient temperature, and current set temperature. Adjust the reduction amount of the current set temperature based on these three temperatures. The user's frequent tossing and turning indicates that the current temperature is too high; therefore, the current set temperature needs to be lowered to improve the user's comfort.

[0064] In this embodiment, the step of adjusting the reduction range of the current set temperature based on the current indoor ambient temperature, the current outdoor ambient temperature, and the current set temperature includes: if the current outdoor ambient temperature is greater than a first preset outdoor ambient temperature, and the difference between the current set temperature and the current indoor ambient temperature is greater than a preset temperature value, then the current set temperature is reduced by a first preset range; if the current outdoor ambient temperature is greater than the first preset outdoor ambient temperature, and the difference between the current set temperature and the current indoor ambient temperature is less than or equal to a preset temperature value, then the current set temperature is reduced by a second preset range, where the second preset range is less than the first preset range. The first preset outdoor ambient temperature, the preset temperature value, the first preset range, and the second preset range can be preset based on experimental data. For example, the first preset outdoor ambient temperature is 30℃, the preset temperature value is 0.5℃, the first preset range is 1℃, and the second preset range is 0.5℃. Adjusting the reduction range of the current set temperature based on the current indoor ambient temperature, the current outdoor ambient temperature, and the current set temperature can further improve the accuracy of the current set temperature and enhance user comfort.

[0065] In yet another embodiment, see Figure 5 When adjusting the initial sleep parameter setting curve in real time based on user behavior data, step S41 is first executed to determine whether the user is in a nighttime awakening state. This determination can be made based on user behavior data. In this embodiment, if user movement is detected and the current time falls within the preset sleep time, it is detected whether the user returns to the bed within a second preset duration. If so, the user is confirmed to be in a nighttime awakening state. The preset sleep time and the second preset duration can be set according to user needs; for example, the preset sleep time is from 23:00 to 7:00, and the second preset duration is 10 minutes.

[0066] If the user is not in the wake-up state, step S41 is continued to perform continuous detection. If it is confirmed that the user is in the wake-up state, step S42 is performed to reduce the current set temperature by a third preset amplitude. The third preset amplitude can be set according to experimental data in advance, for example, the third preset amplitude is 0.5℃. When the user is in the wake-up state, the body temperature rises, and the open door state also affects the indoor temperature. Therefore, the current set temperature is reduced by the third preset amplitude to accelerate the heat balance and avoid the user feeling hot after returning to the bed.

[0067] In this embodiment, after the step of generating the initial sleep parameter setting curve in the future preset sleep period according to the weather data, step S5 is further performed to obtain sleep data of the user during the sleep mode, and a sleep report is generated according to the sleep data. By obtaining the sleep data of the user during the sleep mode and generating the sleep report, the sleep state can be known.

[0068] For example, the system continuously collects and fuses the following data streams during the sleep mode: user behavior time series of the millimeter wave sensor (such as user behaviors such as position, activity, turning over, and off-bed trajectory), indoor and outdoor environment temperature, weather forecast, historical preferred set temperature data, and user subjective feedback, etc. Based on these data, the following report data is generated by the cloud large model and the edge analysis module: real-time and playback temperature control curve comparison chart; user behavior and state timeline; thermal comfort quantitative evaluation; user satisfaction score and suggestion; and the like. By generating the report and feeding back to the user, the sleep state of the user can be known.

[0069] As can be seen from the above, the air conditioner control method generates an initial sleep parameter setting curve by combining weather data corresponding to the geographical position of the air conditioner and historical preferred set temperature data of the user in a future preset sleep period, so that the set temperature of the air conditioner can be adaptively adjusted according to different temperature needs of the user, thereby meeting the individual temperature needs of the user and improving the comfort of the user.

[0070] Air conditioner embodiment:

[0071] The air conditioner of this embodiment includes a controller, which implements the steps in the air conditioner control method embodiments described above when executing a computer program.

[0072] For example, the computer program can be divided into one or more modules, which are stored in the memory and executed by the controller to complete the present application. One or more modules can be a series of computer program instruction segments that can complete a specific function, which are used to describe the execution process of the computer program in the air conditioner.

[0073] The air conditioner can include, but is not limited to, a controller, a memory. Those skilled in the art can understand that the air conditioner can include more or less components, or combine certain components, or different components, for example, the air conditioner can also include an input / output device, a network access device, a bus, etc.

[0074] For example, the controller can be a central processing unit (CPU), and can also be other general-purpose controllers, digital signal processors (DSP), application specific integrated circuits (ASIC), ready programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose controller can be a microcontroller, or the controller can also be any conventional controller, etc. The controller is the control center of the air conditioner, and connects various parts of the air conditioner through various interfaces and lines.

[0075] The memory can be used to store computer programs and / or modules, and the controller realizes various functions of the air conditioner by running or executing computer programs and / or modules stored in the memory, and calling data stored in the memory. For example, the memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required for a function (such as a sound receiving function, a sound conversion to text function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, text data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0076] Computer readable storage medium embodiment:

[0077] The integrated module of the air conditioner of the above-mentioned embodiments, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned air conditioner control method embodiments can also be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by a controller, the steps of the above-mentioned air conditioner control method embodiments can be realized. The computer program includes computer program code, which can be in the form of source code, object code, an executable file, or some intermediate form, etc. The storage medium can include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0078] It should be noted that the above is only a preferred embodiment of the present application, but the design concept of the application is not limited thereto, and any non-essential modification of the application made by using the concept also falls within the protection scope of the application.

Claims

1. An air conditioner control method, comprising: when an instruction to enter a sleep mode is obtained, obtaining weather data corresponding to a geographical location where an air conditioner is located, and generating an initial sleep parameter setting curve in a future preset sleep period according to the weather data; characterized in that: the step of generating the initial sleep parameter setting curve in the future preset sleep period according to the weather data comprises: obtaining outdoor environment temperature data in the future preset sleep period according to the weather data; obtaining historical preferred set temperature data of a user in the future preset sleep period; generating the initial sleep parameter setting curve according to the outdoor environment temperature data and the historical preferred set temperature data.

2. The air conditioner control method according to claim 1, characterized in that: the initial sleep parameter setting curve is generated by the following formula: T set = clamp(T hist (t) + ΔT(t), T min , T max ); wherein T hist (t) is the historical preference set temperature of the tth period; T ext (t) is the outdoor environment temperature of the tth period in the outdoor environment temperature data; a is a preset environment influence coefficient; clamp(x, T min , T max ) is a limiting function for limiting x in a preset human body comfort interval [T min , T max ].

3. The air conditioner control method according to claim 1, characterized in that: the step of obtaining historical preferred set temperature data of a user in the future preset sleep period comprises: obtaining a preset number of historical set temperatures of a current period when the user uses the sleep mode; obtaining an average value of the preset number of historical set temperatures, and taking the average value as the historical preferred set temperature of the current period.

4. The air conditioner control method according to any one of claims 1 to 3, characterized in that: after generating the initial sleep parameter setting curve in the future preset sleep period according to the weather data, the method further comprises: obtaining user behavior data of the user in the sleep period; correcting the initial sleep parameter setting curve in real time according to the user behavior data.

5. The air conditioner control method according to claim 4, characterized in that: the step of obtaining user behavior data of the user in the sleep period comprises: obtaining the user behavior data by a millimeter wave sensor.

6. The air conditioner control method according to claim 4, characterized in that: the step of correcting the initial sleep parameter setting curve in real time according to the user behavior data comprises: determining whether the user is in a sleep difficulty state according to the user behavior data, and if so, reducing a current set temperature by a preset amplitude.

7. The air conditioner control method according to claim 5, characterized in that: if an activity frequency of the user is greater than a first preset frequency within a first preset time length, it is determined that the user is in the sleep difficulty state.

8. The air conditioner control method according to claim 4, characterized in that: the step of correcting the initial sleep parameter setting curve in real time according to the user behavior data comprises: determining whether the user is in a frequent turning state according to the user behavior data, and if so, obtaining a current indoor environment temperature, a current outdoor environment temperature and a current set temperature, and adjusting a reduction amplitude of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature.

9. The air conditioner control method according to claim 8, characterized in that: the step of adjusting the reduction amplitude of the current set temperature according to the current indoor environment temperature, the current outdoor environment temperature and the current set temperature comprises: if the current outdoor environment temperature is greater than a first preset outdoor environment temperature, and a difference between the current set temperature and the current indoor environment temperature is greater than a preset temperature value, then the current set temperature is decreased by a first preset amplitude; if the current outdoor environment temperature is greater than the first preset outdoor environment temperature, and the difference between the current set temperature and the current indoor environment temperature is less than or equal to the preset temperature value, then the current set temperature is decreased by a second preset amplitude, the second preset amplitude being less than the first preset amplitude. 10.The air conditioner control method of claim 4, wherein: the step of correcting the initial sleep parameter setting curve in real time according to the user behavior data comprises: determining whether the user is in a night waking state according to the user behavior data, and if so, decreasing the current set temperature by a third preset amplitude. 11.The air conditioner control method of claim 10, wherein: if the user is detected to move off the bed, and the current time is in a preset sleep time, then determining whether the user returns to the bed within a second preset time length, and if so, confirming that the user is in the night waking state. 12.The air conditioner control method of any one of claims 1 to 3, wherein: after the step of generating the initial sleep parameter setting curve in a future preset sleep time period according to the weather data, the method further comprises: obtaining sleep data of the user during the sleep mode, and generating a sleep report according to the sleep data.

13. An air conditioner comprising a processor and a memory, characterized by: The memory stores a computer program, and the computer program is executed by the processor to implement the steps of the air conditioner control method according to any one of claims 1 to 12.

14. A computer readable storage medium having stored thereon a computer program, characterized in that: The computer program is executed by the controller to implement the steps of the air conditioner control method according to any one of claims 1 to 12.