A heating control method, system, device and medium based on sleep state

By predicting the user's wake-up activity time and using wearable devices to adjust the heating temperature, the problem that existing heating systems are difficult to dynamically adjust the temperature when users wake up at night is solved, achieving higher comfort and convenience.

CN119396227BActive Publication Date: 2025-05-02FOSHAN SHUNDE JNOD ELECTRICAL APPLIANCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510000281.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-05-02
Estimated Expiration
2045-01-02

AI Technical Summary

Technical Problem

The existing heating system is difficult for users to dynamically adjust the temperature when they wake up at night, resulting in a large temperature difference between inside and outside the bedding, affecting the user's sense of comfort.

Method used

By predicting the user's night-breaking activity time, using wearable devices to collect user activity data, determine whether it is night-breaking activity, and adjust the heating temperature to adapt to the temperature during the activity time, and finally restore the heating temperature before the user returns to the bedside.

Benefits of technology

It effectively reduces the temperature difference between the inside and outside of the bedding, improves the comfort and convenience of users when getting up at night, and reduces the operating burden of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396227B_ABST
    Figure CN119396227B_ABST
Patent Text Reader

Abstract

The present application relates to a heating control method, system, device and medium based on sleep status, and relates to the field of heating control technology. The method includes: predicting the activity time of a user in a preset sleeping period; obtaining the user activity data of a wearable device during the activity time; determining whether the user activity data is a night-time activity; if it is a night-time activity, increasing the heating temperature to an adaptation temperature, wherein the adaptation temperature is obtained by detection of the wearable device; and adjusting the adaptation temperature to the heating temperature before the user returns to the bed. The present application can reduce the temperature difference between the inside and outside of the quilt when the user gets up at night, and improve the user's comfort when getting up at night.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of heating control technology, and in particular to a heating control method, system, device and medium based on a sleep state. Background Art

[0002] In modern life, as people's living standards improve, the requirements for living environment comfort are getting higher and higher. Especially in winter, home heating systems have become an important facility to ensure the appropriate indoor temperature. Traditional heating systems usually maintain indoor warmth through constant temperature settings.

[0003] With existing technical means, users can freely control the indoor temperature by manually adjusting the temperature of the heating system. This method is simple and intuitive, allowing users to adjust the temperature according to real-time feelings and needs. In addition, the application of smart thermostats provides users with a more convenient option. They can automatically adjust the room temperature at a pre-set fixed time point to achieve automated temperature management.

[0004] Although existing technical means can provide a comfortable temperature for the human body indoors, people who are prone to getting up at night may often wake up in their sleep due to nocturnal urination during the sleeping period and need to leave the warm bedding for a short time to go to the toilet. The manual temperature adjustment method is not convenient enough and requires users to operate it before getting up at night, which increases the burden on users. General smart thermostats also need to set a fixed time point in advance before adjusting the temperature, and it is difficult to accurately determine whether the user is getting up at night before adjusting the temperature. Therefore, how to dynamically adjust the heating temperature when the user gets up at night to reduce the discomfort caused by the temperature difference between indoor and outdoor temperatures is still a technical problem that needs to be solved urgently. Summary of the invention

[0005] The first purpose of the present application is to provide a heating control method based on the sleeping state, which can reduce the temperature difference between the inside and outside of the quilt when the user gets up at night, and improve the user's comfort when getting up at night.

[0006] In the first aspect, the present application provides a heating control method based on a sleep state, which adopts the following technical solution:

[0007] A heating control method based on a sleeping state, comprising:

[0008] Predict the user's activity time during the preset sleeping period;

[0009] Obtaining user activity data of the wearable device during the activity time;

[0010] Determine whether the user activity data is nighttime activity;

[0011] If the activity is done at night, the heating temperature is increased until the temperature is adapted to the environment, wherein the adapted temperature is detected by the wearable device;

[0012] Adjust the acclimatization temperature to the heating temperature before the user returns to the bed.

[0013] By adopting the above technical solution, the wearable device is used to collect user activity data during active time, so as to determine whether the user is getting up for night activities, and to detect activity data during active time, thereby achieving energy saving of the wearable device; when the user gets up for night activities, the heating temperature is promptly increased to the adaptation temperature, so that the user can feel the temperature inside the bedding in a short time, reducing the discomfort caused by the temperature difference between the inside and outside of the bedding; at the same time, before the user returns to the bed, the adaptation temperature is promptly restored to the heating temperature, so that the temperature inside the bedding temporarily increased due to the heating temperature is restored as much as possible to the adaptation temperature before the user leaves the bedding, thereby improving the comfort and convenience of the user when getting up at night.

