Sleep control method, electronic device, storage medium and computer program product

By obtaining the server system and air temperature and dynamically adjusting the set temperature of the air conditioner, the problem of inappropriate set temperature in the prior art is solved, and a more comfortable sleeping environment is provided.

CN119532879APending Publication Date: 2025-02-28PANASONIC ELECTRIC EQUIP (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411703026.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The set temperature set by existing air conditioners in sleep mode is often inappropriate and cannot provide the user's comfortable sleep temperature.

Method used

By obtaining the air temperature corresponding to the outer surface temperature of the bed and the height of the bed, calculate the appropriate set temperature, and dynamically adjust the set temperature of the air conditioner to match the user's sleep needs.

Benefits of technology

It realizes dynamically adjusting the setting temperature of the air conditioner according to the specific sleep conditions of the user, thereby providing a more comfortable sleep environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119532879A_ABST
    Figure CN119532879A_ABST
Patent Text Reader

Abstract

The invention relates to a sleep control method, an electronic device, a storage medium and a computer program product, and the method comprises the following steps: after a sleep mode of an air conditioner is started, an obtaining step for obtaining a first temperature representing the temperature of the outer surface of a bedding and clothing system used for sleep; a calculation step for calculating a second temperature indicating the air temperature corresponding to the height of the bed for sleeping; and the setting step is used for setting the set temperature of the air conditioner according to the first temperature and the second temperature. Therefore, a more appropriate set temperature can be set so as to provide a more comfortable sleep temperature for a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of sleep control, and in particular to a sleep control method, an electronic device, a storage medium, and a computer program product. Background Art

[0002] In a typical nighttime sleep cycle, a person's body temperature slowly decreases, remains low, and then slowly rises again just before waking up in the early morning.

[0003] In the related art, a sleep mode button is provided on the remote control button of the air conditioner, and the user can press the sleep mode button before falling asleep. In response to the sleep mode button being pressed, the air conditioner automatically executes a pre-stored sleep temperature curve to adjust the temperature according to the sleep temperature curve after the indoor temperature reaches the set temperature. However, if the set temperature is not set appropriately, a comfortable sleeping temperature cannot be provided to the user.

[0004] Therefore, how to set a more appropriate set temperature to provide users with a more comfortable sleeping temperature is one of the problems that need to be solved urgently in the prior art. Summary of the invention

[0005] In view of this, the present disclosure proposes a sleep control method, an electronic device, a storage medium, and a computer program product, so that a more appropriate set temperature can be set to provide a more comfortable sleeping temperature for the user.

[0006] According to a first aspect of the present disclosure, a sleep control method is provided, which is applied to an air conditioner. The sleep control method includes: after the sleep mode of the air conditioner is turned on, performing the following steps: an acquisition step for acquiring a first temperature representing the temperature of the outer surface of a clothing system used for sleep; a calculation step for calculating a second temperature representing the air temperature corresponding to the height of a bed used for sleep; and a setting step for setting a set temperature of the air conditioner according to the first temperature and the second temperature.

[0007] In one possible implementation, the acquisition step includes: determining the optimal average skin temperature of all users in the room used for sleeping; determining the average heat dissipation of all users; calculating the total thermal resistance of the clothing system based on the material of the clothing system; and calculating the first temperature based on the optimal average skin temperature, the average heat dissipation and the total thermal resistance.

[0008] In one possible implementation, determining the optimal average skin temperature of all users in a room used for sleeping includes: obtaining the gender, age and current season of all the users; obtaining the optimal skin temperature for sleep of all the users by searching a first table using the gender, age and current season of all the users, wherein the first table records the association between users who are within an age range and belong to a corresponding gender in a corresponding season and their corresponding optimal skin temperature for sleep; and calculating an average value of the obtained optimal skin temperatures for sleep as the optimal average skin temperature.

[0009] In a possible implementation, determining the average heat dissipation of all users includes: calculating the basal metabolic rate of all users according to their respective genders, weights, ages, and heights using the human basal metabolic rate formula; calculating the human basal metabolic rate of all users during sleep according to their respective basal metabolic rates; calculating the heat dissipation of all users during sleep according to their respective basal metabolic rates during sleep; and calculating the average of the heat dissipation of all users during sleep as the average heat dissipation.

[0010] In a possible implementation, the control step includes: calculating the total thermal resistance of the bedding system according to the material of the bedding system includes: obtaining the material of the bedding system; obtaining the total thermal resistance of the bedding system by searching a second table using the material of the bedding system, wherein the second table records the correlation between the material of the bedding system and its corresponding total thermal resistance.

[0011] In one possible implementation, the material of the bedding system is obtained by any one or more of the following: obtaining the material selected by the user from the material of the bedding system in the displayed parameter setting screen; using an identification device to identify a tag set in the bedding system used for sleeping, wherein the tag carries information that can characterize the material of the bedding system; obtaining an image of the bedding system taken by the user, and identifying the material of the bedding system in the image; and obtaining the material of the bedding system whose usage frequency corresponding to the current season is higher than a threshold.

[0012] In one possible implementation, the calculation step includes: obtaining the current set temperature and wind speed of the air conditioner; obtaining the outlet height representing the height of the air outlet of the air conditioner from the ground of the sleeping room; obtaining the positions of the air conditioner and the bed and the area of ​​the room; and calculating the second temperature based on the current set temperature, the wind speed, the outlet height, the positions of the air conditioner and the bed, and the area.

[0013] In one possible implementation, the setting step includes: calculating the temperature difference between the first temperature and the second temperature; determining whether the absolute value of the temperature difference is less than a threshold; if it is determined that the absolute value is less than the threshold, maintaining the current set temperature of the air conditioner.

[0014] In a possible implementation, the setting step also includes: if it is judged that the absolute value is greater than the threshold, then determining whether the second temperature is lower than the first temperature; if it is judged that the second temperature is lower than the first temperature, then adjusting the current set temperature of the air conditioner to the first set temperature, wherein the first set temperature is higher than the current set temperature; if it is judged that the second temperature is higher than the first temperature, then adjusting the current set temperature of the air conditioner to the second set temperature, wherein the second set temperature is lower than the current set temperature.

[0015] In a possible implementation, the first set temperature is equal to the sum of the product of the absolute value and the first correction coefficient and the current set temperature.

[0016] In a possible implementation manner, the first correction coefficient is greater than or equal to 0.1 and less than or equal to 10.

[0017] In a possible implementation, the second set temperature is equal to the difference between the current set temperature and the product of the absolute value and the second correction coefficient.

[0018] In a possible implementation manner, the second correction coefficient is greater than or equal to 0.1 and less than or equal to 10.

[0019] In a possible implementation, after the setting step, the sleep control method further includes: determining a duration of the sleep mode; and adjusting a set temperature of the air conditioner according to a sleep temperature curve and the duration.

[0020] According to a second aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above sleep control method when executing the instructions stored in the memory. The electronic device is, for example, an air conditioner.

[0021] According to a third aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above sleep control method when executed by a processor.

[0022] According to a fourth aspect of the present disclosure, a computer program product is provided, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned sleep control method.

[0023] Through the sleep control method, electronic device, storage medium and computer program product disclosed in the present invention, after the sleep mode of the air conditioner is turned on, the outer surface temperature of the clothing system (such as bedding, clothing, etc.) used by the user for sleeping is obtained and the air temperature corresponding to the height of the bed used by the user for sleeping is calculated, and then the set temperature of the air conditioner is set according to the outer surface temperature and the air temperature. In this way, since the set temperature of the air conditioner is set based on the outer surface temperature and the air temperature of the clothing system, the present invention takes into account the parameters that affect the temperature, such as the clothing system used by the user for sleeping and the height of the bed, when setting the set temperature of the air conditioner. Compared with the prior art that does not take these parameters into consideration, the present invention can set a set temperature that better matches the outer surface temperature and air temperature of the clothing system, and thus can set a more appropriate set temperature to provide the user with a more comfortable sleeping temperature.

[0024] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0026] Figure 1 A flowchart of a sleep control method according to an embodiment of the present disclosure is shown.

