Heating control method and device of intelligent mattress, electronic equipment and storage medium
The smart mattress automatically adjusts the heating temperature through a temperature sensor and adjustment device combining temperature loss information and user sign data, solving the problem of overcooling or overheating caused by manual settings of traditional mattresses, achieving more efficient temperature control and comfortable sleep.
Patent Information
- Application Number
- CN202510893450.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-08-15
AI Technical Summary
The heating function of traditional mattresses requires the user to manually set the temperature, which can easily lead to overcooling or overheating and affect the user's sleep comfort.
By setting a temperature adjustment device, a first temperature sensor and a second temperature sensor in the smart mattress, the mattress and ambient temperature data are obtained, the temperature loss information and user sign data are analyzed, and the heating temperature is automatically adjusted to reach the target temperature.
Improves the accuracy of the heating of smart mattresses, ensures that users sleep within the appropriate temperature range, and improves sleep comfort and experience.
Smart Images

Figure CN120477527A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a heating control method, device, electronic device, and storage medium for a smart mattress. Background Art
[0002] The heating function of a mattress can provide users with a warm and comfortable sleep experience in cold environments. However, traditional mattresses are usually manually set by the user. This can easily lead to overheating or overcooling due to improper manual temperature settings, resulting in poor heating effect and reduced sleep comfort. Summary of the Invention
[0003] The embodiments of the present application disclose a heating control method, device, electronic device and storage medium for a smart mattress, which can improve the accuracy of heating control of the smart mattress, ensure the user's sleeping comfort, and improve the user's sleeping experience.
[0004] A first aspect of an embodiment of the present application discloses a heating control method for a smart mattress, which is applied to a smart mattress provided with a temperature regulating device, a first temperature sensor, and a second temperature sensor. The method comprises:
[0005] Acquiring first mattress temperature data collected by the first temperature sensor during a first time period, wherein the temperature adjustment device does not operate during the first time period;
[0006] determining first temperature loss information of the smart mattress according to the first mattress temperature data;
[0007] Acquiring ambient temperature data collected by the second temperature sensor;
[0008] determining a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data;
[0009] Based on the target temperature, the temperature regulating device is controlled to heat the smart mattress.
[0010] In some possible embodiments, the first mattress temperature data includes mattress temperature values corresponding to a plurality of collection moments; and determining the first temperature loss information of the smart mattress based on the first mattress temperature data includes:
[0011] generating a temperature change curve according to the mattress temperature values corresponding to the plurality of acquisition moments, wherein the temperature change curve is used to describe the relationship between the mattress temperature and time;
[0012] The temperature change curve is analyzed to obtain first temperature loss information of the smart mattress, where the first temperature loss information includes at least one of a curvature, a slope, and a temperature change time corresponding to the temperature change curve.
[0013] In some possible embodiments, the smart mattress is further provided with a vital sign sensor; and determining a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data includes:
[0014] Acquiring first user vital sign data collected by the vital sign sensor;
[0015] Analyzing the first temperature loss information and the first user vital sign data to obtain user sleep data, where the user sleep data includes one or more of a user sleeping posture, a user heart rate data, a user breathing rate data, and a quilt-covered area;
[0016] The target temperature is determined according to the ambient temperature data and the user sleep data.
[0017] In some possible embodiments, the method further includes:
[0018] Acquiring historical vital sign data, where the historical vital sign data is the user's vital sign data collected by the vital sign sensor during a historical heating period;
[0019] Obtaining reference physiological parameters according to the historical vital sign data, wherein the reference physiological parameters include a reference heart rate parameter and / or a reference respiratory rate parameter;
[0020] During the process of the temperature adjustment device heating the smart mattress, obtaining the second user's vital sign data collected by the vital sign sensor;
[0021] Analyzing the second user's vital sign data to determine an average physiological parameter, where the average physiological parameter includes an average heart rate parameter and / or an average respiratory rate parameter;
[0022] When the difference between the average heart rate parameter and the reference heart rate parameter is greater than a preset heart rate threshold, controlling the temperature adjustment device to stop heating the smart mattress until the user's heart rate parameter returns to the reference heart rate parameter; and / or,
[0023] When the difference between the average respiratory rate parameter and the reference respiratory rate parameter is greater than a preset respiratory rate threshold, the temperature adjustment device is controlled to stop heating the smart mattress until the user's respiratory rate parameter returns to the reference respiratory rate parameter.
[0024] In some possible embodiments, after determining the target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data, the method further includes:
[0025] Determining the next sleeping position of the user according to the sleeping position of the user based on a sleeping position prediction model;
[0026] The temperature regulating device is controlled to heat the mattress area corresponding to the next sleeping posture based on a preset target temperature; the preset target temperature is less than or equal to the target temperature.
[0027] In some possible embodiments, the smart mattress includes a plurality of adjustment areas; and determining first temperature loss information of the smart mattress based on the first mattress temperature data includes:
[0028] determining first temperature loss information corresponding to each of the plurality of adjustment zones according to the first mattress temperature data;
[0029] After determining the first temperature loss information of the smart mattress according to the first mattress temperature data, the method further includes:
[0030] Obtaining second temperature loss information corresponding to each of the plurality of adjustment areas after the last heating;
[0031] Analyze the first temperature loss information and the second temperature loss information corresponding to the multiple adjustment areas, respectively, to determine a first adjustment area and a second adjustment area; the first adjustment area is an adjustment area where the similarity between the corresponding first temperature loss information and the second temperature loss information is greater than a similarity threshold, and the second adjustment area is an adjustment area where the similarity between the corresponding first temperature loss information and the second temperature loss information is not greater than the similarity threshold;
[0032] The determining a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data includes:
[0033] determining a target temperature corresponding to the second regulation area based on the first temperature loss information corresponding to the second regulation area and the ambient temperature data;
[0034] The step of controlling the temperature regulating device to heat the smart mattress based on the target temperature includes:
[0035] Based on the target temperature corresponding to the second regulating area, controlling the temperature regulating device to heat the second regulating area;
[0036] Based on the historical target temperature corresponding to the first regulating area in the last heating process, the temperature regulating device is controlled to heat the first regulating area.
[0037] In some possible embodiments, after controlling the temperature regulating device to heat the smart mattress based on the target temperature, the method further includes:
[0038] During the heating process of the smart mattress, obtaining temperature data of the second mattress collected by the first temperature sensor;
[0039] When the second mattress temperature data is greater than or equal to the target temperature, the temperature adjustment device is controlled to stop heating the smart mattress.
[0040] A second aspect of the embodiments of the present application discloses a heating control device for a smart mattress, which is applied to a smart mattress. The smart mattress is provided with a temperature adjustment device and a first temperature sensor; the device includes:
[0041] a data acquisition module, configured to acquire first mattress temperature data collected by the first temperature sensor during a first time period, wherein the temperature adjustment device does not operate during the first time period;
[0042] The data acquisition module is further configured to determine first temperature loss information of the smart mattress based on the first mattress temperature data;
[0043] The data acquisition module is further used to acquire the ambient temperature data collected by the second temperature sensor;
[0044] a temperature determination module, configured to determine a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data;
[0045] The temperature regulating module is used to control the temperature regulating device to heat the smart mattress based on the target temperature.
[0046] A third aspect of an embodiment of the present application discloses an electronic device, including a memory and a processor, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the processor implements the heating control method of the smart mattress as described in any of the above embodiments.
[0047] A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor in an electronic device, the electronic device implements the heating control method for the smart mattress as described in any of the above embodiments.
[0048] The present application provides a heating control method, device, electronic device, and storage medium for a smart mattress. The smart mattress can obtain first mattress temperature data collected by a first temperature sensor in a first time period. During the first time period, a temperature adjustment device of the smart mattress does not operate. The smart mattress determines first temperature loss information of the smart mattress based on the first mattress temperature data and obtains ambient temperature data collected by a second temperature sensor. The smart mattress determines a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data. The smart mattress can control the temperature adjustment device to heat the smart mattress based on the target temperature.
[0049] In an embodiment of the present application, the smart mattress determines first temperature loss information based on first mattress temperature data collected by the first temperature sensor during a first time period. The smart mattress can determine a target temperature that meets the actual temperature maintenance requirements of the smart mattress based on the first temperature loss information and the acquired ambient temperature data. The smart mattress can control the temperature adjustment device to heat the smart mattress based on the target temperature. Since the temperature adjustment device does not work during the first time period, the first temperature loss information can accurately reflect the temperature changes of the smart mattress under a natural state. The target temperature determined based on the first temperature loss information and the ambient temperature data is more accurate, which can improve the accuracy of the smart mattress's heating control, ensure the user's sleep comfort, and enhance the user's sleep experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0051] Figure 1A This is a diagram of an application scenario of a heating control method for a smart mattress provided in an embodiment of the present application;
[0052] Figure 1B A schematic diagram of a user covering a quilt provided in an embodiment of the present application;
[0053] Figure 2 A flowchart of a heating control method for a smart mattress provided in an embodiment of the present application;
[0054] Figure 3 A flow chart of heating multiple adjustment areas provided in an embodiment of the present application;
[0055] Figure 4 A schematic diagram of various adjustment areas of the smart mattress provided in an embodiment of the present application;
[0056] Figure 5 A flowchart for determining first temperature loss information provided in an embodiment of the present application;
[0057] Figure 6 A flow chart for determining a target temperature provided in an embodiment of the present application;
[0058] Figure 7 A flowchart of stopping heating according to user vital sign data provided in an embodiment of the present application;
[0059] Figure 8 A flowchart of preheating according to the user's sleeping posture provided in an embodiment of the present application;
[0060] Figure 9 A flowchart of determining the target temperature corresponding to each adjustment area according to the first temperature loss information and the second temperature loss information provided in an embodiment of the present application;
[0061] Figure 10 Schematic diagram of the first adjustment region and the second adjustment region provided in an embodiment of the present application;
[0062] Figure 11 A structural block diagram of a heating control device for a smart mattress provided in an embodiment of the present application;
[0063] Figure 12 This is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0065] It should be noted that the terms "including," "having," and any variations thereof in the embodiments and drawings of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0066] In addition, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.
[0067] Figure 1A This is an application scenario diagram of a heating control method for a smart mattress provided in an embodiment of the present application. Figure 1A As shown, the smart mattress 100 includes a temperature regulating device (not shown in the figure). When the user 110 is sleeping, the user 110 lies flat on the smart mattress 100, and the smart mattress 100 can heat the smart mattress 100 through the temperature regulating device to keep the user 110 in an environment with a suitable temperature for sleeping.
[0068] In some embodiments, the smart mattress 100 may be an electric heating wire heating mattress, a graphene heating mattress, a carbon fiber heating mattress, or other mattresses, etc., which are not limited here.
[0069] In the case where the smart mattress 100 is a graphene heating mattress, the temperature regulating device may include multiple graphene heating sheets, which are arranged at different positions of the filling layer inside the smart mattress 100, so as to achieve comprehensive heating of the smart mattress 100.
[0070] When the smart mattress 100 controls the temperature control device to heat, the free electrons in the graphene heating sheet are accelerated by the electric field, colliding and rubbing against the nuclei of carbon atoms, creating Brownian motion. This increases the electron energy, which is then dissipated as heat, causing the graphene heating sheet to heat up. During the heating process, the heat generated by the graphene heating sheet is transferred from the filling layer of the smart mattress 100 to the mattress surface of the smart mattress 100 via thermal conduction, gradually heating the mattress surface of the smart mattress 100, thereby completing the heating of the smart mattress 100.
[0071] In some embodiments, the smart mattress 100 may further include a first temperature sensor (not shown) and a second temperature sensor (not shown). The first temperature sensor is used to obtain mattress temperature data of the smart mattress 100, and the second temperature sensor is used to obtain ambient temperature data of the indoor space where the smart mattress 100 is located.
[0072] In some embodiments, the smart mattress 100 can determine the target temperature of the temperature adjustment device based on the mattress temperature data and the ambient temperature data. The smart mattress 100 can be pre-configured with a mapping table between the mattress temperature data, the ambient temperature data, and the target temperature. The smart mattress 100 can query the mapping table based on the mattress temperature data and the ambient temperature data to determine the corresponding target temperature.
[0073] Optionally, the smart mattress 100 may also pre-train a temperature model based on historical mattress temperature data and historical ambient temperature data. After the smart mattress 100 obtains the mattress temperature data and ambient temperature data, the temperature model is used to analyze the mattress temperature data and ambient temperature data to determine the corresponding target temperature.
[0074] In some embodiments, the smart mattress 100 can also determine the target temperature of the temperature adjustment device based on the mattress temperature data collected by the first temperature sensor, the ambient temperature data collected by the second temperature sensor, and the user sleep data such as the user's sleeping posture, the user's sleep stage, the user's heart rate, the user's snoring and the user's sweat rate, so that the smart mattress 100 can control the temperature adjustment device to heat the smart mattress 100 based on the target temperature, thereby achieving a personalized heating effect and meeting the personalized temperature requirements of different users 110.
[0075] It should be noted that the user sleep data collected in the embodiments of the present application is consented to by the user, and the user sleep data is used in the scheme described in this application within the scope permitted by applicable laws and regulations.
[0076] In some embodiments, the smart mattress 100 may also include a piezoelectric ceramic control box (not shown in the figure), which can be communicated with the smart mattress 100 to obtain data collected by various sensors of the smart mattress 100, and after analyzing the mattress temperature data, ambient temperature data and user sleep data, determine the target temperature of the temperature adjustment device, so that the smart mattress 100 can control the temperature adjustment device to heat the smart mattress 100 based on the target temperature.
[0077] Optionally, the piezoelectric ceramic control box of the smart mattress 100 can also communicate with a cloud server. The piezoelectric ceramic control box can upload mattress temperature data, ambient temperature data, and user sleep data to the cloud server. The cloud server analyzes the mattress temperature data, ambient temperature data, and user sleep data to determine the target temperature of the temperature control device. Based on this target temperature, the temperature control device is then controlled to heat the smart mattress 100. Optionally, the piezoelectric ceramic control box can also receive control commands from the cloud server to control the smart mattress 100.
[0078] In some embodiments, during sleep, user 110 may or may not be covered with a quilt. The quilt may be a cotton quilt, a down quilt, a silk quilt, a wool quilt, or any other quilt with a certain thermal insulation performance, such as a thick blanket with good thermal insulation performance or a thin blanket with slightly poor thermal insulation performance, and the like, without specific limitation herein.
[0079] like Figure 1A As shown, user 110 is completely uncovered during sleep. In this situation, user 110's body is directly exposed to the outside environment, causing rapid heat loss. Smart mattress 100 needs to frequently heat the mattress to ensure it remains at a comfortable temperature for user 110. However, if user 110 is covered with a blanket, the blanket's insulation can reduce the rate of heat loss and ensure the blanket remains at a comfortable temperature for user 110.
[0080] When the quilt covers the smart mattress 100, since the quilt generally has a certain thermal insulation effect, the mattress temperature in the area covered by the quilt generally changes more slowly than the mattress temperature in the area not covered by the quilt. The smart mattress 100 can determine the quilt coverage by analyzing the changes in the mattress temperature.
[0081] Figure 1B This is a schematic diagram of a user covering a quilt provided in an embodiment of the present application. Figure 1B As shown in FIG. 1( a ), the user 110 is in a supine sleeping position, and the quilt 120 covers the body of the user 110 and most of the mattress area of the smart mattress 100, i.e. Figure 1B The gray area shown in Figure (a). Figure 1B As shown in FIG. 1( b ), the user 110 is in a supine sleeping position during sleep, and only the navel of the user 110 is covered with the quilt 130. Figure 1B As shown in FIG. 5( c ), the user 110 is in a side-lying sleeping position, and the quilt 140 covers the entire body of the user 110 but does not cover more areas of the mattress.
[0082] It should be noted that different users 110 may have different quilt-covering habits. Users 110 may not be accustomed to covering themselves with quilts, and the thermal insulation effects of different quilts may vary. Furthermore, users 110 may often adjust their sleeping position and quilt during sleep, causing the area of the mattress covered by the quilt to change, thereby causing the heating effects of different areas of the smart mattress 100 to vary. For example, if the quilt has good thermal insulation properties, or if the user 110 is not covering themselves with a quilt and the temperature of the smart mattress 100 after heating is not much different from the ambient temperature, the temperature of the smart mattress 100 after heating will change slowly, resulting in relatively little heat loss, allowing the temperature of the smart mattress 100 to remain within a relatively stable temperature range for a long time. On the other hand, if the quilt has poor thermal insulation properties, or if the user 110 is not covering themselves with a quilt and the temperature of the mattress after heating is significantly different from the ambient temperature, the temperature of the smart mattress 100 will change rapidly, causing heat loss to occur quickly, causing the temperature of the smart mattress 100 to quickly approach the ambient temperature. Therefore, during the sleep of user 110, the smart mattress 100 can obtain the temperature loss information of the smart mattress 100 and then dynamically adjust the heating strategy, so that the heating effect of the smart mattress 100 is more in line with the user's demand for a comfortable sleeping temperature, thereby improving the accuracy of the smart mattress's heating control and improving the user's sleeping experience.
[0083] In an embodiment of the present application, the smart mattress determines first temperature loss information based on first mattress temperature data collected by the first temperature sensor during a first time period. The smart mattress can determine a target temperature that meets the actual temperature maintenance requirements of the smart mattress based on the first temperature loss information and the acquired ambient temperature data. The smart mattress can control the temperature adjustment device to heat the smart mattress based on the target temperature. Since the temperature adjustment device does not work during the first time period, the first temperature loss information can accurately reflect the temperature changes of the smart mattress under a natural state. The target temperature determined based on the first temperature loss information and the ambient temperature data is more accurate, which can improve the accuracy of the smart mattress's heating control, ensure the user's sleep comfort, and enhance the user's sleep experience.
[0084] like Figure 2 As shown, in one embodiment, a heating control method for a smart mattress is provided, which can be applied to the above-mentioned smart mattress. The method may include the following steps:
[0085] Step 202: Acquire first mattress temperature data collected by a first temperature sensor in a first time period.
[0086] The first mattress temperature data may include mattress temperature values corresponding to multiple collection moments within the first time period. The mattress temperature value may refer to the temperature value of the mattress surface of the smart mattress.
[0087] The first temperature sensor may be located on top of the filling layer of the smart mattress, close to the mattress surface, or directly on the mattress surface of the smart mattress. The first temperature sensor may be used to collect the temperature of the mattress surface.
[0088] The smart mattress can obtain first mattress temperature data collected by the first temperature sensor during a first time period, wherein the first time period may refer to the period from the end time corresponding to the last heating process of the smart mattress to the start time corresponding to the next heating process. During this first time period, the temperature adjustment device does not work, that is, during this first time period, the temperature adjustment device does not heat. The length of the first time period can be set according to actual needs, such as 20 minutes, 30 minutes, etc., and is not limited here. Exemplarily, the first time period may also be equal to the cycle length of the smart mattress's heating control. For example, after the last heating process ends, the smart mattress will enter the next heating process 30 minutes later and reheat, and the first time period may be equal to the 30 minutes.
[0089] In some embodiments, the first time period may also refer to the period from the end moment of the last heating process of the smart mattress to the collection moment when the mattress temperature value collected by the first temperature sensor is less than or equal to the preset temperature threshold.
[0090] The preset temperature threshold may refer to a temperature threshold determined based on the physiological needs of human sleep and comfort experience, generally between 20 degrees Celsius and 30 degrees Celsius. For example, the preset temperature threshold may be 25 degrees Celsius.
[0091] For example, when the mattress temperature value collected by the first temperature sensor is less than or equal to 25 degrees Celsius, the smart mattress can determine that the first time period from the end time corresponding to the last heating process to the current collection time is 23 minutes. That is, the smart mattress can obtain the first mattress temperature data collected by the first temperature sensor within 23 minutes after the end of the last heating.
[0092] When the mattress temperature value is less than or equal to the preset temperature threshold, on the one hand, since the first time period is long, the smart mattress can obtain mattress temperature values corresponding to a sufficient number of collection moments, which helps to improve the accuracy of the subsequent acquisition of the first temperature loss information. On the other hand, the user's body may experience excessive surface heat loss due to the mattress temperature value of the smart mattress being too low, which may cause discomfort to the user and affect sleep quality. Therefore, the smart mattress needs to obtain the first mattress temperature data in order to subsequently control the temperature adjustment device for heating.
[0093] Step 204: Determine first temperature loss information of the smart mattress based on the first mattress temperature data.
[0094] Temperature loss information can include the rate of heat loss from a smart mattress due to physical processes such as conduction, convection, and radiation, or how the mattress temperature changes over time. Conduction refers to the transfer of heat between the different material layers within the mattress's filling. Convection refers to the movement of air on the mattress's surface due to temperature differences between the mattress and the surrounding environment, removing heat. Radiation refers to the emission of heat from the mattress's surface in the form of electromagnetic waves.
[0095] In the actual application of a smart mattress, if the smart mattress is not heated, the heat gained during the previous heating process will gradually be lost due to physical processes such as natural heat dissipation. Since there is no new heat source to replenish the lost heat, the mattress temperature of the smart mattress will begin to drop. In actual use scenarios, when the user lies on the smart mattress or covers themselves with a quilt, the human body surface and the quilt will hinder heat dissipation, thereby changing the heat dissipation rate of the smart mattress. That is, the temperature of the mattress area covered by the user and the mattress area covered by the quilt changes more slowly than that of the uncovered mattress area, and the temperature of the mattress area covered by the user changes faster than that of the mattress area covered by the quilt. Therefore, analyzing the temperature loss information of the smart mattress by the change of the mattress temperature value can not only avoid the complexity caused by heat loss modeling, but also improve the suitability and accuracy of the subsequent target temperature determination, making the temperature control of the smart mattress more in line with the user's actual usage needs and providing a more comfortable user experience.
[0096] Optionally, the temperature loss information may include the rate of change of the mattress temperature value within the first time period and / or the amount of change of the mattress temperature value within the first time period. The rate of change of the mattress temperature value within the first time period may reflect the speed of change of the mattress temperature value, and the amount of change of the mattress temperature value within the first time period may reflect the magnitude of change of the mattress temperature value. In one embodiment, the first time period may be divided into multiple sub-time periods. Based on the mattress temperature value corresponding to each sub-time period and the length of the sub-time period, the rate of change and / or amount of change of the mattress temperature value within each sub-time period are calculated. The rate of change and / or amount of change of the mattress temperature value corresponding to each sub-time period are then combined to obtain the rate of change and / or amount of change of the mattress temperature value within the first time period.
[0097] Step 206: Acquire ambient temperature data collected by the second temperature sensor.
[0098] The second temperature sensor may be located on the surface of the mattress or outside the mattress, and the location of the second temperature sensor is completely different from the location of the first temperature sensor. The ambient temperature data may include the ambient temperature value of the room where the smart mattress is located.
[0099] In some embodiments, the smart mattress may obtain ambient temperature data collected in real time by the second temperature sensor, and after obtaining the first mattress temperature data, determine the ambient temperature data corresponding to the current collection moment.
[0100] Optionally, the second temperature sensor can also be a temperature sensor of other terminal devices in the room where the smart mattress is located. The smart mattress can communicate with other terminal devices to obtain ambient temperature data; the smart mattress may not be equipped with a second temperature sensor, but can communicate with the cloud server through a piezoelectric ceramic control box to obtain ambient temperature data from the cloud server.
[0101] Step 208: Determine a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data.
[0102] The target temperature can be the user's preferred temperature during sleep, i.e., the mattress temperature value that the smart mattress should provide. Alternatively, the target temperature can also be the heating temperature that the smart mattress's temperature adjustment device should provide. If the user's preferred temperature during sleep falls within a range, the target temperature can be the lower limit of the range, the upper limit of the range, or any temperature within the range, without specific limitation.
[0103] In some embodiments, the smart mattress may determine a corresponding base temperature based on ambient temperature data, and then modify the base temperature based on the first temperature loss information to determine a target temperature corresponding to the smart mattress. The base temperature may refer to the base temperature value when the temperature control device heats the smart mattress.
[0104] In one embodiment, the smart mattress may be pre-configured with a first mapping table corresponding to multiple base temperatures and multiple ambient temperature data sets. This first mapping table can be customized based on the user's personal preferences and actual needs. The smart mattress can query the first mapping table based on the ambient temperature data to determine the base temperature corresponding to the ambient temperature data. After determining the base temperature, the smart mattress can determine a correction amount for the base temperature based on the difference between the ambient temperature data and the base temperature, combined with the first temperature loss information.
[0105] In addition, if the difference between the ambient temperature data and the basic temperature is greater, and / or the temperature loss rate reflected by the first temperature loss information is faster, the smart mattress will make a greater correction to the basic temperature; conversely, if the difference between the ambient temperature data and the basic temperature is smaller, and / or the temperature loss rate reflected by the first temperature loss information is slower, the smart mattress will make a smaller correction to the basic temperature.
[0106] For example, if the smart mattress determines, based on the first mapping table, that the corresponding base temperature for an ambient temperature of 10 degrees Celsius is 30 degrees Celsius, the smart mattress may determine that the difference between the ambient temperature and the base temperature is large. Therefore, based on the first temperature loss information at a loss rate of 2 degrees Celsius per hour, the smart mattress may adjust the base temperature to 33 degrees Celsius as the target temperature to enhance the heating effect. On the other hand, if the ambient temperature is 20 degrees Celsius, the smart mattress may determine, based on the first mapping table, that the corresponding base temperature is 26 degrees Celsius, and based on the first temperature loss information at a loss rate of 0.5 degrees Celsius per hour, adjust the base temperature to 25.5 degrees Celsius as the target temperature to prevent overheating and improve the user's sleeping comfort.
[0107] In some embodiments, the smart mattress can analyze the first temperature loss information and the ambient temperature data according to a first temperature model to determine the target temperature. The first temperature model can be a model trained using a machine learning algorithm or a deep learning algorithm using a training dataset containing historical temperature loss information and corresponding historical ambient temperature data.
[0108] The smart mattress can input the first temperature loss information and the ambient temperature data into the first temperature model. The first temperature model analyzes and calculates the first temperature loss information and the ambient temperature data, and predicts a target temperature that best meets the current first temperature loss information and the ambient temperature data conditions.
[0109] In some embodiments, the smart mattress may obtain user vital sign data and determine a target temperature corresponding to the smart mattress by combining the first temperature loss information, the user vital sign data, and the ambient temperature data.
[0110] In one embodiment, the smart mattress can analyze the first temperature loss information and user vital sign data to obtain user sleep data, and then use a second temperature model to determine a corresponding target temperature for the smart mattress based on the user sleep data and ambient temperature data. The second temperature model can be a model trained using a machine learning algorithm or a deep learning algorithm using a training dataset containing historical user sleep data and corresponding historical ambient temperature data.
[0111] User vital sign data may include pressure data, vibration data and optical data. Pressure data may refer to the pressure exerted by various parts of the body on the smart mattress when the user lies on it, such as the pressure value of the chest and back. Vibration data may include the chest vibration signal of the user lying on the smart mattress. Optical data may include light signals of specific wavelengths, such as infrared light or near-infrared light, reflected by the human body.
[0112] The user sleep data may be used to reflect the user's sleeping habits, and the user sleep data may include one or more of the user's sleeping posture, the user's heart rate data, the user's breathing rate data, and the quilt coverage area.
[0113] Optionally, the smart mattress may also obtain a target temperature through learning a second temperature model based on the first temperature loss information, the user's vital sign data, and the ambient temperature data, but is not limited thereto.
[0114] Determining the target temperature based on the first temperature loss information, user vital sign data and ambient temperature data can make the target temperature more in line with the user's current warmth needs and sleeping habits, meet the user's personalized comfort requirements, thereby ensuring that the user is always in a comfortable and warm sleeping environment and improving the user's sleep quality.
[0115] Step 210: Based on the target temperature, control the temperature adjustment device to heat the smart mattress.
[0116] In some embodiments, the smart mattress may control the temperature regulating device to heat the smart mattress at a target temperature until the mattress temperature value of the smart mattress, ie, the mattress temperature data, reaches the target temperature.
[0117] Because the temperature control device is located within the filling layer of the smart mattress, the smart mattress is heated during heating. The filling then transfers heat to the mattress surface through heat conduction, heating the mattress surface. Therefore, the smart mattress needs to control the temperature control device to continuously heat the smart mattress at the target temperature until the mattress temperature reaches the target temperature.
[0118] Optionally, the smart mattress may further control the temperature adjustment device to heat the smart mattress at a heating temperature higher than the target temperature until the mattress temperature value, i.e., the mattress temperature data, of the smart mattress reaches the target temperature. For example, if the target temperature is 30 degrees Celsius, the smart mattress may control the temperature adjustment device to heat the smart mattress at a heating temperature of 32 degrees Celsius until the mattress temperature value reaches 30 degrees Celsius.
[0119] In some embodiments, when the first time period is the period from the end moment corresponding to the last heating process of the smart mattress to the collection moment corresponding to the time when the mattress temperature value collected by the first temperature sensor is less than or equal to the preset temperature threshold, the smart mattress can control the temperature adjustment device to heat the smart mattress within a second time period based on the target temperature. The second time period can be a time period determined by the smart mattress according to the heat balance model.
[0120] The heat balance model may refer to a model constructed by the smart mattress using the first temperature loss information. This first temperature loss information can be used to determine the total heat dissipated by the smart mattress when the temperature drops from the target temperature to the ambient temperature or a preset temperature threshold. Assuming the heating power of the temperature control device remains unchanged, the heat balance principle can be used to determine the second time period during which the smart mattress controls the temperature control device to heat the mattress, ensuring that the heat provided during the second time period is balanced with the heat lost during the first time period. This ensures that the heat provided by the temperature control device during the second time period precisely compensates for the heat lost during subsequent time periods, thereby reducing the energy consumption of the temperature control device.
[0121] For example, if the temperature is rapidly declining, the smart mattress can use the heat balance model to determine a longer second time period, thereby providing more heat through longer heating. Conversely, if the temperature is declining more slowly, the smart mattress can use the heat balance model to determine a shorter second time period, thereby reducing the amount of heat provided and achieving thermal balance. Determining the second time period using the heat balance model accurately controls the heating duration of the temperature control device, ensuring that the smart mattress's temperature remains within the target temperature or an appropriate temperature range during the second time period, avoiding overheating or underheating.
[0122] Optionally, the second time period may also be a preset fixed time period. For example, the second time period may be 20 minutes. The smart mattress may control the temperature regulating device to heat the smart mattress continuously for 20 minutes based on the target temperature.
[0123] In some embodiments, the smart mattress may obtain second mattress temperature data collected by the first temperature sensor during the heating process, and control the temperature adjustment device to stop heating the smart mattress when the second mattress temperature data is greater than or equal to the target temperature.
[0124] It is understandable that an excessively high mattress temperature of the smart mattress may disturb the user's sleep, and the mattress temperature of the smart mattress in the mattress area covered by the user and / or the mattress area covered by the quilt can be maintained near the user's suitable temperature for a period of time. Therefore, when the mattress temperature value included in the second mattress temperature data is greater than or equal to the target temperature, further heating the smart mattress will increase the energy consumption of the temperature adjustment device, so heating the smart mattress can be stopped to avoid increasing energy consumption.
[0125] In some embodiments, the target temperature may be the upper limit of the desired temperature range, and the preset temperature threshold may be the lower limit of the desired temperature range. The smart mattress can control the temperature control device to heat the smart mattress based on the target temperature. Heating stops when the mattress temperature is greater than or equal to the target temperature, and resumes heating when the mattress temperature is less than or equal to the preset temperature threshold. This effectively reduces the energy consumption of the temperature control device while not affecting the user's sleep experience.
[0126] In an embodiment of the present application, the smart mattress determines first temperature loss information based on first mattress temperature data collected by the first temperature sensor during a first time period. The smart mattress can determine a target temperature that meets the actual temperature maintenance requirements of the smart mattress based on the first temperature loss information and the acquired ambient temperature data. The smart mattress can control the temperature adjustment device to heat the smart mattress based on the target temperature. Since the temperature adjustment device does not work during the first time period, the first temperature loss information can accurately reflect the temperature changes of the smart mattress under a natural state. The target temperature determined based on the first temperature loss information and the ambient temperature data is more accurate, which can improve the accuracy of the smart mattress's heating control, ensure the user's sleep comfort, and enhance the user's sleep experience.
[0127] In some embodiments, the smart mattress may be provided with multiple first temperature sensors and multiple temperature adjustment devices, and the smart mattress may be divided into multiple adjustment areas according to the mattress area affected by each temperature adjustment device when heating, and each adjustment area is correspondingly provided with a first temperature sensor. Figure 3 This is a flow chart of heating multiple adjustment areas provided in an embodiment of the present application. Figure 3 As shown, the above method may include the following steps:
[0128] Step 301 : Acquire first mattress temperature data corresponding to a first adjustment area collected by each first temperature sensor in a first time period.
[0129] The first adjustment area may be any one of a plurality of adjustment areas, and the first mattress temperature data corresponding to each adjustment area may be different.
[0130] Figure 4 This is a schematic diagram of the various adjustment areas of the smart mattress provided in the embodiment of the present application. Figure 4As shown, the smart mattress 400 can divide the mattress area into multiple horizontal adjustment zones 410 based on the installation positions of multiple temperature adjustment devices. Each adjustment zone 410 corresponds to a first temperature sensor. The smart mattress 400 can obtain first mattress temperature data collected by the first temperature sensor corresponding to each adjustment zone 410 during a first time period. During the heating process of the smart mattress 400, the smart mattress 400 can control each temperature adjustment device to heat the corresponding adjustment zone 410.
[0131] In other embodiments, the adjustment area may also be a mattress area divided based on the body contours corresponding to various body parts of the user, such as the head area, chest and back area, hip area, leg area and foot area. Each adjustment area may be correspondingly provided with one or more first temperature sensors and the same number of temperature adjustment devices as the first temperature sensors.
[0132] Optionally, when the adjustment area is a mattress area divided based on the body contours corresponding to various body parts of the user, the smart mattress may also be provided with only one temperature adjustment device, and the range of action of the temperature adjustment device may cover the entire surface of the smart mattress. The smart mattress may heat each adjustment area separately at different target temperatures through the temperature adjustment device.
[0133] Step 303 : determining first temperature loss information corresponding to the plurality of adjustment zones respectively according to the first mattress temperature data corresponding to the plurality of adjustment zones respectively.
[0134] Because the regulation areas covered by the user's body and the quilt on a smart mattress are not identical, the temperature loss in each regulation area varies, and therefore the temperature loss information corresponding to each regulation area is also different. Therefore, the smart mattress can obtain temperature loss information corresponding to different regulation areas to customize an accurate temperature regulation strategy for each regulation area, achieving personalized temperature control.
[0135] Step 305 : After obtaining the ambient temperature data collected by the second temperature sensor, the target temperature corresponding to each adjustment area is determined based on the first temperature loss information corresponding to each adjustment area and the ambient temperature data.
[0136] It is understandable that due to the differences in temperature sensitivity and heat dissipation rate of different parts of the user's body, the user's sleeping habits and quilt coverage have different effects on the insulation effect of different body parts, so the target temperature corresponding to each adjustment area is different.
[0137] For example, when the ambient temperature is low and the user is fully covered in a blanket, the chest and back regions of the human body, due to their relatively abundant blood circulation and large surface area, lose heat more quickly. Furthermore, they are more sensitive to temperature changes, so excessively high or low temperatures can affect the user's comfort. Therefore, the conditioning zones corresponding to the chest and back regions require a moderate target temperature to maintain comfort, such as a target temperature of 28°C. Meanwhile, the blood circulation in the feet is relatively weak, resulting in insufficient heat supply and a lower temperature. To maintain comfort in the feet, the conditioning zones corresponding to the feet require a higher target temperature, such as 30°C. However, when the ambient temperature is low but the user only covers the chest and back regions with a blanket, leaving the feet uncovered, the conditioning zones corresponding to the feet lose temperature more quickly. Therefore, to maintain comfort in the feet, a higher target temperature is required. Therefore, the target temperature for the conditioning zones corresponding to the feet can be set to 32°C.
[0138] By differentiating the target temperatures corresponding to each adjustment area based on the first temperature loss information and ambient temperature data corresponding to each adjustment area, it can be ensured that the target temperature corresponding to each adjustment area meets the appropriate temperature range for each part of the user's body, thereby improving the user's sleep quality.
[0139] Step 307 : Based on the target temperature corresponding to each adjustment area, control the temperature adjustment device corresponding to each adjustment area to heat each adjustment area.
[0140] Exemplarily, the smart mattress can control the temperature adjustment device corresponding to the third adjustment area to heat the third adjustment area based on the target temperature of the third adjustment area corresponding to the user's chest and back area. At the same time, based on the target temperature of the fourth adjustment area corresponding to the user's feet, the smart mattress can control the temperature adjustment device corresponding to the fourth adjustment area to heat the fourth adjustment area.
[0141] In an embodiment of the present application, the smart mattress is divided into multiple adjustment areas, and the target temperature corresponding to each adjustment area is determined based on the ambient temperature data and the first temperature loss information corresponding to each adjustment area. Based on the target temperature corresponding to each adjustment area, the temperature adjustment device corresponding to each adjustment area is controlled to heat each adjustment area. This can accurately match the warmth needs of different body parts of the user, achieve personalized temperature adjustment, thereby improving the user's sleep comfort and sleep quality, and avoid energy waste caused by uniform heating of the entire smart mattress, thereby improving energy utilization efficiency.
[0142] In some embodiments, the smart mattress may obtain the first temperature loss information according to the temperature change curve. Figure 5This is a flow chart for determining the first temperature loss information provided in the embodiment of the present application. Figure 5 As shown, the step of determining the first temperature loss information of the smart mattress according to the first mattress temperature data may include the following steps:
[0143] Step 501: Generate a temperature change curve based on mattress temperature values corresponding to multiple acquisition moments.
[0144] A temperature profile can be used to describe the relationship between mattress temperature and time.
[0145] In some embodiments, the smart mattress may obtain a temperature change curve by fitting based on the least squares method according to the times corresponding to the multiple acquisition moments and the mattress temperature values corresponding to the multiple acquisition moments.
[0146] Optionally, the smart mattress can also use other curve fitting methods to fit a temperature change curve based on the times corresponding to multiple acquisition moments and the mattress temperature values corresponding to the multiple acquisition moments. Since the curve is obtained using curve fitting methods such as least squares fitting, the method is the same or similar to the existing technology and will not be further described here.
[0147] In some embodiments, when the smart mattress includes multiple adjustment areas, the smart mattress can generate a temperature change curve corresponding to the fifth adjustment area based on the mattress temperature values corresponding to multiple collection moments of the fifth adjustment area, where the fifth adjustment area is any one of the multiple adjustment areas.
[0148] In some embodiments, after generating the temperature change curve, if the mattress temperature value included in the temperature change curve does not include any of the target temperature and the preset temperature threshold, the smart mattress can predict the target temperature or the preset temperature threshold through the temperature change curve.
[0149] Step 503: Analyze the temperature change curve to obtain first temperature loss information of the smart mattress.
[0150] The first temperature loss information may include at least one of the slope, curvature, and temperature change time of the temperature change curve. The slope of the temperature change curve may reflect the rate of heat loss or the rate of change of the mattress temperature. A larger slope indicates a faster rate of change in the mattress temperature. The curvature of the temperature change curve may reflect the changing trend of the rate of change of the mattress temperature. A larger curvature indicates a more drastic change in the rate of change of the mattress temperature, i.e., a significant change in the mattress temperature. The temperature change time may include the time it takes to change from the target temperature to the ambient temperature and / or the time it takes for the target temperature to change to a preset temperature threshold.
[0151] In some embodiments, the smart mattress may divide the multiple acquisition moments included in the temperature change curve within the first time period into multiple sub-time periods, and calculate the slope and / or curvature corresponding to each sub-time period based on the mattress temperature value corresponding to each sub-time period and the length of the sub-time period, and then combine the slopes and / or curvatures corresponding to multiple sub-time periods to obtain the slope and / or curvature of the temperature change curve within the first time period.
[0152] Optionally, the smart mattress may also use at least one of the curvature, slope, and temperature change time from the target temperature to the preset temperature threshold corresponding to the preset temperature threshold in the temperature change curve as the first temperature loss information of the smart mattress in the first time period.
[0153] In some embodiments, when the smart mattress includes multiple adjustment areas, the smart mattress may obtain first temperature loss information corresponding to each adjustment area by analyzing a temperature change curve corresponding to each adjustment area.
[0154] In an embodiment of the present application, the smart mattress generates a temperature change curve based on the mattress temperature values corresponding to multiple acquisition moments, and obtains first temperature loss information of the smart mattress by analyzing the temperature change curve. This not only can obtain the corresponding first temperature loss information through the mattress temperature data to obtain the accurate temperature change rate and trend, but also can comprehensively reflect the temperature loss characteristics of the smart mattress, which is helpful for subsequent temperature adjustment of the smart mattress, thereby improving the user's sleep quality.
[0155] In some embodiments, the smart mattress may analyze the user's sleep data according to the first temperature loss information and the user's vital sign data, thereby determining the target temperature through the user's sleep data and the ambient temperature data. Figure 6 This is a flow chart for determining the target temperature provided in the embodiment of the present application. Figure 6 As shown, the step of determining the target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data may include the following steps:
[0156] Step 602: Acquire first user vital sign data collected by a vital sign sensor.
[0157] The vital sign sensor may include at least one of a pressure sensor, a heart rate sensor, and a respiratory rate sensor, and the vital sign sensor may be used to collect user vital sign data in real time.
[0158] The first user vital sign data may include pressure data and / or vibration data. Optionally, the vital sign sensor may be a piezoelectric film sensor to collect the user's pressure data and vibration data on the smart mattress in real time.
[0159] In some embodiments, the smart mattress may simultaneously acquire first user vital sign data collected by the vital sign sensor in the first time period when acquiring first mattress temperature data collected by the first temperature sensor in the first time period.
[0160] Optionally, the smart mattress can also obtain the first user vital sign data during the current sleep process, from the collection time corresponding to the start of sleep to the collection time corresponding to the first mattress temperature data collected by the first temperature sensor in the first time period.
[0161] Step 604: Analyze the first temperature loss information and the first user vital sign data to obtain user sleep data.
[0162] In some embodiments, the smart mattress can analyze pressure data to determine the user's sleeping position. Since determining the user's sleeping position through pressure data is a prior art, it will not be described in detail here.
[0163] In some embodiments, the smart mattress is further provided with a filter. The smart mattress can separate the vibration data through the filter to obtain a heart rate signal and a respiratory rate signal, and then analyze the heart rate signal and the respiratory rate signal to obtain the user's heart rate data and the user's respiratory rate data.
[0164] Vital sign sensors can capture tiny vibration signals from the human body. These vibration signals contain information generated by various physiological activities, such as the heaving and undulating vibrations of the chest or abdomen caused by heartbeat and breathing, resulting in a mixture of multiple frequency components in the vibration signal. Furthermore, for the smart mattress's vital sign sensor, the vibrations caused by chest breathing are stronger than the vibrations caused by heartbeat on the human body surface, and the frequency corresponding to heartbeat is stronger than the frequency corresponding to breathing. Therefore, by filtering the vibration data with a filter, the heart rate and respiratory rate signals can be separated from the vibration data.
[0165] In some embodiments, the smart mattress may analyze the first temperature loss information to determine the quilt coverage area.
[0166] It is understandable that due to the insulation effect of the quilt, the covered area loses heat relatively slowly, and the temperature drops more slowly than uncovered areas and user-covered areas. Therefore, the smart mattress can analyze the first temperature loss information and compare parameters such as the temperature drop rate (slope of the temperature change curve) and the degree of change (curvature of the temperature change curve) of each mattress area of the smart mattress. If the slope of the temperature change curve is greater than a preset slope threshold and / or the curvature of the temperature change curve is greater than a preset curvature threshold, the corresponding mattress area is determined to be a quilt-covered area.
[0167] Optionally, the smart mattress can also determine the user coverage area corresponding to the user's sleeping position through pressure data, and correct the quilt coverage area based on the user coverage area to determine the corrected actual quilt coverage area to avoid the situation where the first temperature loss information of the user coverage area and the quilt coverage area are the same or similar, making it difficult for the smart mattress to accurately judge the actual coverage of the quilt.
[0168] Step 606: Determine the target temperature based on the ambient temperature data and the user's sleep data.
[0169] In some embodiments, the smart mattress may be pre-configured with a second mapping table between ambient temperature data and user sleep data and target temperatures. Based on pre-configured conversion rules, the smart mattress may convert the ambient temperature data and user sleep data into a query vector. The smart mattress may then calculate the similarity between the query vector and the mapping vectors corresponding to each target temperature in the second mapping table, and determine the mapping vector corresponding to the target temperature with the highest similarity to obtain the target temperature.
[0170] Conversion rules can refer to the method of digitizing and standardizing ambient temperature data and user sleep data. For example, ambient temperature data, heart rate data, and respiratory rate data can be directly converted into corresponding numerical values. For the user's sleeping position, the "supine" position can be converted into a value of 1, the "side" position can be converted into a value of 2, the "prone" position can be converted into a value of 3, and the "curled up" position can be converted into a value of 4. For an ambient temperature of 10 degrees Celsius, a heart rate of 60 beats / minute, a respiratory rate of 15 beats / minute, and a supine sleeping position, the smart mattress can convert this into a query vector [10, 60, 15, 1] based on the above conversion rules. Similarly, the ambient temperature data and user sleep data corresponding to each target temperature in the second mapping table are processed in the same way.
[0171] After the smart mattress converts the ambient temperature data and user sleep data into a query vector based on a preset conversion rule, it can calculate the cosine similarity between the query vector and the mapping vectors corresponding to each target temperature in the second mapping table to determine the mapping vector corresponding to the target temperature with the highest similarity, thereby obtaining the target temperature.
[0172] Optionally, the smart mattress may also convert the first temperature loss information, the user's vital sign data, the mattress temperature data, and the ambient temperature data into a corresponding query vector, and determine the target temperature based on the above method.
[0173] In an embodiment of the present application, the smart mattress analyzes the first temperature loss information and the first user's vital sign data to obtain user sleep data including various conditions such as the user's sleeping posture, heart rate data, respiratory rate data, and quilt coverage area, and then determines the target temperature based on the ambient temperature data and the user's sleep data. This not only enables the smart mattress to obtain the target temperature that best suits the user's current sleep state, effectively improving the user's sleep quality, but also can achieve personalized temperature adjustment based on the differences in thermal insulation performance reflected by the temperature loss information, meet the user's sleep needs, and further optimize the heating function of the smart mattress and the user's sleep experience.
[0174] In some embodiments, the smart mattress can monitor the user's vital signs data in real time during the heating process, and stop heating in time if the user's vital signs data changes abnormally. Figure 7 This is a flowchart of stopping heating according to user's vital signs data provided in the embodiment of the present application. Figure 7 As shown, the method further includes the following steps:
[0175] Step 701: Acquire historical vital sign data.
[0176] The historical vital sign data is the user's vital sign data collected by the vital sign sensor during the historical heating period.
[0177] Step 703: Obtain reference physiological parameters based on historical vital sign data.
[0178] Reference physiological parameters include a reference heart rate parameter and / or a reference respiratory rate parameter. The reference heart rate parameter may refer to the user's average heart rate parameter during normal sleep. The reference respiratory rate parameter may refer to the user's average respiratory rate parameter during normal sleep. Normal sleep may refer to a user sleeping in a comfortable temperature environment.
[0179] Step 705 : While the temperature adjustment device is heating the smart mattress, the second user's vital sign data collected by the vital sign sensor is obtained.
[0180] The second user vital sign data may include user vital sign data corresponding to each collection moment during the current heating process of the smart mattress, from the collection moment corresponding to the start of heating to the first collection moment. The first collection moment may be the moment when the smart mattress acquires the second user vital sign data collected by the vital sign sensor. The first collection moment may be any collection moment during the process of the smart mattress being heated by the temperature control device.
[0181] In some embodiments, when the smart mattress controls the temperature adjustment device to heat the smart mattress within the second time period, the smart mattress may obtain the second user's vital sign data collected in real time by the vital sign sensor within the second time period.
[0182] In some embodiments, the smart mattress may acquire the second user's vital sign data collected by the vital sign sensor according to a preset acquisition period while the temperature control device is controlling the smart mattress to heat the smart mattress. For example, the preset acquisition period may be set to 1 minute, meaning that the smart mattress may acquire the second user's vital sign data collected in real time by the vital sign sensor within 1 minute every 1 minute while the temperature control device is controlling the smart mattress to heat the smart mattress.
[0183] Step 707: Analyze the second user's vital sign data to determine average physiological parameters.
[0184] The average physiological parameter may refer to an average value or a weighted average value of the user's vital sign data corresponding to each collection moment collected by the vital sign sensor between the collection moment when the smart mattress starts heating and the first collection moment.
[0185] The average physiological parameter may include an average heart rate parameter and / or an average respiratory rate parameter.
[0186] In some embodiments, the smart mattress may also analyze the second user's vital sign data to determine a vital sign fluctuation parameter. This vital sign fluctuation parameter may refer to the difference between the maximum and minimum values of the user's vital sign data between the time the smart mattress begins heating and the first collection time. This vital sign fluctuation parameter may include a heart rate fluctuation parameter and / or a respiratory rate fluctuation parameter.
[0187] Step 709, determine whether the difference between the average heart rate parameter and the reference heart rate parameter is greater than the preset heart rate threshold, and / or whether the difference between the average respiratory rate parameter and the reference respiratory rate parameter is greater than the preset respiratory rate threshold. If not, execute step 711; if greater, execute step 713.
[0188] Since the heart rate and respiratory rate are usually kept stable during sleep, and high temperature usually causes changes in the heart rate and respiratory rate, it is necessary to monitor the user's heart rate and respiratory rate in real time during the heating process of the smart mattress, so as to determine whether the heating process of the smart mattress will affect the user's body by judging the difference between the user's average heart rate parameter and the reference heart rate parameter, and / or the difference between the average respiratory rate parameter and the reference respiratory rate parameter.
[0189] In some embodiments, the smart mattress can also determine whether the heart rate fluctuation parameter is greater than a preset heart rate fluctuation threshold, and / or whether the respiratory rate fluctuation parameter is greater than a preset respiratory rate fluctuation threshold. If not, execute step 711; if greater, execute step 713.
[0190] If the user's heart rate and / or respiratory rate changes significantly during the heating process of the smart mattress, causing the heart rate fluctuation parameter to exceed the preset heart rate fluctuation threshold, and / or the respiratory rate fluctuation parameter to exceed the preset respiratory rate fluctuation threshold, it indicates that heating the smart mattress at the target temperature may cause physiological discomfort to the user. For example, when the temperature is too high, the human nervous system and cardiovascular system may be stimulated, the user's heart rate and sweating may increase, which may easily wake the user from sleep and affect the user's sleep quality. Therefore, the smart mattress needs to perform subsequent steps to stop heating.
[0191] Step 711: Based on the target temperature, the temperature adjustment device is controlled to continue heating the smart mattress, and the second user's vital sign data collected by the vital sign sensor is obtained again.
[0192] Since the difference between the average heart rate parameter and the reference heart rate parameter, and / or the difference between the average respiratory rate parameter and the reference respiratory rate parameter is not large, it means that heating the smart mattress at the target temperature will not cause a significant change in the heart rate and / or respiratory rate, or the impact is small. Therefore, the temperature adjustment device can continue to be controlled to heat at the target temperature.
[0193] Step 713: Control the temperature adjustment device to stop heating the smart mattress until the user's heart rate parameter returns to the reference heart rate parameter and / or the breathing rate parameter returns to the reference breathing rate parameter.
[0194] It should be noted that by stopping heating the smart mattress, the mattress temperature value of the smart mattress can be quickly reduced, which helps the user's heart rate parameters to recover to the reference heart rate parameters, and / or the respiratory rate parameters to recover to the reference respiratory rate parameters, and can also promptly eliminate the interference of temperature discomfort on the user's sleep, ensuring that the user sleeps in a suitable temperature environment.
[0195] In some embodiments, when the difference between the average heart rate parameter and the reference heart rate parameter is greater than a preset heart rate threshold, and / or the difference between the average respiratory rate parameter and the reference respiratory rate parameter is greater than a preset respiratory rate threshold, the smart mattress can control the temperature adjustment device to heat the smart mattress based on the insulation temperature until the user's heart rate parameter returns to the reference heart rate parameter, and / or the respiratory rate parameter returns to the reference respiratory rate parameter.
[0196] The keep warm temperature may be lower than the target temperature, or lower than or equal to a preset temperature threshold, and may be a preset fixed value, such as 20 degrees Celsius or 22 degrees Celsius. The keep warm temperature may also be the difference between the target temperature and a fixed reduction value. For example, if the target temperature is 25 degrees Celsius and the fixed reduction value is 2 degrees Celsius, the keep warm temperature may be determined to be 23 degrees Celsius.
[0197] By heating the smart mattress at a heat preservation temperature lower than the target temperature, the user's heart rate parameter can be restored to the reference heart rate parameter and / or the respiratory rate parameter can be restored to the reference respiratory rate parameter while preventing the mattress temperature of the smart mattress from being too low and affecting the user's sleep.
[0198] In some embodiments, after stopping heating the smart mattress, the smart mattress may correct the target temperature based on the difference between the average heart rate parameter and the reference heart rate parameter, and / or the difference between the average breathing rate parameter and the reference breathing rate parameter, and after the user's breathing rate parameter returns to the reference breathing rate parameter, control the temperature adjustment device to heat the smart mattress at the corrected target temperature.
[0199] The smart mattress may be pre-configured with a third mapping table between the difference between the average heart rate parameter and the reference heart rate parameter and a correction factor. The smart mattress may match the difference between the average heart rate parameter and the reference heart rate parameter in the third mapping table to obtain a correction factor corresponding to the difference. The corrected target temperature may then be determined based on the product or sum of the correction factor and the target temperature.
[0200] For example, the difference between the average heart rate parameter and the reference heart rate parameter is 2. The correction coefficient is determined to be 0.95 through the preset third mapping table. Therefore, the smart mattress can determine the corrected target temperature to be 28.5 degrees Celsius based on the product of the correction coefficient 0.95 and the target temperature of 30 degrees Celsius.
[0201] In an embodiment of the present application, the smart mattress obtains a reference heart rate parameter and / or a reference respiratory rate parameter corresponding to historical vital sign data, as well as an average heart rate parameter corresponding to the user's heart rate data, and / or an average respiratory rate parameter corresponding to the user's respiratory rate data, and stops heating the smart mattress when the difference between the average heart rate parameter and the reference heart rate parameter is greater than a preset heart rate threshold, and / or the difference between the average respiratory rate parameter and the reference respiratory rate parameter is greater than a preset respiratory rate threshold, until the user's respiratory rate parameter returns to the reference respiratory rate parameter. This not only dynamically adjusts the heating strategy based on the user's real-time vital sign data to ensure that the target temperature of the smart mattress is always within a safe and reasonable range, but also continuously monitors the user's health status during the heating process of the smart mattress, effectively preventing abnormal aggravation of the user's heart rate or respiratory rate due to excessive temperature, and improving the user's sleep experience.
[0202] In some embodiments, the smart mattress can be preheated according to the user's sleeping position to prevent the temperature of the new mattress area that the user contacts after changing sleeping positions from being too low, thereby affecting the user's sleep quality. Figure 8 This is a flowchart of preheating according to the user's sleeping posture provided in the embodiment of the present application. Figure 8 As shown, the method further includes the following steps:
[0203] Step 802 : Determine the user's next sleeping position based on the sleeping position prediction model and the user's sleeping position.
[0204] A sleeping posture prediction model refers to a model built using machine learning or data mining algorithms by analyzing a user's historical sleeping posture data and sleeping habits. This model can be used to predict the next sleeping posture a user is most likely to switch to during sleep.
[0205] During sleep, a user's sleeping position often changes in a certain pattern. For example, when a user sleeps on their side, due to prolonged compression on one side of the body, the user often unconsciously turns over, changing from side to back. Or, the user sleeps in a curled-up position, and after falling asleep, the body gradually relaxes, returning to a side-lying position. Therefore, by analyzing and mining a user's historical sleeping position data, a sleeping position prediction model can be established to predict the user's next sleeping position.
[0206] In other embodiments, the smart mattress can also determine the user's high-frequency sleeping position based on the user's historical sleeping position data, and use the high-frequency sleeping position as the user's next sleeping position. The high-frequency sleeping position may refer to a sleeping position that occurs during the user's sleep with a frequency higher than a preset frequency threshold; the smart mattress can also determine the changing sequence of the user's sleeping position based on the user's historical sleeping position data, and thus determine the next sleeping position in the changing sequence of the user's sleeping position based on the user's sleeping position and the corresponding moment of the current sleeping position during the sleep process.
[0207] Step 804 : Control the temperature adjustment device to heat the mattress area corresponding to the next sleeping position based on the preset target temperature.
[0208] The preset target temperature can be less than or equal to the target temperature, which can keep the mattress temperature of the smart mattress at a certain temperature to ensure that the user does not feel a sudden temperature change when changing to the next sleeping position, while avoiding energy waste caused by overheating and potential interference with the user's sleep.
[0209] Optionally, the smart mattress can also determine the preset target temperature based on the temperature loss information of the adjustment area corresponding to the user's next sleeping position, as well as the user's vital sign data and ambient temperature data collected at the current moment. For example, if the adjustment area corresponding to the user's feet is not covered with a quilt, a preset target temperature higher than the original preset target temperature can be determined based on the temperature loss information of the adjustment area corresponding to the feet, to ensure that the user comes into contact with a warmer mattress area after switching sleeping positions, rather than a mattress area close to the ambient temperature.
[0210] In some embodiments, the smart mattress may control the temperature adjustment device to heat the mattress area corresponding to the user's current sleeping position based on the target temperature, while controlling the temperature adjustment device to heat the mattress area corresponding to the next sleeping position based on the preset target temperature.
[0211] Optionally, the smart mattress can also control the temperature adjustment device to heat the mattress area corresponding to the user's current sleeping position based on the target temperature for a third time period, and then control the temperature adjustment device to heat the mattress area corresponding to the next sleeping position based on the preset target temperature, where the third time period can be a preset fixed time period, or it can be a time period determined based on the average maintenance time of the user's sleeping position, the maintenance time of the user's current sleeping position and the reserved heating time.
[0212] For example, the user's sleeping position is relatively stable, and the sleeping position is changed once every 30 minutes on average, and the current sleeping position is only maintained for 10 minutes. Therefore, the smart mattress can determine that the third time period is 15 minutes based on the difference between the average maintenance time, the maintenance time of the user's current sleeping position and the preset heating time of 5 minutes. That is, the smart mattress controls the temperature adjustment device to heat the mattress area corresponding to the user's current sleeping position based on the target temperature for 15 minutes, and then controls the temperature adjustment device to heat the mattress area corresponding to the next sleeping position based on the preset target temperature to cope with the next sleeping position that the user is about to switch to.
[0213] In other embodiments, after determining a user's most frequent sleeping positions, the smart mattress can control the temperature control device to heat the mattress areas corresponding to these frequently occurring positions based on a preset target temperature. For example, if a user frequently sleeps on their left side, right side, and back, the smart mattress can control the temperature control device to heat the mattress areas corresponding to these three positions based on a preset target temperature. By heating all frequently occurring sleeping positions, unnecessary heating of areas used infrequently can be avoided, achieving energy savings. It can also more comprehensively meet the user's temperature needs during sleep, preventing the user from being awakened by sudden temperature changes after switching sleeping positions.
[0214] In an embodiment of the present application, the smart mattress determines the user's next sleeping position based on the user's sleeping position, controls the temperature adjustment device, and heats the mattress area corresponding to the next sleeping position based on the preset target temperature. This can preheat the mattress area that the user may touch after switching sleeping positions, ensuring that the user can immediately feel the appropriate temperature after switching sleeping positions, thereby improving the comfort and continuity of sleep, and effectively avoiding the user's discomfort caused by the local temperature of the smart mattress being too low, thereby improving the user's sleep quality.
[0215] In some embodiments, the smart mattress may adjust the target temperature of each adjustment area according to whether the temperature loss information corresponding to each adjustment area changes. Figure 9 The flowchart of determining the target temperature corresponding to each adjustment area according to the first temperature loss information and the second temperature loss information provided in the embodiment of the present application. Figure 9 As shown, the method may include the following steps:
[0216] Step 901: Determine first temperature loss information corresponding to a plurality of adjustment zones according to first mattress temperature data.
[0217] Step 903: Obtain second temperature loss information corresponding to the plurality of adjustment areas after the last heating.
[0218] In some embodiments, when one or more adjustment zones do not have the second temperature loss information, the smart mattress can directly execute step 208 and its corresponding embodiment scheme to determine the target temperature corresponding to each adjustment zone according to the first temperature loss information and ambient temperature data corresponding to the multiple adjustment zones for heating.
[0219] Step 905 : Analyze the first temperature loss information and the second temperature loss information corresponding to the plurality of adjustment areas to determine the first adjustment area and the second adjustment area.
[0220] The first adjustment region is an adjustment region where the similarity between the corresponding first temperature loss information and the second temperature loss information is greater than a similarity threshold, and the second adjustment region is an adjustment region where the similarity between the corresponding first temperature loss information and the second temperature loss information is not greater than the similarity threshold. The first adjustment region may include one or more adjustment regions, and the second adjustment region may include one or more adjustment regions, and the first adjustment region is different from the second adjustment region.
[0221] If the similarity between the first temperature loss information and the second temperature loss information is greater than the similarity threshold, it means that the quilt coverage area and / or the user coverage (i.e., the user sleeping position) area of the first adjustment area has not changed much. On the contrary, if the similarity between the first temperature loss information and the second temperature loss information is not greater than the similarity threshold, it means that the quilt coverage area and / or the user coverage area of the second adjustment area have changed significantly, causing the heat loss of the second adjustment area to change significantly.
[0222] Figure 10 Schematic diagram of the first adjustment area and the second adjustment area provided in the embodiment of the present application. Figure 10As shown, the smart mattress 1000 includes six adjustment areas: adjustment area 1010, adjustment area 1020, adjustment area 1030, adjustment area 1040, adjustment area 1050, and adjustment area 1060. During the last heating process of the smart mattress, the quilt covered the four adjustment areas 1030, adjustment area 1040, adjustment area 1050, and adjustment area 1060. The areas covered by the quilt are as follows: Figure 10 During the heating process, the quilt coverage area changes, and the quilt no longer covers the adjustment area 1060. Therefore, if the user's sleeping position does not change significantly, the smart mattress 1000 can use the adjustment areas 1030, 1040, and 1050 still covered by the quilt as the first adjustment area, and the adjustment area 1060 not covered by the quilt as the second adjustment area.
[0223] Step 907 : Determine a target temperature corresponding to the second regulating area based on the first temperature loss information corresponding to the second regulating area and the ambient temperature data.
[0224] In the event that there are significant changes in the quilt coverage area and / or user coverage area of the second adjustment area, the historical target temperature corresponding to the second adjustment area during the previous heating process is no longer applicable to the current situation. Therefore, it is necessary to re-determine the target temperature corresponding to the second adjustment area based on the first temperature loss information and ambient temperature data corresponding to the second adjustment area. For the first adjustment area where there are not significant changes in the quilt coverage area and / or user coverage area, the historical target temperature corresponding to the previous heating process can continue to be maintained without the need to re-acquire the target temperature corresponding to the first adjustment area, thereby effectively saving computing resources and avoiding unnecessary calculations.
[0225] Step 909: Based on the target temperature corresponding to the second regulating area, control the temperature regulating device to heat the second regulating area; based on the historical target temperature corresponding to the first regulating area in the last heating process, control the temperature regulating device to heat the first regulating area.
[0226] like Figure 10As shown, the smart mattress 1000 can control the temperature adjustment device to heat the adjustment area 1030, the adjustment area 1040, and the adjustment area 1050 respectively based on the historical target temperatures corresponding to the adjustment area 1030, the adjustment area 1040, and the adjustment area 1050 during the previous heating process. For example, if the historical target temperature corresponding to the adjustment area 1030 during the previous heating process is 30 degrees Celsius, then in this heating process, the target temperature of the adjustment area 1030 is also 30 degrees Celsius. After determining the target temperature corresponding to the adjustment area 1060, the smart mattress 1000 can control the temperature adjustment device to heat the adjustment area 1060 at the target temperature corresponding to the adjustment area 1060.
[0227] In an embodiment of the present application, the smart mattress determines the first adjustment area and the second adjustment area based on the similarity between the first temperature loss information and the second temperature loss information corresponding to each adjustment area, maintains the historical target temperature corresponding to the first adjustment area during the previous heating process, and determines the target temperature corresponding to the second adjustment area through the first temperature loss information and ambient temperature data corresponding to the second adjustment area. This not only avoids the need to re-determine the target temperature corresponding to the first adjustment area if the first adjustment area has not changed much, thereby effectively saving computing resources and avoiding unnecessary calculations, but also allows the target temperature of each adjustment area to be more in line with the environment of the corresponding mattress area, so that various parts of the user can always be at a suitable temperature, thereby improving the user's sleep comfort.
[0228] Based on the heating control method of the smart mattress provided in the above embodiment, Figure 11 This is a structural block diagram of a heating control device for a smart mattress provided in an embodiment of the present application. Figure 11 As shown, in one embodiment, a heating control device 1100 for a smart mattress is provided. The heating control device 1100 for the smart mattress includes a data acquisition module 1101 , a temperature determination module 1102 , and a temperature adjustment module 1103 .
[0229] The data acquisition module 1101 is configured to acquire first mattress temperature data collected by a first temperature sensor during a first time period. During the first time period, the temperature adjustment device does not operate.
[0230] The data acquisition module 1101 is further configured to determine first temperature loss information of the smart mattress according to the first mattress temperature data.
[0231] The data acquisition module 1101 is further configured to acquire ambient temperature data collected by the second temperature sensor.
[0232] The temperature determination module 1102 is configured to determine a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data.
[0233] The temperature adjustment module 1103 is used to control the temperature adjustment device to heat the smart mattress based on the target temperature.
[0234] In some embodiments, the heating control device 1100 of the smart mattress further includes a curve building module.
[0235] The curve construction module is used to generate a temperature change curve based on the mattress temperature values corresponding to multiple acquisition moments. The temperature change curve is used to describe the relationship between the mattress temperature and time.
[0236] The data acquisition module 1101 is further configured to analyze the temperature change curve to obtain first temperature loss information of the smart mattress, where the first temperature loss information includes at least one of a curvature, a slope, and a temperature change time corresponding to the temperature change curve.
[0237] In some embodiments, the heating control device 1100 of the smart mattress further includes a data analysis module.
[0238] The data acquisition module 1101 is further configured to acquire the first user's vital sign data collected by the vital sign sensor.
[0239] The data analysis module is used to analyze the first temperature loss information and the first user vital sign data to obtain user sleep data, where the user sleep data includes one or more of the user's sleeping posture, user heart rate data, user breathing rate data, and quilt coverage area.
[0240] The temperature determination module 1102 is further configured to determine a target temperature based on the ambient temperature data and the user's sleep data.
[0241] In some embodiments, the data acquisition module 1101 is further used to acquire historical vital sign data, where the historical vital sign data is the user's vital sign data collected by the vital sign sensor during a historical heating period.
[0242] The data acquisition module 1101 is further configured to obtain reference physiological parameters based on historical vital sign data. The reference physiological parameters include reference heart rate parameters and / or reference respiratory rate parameters.
[0243] The data acquisition module 1101 is further configured to acquire the second user's vital sign data collected by the vital sign sensor during the process of the temperature adjustment device heating the smart mattress.
[0244] The data analysis module is further used to analyze the second user's vital sign data to determine average physiological parameters, which include average heart rate parameters and / or average respiratory rate parameters.
[0245] The temperature adjustment module 1103 is further configured to, when the difference between the average heart rate parameter and the reference heart rate parameter is greater than a preset heart rate threshold, control the temperature adjustment device to stop heating the smart mattress until the user's heart rate parameter returns to the reference heart rate parameter; and / or, when the difference between the average respiratory rate parameter and the reference respiratory rate parameter is greater than a preset respiratory rate threshold, control the temperature adjustment device to stop heating the smart mattress until the user's respiratory rate parameter returns to the reference respiratory rate parameter.
[0246] In some embodiments, the heating control device 1100 of the smart mattress further includes a sleeping posture prediction module.
[0247] The sleeping posture prediction module is used to determine the user's next sleeping posture based on the sleeping posture prediction model and the user's sleeping posture.
[0248] The temperature adjustment module 1103 is further used to control the temperature adjustment device to heat the mattress area corresponding to the next sleeping position based on a preset target temperature; the preset target temperature is less than or equal to the target temperature.
[0249] In some embodiments, the data acquisition module 1101 is further configured to determine first temperature loss information corresponding to each of the plurality of adjustment zones according to the first mattress temperature data.
[0250] The data acquisition module 1101 is further configured to acquire second temperature loss information corresponding to each of the plurality of adjustment areas after the last heating.
[0251] The data analysis module is also used to analyze the first temperature loss information and the second temperature loss information corresponding to multiple adjustment areas respectively, and determine the first adjustment area and the second adjustment area; the first adjustment area is the adjustment area where the similarity between the corresponding first temperature loss information and the second temperature loss information is greater than the similarity threshold, and the second adjustment area is the adjustment area where the similarity between the corresponding first temperature loss information and the second temperature loss information is not greater than the similarity threshold.
[0252] The temperature determination module 1102 is further configured to determine a target temperature corresponding to the second adjustment area based on the first temperature loss information corresponding to the second adjustment area and the ambient temperature data.
[0253] The temperature adjustment module 1103 is also used to control the temperature adjustment device to heat the second adjustment area based on the target temperature corresponding to the second adjustment area; and control the temperature adjustment device to heat the first adjustment area based on the historical target temperature corresponding to the first adjustment area in the last heating process.
[0254] In some embodiments, the data acquisition module 1101 is further configured to acquire second mattress temperature data collected by the first temperature sensor during the heating process of the smart mattress.
[0255] The temperature adjustment module 1103 is further configured to control the temperature adjustment device to stop heating the smart mattress when the temperature data of the second mattress is greater than or equal to the target temperature.
[0256] Figure 12 This is a structural block diagram of an electronic device provided in an embodiment of the present application. Figure 12 As shown, the electronic device 1200 may include a memory 1202 and a processor 1201. The memory 1202 stores a computer program. When the computer program is executed by the processor 1201, the electronic device 1200 implements the heating control method of the smart mattress as described in the above embodiments.
[0257] The processor 1201 may include one or more processing cores. The processor 1201 uses various interfaces and lines to connect the various parts of the entire electronic device, and performs various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. Optionally, the processor 1201 can be implemented in at least one hardware form of digital signal processing, field programmable gate array, and programmable logic array. The processor 1201 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to handle wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1201, but may be implemented separately through a communication chip.
[0258] Memory 1202 may include random access memory (RAM) or read-only memory (ROM). Memory may be used to store instructions, programs, codes, code sets, or instruction sets. Memory may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described above, and the like. The data storage area may also store data generated during use of the electronic device.
[0259] An embodiment of the present application discloses a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements the heating control method of the smart mattress as described in the above embodiments.
[0260] An embodiment of the present application discloses a computer program product, which includes a computer program. When the computer program can be executed by a processor, the processor implements the heating control method of the smart mattress described in the above embodiments.
[0261] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a ROM, or the like.
[0262] The above description is only a specific example of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A heating control method for a smart mattress, characterized in that: Applied to a smart mattress, the smart mattress is provided with a temperature regulating device, a first temperature sensor, and a second temperature sensor; the method comprises: Acquiring first mattress temperature data collected by the first temperature sensor during a first time period, wherein the temperature adjustment device does not operate during the first time period; determining first temperature loss information of the smart mattress according to the first mattress temperature data; Acquiring ambient temperature data collected by the second temperature sensor; determining a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data; Based on the target temperature, the temperature regulating device is controlled to heat the smart mattress.
2. The method according to claim 1, characterized in that The first mattress temperature data includes mattress temperature values corresponding to a plurality of collection moments respectively; Determining first temperature loss information of the smart mattress according to the first mattress temperature data includes: generating a temperature change curve according to the mattress temperature values corresponding to the plurality of acquisition moments, wherein the temperature change curve is used to describe the relationship between the mattress temperature and time; The temperature change curve is analyzed to obtain first temperature loss information of the smart mattress, where the first temperature loss information includes at least one of a curvature, a slope, and a temperature change time corresponding to the temperature change curve.
3. The method according to claim 1, characterized in that The smart mattress is further provided with a vital sign sensor; and determining a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data includes: Acquiring first user vital sign data collected by the vital sign sensor; Analyzing the first temperature loss information and the first user vital sign data to obtain user sleep data, where the user sleep data includes one or more of a user sleeping posture, a user heart rate data, a user breathing rate data, and a quilt-covered area; The target temperature is determined according to the ambient temperature data and the user sleep data.
4. The method according to claim 3, characterized in that The method further comprises: Acquiring historical vital sign data, where the historical vital sign data is the user's vital sign data collected by the vital sign sensor during a historical heating period; Obtaining reference physiological parameters according to the historical vital sign data, wherein the reference physiological parameters include a reference heart rate parameter and / or a reference respiratory rate parameter; During the process of the temperature adjustment device heating the smart mattress, obtaining the second user's vital sign data collected by the vital sign sensor; Analyzing the second user's vital sign data to determine an average physiological parameter, where the average physiological parameter includes an average heart rate parameter and / or an average respiratory rate parameter; When the difference between the average heart rate parameter and the reference heart rate parameter is greater than a preset heart rate threshold, controlling the temperature adjustment device to stop heating the smart mattress until the user's heart rate parameter returns to the reference heart rate parameter; and / or, When the difference between the average respiratory rate parameter and the reference respiratory rate parameter is greater than a preset respiratory rate threshold, the temperature adjustment device is controlled to stop heating the smart mattress until the user's respiratory rate parameter returns to the reference respiratory rate parameter.
5. The method according to claim 3, characterized in that After determining the target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data, the method further includes: Determining the next sleeping position of the user according to the sleeping position of the user based on a sleeping position prediction model; The temperature regulating device is controlled to heat the mattress area corresponding to the next sleeping posture based on a preset target temperature; the preset target temperature is less than or equal to the target temperature.
6. The method according to claim 1, characterized in that The smart mattress includes a plurality of adjustment areas; and determining first temperature loss information of the smart mattress according to the first mattress temperature data includes: determining first temperature loss information corresponding to each of the plurality of adjustment zones according to the first mattress temperature data; After determining the first temperature loss information of the smart mattress according to the first mattress temperature data, the method further includes: Obtaining second temperature loss information corresponding to each of the plurality of adjustment areas after the last heating; Analyze the first temperature loss information and the second temperature loss information corresponding to the multiple adjustment areas, respectively, to determine a first adjustment area and a second adjustment area; the first adjustment area is an adjustment area where the similarity between the corresponding first temperature loss information and the second temperature loss information is greater than a similarity threshold, and the second adjustment area is an adjustment area where the similarity between the corresponding first temperature loss information and the second temperature loss information is not greater than the similarity threshold; The determining a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data includes: determining a target temperature corresponding to the second regulation area based on the first temperature loss information corresponding to the second regulation area and the ambient temperature data; The step of controlling the temperature regulating device to heat the smart mattress based on the target temperature includes: Based on the target temperature corresponding to the second regulating area, controlling the temperature regulating device to heat the second regulating area; Based on the historical target temperature corresponding to the first regulating area in the last heating process, the temperature regulating device is controlled to heat the first regulating area.
7. The method according to claim 1, characterized in that After controlling the temperature regulating device to heat the smart mattress based on the target temperature, the method further includes: During the heating process of the smart mattress, obtaining temperature data of the second mattress collected by the first temperature sensor; When the second mattress temperature data is greater than or equal to the target temperature, the temperature adjustment device is controlled to stop heating the smart mattress.
8. A heating control device for an intelligent mattress, characterized in that: Applied to a smart mattress, the smart mattress is provided with a temperature regulating device and a first temperature sensor; the device comprises: a data acquisition module, configured to acquire first mattress temperature data collected by the first temperature sensor during a first time period, wherein the temperature adjustment device does not operate during the first time period; The data acquisition module is further configured to determine first temperature loss information of the smart mattress based on the first mattress temperature data; The data acquisition module is further used to acquire the ambient temperature data collected by the second temperature sensor; a temperature determination module, configured to determine a target temperature corresponding to the smart mattress based on the first temperature loss information and the ambient temperature data; The temperature regulating module is used to control the temperature regulating device to heat the smart mattress based on the target temperature.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device implements the heating control method of the smart mattress according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor implements the heating control method for the smart mattress according to any one of claims 1 to 7.