[0014] In a preferred example, the present application may be further configured as follows: if the user gets up at night to engage in activities, the heating temperature is increased until the user adapts to the temperature, wherein the adapting temperature is obtained by detecting the wearable device, including:

[0015] Obtaining the identity information of the user carrying the wearable device to determine whether the user is a person who is prone to waking up at night;

[0016] If so, the heating temperature is raised to the neutralization temperature in advance according to the heating time preset before the user's activity time, wherein the neutralization temperature is the average value of the heating temperature and the adaptation temperature.

[0017] During the active time, the neutralization temperature is adjusted to the adaptation temperature.

[0018] By adopting the above technical solution, the heating temperature can be increased to the neutral temperature and then to the adaptation temperature in advance within the preset heating time before the user gets up at night, especially for people who are prone to getting up at night. When the user leaves the bed, the room temperature can reach the real-time temperature inside the bedding more quickly, thereby reducing the discomfort caused by the temperature difference between the inside and outside of the bedding when the user gets up at night.

[0019] In a preferred example, the present application may be further configured as follows: before the step of obtaining the user activity data of the wearable device during the activity time, the step further includes:

[0020] Connect to the mobile software that can record water intake to obtain the user's actual water intake;

[0021] An observation time is set before the sleeping period, and an average value of the historical water drinking amount of the user during the observation time is obtained;

[0022] Determine whether the actual amount of water consumed is greater than the average of the historical amount of water consumed;

[0023] If it is greater, the user activity data is obtained in real time during the sleeping period.

[0024] By adopting the above technical solution, when the user's actual water intake is greater than the average historical water intake, the user's activities can be obtained throughout the sleeping period, so that it can be more accurately judged whether the user has woken up at night, thereby starting the heating temperature adjustment in advance, effectively reducing the user's perceived temperature difference when waking up at night, and improving the user's comfort when waking up at night.

[0025] In a preferred example, the present application may be further configured as follows: the step of predicting the activity time of the user's getting up during the sleeping period includes:

[0026] The historical activity time of the user when getting up to move during the sleeping period is obtained, and according to the occurrence frequencies of several historical activity times, the historical activity time with the highest occurrence frequency is selected as the activity time of the user.

[0027] By adopting the above technical solution, when the user gets up at night, the historical activity time of the user getting up during the sleeping period is used to predict the activity time of the current sleeping period, which helps to prepare for the adjustment of the heating temperature in advance, reduce the discomfort caused by the temperature difference between the inside and outside of the bedding, and improve the user's comfort experience.

[0028] In a preferred example, the present application can be further configured as follows: the step of adjusting the adaptation temperature to the heating temperature before the user returns to the bedside includes:

[0029] Get the distance and direction of the bathroom, bed and heating equipment;

[0030] Determine whether the user has left the bathroom based on the distance between the user's wearable device and the heating device, and the distance and direction between the bathroom and the heating device;

[0031] Determine whether the user has reached the bedside based on the distance between the user's wearable device and the heating device, and the distance and direction between the bedside and the heating device;

[0032] The adaptation temperature is adjusted to the heating temperature from the time when the user leaves the bathroom, and the heating temperature is reached after the user reaches the bedside.

[0033] By adopting the above technical solution, it is determined whether the user has left the bathroom and moved to the bedside, and the heating temperature is gradually adjusted in the process, so that the heating temperature is restored to the heating temperature when the user returns to the bedside, and then the temperature inside the bedding can be restored to the temperature before the user left, effectively avoiding the discomfort caused by the temperature difference between the inside and outside of the bedding, and improving the user's comfort experience after getting up at night.

[0034] In a preferred example, the present application may be further configured as follows: if the user gets up at night to engage in activities, the heating temperature is increased until the user adapts to the temperature, wherein the adapting temperature is obtained by detecting the wearable device, including:

[0035] Get the alarm of the wearable device and confirm the user's wake-up time;

[0036] According to the preset heating time before the user's waking time, the heating temperature is raised to the neutralization temperature in advance, wherein the neutralization temperature is the average value of the heating temperature and the adaptation temperature;

[0037] At the waking time, the neutralization temperature is adjusted to the adaptation temperature.

[0038] By adopting the above technical solution, before the user's alarm rings to remind him to get up, the heating temperature is automatically increased to the neutral temperature and then to the adaptation temperature according to the heating time preset in advance by the alarm of the wearable device, thereby ensuring that the indoor temperature has reached the adaptation temperature when the user gets up, while reducing the discomfort caused by the temperature difference between the inside and outside of the bedding, thereby improving the user's comfort.