[0027] Figure 2 A schematic flow chart of an acquisition step according to an embodiment of the present disclosure is shown.

[0028] Figure 3 A schematic diagram of a process for determining an optimal average skin temperature according to an embodiment of the present disclosure is shown.

[0029] Figure 4 A schematic diagram of a process for determining average heat dissipation according to an embodiment of the present disclosure is shown.

[0030] Figure 5 A flowchart showing calculation steps according to an embodiment of the present disclosure is shown.

[0031] Figure 6 A schematic diagram of a sleeping room according to an embodiment of the present disclosure is shown.

[0032] Figure 7 A flowchart showing the setting steps according to an embodiment of the present disclosure is shown.

[0033] Figure 8a A schematic diagram showing a sleeping temperature curve in cooling mode according to an embodiment of the present disclosure.

[0034] Figure 8b A schematic diagram showing a sleeping temperature curve in a heating mode according to an embodiment of the present disclosure.

[0035] Figure 9a A first table according to an embodiment of the present disclosure is shown.

[0036] Figure 9b A second table according to an embodiment of the present disclosure is shown.

[0037] Fig.10 A schematic diagram of parameter setting according to an embodiment of the present disclosure is shown.

[0038] Fig.11 A flowchart of a sleep control method according to an embodiment of the present disclosure is shown.

[0039] Fig.12 A block diagram of a sleep control device according to an embodiment of the present disclosure is shown.

[0040] Fig.13 A block diagram of a sleep control device 800 according to an embodiment of the present disclosure is shown.

[0041] Fig.14 A block diagram of a sleep control device 1900 according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0042] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0043] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0044] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0045] Figure 1 A flow chart of a sleep control method according to an embodiment of the present disclosure is shown. The sleep control method can be applied to an air conditioner. In other words, the sleep control method can be performed by the air conditioner. The operating modes of the air conditioner may include a cooling mode for lowering the indoor temperature, a heating mode for raising the indoor temperature, a dehumidification mode for removing indoor moisture to keep the indoor air dry and comfortable, and a sleep mode for ensuring sleep comfort and reducing energy waste. Of course, the air conditioner may also include other modes in the prior art, which will not be described in detail in this embodiment.

[0046] For example, Figure 6 As shown, the room where the user sleeps is equipped with an air conditioner. Fig.10 As shown, the remote controller of the air conditioner (i.e., the air conditioner remote controller) is provided with at least a cooling button, a heating button, a dehumidifying button, and a sleep button. In response to one of these buttons being operated, such as being pressed / touched, the air conditioner operates in a mode corresponding to the operated button. For example, in response to the cooling button being pressed, the air conditioner operates in the cooling mode; in response to the heating button being pressed, the air conditioner operates in the heating mode.

[0047] When the air conditioner is in sleep mode, the air conditioner can Figure 1 The sleep control method shown in the figure is to set the set temperature of the air conditioner, so it can be executed in response to the air conditioner starting to operate in the sleep mode, that is, in response to the sleep mode of the air conditioner being turned on. Figure 1 Therefore, it is possible to detect in real time whether the sleep mode of the air conditioner is turned on. Once it is detected that the sleep mode of the air conditioner is turned on, the sleep control method can be executed. Figure 1 The sleep control method shown is to set the set temperature of the air conditioner.

[0048] The air conditioner can determine whether to start the mode corresponding to the pressed button according to whether the corresponding button set on the remote controller is pressed. Therefore, it is possible to detect whether the sleep mode is started by detecting whether the sleep button set on the remote controller is pressed. Of course, any other suitable method in the prior art can also be used to detect whether the sleep mode of the air conditioner is turned on, which will not be described in detail in this disclosure.

[0049] When it is detected that the sleep button set on the remote controller is pressed, it is detected that the sleep mode of the air conditioner is turned on, and in response to this, the sleep mode can be executed. Figure 1 The sleep control method shown in FIG. Figure 1 As shown, the sleep control method may include the following steps:

[0050] In step S110 (corresponding to an acquisition step), a first temperature T1 representing the temperature of the outer surface of the clothing system for sleep is acquired.

[0051] In this embodiment, the bedding system refers to the bedding and clothing required for human sleep. For example, the bedding system may include but is not limited to beds, mattresses, sheets, pillows, coverings (such as quilts and blankets) and pajamas. Among them, the material of the bedding system has a great influence on the warmth and coolness, and bedding systems of different materials may be different in terms of coolness and warmth. For example, for quilts, they include summer cool quilts, air-conditioning quilts, silk quilts, soybean fiber quilts, pure cotton quilts, down quilts, wool quilts, etc. Summer cool quilts, air-conditioning quilts, and very thin pure cotton quilts have higher coolness, down quilts, wool quilts, and very thick pure cotton quilts have higher warmth, and silk quilts and soybean fiber quilts have certain coolness and warmth.

[0052] Therefore, bedding systems made of different materials have different effects on the user's temperature, and the user's temperature has an impact on the required sleeping temperature. Therefore, when setting the set temperature of the air conditioner, the temperature of the outer surface of the bedding system can be considered. To this end, the temperature of the outer surface of the bedding system, that is, the first temperature T1 mentioned above, can be obtained in response to turning on the sleep mode of the air conditioner.

[0053] In one possible implementation, Figure 2 As shown, step S110 for obtaining the first temperature T1 may include:

[0054] In step S201 , the optimum average skin temperature of all users in a room used for sleeping is determined.

[0055] In this embodiment, Figure 6 For example, the optimal skin temperature for each user in the room can be determined, and then the average of the optimal skin temperatures for these users can be calculated to calculate the optimal average skin temperature for all users. For example, suppose there are 3 users in the room and the optimal skin temperatures for each user are T 皮1 , T 皮2 and T 皮3 , then T 平均 =(T1+T2+T3) / 3, where T 平均 Indicates the optimal average skin temperature.