[0039] In a preferred example, the present application may be further configured as follows: before the step of predicting the activity time of the user within the preset sleeping period, it also includes:

[0040] Set the room entry detection range according to the distance and orientation between the door and the heating equipment;

[0041] According to the distance and direction between the user's wearable device and the heating device, determine whether the user is within the room entry detection range;

[0042] If yes, set the temperature to heating temperature.

[0043] By adopting the above technical solution, the temperature can be automatically set to the heating temperature before the user enters the room, which effectively prevents the user from feeling cold due to temperature discomfort after entering the room, thereby improving the user's living comfort.

[0044] In a second aspect, the present application provides a heating control system based on a sleep state, which adopts the following technical solution:

[0045] A heating control system based on a sleeping state, comprising:

[0046] Time prediction module: used to predict the user's activity time during the preset sleeping period;

[0047] Activity acquisition module: used to obtain user activity data of the wearable device during the activity time;

[0048] Night-time waking judgment module: used to judge whether the user activity data is night-time waking activity;

[0049] Heating and temperature raising module: used to increase the heating temperature to the adapted temperature when getting up at night, wherein the adapted temperature is detected by the wearable device;

[0050] Heating recovery module: used to adjust the adaptation temperature to the heating temperature before the user returns to the bed.

[0051] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:

[0052] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned heating control method based on the sleep state when executing the computer program.

[0053] In a fourth aspect, the present application provides a computer storage medium, the following technical solution:

[0054] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned heating control method based on the sleep state are implemented.

[0055] In summary, this application has the following beneficial technical effects:

[0056] 1. This application predicts the user's activity time during the sleeping period and obtains the user's activity data of the wearable device during the activity time to determine whether the user is getting up at night, so as to adjust the heating temperature in time and reduce the discomfort caused by the temperature difference between the inside and outside of the bedding when the user gets up at night.

[0057] 2. This application restores the temperature to the heating temperature before the user returns to the bedside when getting up at night, so that the temperature inside the bedding can be restored as much as possible to the temperature before the user left, thereby improving the user's comfort when getting up at night. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 This is a flow chart of a heating control method based on sleep state in one embodiment of the present application.

[0059] Figure 2 It is a sub-step flow chart of step S4 in one embodiment of the present application.

[0060] Figure 3 This is a flowchart of steps added before step S2 in one embodiment of the present application.

[0061] Figure 4 It is a sub-step flow chart of step S1 in one embodiment of the present application.

[0062] Figure 5It is a sub-step flow chart of step S5 in one embodiment of the present application.

[0063] Figure 6 It is a sub-step flow chart of step S4 in another embodiment of the present application.

[0064] Figure 7 This is a flowchart of steps added before step S1 in one of the embodiments of the present application.

[0065] Figure 8 It is a structural diagram of a heating control system based on a sleep state according to one embodiment of the present application.

[0066] Fig. 9 It is a principle block diagram of an electronic device in one embodiment of the present application.

[0067] Figure numerals: 1. Time prediction module; 2. Activity acquisition module; 3. Night-time waking judgment module; 4. Heating temperature increase module; 5. Heating recovery module. DETAILED DESCRIPTION

[0068] The following is combined with Figure 1-9 This application is described in further detail.

[0069] refer to Figure 1 , a heating control method based on a sleeping state, specifically comprising:

[0070] S1. Predicting the user's activity time within a preset sleeping period.

[0071] Specifically, the sleeping period can be obtained by detecting the user's sleeping state through the built-in acceleration sensor of the wearable device. If the user has almost no large movements or few movements during the sleeping period, the wearable device will determine that the user is in a sleeping state; if the user hardly moves, it is determined to be in a deep sleep state; if the movement amplitude is large, it is determined to be awake. The start time of the user's continuous sleeping state for a period of time to the continuous awake state for a period of time is recorded as the sleeping period. The acceleration sensor of each wearable device has different criteria for judging the user's activity state. The wearable device actually used by the user shall prevail to obtain the user's activity state. In addition, the user can set the sleeping period by himself through the wearable device.

[0072] S2. Obtain user activity data of the wearable device during the activity time.

[0073] Specifically, the built-in acceleration sensor in the wearable device is used to monitor the user's activities during the sleeping period and record them as user activity data. In addition, during inactive time, the wearable device reduces the frequency of uploading user activity data to the heating device, thereby achieving energy saving for the wearable device.

[0074] In addition, at a fixed time point during the sleep period, the wearable device will upload the user's activity data once to reduce the situation where the heating temperature is not adjusted to the appropriate temperature in time due to sudden night activities. The fixed time point can be set to once every hour.

[0075] S3. Determine whether the user activity data is nighttime activity.

[0076] Specifically, if the user makes a large movement, it is determined to be a nighttime activity.

[0077] S4. If the user is getting up for night activities, the heating temperature is increased until the user adapts to the temperature, wherein the adaptation temperature is detected by the wearable device.

[0078] Specifically, in winter, when a user uses a wearable device to fall asleep, the wearable device is placed inside the quilt. The wearable device with an integrated temperature sensor detects the temperature inside the quilt. When the user gets up at night and is about to leave the quilt, the heating temperature can be raised to the same or as close to the indoor temperature as possible, so that the user can experience the same room temperature as the temperature inside the quilt when leaving the quilt, thereby improving the user's comfort when getting up at night. The heating temperature can be set by the user.

[0079] S5. Adjust the adaptation temperature to the heating temperature before the user returns to the bed.

[0080] Specifically, since it takes a certain amount of time to get up at night, when the heating temperature is adjusted to the adaptation temperature, the temperature outside the quilt rises and the temperature inside the quilt also rises accordingly. At this time, the temperature inside the quilt exceeds the original adaptation temperature at the heating temperature, that is, the adaptation temperature before the user leaves the quilt.

[0081] In order to restore the temperature inside the bedding to the original adaptation temperature that should be maintained for a long time, the adaptation temperature is adjusted to the heating temperature when the user is about to return to the bed, so that the temperature inside the bedding can be lowered to the original adaptation temperature during the time from returning to the bed to entering the bedding, thereby improving the user experience.

[0082] In this embodiment, when the user falls asleep, he wears a wearable device that can detect the user's activity status and ambient temperature, and collects user activity data at the predicted activity time to determine whether the user gets up at night. Then, when the user gets up at night, the heating temperature is promptly increased to an adaptive temperature, so that after the user leaves the bedding, the discomfort caused by the temperature difference between inside and outside the bedding is reduced.

[0083] And before the user returns to the bed, the temperature is promptly restored to the heating temperature, so that the temperature inside the heated bedding can be restored as much as possible to the original adaptation temperature before the user left, thereby improving the comfort and convenience of the user when getting in and out of the bedding when the user gets up at night.

[0084] refer to Figure 2 Further, in one embodiment, step S4 is refined into the following sub-steps:

[0085] S40: Obtain identity information of the user carrying the wearable device, and determine whether the user is a person who is prone to waking up at night.

[0086] Specifically, people who are prone to getting up at night include but are not limited to the elderly, pregnant women or patients with nocturia. By entering the user's identity information into the wearable device in advance, key supervision of people who are prone to getting up at night can be achieved.

[0087] S41. If yes, then the heating temperature is raised to the neutralization temperature in advance according to the heating time preset before the user's activity time, wherein the neutralization temperature is the average value of the heating temperature and the adaptation temperature.

[0088] Specifically, since people who are prone to getting up at night are more likely to get up at night during the sleeping hours, the heating temperature is raised to the neutral temperature in advance before the activity time of people who are prone to getting up at night is predicted, so that people who are prone to getting up at night can feel the same temperature outside the quilt as inside the quilt more quickly when they leave the quilt, and reduce the situation where users feel uncomfortable due to the large temperature increase while they are still in the quilt. The adaptation temperature is locked after the heating time is confirmed, so that the adaptation temperature will not affect the value of the neutral temperature when the heating equipment is heated to the neutral temperature.

[0089] The preset heating time is determined according to the heating power and heating temperature of the heating equipment. In one embodiment, the formula is used: C= {t2 –[(t1+t2) / 2]} / (P×3600).

[0090] Among them, C is the heating time, (t1+t2) / 2 is the neutralization temperature, t2 is the adaptation temperature, t1 is the heating temperature, P is the heating power of the heating equipment in watts (W), and 3600 is the conversion factor that converts power from watts to kilowatts (kW) and takes into account hours to seconds.

[0091] S42. During the activity time, adjust the neutralization temperature to the adaptation temperature.

[0092] Specifically, less time is required to adjust from the neutral temperature to the adaptive temperature during activity time, and the temperature outside the quilt is adjusted to be consistent with the temperature inside the quilt more quickly.