[0056] In step S202, the average heat dissipation of all users is determined.

[0057] In this embodiment, Figure 6 For example, we can determine the heat dissipation of each user in the room, and then calculate the average heat dissipation of these users to calculate the average heat dissipation of all users. For example, suppose there are 3 users in the room and the heat dissipation of each user is Q1, Q2 and Q3 respectively, then Q 平均=(Q1+Q2+Q3) / 3, where Q 平均 Indicates the average heat dissipation.

[0058] In step S203, the total thermal resistance of the clothing system is calculated according to the material of the clothing system.

[0059] In this embodiment, bedding systems of different materials have corresponding total thermal resistances. Once the material of the bedding system is determined, the total thermal resistance corresponding to the material can be determined based on the corresponding relationship between the material and the total thermal resistance. Therefore, the material of the bedding system can be obtained, and then the total thermal resistance corresponding to the obtained material can be determined, and the total thermal resistance R of the bedding system can be calculated.

[0060] In step S204, the first temperature T1 is calculated according to the optimal average skin temperature, the average heat dissipation and the total thermal resistance.

[0061] In this embodiment, the first temperature T1 can be calculated according to the heat balance equation using the optimal average skin temperature, the average heat dissipation and the total thermal resistance of the clothing system. The heat balance equation includes: T1 = T 被内 -Q 被子 *R, T 被内 =T 平均 , Q 被子 =Q 平均 Therefore, as long as the optimal average skin temperature T is determined 平均 , average heat dissipation Q 平均 And the total thermal resistance R of the clothing system, we can first calculate the average heat dissipation Q 平均 The optimal average skin temperature T is then calculated by multiplying the total thermal resistance R of the clothing system 平均 The first temperature T1 can be calculated by calculating the difference between the product and the first temperature T1, thereby obtaining the first temperature T1.

[0062] After the first temperature is acquired, step S130 may be performed.

[0063] In step S130 (corresponding to a calculation step), a second temperature representing the air temperature corresponding to the height of the bed used for sleeping is calculated.

[0064] In this embodiment, Figure 6 As shown, the room where the user sleeps is also equipped with a bed for sleeping, and the height of the top surface of the bed (i.e., the side for the user to lie on) from the ground of the room is the height of the bed, i.e. Figure 6The H2 indicated in the figure, at different heights H2, the temperature of the wind discharged through the air outlet of the air conditioner for adjusting the indoor temperature, that is, the air temperature, is different. Different air temperatures have different effects on the temperature of the user, and the temperature of the user has an impact on the sleeping temperature required by the user. Therefore, when setting the set temperature of the air conditioner, the air temperature can be considered. To this end, the air temperature, that is, the second temperature T2 mentioned above, can be obtained in response to turning on the sleep mode of the air conditioner.

[0065] In one possible implementation, Figure 5 As shown, step S130 for calculating the second temperature T2 may include:

[0066] In step S501, the current set temperature and wind speed of the air conditioner are obtained.

[0067] In this embodiment, in response to the air conditioner turning on the sleep mode, the air conditioner operates in the sleep mode at a certain set temperature and a certain wind speed. A corresponding method can be used to obtain the current set temperature and wind speed of the air conditioner operating in the sleep mode.

[0068] In one possible implementation, in response to the air conditioner turning on the sleep mode, the air conditioner can report the current set temperature and wind speed of the air conditioner to the smart home system that includes the air conditioner, and the server of the smart home system can store the set temperature and wind speed in a storage device. Therefore, the current set temperature and wind speed can be obtained in the following manner: when the current set temperature and wind speed are to be obtained, the air conditioner can send a request for obtaining the set temperature and wind speed to the server, and in response to the request, the server sends the set temperature and wind speed to the air conditioner, and accordingly, the air conditioner can receive the set temperature and wind speed returned by the server, thereby obtaining the current set temperature and wind speed.

[0069] In one possible implementation, in response to the air conditioner turning on the sleep mode, the air conditioner can store the current set temperature and wind speed to a storage device. Therefore, the current set temperature and wind speed can be obtained in the following manner: when the current set temperature and wind speed are to be obtained, the air conditioner can access the storage device to read the stored set temperature and wind speed from the storage device, thereby obtaining the current set temperature and wind speed.

[0070] It should be noted that the present embodiment does not limit the method for obtaining the current set temperature and wind speed. The above two methods of obtaining are only used for example description. Any suitable method in the prior art can also be used to obtain the current set temperature and wind speed of the air conditioner running in sleep mode. This embodiment will not go into details.

[0071] In step S502, the air outlet height representing the height of the air outlet of the air conditioner from the floor of the sleeping room is obtained.

[0072] In this embodiment, Figure 6 As shown, the height of the air outlet of the air conditioner from the ground is the air outlet height, that is, Figure 6 The air outlet height H1 indicated in the figure can be obtained by a corresponding method.

[0073] In a possible implementation, the air outlet height H1 may be collected in advance and stored in a storage device. Therefore, when the air outlet height H1 is to be obtained, the storage device may be accessed to read the stored air outlet height H1, thereby obtaining the air outlet height H1. For example, Fig.10 As shown, the user can input the air outlet height H1 as 2 meters via a parameter setting screen displayed on a terminal such as a mobile phone, thereby pre-collecting the air outlet height H1 with a value of 2 meters.

[0074] In a possible implementation, a distance sensor may be arranged at a corresponding position of the air outlet of the air conditioner. When the air outlet height H1 is to be obtained, the distance sensor may be used to measure the height of the air outlet from the ground. The measured value of the distance sensor is the air outlet height H1. In this embodiment, the type and arrangement position of the distance sensor are not limited. Any sensor that can detect the distance between the air outlet and the ground can be used as the distance sensor.

[0075] It should be noted that this embodiment does not limit the method for obtaining the air outlet height H1. The above two methods are only used for illustration. Any suitable method in the prior art can also be used to obtain the air outlet height H1, which will not be described in detail in this embodiment.

[0076] In step S503, the positions of the air conditioner and the bed and the area of ​​the room are obtained.

[0077] In this embodiment, Figure 6 As shown, there is a positional relationship between the air conditioner and the bed in the room, and the position of the air conditioner and the bed can be characterized by the positional relationship between the air blown out of the air outlet of the air conditioner and the bed. Among them, the positional relationship between the air blown out of the air outlet and the bed may include but is not limited to "blowing towards the bed", "blowing away from the bed", and "blowing to the side of the bed". "Blowing towards the bed" means that the air outlet of the air conditioner is in the same direction as the bed, "blowing away from the bed" means that the air outlet of the air conditioner is in the opposite direction to the bed, and "blowing to the side of the bed" means that the air outlet of the air conditioner is in the opposite direction to the bed, and "blowing to the side of the bed" means that the air outlet of the air conditioner is in a certain angle with the bed.