[0093] In this embodiment, key supervision is performed on people who are prone to waking up at night. Before the predicted activity time, the heating temperature outside the bedding is increased to the neutral temperature and then to the adaptation temperature inside the bedding. When the user leaves the bed, the room temperature can more quickly reach the real-time temperature inside the bedding from the neutral temperature, thereby minimizing discomfort caused by the temperature difference between the inside and outside of the bedding during the process of waking up at night, especially for people who are prone to waking up at night.

[0094] In addition, reference Figure 3 Further, in one embodiment, before step S2, steps S20, S21, S22, and S23 are added:

[0095] S20. Connect to a mobile software capable of recording water intake to obtain the user's actual water intake.

[0096] Specifically, some mobile software can record water intake. After connecting with the authorized communication connection of the software, the user's actual water intake can be obtained, providing data support for subsequent water intake evaluation.

[0097] S21. Set an observation time before going to sleep, and obtain the average value of the user's historical water drinking amount during the observation time.

[0098] Specifically, according to the occurrence frequency of the start time of the historical sleeping period, several time points with relatively high occurrence frequency are screened out, and the average value of the historical water intake during the observation time is obtained to determine whether the user drinks a lot of water before falling asleep.

[0099] S22. Determine whether the actual amount of water consumed is greater than the average amount of historical water consumed.

[0100] Specifically, if the actual amount of water drunk is greater than the average of the historical amount of water drunk, it indicates that the user drinks a lot of water before going to bed.

[0101] S23: If it is greater than, obtaining user activity data in real time during the sleeping period.

[0102] Specifically, the users who do not have the habit of getting up at night during certain sleeping periods are monitored for observation time, because it is a sudden event for users who do not have the habit of getting up at night to drink a lot of water before going to bed, and it is difficult to predict the activity time of such users during the sleeping period. Therefore, it is necessary to monitor the users who do not have the habit of getting up at night during the sleeping period, obtain the activity time in real time, and adjust the indoor temperature outside the bedding to the adaptive temperature as soon as possible.

[0103] Furthermore, when a user who does not have the habit of getting up at night gets up to move at night, the activity time is recorded. Then, the observation time before the next sleep period is determined to determine whether the user who does not have the habit of getting up at night continues to have an actual water intake greater than the average historical water intake. If so, the user's activity data is detected at the last activity time.

[0104] If the user who does not have the habit of getting up at night does not actually drink more water than the average of his historical water drinking amount, the user's activity data will be obtained during the sleeping period within a certain number of times to determine whether the user's getting up at night is an emergency.

[0105] If the user activity data is not obtained during the sleeping period within a certain number of times, it is considered that the user's waking up at night is a sudden phenomenon. The user activity data detected by the wearable device can be obtained at a fixed time point to reduce the energy consumption of the wearable device in uploading data.

[0106] If the user's activity data is continuously obtained during the sleeping period within a certain number of times, the user's night-time activities are considered to be continuous activities, and the user's identity information is set as a group with a high incidence of night-time activities and is subject to key supervision.

[0107] In this embodiment, when the user's actual water intake is greater than the average of the historical water intake, the user's activity status is obtained in real time during the sleeping period, especially for users who do not have the habit of getting up at night, so as to accurately judge whether the user has the behavior of getting up at night, thereby starting the heating temperature adjustment in advance, effectively avoiding the discomfort caused by the temperature difference between the inside and outside of the bedding when the user gets up at night, thereby improving the user's comfort when getting up at night.

[0108] In addition, reference Figure 4 Further, in one embodiment, step S1 is refined into the following sub-steps:

[0109] S10, obtaining historical activity times when the user gets up to move during the sleeping period, and selecting the historical activity time with the highest occurrence frequency as the user's activity time according to the occurrence frequencies of several historical activity times.

[0110] In this embodiment, each time each user goes to sleep, the user's nighttime activities are recorded in real time, and the start time of the nighttime activities is used as the activity time, and updated to the user's activity time. Combined with the historical activity times, the most frequently occurring historical activity time is selected to obtain the next user's activity time, which helps to prepare for the adjustment of the heating temperature in advance, and can effectively avoid the discomfort caused by the temperature difference between the inside and outside of the bedding, thereby improving the user's comfort experience.

[0111] In addition, reference Figure 5 Further, in one embodiment, step S5 is refined into the following sub-steps:

[0112] S50, obtaining the distance and direction of the toilet, bed and heating equipment.

[0113] Specifically, the wearable device and the heating device are connected via Bluetooth, an RSSI threshold for the distance and orientation to the bathroom is pre-set in the bathroom, and an RSSI threshold for the distance and orientation to the bed is pre-set at the bedside, and the RSSI value between the wearable device and the heating device is continuously monitored.