[0078] In a possible implementation, the positions of the air conditioner and the bed can be collected in advance, and the collected positions of the air conditioner and the bed can be stored in a storage device. Therefore, when the positions of the air conditioner and the bed are to be obtained, the storage device can be accessed to read the stored positions of the air conditioner and the bed, thereby obtaining the positions of the air conditioner and the bed. For example, Fig.10 As shown, the user can input the position of the air conditioner and the bed via the parameter setting screen displayed by a terminal such as a mobile phone. For example, a position can be selected from "blowing towards the bed", "blowing behind the bed" and "blowing to the side of the bed" displayed in the drop-down list, thereby pre-collecting the position of the air conditioner and the bed.

[0079] In a possible implementation, corresponding sensors such as distance sensors or angle sensors can be arranged at corresponding positions of the air outlet of the air conditioner. When obtaining the positions of the air conditioner and the bed, the arranged sensors can be used to measure the distance or angle between the air outlet of the air conditioner and the bed. The positions of the air conditioner and the bed can be obtained by performing corresponding calculations based on the measured values ​​of the arranged sensors. Among them, this embodiment does not limit the type and arrangement position of the sensors arranged for obtaining the positions of the air conditioner and the bed. As long as the sensors can detect the measured values ​​that can be used to obtain the positions of the air conditioner and the bed, they can be used as sensors arranged for obtaining the positions of the air conditioner and the bed. Of course, the sensors arranged for obtaining the positions of the air conditioner and the bed can also be arranged at corresponding positions of the bed.

[0080] It should be noted that this embodiment does not limit the method of obtaining the positions of the air conditioner and the bed. The above two methods are only used for illustration. Any suitable method in the prior art can also be used to obtain the positions of the air conditioner and the bed, which will not be elaborated in this embodiment.

[0081] In a possible implementation, the area of ​​the room may be collected in advance and stored in a storage device. Therefore, when the area of ​​the room is to be obtained, the storage device may be accessed to read the stored area of ​​the room, thereby obtaining the area of ​​the room. Fig.10 As shown, the user can input the area of ​​the room as 15 square meters via the parameter setting screen displayed by a terminal such as a mobile phone, thereby pre-collecting the area of ​​the room with a value of 15 square meters.

[0082] In one possible implementation, corresponding ranging sensors can be arranged at corresponding positions of the air outlet of the air conditioner. When the area of ​​the room is to be obtained, the ranging sensors can be used to measure the length and width of the room. The area of ​​the room can be obtained by performing corresponding calculations based on the measured length and width.

[0083] It should be noted that this embodiment does not limit the method for obtaining the area of ​​the room. The above two methods are only used for illustration. Any suitable method in the prior art can also be used to obtain the area of ​​the room, which will not be described in detail in this embodiment.

[0084] In step S504, the second temperature is calculated based on the current set temperature, the wind speed, the air outlet height, the positions of the air conditioner and the bed, and the area.

[0085] In this embodiment, the second temperature T2 can be calculated according to the air-conditioning blowing jet model using the acquired set temperature, wind speed, air outlet height H1, the position of the air conditioner and the bed, and the area of ​​the room. The input of the air-conditioning blowing jet model is the set temperature, wind speed, air outlet height H1, the position of the air conditioner and the bed, and the area of ​​the room, and the output of the air-conditioning blowing jet model is the second temperature T2.

[0086] In a possible implementation, the air-conditioning blowing jet model can be pre-built with corresponding sample data, the constructed air-conditioning blowing jet model can be tested with corresponding test data, and the constructed air-conditioning blowing jet model can be adjusted according to the test results until the accuracy of the model reaches a threshold. In this way, when calculating the second temperature, it is only necessary to obtain the set temperature, wind speed, air outlet height, position of the air conditioner and bed, and area of ​​the room, and input these data into the pre-built and tested air-conditioning blowing jet model. The output value of the model is the second temperature T2, and the second temperature T2 can be calculated accordingly.

[0087] In a possible implementation, the air-conditioning jet model is a function that can characterize the relationship between the set temperature, wind speed, air outlet height, the position of the air conditioner and the bed, and the area of ​​the room and the second temperature. When calculating the second temperature, the acquired set temperature, wind speed, air outlet height, the position of the air conditioner and the bed, and the area of ​​the room can be used to calculate the second temperature T2 using the function. 射流 =f(set temperature T set , air outlet height H1, wind speed, position of air conditioner and bed, area of ​​the room).

[0088] It should be noted that this embodiment does not limit the calculation method of the second temperature. The above two calculation methods are only used for illustration. The second temperature can also be calculated by any suitable method in the prior art, which will not be described in detail in this embodiment.

[0089] After the second temperature T2 is calculated, step S150 may be performed.

[0090] In step S150 (corresponding to a setting step), a set temperature of the air conditioner is set according to the first temperature and the second temperature.

[0091] In this embodiment, the set temperature of the air conditioner can be set according to the first temperature T1 and the second temperature T2 in accordance with the setting principle that the temperature when the air outlet of the air conditioner blows to the height of the bed is thermally balanced and the user's skin temperature is close to the optimal skin temperature for sleep. In this way, the set temperature set according to the setting principle will make the user's skin temperature as close to the optimal skin temperature for sleep as possible, so that a more appropriate set temperature can be set, thereby providing the user with a more comfortable sleeping temperature.

[0092] In a possible implementation, the set temperature of the air conditioner can be set according to the temperature difference between the first temperature T1 and the second temperature T2 according to the above setting principle. In a possible implementation, the set temperature of the air conditioner can be set according to the above setting principle according to the statistics such as the variance, standard deviation, and covariance between the first temperature T1 and the second temperature T2.

[0093] According to this embodiment, after the sleep mode of the air conditioner is turned on, the outer surface temperature of the clothing system used by the user for sleeping is obtained and the air temperature corresponding to the height of the bed used by the user for sleeping is calculated, and then the set temperature of the air conditioner is set according to the outer surface temperature and the air temperature. In this way, since the set temperature of the air conditioner is set based on the outer surface temperature and the air temperature of the clothing system, this embodiment takes into account the parameters that affect the temperature, such as the clothing system used by the user for sleeping and the height of the bed, when setting the set temperature of the air conditioner. Compared with the prior art that does not take these parameters into consideration, this embodiment can set a set temperature that is more matched with the outer surface temperature and the air temperature of the clothing system, and therefore can set a more appropriate set temperature to provide the user with a more comfortable sleeping temperature.

[0094] In one possible implementation, Figure 3 As shown, the optimal average skin temperature for all users in the room used for sleep is determined (i.e., Figure 2 Step S201) in the embodiment may include the following steps:

[0095] In step S301, the gender, age and current season of all the users are obtained.