[0114] S51. Determine whether the user has left the bathroom based on the distance between the user's wearable device and the heating device, and the distance and direction between the bathroom and the heating device.

[0115] Specifically, when the monitored RSSI value is greater than the RSSI threshold of the distance and orientation of the bathroom, it is considered that the user has left the bathroom.

[0116] S52. Determine whether the user has reached the bedside based on the distance between the user's wearable device and the heating device, and the distance and direction between the bedside and the heating device.

[0117] Specifically, when the monitored RSSI value is close to the RSSI threshold of the bedside distance and orientation, it is considered that the user has reached the bedside.

[0118] S53: adjusting the adaptation temperature to the heating temperature from the time when the user leaves the bathroom, and making the heating temperature reach the temperature after the user reaches the bed.

[0119] In this embodiment, the heating device needs a certain amount of time to adjust the heating temperature to the set value. Before entering the bathroom, maintaining the adaptation temperature can reduce the discomfort caused by the difference in body temperature when leaving the bedding. If the adjustment starts when the user enters the bathroom, the heating system will adjust the temperature in too short a time. Rapidly adjusting the temperature in a short time may cause additional pressure on the heating system, which may increase the maintenance and replacement costs of the equipment in the long run. Therefore, after a period of time, when the user leaves the bathroom, the temperature is lowered again, which can enable the user to adapt to the difference in body temperature adjustment more quickly, and the temperature in the bedding can be restored to the temperature before the user leaves when the user reaches the bed, effectively avoiding the discomfort caused by the temperature difference between the inside and outside of the bedding, thereby improving the user's comfort experience after getting up at night.

[0120] In addition, reference Figure 6 Further, in one embodiment, step S4 is refined into the following sub-steps:

[0121] S43: Obtain the alarm of the wearable device and confirm the user's wake-up time.

[0122] Specifically, an alarm is set on the wearable device for waking up, which is the time when the user actively leaves the bed, so that the user's activity time can be obtained more accurately.

[0123] S44. Raise the heating temperature to a neutral temperature in advance according to a preset heating time before the user's waking time, wherein the neutral temperature is an average value of the heating temperature and the adaptation temperature.

[0124] S45. When you wake up, adjust the neutral temperature to the appropriate temperature.

[0125] In this embodiment, before the user's alarm rings to remind him to get up, the heating temperature is raised to the neutral temperature in advance according to the heating time preset in advance by the alarm of the wearable device, so as to reduce the discomfort caused by the large temperature increase while the user is still in bed. When the user gets up and leaves the bed, the temperature inside the bed can be quickly reached from the neutral temperature to the real-time temperature inside the bed, thereby minimizing the discomfort caused by the temperature difference between the inside and outside of the bed when the user gets up and leaves the bed, thereby improving the user's comfort.

[0126] In addition, reference Figure 7 Furthermore, in one embodiment, before step S1, steps S12, S13, S14, and S15 are added:

[0127] S12. Set the room entry detection range according to the distance and direction between the door and the heating equipment.

[0128] Specifically, the wearable device and the heating device are connected via Bluetooth, and RSSI thresholds for the distance and direction of the room entry detection range are pre-set around the door. The RSSI value between the wearable device and the heating device is continuously monitored.

[0129] S13. Determine whether the user is within the room entry detection range based on the distance and orientation between the user's wearable device and the heating device.

[0130] Specifically, when the monitored RSSI value is within the RSSI threshold of the distance and orientation of the room entry detection range and is maintained for a period of time, it is considered that the user is within the room entry detection range.

[0131] S14: If yes, set the temperature to heating temperature.

[0132] In this embodiment, before the user enters the room, the temperature is automatically set to the heating temperature, thereby reducing the situation where the user feels cold due to temperature discomfort after entering the room, thereby improving the user's living comfort.

[0133] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0134] The embodiment of the present application also provides a heating control system based on the sleep state, and the heating control system based on the sleep state corresponds one to one with the heating control method based on the sleep state in the embodiment.

[0135] refer to Figure 8 A heating control system based on sleep state includes: a time prediction module 1, an activity acquisition module 2, a night-time judgment module 3, a heating temperature increase module 4, and a heating recovery module 5. The functional modules are described in detail as follows:

[0136] Time prediction module 1: used to predict the user's activity time within the preset sleeping period.

[0137] Activity acquisition module 2: used to obtain user activity data of the wearable device during the activity time.