[0096] In this embodiment, the gender of the user may include male and / or female, and the age of the user may include infants, teenagers, adults, the elderly, and any combination of these ages, such as adults + infants, the elderly + infants, teenagers + infants, adults + the elderly, etc. The current season may include spring, summer, autumn, and winter.

[0097] In a possible implementation, the gender and age of each user in the room can be collected in advance, and the collected gender and age can be stored in a storage device. Therefore, when the gender and age are to be obtained, the storage device can be accessed to read the stored gender and age, thereby obtaining the gender and age of all users. For example, Fig.10 As shown, the user can input the gender and age of each user through the parameter setting screen displayed by a terminal such as a mobile phone. Of course, the number of users can also be collected, thereby pre-collecting the gender, age and number of all users.

[0098] In a possible implementation, images of users in the room may be collected, and the collected images may be identified to determine the gender and age of the users in the images. Of course, the current season may be obtained based on the weather forecast of the day.

[0099] In a possible implementation, an audio control system may be arranged at a corresponding position of the air conditioner, and a voice command for inquiring the user's gender, age, and current season may be issued to the user through the audio control system, such as "Please tell the gender, age, and current season of each host", and the voice signals about gender, age, and season returned by all users in the room are collected, and the voice signals are analyzed to obtain the gender, age, and current season of all users. Of course, the air conditioner may communicate with the user's terminal with a voice system to obtain the user's gender, age, and current season through the voice system of the terminal, wherein the terminal may include but is not limited to a smart phone, a smart watch, a smart speaker, a smart desk lamp, etc.

[0100] It should be noted that this embodiment does not limit the method for obtaining gender, age and current season. The above-mentioned method is only used for example description. Any suitable method in the prior art can also be used to obtain gender, age and current season, which will not be repeated in this embodiment.

[0101] In step S302, the optimal skin temperature for sleep of all the users is obtained by searching the first table using the gender, age and current season of all the users, wherein the first table records the association between users who are within the age range and belong to the corresponding gender in the corresponding season and their corresponding optimal skin temperature for sleep.

[0102] For example, if it is found that there is an adult male and an adult female in the room and it is summer, you can search Figure 9a According to the first table shown, it can be determined that the optimal skin temperature for summer sleep of the adult male is 29-31 degrees Celsius, and the optimal skin temperature for summer sleep of the adult female is 30-32 degrees Celsius.

[0103] In step S303, the average value of the acquired optimal sleeping skin temperatures is calculated to serve as the optimal average skin temperature.

[0104] In this embodiment, after the optimal sleeping skin temperatures of all users in the room are obtained, statistics calculation such as weighted average can be performed on these temperatures to calculate the optimal average skin temperature.

[0105] In one possible implementation, Figure 4 As shown, the average heat dissipation of all users is determined (ie, Figure 2 Step S202 in the method may include the following steps:

[0106] In step S401, the basal metabolic rate of all the users is calculated according to their respective genders, weights, ages, and heights using the human basal metabolic rate formula.

[0107] In this embodiment, any appropriate method can be used to obtain the gender, weight, age and height of all users in the room, obtain the human basal metabolic rate formula corresponding to each gender, substitute the obtained weight, age and height into the human basal metabolic rate formula corresponding to the obtained gender, and calculate to obtain the basal metabolic rate of each user. Among them, obtaining the gender, weight, age and height of the user is a prior art and will not be repeated in this embodiment.

[0108] Exemplarily, the formula for the basal metabolic rate of the human body for men is BMR=(10*weight in kg)+(6.25*height in cm)-(5*age)+5, and the formula for the basal metabolic rate of the human body for women is BMR=(10*weight in kg)+(6.25*height in cm)-(5*age)-161, where BMR is the basal metabolic rate of the human body, and the age of an adult is 40; the age of an elderly person is 70 years old; and the age of a child is 10 years old.

[0109] In step S402, the sleeping human body basal metabolic rate of each of the users is calculated according to the basal metabolic rate of each of the users.

[0110] In this embodiment, after calculating the human basal metabolic rate of each user, the human basal metabolic rate of each user during sleep can be calculated according to the relationship between the human basal metabolic rate and the human basal metabolic rate during sleep. Exemplarily, the human basal metabolic rate during sleep is equal to 85% to 90% of the human basal metabolic rate.

[0111] In step S403, the heat dissipation during sleep of all the users is calculated according to the basal metabolic rates of all the users during sleep.

[0112] In this embodiment, the sleep heat production of each user can be calculated according to the basal metabolic rate of each user during sleep, and then the sleep heat production can be converted into the heat dissipation during sleep. For example, the sleep heat production of the user is equal to the basal metabolic rate of the user during sleep divided by 24, and the heat dissipation during sleep of the user can be obtained by multiplying the sleep heat production by 1.162.

[0113] In step S404, an average of the heat dissipation of all the users during sleep is calculated as the average heat dissipation.

[0114] In this embodiment, the heat dissipation of all users during sleep may be added together, and then the sum may be divided by the number of users to obtain the average heat dissipation.

[0115] In a possible implementation, the total thermal resistance of the clothing system is calculated according to the material of the clothing system (ie, Figure 2 Step S203 in the method may include: obtaining the material of the bedding system; and obtaining the total thermal resistance of the bedding system by searching a second table using the material of the bedding system, wherein the second table records the correlation between the material of the bedding system and its corresponding total thermal resistance.

[0116] In this embodiment, the material of the bedding system can be obtained by any one or more of the following: obtaining the material selected by the user from the material of the bedding system in the displayed parameter setting screen; using an identification device to identify a tag set in the bedding system used for sleeping, wherein the tag carries information that can characterize the material of the bedding system; obtaining an image of the bedding system taken by the user, and identifying the material of the bedding system in the image; and obtaining the material of the bedding system whose usage frequency corresponding to the current season is higher than a threshold.

[0117] For example, Fig.10 As shown, the user can select bedding and sheets via the parameter setting screen displayed by a terminal such as a mobile phone, wherein the bedding includes blankets, summer quilts, multifunctional quilts, and down quilts; the sheets include bamboo mats, cowhide mats, and cotton and linen products. Therefore, the material of the bedding and sheets selected by the user can be obtained, that is, the material of the bedding system can be obtained.

[0118] For example, Fig.10 As shown, the user can use a device with a camera function, such as a mobile phone, to take pictures of the bedding and sheets, and recognize the taken images to obtain the bedding and sheets. Fig.10 The image recognition result in is duck down quilt + cotton fabric bed sheet.

[0119] For example, Fig.10As shown, for bedding and sheets with RFID tags, a device with NFC function, such as a mobile phone, can be used to obtain the material of the bedding system. Specifically, the mobile phone can be placed close to the bedding and sheets, and the mobile phone can read the material information stored in the RFID tag, thereby obtaining the material of the bedding and sheets.

[0120] For example, when bedding and bed sheets are not provided, the material of the bedding system that is used more frequently in the current season can be used as the material of the bedding system of this embodiment. Fig.10 As shown, when the current season is summer, the bedding and sheets are blanket + bamboo mat by default; when the current season is spring and autumn, the bedding and sheets are multi-functional quilt + cotton fabric sheets by default; when the current season is winter, the bedding and sheets are down quilt + cotton fabric sheets by default.

[0121] After obtaining the material of the clothing system in the above manner, you can Figure 9b By searching the total thermal resistance that matches the material in the second table shown, the total thermal resistance R of the clothing system can be obtained.

[0122] In one possible implementation, Figure 7 As shown, step S150 for setting the set temperature of the air conditioner may include the following steps:

[0123] In step S701 , the temperature difference between the first temperature T1 and the second temperature T2 is calculated.

[0124] In step S702, it is determined whether the absolute value of the temperature difference is less than a threshold value Th1.

[0125] In this embodiment, the absolute value of the temperature difference can be compared with the threshold value Th1. If the absolute value is less than the threshold value Th1, it means that at the current set temperature, the temperature of the air outlet of the air conditioner when it blows to the bed height has passed through thermal equilibrium, and the skin temperature of the user is close to the optimal skin temperature, which means that the current set temperature is appropriate. Therefore, there is no need to adjust the current set temperature, and step S706 can be executed. Otherwise, it means that at the current set temperature, the temperature of the air outlet of the air conditioner when it blows to the bed height has passed through thermal equilibrium, and the skin temperature of the user is not close to the optimal skin temperature, which means that the current set temperature is inappropriate. Therefore, the current set temperature needs to be adjusted, and step S703 can be executed.

[0126] In step S703, it is determined whether the second temperature T2 is lower than the first temperature T1.

[0127] In this embodiment, the second temperature T2 may be compared with the first temperature T1. If the second temperature T2 is lower than the first temperature T1, step S704 is executed; otherwise, step S705 is executed.

[0128] In step S704, the current set temperature of the air conditioner is adjusted to a first set temperature, wherein the first set temperature is greater than the current set temperature.

[0129] In step S705, the current set temperature of the air conditioner is adjusted to a second set temperature, wherein the second set temperature is lower than the current set temperature.

[0130] In this embodiment, if the second temperature T2 is lower than the first temperature T1, it means that at the current set temperature, the temperature of the air outlet of the air conditioner when blowing to the height of the bed has reached thermal equilibrium, and the skin temperature of the user is lower than the optimal skin temperature. Therefore, the current set temperature needs to be increased, so that the set temperature of the air conditioner can be increased from the current set temperature to the first set temperature. Otherwise, it means that at the current set temperature, the temperature of the air outlet of the air conditioner when blowing to the height of the bed has reached thermal equilibrium, and the skin temperature of the user is higher than the optimal skin temperature. Therefore, the current set temperature needs to be reduced, so that the set temperature of the air conditioner can be reduced from the current set temperature to the second set temperature.

[0131] In step S706, the current set temperature of the air conditioner is maintained.

[0132] In a possible implementation, the first set temperature is equal to the sum of the product of the absolute value and the first correction coefficient and the current set temperature. Exemplarily, the first correction coefficient is greater than or equal to 0.1 and less than or equal to 10. It should be understood that the first correction coefficient is a room heat load correction coefficient, and by introducing the correction coefficient, the set temperature to be adjusted can be made more accurate.

[0133] In a possible implementation, the second set temperature is equal to the difference between the current set temperature and the product of the absolute value and the second correction coefficient. Exemplarily, the second correction coefficient is greater than or equal to 0.1 and less than or equal to 10. It should be understood that the second correction coefficient is a room heat load correction coefficient. By introducing the second correction coefficient, the set temperature to be adjusted can be made more accurate.

[0134] It should be noted that the first correction coefficient may be equal to the second correction coefficient. Of course, it may also be less than the second correction coefficient, or it may be greater than the second correction coefficient. Any suitable coefficient within the above coefficient range can be used as the first correction coefficient and the second correction coefficient according to actual application requirements.

[0135] In a possible implementation, after the setting step, the control method may further include: determining the duration of the sleep mode; and adjusting the set temperature of the air conditioner according to the sleep temperature curve and the duration.

[0136] For example, Figure 8a As shown, if the air conditioner is in cooling operation, the timer can be started in response to turning on the sleep mode of the air conditioner. When the count value of the timer falls within the time interval [0,1] hours, the set temperature T after the setting of the set temperature is completed according to the above process is maintained. set If the timer count value falls within the time interval [1,2] hours, the set temperature is adjusted to (T set +1) degrees Celsius, when the timer count value falls within the time interval [2,7] hours, the set temperature is adjusted to (T set +2) degrees Celsius, when the timer count value falls within the time interval [7,10] hours, the set temperature is adjusted to (T set +1) degrees Celsius, if the timer count value exceeds 10 hours, adjust the set temperature to T set .

[0137] For example, Figure 8b As shown, if the air conditioner is running in heating mode, the timer can be started in response to turning on the sleep mode of the air conditioner. When the count value of the timer falls within the time interval [0,1] hours, the set temperature T after the setting of the set temperature is completed according to the above process is maintained. set If the timer count value falls within the time interval [1,2] hours, the set temperature is adjusted to (T set -1) degrees Celsius, when the timer count value falls within the time interval [2,7] hours, the set temperature is adjusted to (T set -2) degrees Celsius, when the timer count value falls within the time interval [7,10] hours, the set temperature is adjusted to (T set -1) degrees Celsius, if the timer count value exceeds 10 hours, adjust the set temperature to T set .

[0138] As a result, the air conditioner can be operated according to a more appropriate set temperature in accordance with the sleeping temperature curve, thereby providing a more comfortable sleeping temperature for the user.

[0139] For ease of understanding, combined Fig.11 The sleep control method of this embodiment is described in detail. Fig.11 As shown, the sleep control method may include the following steps:

[0140] In step S1001, after the sleep mode of the air conditioner is turned on, the result set by the user in the parameter setting screen is read.

[0141] In step S1002, the optimal average skin temperature of the user, namely Thumanskin, is determined based on the input age and gender characteristics. If there are multiple people in the room, the average value of the multiple people is calculated as the optimal average skin temperature.

[0142] In step S1003, the user's basal metabolic rate is calculated according to the human basal metabolic rate BMR formula.

[0143] In step S1004, according to the basal metabolic rate of the human body during sleep = 85% to 90% of the basal metabolic rate, heat production during sleep = BMR*0.85 / 24 (kcal / h), 1kcal / h = 1.162W, the heat dissipation during sleep qhuman body = BMR*0.85 / 24*1.162W is obtained; if there are multiple people in the room, the average heat dissipation of multiple people is calculated.

[0144] In step S1005, according to the input material of the bedding system (for example, bedding is a blanket, a summer quilt, a multifunctional quilt, etc.; a cool mat, a cotton and linen bed sheet, etc.); the default value of pajamas: summer short-sleeved pajamas, winter long-sleeved pajamas, the total thermal resistance R of the bedding system is obtained according to the second table.

[0145] In step S1006, according to the heat balance equation: qhuman body = qquilt, assume that Tquiltinside = Thuman skin, Tquiltoutsideoptimal = Tquiltinside - q*R, where Tquiltinside is the inner surface temperature of the bedding system, Tquiltoutsideoptimal is the optimal outer surface temperature of the bedding system, and output the optimal outer surface temperature of the bedding system Tquiltoutsideoptimal.

[0146] In step S1007, the optimum clothing outer surface temperature Tbeiouteroptimal is stored.

[0147] In step S1008, according to the air conditioning jet model, such as fjet=f(air conditioning set temperature, air outlet height, wind speed, air conditioning and bed position, room area), the temperature Tair_(bed height) corresponding to the bed height is calculated.

[0148] In step S1009, the temperature Tair_(bed height) corresponding to the bed height is stored.

[0149] In step S1010, it is determined whether the absolute value of the temperature difference between Tair_(bed height) and Touterbest is less than 1. If it is less than 1, step S1011 is executed, otherwise, step S1012 is executed.

[0150] In step S1011, the set temperature Tset of the air conditioner is maintained unchanged.

[0151] In step S1012, it is determined whether Tair_(bed height) is less than Touteroptimal. If yes, step S1013 is executed, otherwise, step S1014 is executed.

[0152] In step S1013, the air conditioning set temperature Tset=Tset+α*|ΔT|, where |ΔT|=|Tair_(bed height)-Toutsideoptimal|.

[0153] In step S1014, the air conditioner sets the temperature Tset=Tset-α*|ΔT|, where |ΔT|=|Tair_(bed height)-Toutsideoptimal|.

[0154] In step S1015 , the temperature is adjusted according to the sleep temperature curve and the duration of the sleep mode.

[0155] For the above steps S1001 to S1015, please refer to the above Figure 1-Figure 5 and Figure 7 The description will not be repeated here.

[0156] Therefore, the present invention controls the operation of the air conditioner through an algorithm to ensure that at the set temperature of the air conditioner, after the temperature of the air outlet of the air conditioner blows to the height of the bed through thermal equilibrium, the user's skin temperature is as close as possible to the user's optimal skin temperature for sleep.

[0157] When setting the set temperature of the air conditioner, the present disclosure takes into account various factors such as the area of ​​the room, the location of the air conditioner and the bed, the height of the bed, the material of the sleeping supplies, i.e., the bedding system, etc., and provides personalized customized sleeping environment adjustment solutions for different users, meeting the different needs of different groups such as infants, children, young people, middle-aged people, and the elderly in terms of sleep duration, difficulty, sleep time, etc. Therefore, the present disclosure can meet more personalized sleep needs.

[0158] Moreover, the present disclosure sets the operating mode of the air conditioner so that the temperature of the sleeping product is close to the sleeping temperature curve, which helps the user to fall asleep better and maintain a good sleeping state, thereby improving the sleep quality. In addition, the present disclosure can combine a variety of data for precise control, and can reduce energy waste while providing a comfortable sleeping environment for the user. In addition, the technical solution of the present disclosure can be applied to various places such as homes and nursing homes, and has a wide range of application scenarios.

[0159] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not go into details.

[0160] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0161] Fig.12 A block diagram of a sleep control device according to an embodiment of the present disclosure is shown. Fig.12 As shown, the sleep control device 1200 may include an acquisition module 1210, a calculation module 1230 and a setting module 1250. The acquisition module 1210 is used to acquire a first temperature representing the temperature of the outer surface of the clothing system used for sleep. The calculation module 1230 is used to calculate a second temperature representing the air temperature corresponding to the height of the bed used for sleep. The setting module 1250 is connected to the acquisition module 1210 and the calculation module 1230, and is used to set the set temperature of the air conditioner according to the first temperature and the second temperature.

[0162] In one possible implementation, the acquisition module 1210 is configured to: determine the optimal average skin temperature of all users in the room used for sleeping; determine the average heat dissipation of all users; calculate the total thermal resistance of the clothing system based on the material of the clothing system; calculate the first temperature based on the optimal average skin temperature, the average heat dissipation and the total thermal resistance.

[0163] In one possible implementation, the acquisition module 1210 is configured to: obtain the gender, age and current season of all the users; obtain the optimal sleep skin temperature of all the users by searching a first table using the gender, age and current season of all the users, wherein the first table records the association between users who are within the age range and belong to the corresponding gender in the corresponding season and their corresponding optimal sleep skin temperature; and calculate the average value of the obtained optimal sleep skin temperatures as the optimal average skin temperature.

[0164] In one possible implementation, the acquisition module 1210 is configured to: calculate the basal metabolic rate of each of the users according to their respective genders, weights, ages, and heights using the human basal metabolic rate formula; calculate the basal metabolic rate of each of the users during sleep according to their respective basal metabolic rates; calculate the heat dissipation of each of the users during sleep according to their respective basal metabolic rates during sleep; and calculate the average heat dissipation of each of the users during sleep as the average heat dissipation.

[0165] In one possible implementation, the acquisition module 1210 is configured to: obtain the material of the bedding system; and obtain the total thermal resistance of the bedding system by searching a second table using the material of the bedding system, wherein the second table records the correlation between the material of the bedding system and its corresponding total thermal resistance.

[0166] In one possible implementation, the acquisition module 1210 is configured to acquire the material of the bedding system by any one or more of the following: acquiring the material selected by the user from the material of the bedding system in the displayed parameter setting screen; using an identification device to identify a tag set in the bedding system used for sleeping, wherein the tag carries information that can characterize the material of the bedding system; acquiring an image of the bedding system taken by the user and identifying the material of the bedding system in the image; and acquiring the material of the bedding system whose usage frequency corresponding to the current season is higher than a threshold.

[0167] In one possible implementation, the calculation module 1230 is configured to: obtain the current set temperature and wind speed of the air conditioner; obtain the outlet height representing the height of the air outlet of the air conditioner from the ground of the sleeping room; obtain the positions of the air conditioner and the bed and the area of ​​the room; and calculate the second temperature based on the current set temperature, the wind speed, the outlet height, the positions of the air conditioner and the bed, and the area.

[0168] In one possible implementation, the setting module 1250 is configured to: calculate the temperature difference between the first temperature and the second temperature; determine whether the absolute value of the temperature difference is less than a threshold; if it is determined that the absolute value is less than the threshold, maintain the current set temperature of the air conditioner.

[0169] In one possible implementation, the setting module 1250 is configured as follows: if it is determined that the absolute value is greater than the threshold, then determine whether the second temperature is lower than the first temperature; if it is determined that the second temperature is lower than the first temperature, then adjust the current set temperature of the air conditioner to the first set temperature, wherein the first set temperature is higher than the current set temperature; if it is determined that the second temperature is higher than the first temperature, then adjust the current set temperature of the air conditioner to the second set temperature, wherein the second set temperature is lower than the current set temperature.

[0170] In a possible implementation, the first set temperature is equal to the sum of the product of the absolute value and the first correction coefficient and the current set temperature.

[0171] In a possible implementation manner, the first correction coefficient is greater than or equal to 0.1 and less than or equal to 10.

[0172] In a possible implementation, the second set temperature is equal to the difference between the current set temperature and the product of the absolute value and the second correction coefficient.

[0173] In a possible implementation manner, the second correction coefficient is greater than or equal to 0.1 and less than or equal to 10.

[0174] In a possible implementation, the sleep control device 1200 may further include: a determination module (not shown) for determining the duration of the sleep mode; and an adjustment module (not shown) for adjusting the set temperature of the air conditioner according to the sleep temperature curve and the duration.

[0175] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0176] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.