[0138] Nighttime waking judgment module 3: used to judge whether the user's activity data is a nighttime waking activity.

[0139] Heating and temperature raising module 4: used to increase the heating temperature until the temperature is adapted to the user's needs when the user is up at night, wherein the temperature adapted to the user's needs is detected by the wearable device.

[0140] Heating recovery module 5: used to adjust the adaptation temperature to the heating temperature before the user returns to the bed.

[0141] Among them, the time prediction module 1 first predicts the possible activity time of the user within the preset sleeping period; the activity acquisition module 2 monitors the user activity data uploaded by the wearable device in real time to capture the user's activity status; when the user activity data characteristics detected by the night-time judgment module 3 meet the pattern of night-time activities, the heating temperature increase module 4 starts to gradually increase the heating temperature to the adaptation temperature detected and confirmed by the wearable device, so that the user will not feel uncomfortable after leaving the warm bedding; when it is predicted that the user is about to return to the bed, the heating recovery module 5 starts to work and smoothly adjusts from the adaptation temperature back to the heating temperature. Through the combination of various modules, the temperature difference between the inside and outside of the bedding can be reduced when the user gets up at night, effectively improving the user's comfort when getting up at night.

[0142] For the specific definition of the heating control system based on the sleep state, please refer to the definition of the heating control method based on the sleep state in the context, which will not be repeated here. Each module in the above-mentioned heating control system based on the sleep state can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. In one embodiment, an electronic device is provided, which is a user terminal. Reference Fig. 9 , the electronic device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store a detection data table. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a heating control method based on a sleep state is implemented.

[0143] In one embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0144] S1. Predicting the user's activity time within a preset sleeping period.

[0145] S2. Obtain user activity data of the wearable device during the activity time.

[0146] S3. Determine whether the user activity data is nighttime activity.

[0147] S4. If the user is getting up for night activities, the heating temperature is increased until the user adapts to the temperature, wherein the adaptation temperature is detected by the wearable device.

[0148] S5. Adjust the adaptation temperature to the heating temperature before the user returns to the bed.

[0149] In one embodiment, the detailed sub-steps of step S4 include:

[0150] S40: Obtain identity information of the user carrying the wearable device, and determine whether the user is a person who is prone to waking up at night.

[0151] S41. If yes, then the heating temperature is raised to the neutralization temperature in advance according to the heating time preset before the user's activity time, wherein the neutralization temperature is the average value of the heating temperature and the adaptation temperature.

[0152] S42. During the activity time, adjust the neutralization temperature to the adaptation temperature.

[0153] In one embodiment, the steps added before step S2 include:

[0154] S20. Connect to a mobile software capable of recording water intake to obtain the user's actual water intake.

[0155] S21. Set an observation time before going to sleep, and obtain the average value of the user's historical water drinking amount during the observation time.

[0156] S22. Determine whether the actual amount of water consumed is greater than the average amount of historical water consumed.

[0157] S23: If it is greater than, obtaining user activity data in real time during the sleeping period.

[0158] In one embodiment, the detailed sub-steps of step S1 include:

[0159] S10, obtaining historical activity times when the user gets up to move during the sleeping period, and selecting the historical activity time with the highest occurrence frequency as the user's activity time according to the occurrence frequencies of several historical activity times.

[0160] In one embodiment, the detailed sub-steps of step S5 include:

[0161] S50, obtaining the distance and direction of the toilet, bed and heating equipment.

[0162] S51. Determine whether the user has left the bathroom based on the distance between the user's wearable device and the heating device, and the distance and direction between the bathroom and the heating device.

[0163] S52. Determine whether the user has reached the bedside based on the distance between the user's wearable device and the heating device, and the distance and direction between the bedside and the heating device.

[0164] S53: adjusting the adaptation temperature to the heating temperature from the time when the user leaves the bathroom, and making the heating temperature reach the temperature after the user reaches the bed.

[0165] In one embodiment, the sub-steps of step S4 include:

[0166] S43: Obtain the alarm of the wearable device and confirm the user's wake-up time.

[0167] S44. Raise the heating temperature to a neutral temperature in advance according to a preset heating time before the user's waking time, wherein the neutral temperature is an average value of the heating temperature and the adaptation temperature.

[0168] S45. When you wake up, adjust the neutral temperature to the appropriate temperature.

[0169] In one embodiment, the steps added before step S1 include:

[0170] S12. Set the room entry detection range according to the distance and direction between the door and the heating equipment.

[0171] S13. Determine whether the user is within the room entry detection range based on the distance and orientation between the user's wearable device and the heating device.