[0177] The embodiment of the present disclosure also provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above sleep control method when executing the instructions stored in the memory. The electronic device is, for example, an air conditioner.

[0178] The embodiment of the present disclosure also provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned sleep control method.

[0179] Fig.13 8 is a block diagram of a sleep control device 800 according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0180] Reference Fig.13 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 (I / O interface), a sensor component 814 , and a communication component 816 .

[0181] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0182] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0183] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0184] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0185] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0186] The input / output interface 812 provides an interface between the processing component 802 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0187] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0188] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0189] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0190] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by a processor 820 of the device 800 to perform the above sleep control method.

[0191] Fig.14 1 is a block diagram of a device 1900 for sleep control according to an exemplary embodiment. For example, the device 1900 may be provided as a server or an air conditioner. Fig.14 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0192] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM ,Linux TM , FreeBSD TM or similar.

[0193] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above sleep control method.

[0194] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0195] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0196] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0197] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0198] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0199] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0200] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0201] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0202] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A sleep control method, applied to an air conditioner, characterized in that: include: After the sleep mode of the air conditioner is turned on, the following steps are performed: An acquisition step for acquiring a first temperature representing the temperature of an outer surface of a clothing system for sleeping; A calculation step for calculating a second temperature representing the air temperature corresponding to the height of the bed used for sleeping; A setting step is used to set the set temperature of the air conditioner according to the first temperature and the second temperature.

2. The sleep control method according to claim 1, characterized in that: The obtaining step comprises: Determining the optimal average skin temperature for all users in the room used for sleeping; Determining an average heat dissipation of all users; Calculating the total thermal resistance of the bedding system according to the material of the bedding system; The first temperature is calculated according to the optimal average skin temperature, the average heat dissipation and the total thermal resistance.

3. The sleep control method according to claim 2, characterized in that: Determining the optimal average skin temperature for all users in a room used for sleep involves: Get the gender, age and current season of all users; The optimal sleep skin temperature of each of the users is obtained by searching a first table using the gender, age and current season of each of the users, wherein the first table records the association between users who are within the age range and belong to the corresponding gender in the corresponding season and their corresponding optimal sleep skin temperature; An average value of the acquired optimal sleep skin temperatures is calculated to serve as the optimal average skin temperature.

4. The sleep control method according to claim 2, characterized in that: Determining the average heat dissipation of all users includes: Calculate the basal metabolic rate of all users according to their respective genders, weights, ages, and heights using a human basal metabolic rate formula; Calculating the sleep basal metabolic rates of all the users according to their respective basal metabolic rates; Calculating the heat dissipation of all the users during sleep according to their respective basal metabolic rates during sleep; An average of the heat dissipation of all the users during sleep is calculated as the average heat dissipation.

5. The sleep control method according to claim 2, characterized in that: According to the material of the bedding system, calculating the total thermal resistance of the bedding system includes: Obtaining the material of the clothing system; The total thermal resistance of the bedding system is obtained by searching a second table using the material of the bedding system, wherein the second table records the correlation between the material of the bedding system and its corresponding total thermal resistance.

6. The sleep control method according to claim 5, characterized in that: Get the material of the clothing system by any one or more of the following: Obtaining the material selected by the user from the material of the clothing system in the displayed parameter setting screen; Using an identification device to identify a tag set in a sleeping clothing system, wherein the tag carries information that can characterize the material of the sleeping clothing system; Acquire an image of a clothing system taken by a user, and identify the material of the clothing system in the image; and Get the material of the clothing system corresponding to the current season and whose usage frequency is higher than the threshold.

7. The sleep control method according to any one of claims 1 to 6, characterized in that: The calculation steps include: Obtaining the current set temperature and wind speed of the air conditioner; Obtaining an air outlet height representing the height of the air outlet of the air conditioner from the floor of the sleeping room; Obtaining the positions of the air conditioner and the bed and the area of ​​the room; The second temperature is calculated based on the current set temperature, the wind speed, the air outlet height, the positions of the air conditioner and the bed, and the area.

8. The sleep control method according to any one of claims 1 to 7, characterized in that: The setting steps include: calculating a temperature difference between the first temperature and the second temperature; Determining whether the absolute value of the temperature difference is less than a threshold; If it is determined that the absolute value is less than the threshold, the current set temperature of the air conditioner is maintained.

9. The sleep control method according to claim 8, characterized in that: The setting step also includes: If it is determined that the absolute value is greater than the threshold, determining whether the second temperature is less than the first temperature; If it is determined that the second temperature is lower than the first temperature, adjusting the current set temperature of the air conditioner to a first set temperature, wherein the first set temperature is higher than the current set temperature; If it is determined that the second temperature is greater than the first temperature, the current set temperature of the air conditioner is adjusted to a second set temperature, wherein the second set temperature is lower than the current set temperature.

10. The sleep control method according to claim 9, characterized in that: The first set temperature is equal to the sum of the product of the absolute value and the first correction coefficient and the current set temperature.

11. The sleep control method according to claim 10, characterized in that: The first correction coefficient is greater than or equal to 0.1 and less than or equal to 10.

12. The sleep control method according to claim 9, characterized in that: The second set temperature is equal to the difference between the current set temperature and the product of the absolute value and the second correction coefficient.

13. The sleep control method according to claim 12, characterized in that: The second correction coefficient is greater than or equal to 0.1 and less than or equal to 10.

14. The sleep control method according to any one of claims 1 to 13, characterized in that: After the setting step, the sleep control method further includes: determining a duration of the sleep mode; The set temperature of the air conditioner is adjusted according to the sleep temperature curve and the duration.

15. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the sleep control method according to any one of claims 1 to 14 when executing the instructions stored in the memory.

16. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the sleep control method according to any one of claims 1 to 14 is implemented.

17. A computer program product comprising computer program instructions, characterized in that When the computer program instructions are executed by a processor, the sleep control method according to any one of claims 1 to 14 is implemented.