[0172] S14: If yes, set the temperature to heating temperature.

[0173] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0174] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

Claims

1. A heating control method based on sleep state, characterized in that: include: Predict the user's activity time during the preset sleeping period; Obtaining user activity data of the wearable device during the activity time; Determine whether the user activity data is nighttime activity; If the activity is done at night, the heating temperature is increased until the temperature is adapted to the environment, wherein the adapted temperature is detected by the wearable device; If the activity is to get up at night, the heating temperature is increased until the adaptation temperature is reached, wherein the adaptation temperature is detected by the wearable device, and the step includes: obtaining the identity information of the user carrying the wearable device, and determining whether the user is a person who is prone to getting up at night; If yes, then according to the heating time preset before the user's activity time, the heating temperature is raised to the neutralization temperature in advance, wherein the neutralization temperature is the average of the heating temperature and the adaptation temperature; during the activity time, the neutralization temperature is adjusted to the adaptation temperature; Adjust the acclimatization temperature to the heating temperature before the user returns to the bed.

2. The method according to claim 1, characterized in that Before the step of obtaining the user activity data of the wearable device during the activity time, the method further includes: Connect to the mobile software that can record water intake to obtain the user's actual water intake; An observation time is set before the sleeping period, and an average value of the historical water drinking amount of the user during the observation time is obtained; Determine whether the actual amount of water consumed is greater than the average of the historical amount of water consumed; If it is greater, the user activity data is obtained in real time during the sleeping period.

3. The method according to claim 1, characterized in that The step of predicting the activity time of the user's getting up for night activities during the sleeping period includes: The historical activity time of the user when getting up to move during the sleeping period is obtained, and according to the occurrence frequencies of several historical activity times, the historical activity time with the highest occurrence frequency is selected as the activity time of the user.

4. The method according to claim 1, characterized in that: The step of adjusting the adaptation temperature to the heating temperature before the user returns to the bedside comprises: Get the distance and direction of the bathroom, bed and heating equipment; Determine whether the user has left the bathroom based on the distance between the user's wearable device and the heating device, and the distance and direction between the bathroom and the heating device; Determine whether the user has reached the bedside based on the distance between the user's wearable device and the heating device, and the distance and direction between the bedside and the heating device; The adaptation temperature is adjusted to the heating temperature from the time when the user leaves the bathroom, and the heating temperature is reached after the user reaches the bedside.

5. The method according to claim 1, characterized in that If the activity is done at night, the heating temperature is increased until the temperature is adapted to the environment, wherein the adapted temperature is obtained by detection by the wearable device, including: Get the alarm of the wearable device and confirm the user's wake-up time; According to the preset heating time before the user's waking time, the heating temperature is raised to the neutralization temperature in advance, wherein the neutralization temperature is the average value of the heating temperature and the adaptation temperature; At the waking time, the neutralization temperature is adjusted to the adaptation temperature.

6. The method according to claim 1, characterized in that Before the step of predicting the activity time of the user within the preset sleeping period, the method further includes: Set the room entry detection range according to the distance and orientation between the door and the heating equipment; According to the distance and direction between the user's wearable device and the heating device, determine whether the user is within the room entry detection range; If yes, set the temperature to heating temperature.

7. A heating control system based on sleep state, characterized in that: include: Time prediction module (1): used to predict the activity time of the user within the preset sleeping period; Activity acquisition module (2): used to acquire user activity data of the wearable device during the activity time; Night-time waking judgment module (3): used to judge whether the user activity data is a night-time waking activity; A heating and temperature raising module (4): used for raising the heating temperature to an adaptation temperature when the user is up at night, wherein the adaptation temperature is detected by a wearable device; the step of raising the heating temperature to an adaptation temperature when the user is up at night, wherein the adaptation temperature is detected by a wearable device, comprises: obtaining identity information of a user carrying the wearable device, and determining whether the user is a person who is prone to getting up at night; if so, raising the heating temperature to a neutralization temperature in advance according to a preset heating time before the user's activity time, wherein the neutralization temperature is an average of the heating temperature and the adaptation temperature; and adjusting the neutralization temperature to the adaptation temperature during the activity time; Heating recovery module (5): used to adjust the adaptation temperature to the heating temperature before the user returns to the bed.

8. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the heating control method based on the sleep state according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and executes the heating control method based on the sleep state according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Air conditioning control method, air conditioning control device and air conditioning system

    CN108534303A

  • Sleep night get-up monitoring method

    CN109008969A