Method for adjusting sleeping temperature of mattress, mattress and computer storage medium
By monitoring ambient temperature and user sleep patterns, acquiring sleep onset time and environmental data, and using a processor and memory to adjust mattress temperature, the problem of existing smart mattresses being unable to adaptively adjust temperature is solved, thus improving the user's sleep quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-19
- Publication Date
- 2026-03-13
AI Technical Summary
Existing smart mattresses cannot adaptively adjust the temperature according to the user's sleep state, resulting in a poor user experience.
By monitoring ambient temperature and user sleep patterns, the system obtains sleep onset time and environmental data, and uses a processor and memory to adjust mattress temperature. The mattress temperature is then adjusted individually based on the average data from multiple users.
It enables personalized and adaptive adjustment of mattress temperature based on different sleep states of users, thereby improving users' sleep quality.
Smart Images

Figure CN121647490A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mattress technology, specifically to a method for adjusting the sleeping temperature of a mattress, a mattress, and a computer storage medium. Background Technology
[0002] As people's living standards improve, more and more people are paying attention to the quality of their sleep, leading to the emergence of smart mattresses. Most existing smart mattresses adjust pressure and height to meet the body's comfort needs.
[0003] During their long-term research and development, the inventors of this application discovered that although existing smart mattresses have added a temperature heating function, they are merely a combination of an electric blanket with a timer function and a regular mattress. They cannot adaptively adjust the mattress temperature according to the user's sleep state, resulting in a poor user experience. Summary of the Invention
[0004] This application provides a method for adjusting the sleeping temperature of a mattress, a mattress, and a computer storage medium to solve the problem in the prior art that the temperature of a mattress cannot be adaptively adjusted according to the user's sleeping state.
[0005] To solve the above-mentioned technical problems, one technical solution adopted in this application is: providing a method for adjusting the sleeping temperature of a mattress, wherein the method includes: Based on the ambient temperature and the corresponding user's sleep state, the user's sleep duration under different ambient temperatures is obtained. The sleep state includes the first sleep duration of light sleep and deep sleep. Adjust the mattress temperature to allow users to enter multiple second sleep times, including light and deep sleep, at the same ambient temperature; The user's first light sleep environment data and first deep sleep environment data are obtained based on the first sleep onset time and the second sleep onset time. Based on the first light sleep environment data and the first deep sleep environment data of multiple users, average light sleep environment data and average deep sleep environment data are obtained. Adjust the mattress temperature according to the user's current physical condition.
[0006] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide a mattress, wherein the mattress includes a mattress body, a processor and a memory coupled to each other, the memory is used to store a computer program, and the processor is used to load and execute the computer program.
[0007] To solve the above-mentioned technical problems, another technical solution adopted in this application is to provide a computer storage medium having a computer program stored thereon, the computer program being used to implement the steps of any of the methods in the above embodiments.
[0008] The beneficial effects of this application are as follows: Unlike existing technologies, this application provides a method for adjusting mattress sleep temperature, a mattress, and a computer storage medium. The method includes: obtaining the user's sleep duration at different ambient temperatures based on the ambient temperature and the user's sleep state (including light sleep and deep sleep); adjusting the mattress temperature to obtain multiple second sleep durations for the user to enter light sleep and deep sleep at the same ambient temperature; obtaining the user's first light sleep environment data and first deep sleep environment data based on the first and second sleep durations; obtaining average light sleep environment data and average deep sleep environment data based on the first and first deep sleep environment data from multiple users; and adjusting the mattress temperature according to the user's current physical state. By obtaining different sleep environment data for the user's light sleep and deep sleep at different ambient temperatures, and then obtaining average light and deep sleep environment data, the mattress temperature can be adjusted according to the obtained light and deep sleep data in different sleep states. This allows for personalized and adaptive adjustment of the mattress temperature based on the user's different sleep states, improving the user's sleep quality and solving the problem of adaptively adjusting mattress temperature based on the user's sleep state in existing technologies. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of the application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein: Figure 1 This is a schematic flowchart of an embodiment of a method for adjusting the sleeping temperature of a mattress according to this application; Figure 2 This is a schematic flowchart of another embodiment of a method for adjusting the sleeping temperature of a mattress according to this application; Figure 3 This is a structural schematic diagram of an embodiment of a mattress according to this application. Detailed Implementation
[0010] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0011] It should be noted that if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0012] Please see Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of a method for adjusting the sleeping temperature of a mattress according to this application. The method disclosed in this embodiment includes the following steps: S11: Based on the ambient temperature and the corresponding user's sleep state, obtain the user's sleep onset time under different ambient temperatures. Sleep state includes the first sleep onset time for light sleep and deep sleep.
[0013] Through extensive monitoring, we obtain users' sleep status data and ambient temperature data. Under different ambient temperatures, we obtain the two sleep states of light sleep and deep sleep, and obtain the first time to fall asleep during light sleep and deep sleep respectively. The first time to fall asleep is used as the sleep baseline at the corresponding ambient temperature.
[0014] S12: Adjusts mattress temperature to allow users to enter multiple second sleep times, including light and deep sleep, at the same ambient temperature.
[0015] The system automatically adjusts the mattress temperature and determines the second sleep onset time for users to enter light and deep sleep under the same ambient temperature through extensive monitoring. Multiple ambient temperatures correspond to multiple second sleep onset times. To obtain the optimal sleep onset time for entering light and deep sleep under different ambient temperatures, the optimal second sleep onset time is the shortest sleep onset time for entering light and deep sleep under the ambient temperature.
[0016] S13: Obtain the user's first light sleep environment data and first deep sleep environment data based on the first and second sleep onset times.
[0017] Corresponding to the first and second sleep onset times under the same ambient temperature, it stores environmental data such as temperature, humidity, air pressure, air purity, and brightness when the user enters the optimal environment for light and deep sleep.
[0018] S14: Based on the first light sleep environment data and the first deep sleep environment data of multiple users, obtain the average light sleep environment data and the average deep sleep environment data.
[0019] Based on big data, the system obtains the first light sleep environment data and the first deep sleep environment data for most users. During this process, the system continuously monitors the user, transmitting the monitored information to the server every n seconds (e.g., 6 seconds in this embodiment, as most people complete positional adjustments within 6 seconds). After obtaining the first light and deep sleep environment data for most users, the corresponding average light and deep sleep environment data can be obtained. This average light and deep sleep environment data can be used as the base data for new users' first use. Based on this base data, further sleep data is collected to adaptively adjust the mattress temperature.
[0020] S15: Adjust the mattress temperature according to the user's current physical condition.
[0021] Through the aforementioned steps, the system is trained, and then the mattress temperature is adaptively adjusted based on the user's current physical condition. The system stores data when the user enters the optimal environment for light sleep and deep sleep, confirming this over a long period. When the user uses the mattress again, the system can prioritize using the most suitable temperature based on the matched personal information.
[0022] This application provides a method for adjusting mattress temperature during sleep. The method includes: obtaining the user's sleep onset time at different ambient temperatures based on the ambient temperature and the user's sleep state (including light sleep and deep sleep); adjusting the mattress temperature to obtain multiple second sleep onset times for the user to enter light sleep and deep sleep at the same ambient temperature; obtaining the user's first light sleep environment data and first deep sleep environment data based on the first and second sleep onset times; obtaining average light sleep environment data and average deep sleep environment data based on the first and first deep sleep environment data from multiple users; and adjusting the mattress temperature according to the user's current physical state. By obtaining different sleep environment data for the user entering light sleep and deep sleep at different ambient temperatures, and then obtaining average light and deep sleep environment data, the mattress temperature can be adjusted according to the user's different sleep states, thereby achieving personalized and adaptive temperature adjustment for different sleep states and improving the user's sleep quality.
[0023] Please see Figure 2 , Figure 2 This is a flowchart illustrating another embodiment of a method for adjusting the sleeping temperature of a mattress according to this application. The method disclosed in this embodiment includes the following steps: S21: Obtain the user's in-bed and out-of-bed status.
[0024] At the current ambient temperature, determine whether the user's body is in a pre-sleep state; if so, monitor whether the user enters a light sleep stage within a preset time; if not, adjust the mattress temperature to the temperature of the first light sleep environment data.
[0025] To prevent users from falling asleep prematurely, their physical state can be monitored in advance. For example, pressure sensors can determine whether the user is in or out of bed, and if in bed, whether they are lying down or sitting, thus determining if they are ready to sleep. If the user is determined to be ready to sleep, monitoring of their deep and light sleep states while in bed can continue, for example, through biosensors monitoring breathing, heart rate, and body movement. If it is determined that the user has not entered a light sleep state within a preset time, the mattress temperature can be adjusted to intervene in the user's sleep environment temperature, thereby improving the speed and quality of falling asleep.
[0026] If the temperature of the first light sleep environment exceeds the average temperature of the light sleep time during the first sleep onset time, sleep suggestions are generated.
[0027] A set average or optimal temperature value is established based on the light sleep time within the first sleep onset time of a user. Adjustments are made based on this optimal value; if the user reaches the desired light sleep time, the optimal value is not adjusted or only slightly adjusted. If the optimal temperature value is not reached after prolonged monitoring and even after reviewing large datasets, user feedback is considered, and in-depth analysis of the user's sleep quality is performed. Tests are conducted to adjust the user's sleep time, and the optimal temperature for the light sleep time within the first sleep onset time is determined through long-term tracking.
[0028] S22: Obtain the user's posture and sleep status in bed.
[0029] When a person lies on the mattress, the system monitors their position and posture to determine their status. If they are asleep, it automatically adjusts the temperature to the optimal level. Furthermore, it stores information for each user, including sleep patterns, weight, common sleeping positions, mattress firmness, and more. This stored information can be used to adjust the mattress temperature in conjunction with the user's sleep pattern to help them enter a light or deep sleep state.
[0030] S23: Based on the ambient temperature and the corresponding user's sleep state, obtain the user's sleep onset time under different ambient temperatures. Sleep state includes the first sleep onset time for light sleep and deep sleep.
[0031] S24: Adjust the mattress temperature to allow the user to enter multiple second sleep times, including light and deep sleep, at the same ambient temperature.
[0032] Adjust mattress temperature according to the three sleep stages: light sleep, deep sleep, and REM sleep. Adjust the temperature gradient between the core and edge areas of the mattress according to the three sleep stages. Obtain the temperature of local areas of the body and compensate for local temperature deviations according to the sleep stage.
[0033] Specifically, the temperature gradient between the core and peripheral zones of the mattress can be dynamically adjusted according to the three sleep stages: light sleep, deep sleep, and REM sleep. For example, during light sleep, the core zone should be 28–29℃ (e.g., 28, 28.2, 28.4, 28.6, 28.8, 29℃), and the peripheral zone 30–31℃ (e.g., 30, 30.2, 30.4, 30.6, 30.8, 31℃). A higher temperature in the peripheral zone than the core zone reduces body movement disturbances. During deep sleep, the core zone temperature drops to 27–28℃ (e.g., 27, 27.2, 27.4, 27.6, 27.8, 28℃), and the peripheral zone temperature is simultaneously lowered by 1℃ to promote metabolic stability. During REM sleep, the core temperature rises by 0.5–1°C (e.g., 0.5, 0.6, 0.7, 0.8, 0.91°C) to adapt to brain activity and body temperature fluctuations. At the same time, through micro-area sensors (such as waist, hips, shoulders, neck, and feet), local temperature deviations are compensated in real time, with a temperature control accuracy of ±0.2°C.
[0034] S25: Obtain the user's first light sleep environment data and first deep sleep environment data based on the first and second sleep onset times.
[0035] S26: Based on the first light sleep environment data and the first deep sleep environment data of multiple users, obtain the average light sleep environment data and the average deep sleep environment data.
[0036] S27: Adjust the mattress temperature according to the user's current physical condition.
[0037] It obtains the user's historical sleep records and real-time physical condition to predict the trend of sleep depth that night and pre-adjust the mattress temperature. The mattress includes a mattress cover and a thin pad.
[0038] Based on sleep data from the previous few nights, predict the trend of sleep depth for the current night and start pre-temperature adjustment at a fixed time (e.g., 30 minutes in advance). If deep sleep is predicted to be insufficient, pre-set the core area to 27.5℃ to promote deep sleep.
[0039] During the morning wake-up phase, the temperature is gradually increased according to the end point of the sleep cycle. For example, the temperature is increased by a small value, such as 0.2℃, every fixed time minute to avoid sleep interruption caused by a sudden increase. At the same time, it is linked with the alarm clock to achieve "temperature + sound" coordinated wake-up.
[0040] In one specific embodiment, in order to adapt to the different sleep states of two people and accommodate scenarios where the sleep cycles of two people are not synchronized, the mattress has a built-in dual-zone independent sensing and temperature regulation channel. It distinguishes the sleep depth of the two people through biometrics. For example, the user on the left is in deep sleep and the user on the right is in light sleep. Based on the different historical data of the two users, their respective temperature control curves are executed.
[0041] For example, by continuously collecting sleep data from two users over the past week, including sleep onset time, sleep cycle length, and the proportion of each stage, a LSTM (Long Short-Term Memory) time-series prediction model is used to predict the sleep phase difference between the two users one hour in advance. For instance, the user on the left might fall asleep 35 minutes earlier than the user on the right, and the overlap in deep sleep time might be only 15%. Pre-compensation is triggered based on the phase difference. When the phase difference is ≤30 minutes, basic temperature control is started simultaneously. When the phase difference is between 30 and 60 minutes, the user who falls asleep first starts pre-temperature adjustment 20 minutes in advance, while the user who falls asleep later starts later with an initial temperature 1°C higher than the normal value, thus avoiding the influence of the user's lower temperature when falling asleep. When the phase difference is >60 minutes, a "dual-cycle asynchronous temperature control mode" is activated, with each user operating according to an independent cycle curve and the temperature deviation being calibrated every 30 minutes.
[0042] By using a predictive pre-compensation mattress temperature control method, temperature control conflicts caused by phase differences can be reduced from the source, avoiding the temperature interference of the person who falls asleep later being affected by the temperature of the person who falls asleep earlier, and ensuring that both users can have a suitable sleep temperature when they fall asleep at different times.
[0043] In addition, to prevent heat changes caused by changes in sleeping positions between the two people, an insulation layer, such as aerogel + vacuum cavity, is set in the middle of the mattress. This can block heat crosstalk, so that the temperature difference between adjacent areas can be stably maintained at 2-3℃, and there is no obvious heat conduction, thereby further ensuring the sleep quality of both users.
[0044] In one specific embodiment, the data generated during the process of this invention includes user sleep status, user information, mattress temperature, ambient temperature, regional climate, and other data, all of which are periodically uploaded to a server. The system on the server has the capability for big data adjustment, meaning it can pre-adjust user data by combining it with similar user states; that is, the data for a new user's first use is matched based on server data. Furthermore, the method of this invention can self-regulate and learn through artificial intelligence learning, and through long-term tracking and learning, continuously improve its functionality to achieve a dynamic adjustment effect.
[0045] This application provides a method for adjusting mattress temperature during sleep. The method includes: acquiring a user's in-bed and out-of-bed states; acquiring the user's in-bed posture and sleep state; obtaining the user's sleep onset time at different ambient temperatures based on the ambient temperature and the corresponding sleep state, where the sleep state includes the first sleep onset time for light sleep and deep sleep; adjusting the mattress temperature to obtain multiple second sleep onset times for the user to enter light sleep and deep sleep at the same ambient temperature; obtaining the user's first light sleep environment data and first deep sleep environment data based on the first and second sleep onset times; obtaining average light sleep environment data and average deep sleep environment data based on the first light sleep environment data and first deep sleep environment data from multiple users; and adjusting the mattress temperature according to the user's current physical state. By acquiring the user's sleep posture, whether they are asleep, and the sleep onset time for entering light sleep and deep sleep at different ambient temperatures, different sleep environment data are obtained. After obtaining multiple sleep environment data for the user, average light and deep sleep environment data are obtained. This allows the mattress temperature to be adjusted according to the obtained light and deep sleep data in different sleep states, thereby achieving personalized and adaptive temperature adjustment for different sleep states and improving the user's sleep quality.
[0046] Corresponding to the above method, this application proposes a mattress; please refer to [link / reference]. Figure 3 , Figure 3 This is a schematic diagram of the structure of an embodiment of a mattress according to this application. The mattress 100 disclosed in this application includes a mattress body 10, a memory 12 and a processor 14 coupled to each other. The memory 12 is used to store computer programs, and the processor 14 is used to execute the computer programs to implement the steps of any of the methods in the above embodiments.
[0047] Specifically, processor 14 is used for: Based on the ambient temperature and the corresponding user's sleep state, the first sleep onset time of the user's light sleep and deep sleep under different ambient temperatures is obtained; Adjust the mattress temperature to allow users to enter multiple second sleep times, including light and deep sleep, at the same ambient temperature; The user's first light sleep environment data and first deep sleep environment data are obtained based on the first and second sleep onset times. Based on the first light sleep environment data and the first deep sleep environment data of multiple users, the average light sleep environment data and the average deep sleep environment data are obtained. Adjust the mattress temperature according to the user's current physical condition.
[0048] In one specific embodiment, before the step of obtaining the first sleep onset time of a user's light sleep and deep sleep under different ambient temperatures, based on the ambient temperature and the corresponding user's sleep state, the following steps are included: Obtain the user's in-bed and out-of-bed status; Obtain the user's posture and sleep status in bed.
[0049] In one specific embodiment, the steps of obtaining the user's bed posture and sleep state include: Determine whether the user's body is in a pre-sleep state under the current ambient temperature; If so, monitor whether the user enters a light sleep phase within a preset time. If not, adjust the mattress temperature to the temperature set in the first light sleep environment data.
[0050] In one specific embodiment, the step of adjusting the mattress temperature to the temperature of the first light sleep environment data includes: If the temperature of the first light sleep environment exceeds the average temperature of the light sleep time during the first sleep onset time, sleep suggestions are generated.
[0051] In one specific embodiment, the step of adjusting the mattress temperature to obtain multiple second sleep onset times for the user to enter light sleep and deep sleep at the same ambient temperature includes: Adjust the mattress temperature according to the three sleep stages: light sleep, deep sleep, and REM sleep.
[0052] In one specific embodiment, the step of adjusting the mattress temperature according to the three sleep stages of light sleep, deep sleep, and REM sleep further includes: Adjust the temperature gradient between the core and edge areas of the mattress according to the three sleep stages: light sleep, deep sleep, and REM sleep.
[0053] In one specific embodiment, the step of adjusting the temperature gradient between the core and edge areas of the mattress according to the three sleep stages of light sleep, deep sleep, and REM sleep further includes: It acquires the temperature of local areas of the human body and compensates for local temperature deviations based on sleep stages.
[0054] In one specific embodiment, the step of adjusting the mattress temperature based on the current user's physical condition further includes: It obtains the user's historical sleep records and real-time physical condition to predict the trend of sleep depth that night and pre-adjust the mattress temperature.
[0055] In this embodiment, the mattress 100 can adjust the mattress temperature in a personalized and adaptive manner to suit different sleep states of the user, thereby improving the user's sleep quality.
[0056] In the several embodiments provided in this application, it should be understood that the systems, apparatuses, and methods disclosed herein can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of apparatuses or units, and may be electrical, mechanical, or other forms.
[0057] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0058] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0059] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0060] The above are merely embodiments of this application and do not limit the scope of this patent application. Any equivalent structural or procedural changes made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of this application.
Claims
1. A method for adjusting the sleeping temperature of a mattress, characterized in that, The method includes: Based on the ambient temperature and the corresponding user's sleep state, the user's sleep duration under different ambient temperatures is obtained. The sleep state includes the first sleep duration of light sleep and deep sleep. Adjust the mattress temperature to allow users to enter multiple second sleep times, including light and deep sleep, at the same ambient temperature; The user's first light sleep environment data and first deep sleep environment data are obtained based on the first sleep onset time and the second sleep onset time. Based on the first light sleep environment data and the first deep sleep environment data of multiple users, average light sleep environment data and average deep sleep environment data are obtained. Adjust the mattress temperature according to the user's current physical condition.
2. The method according to claim 1, characterized in that, Based on the ambient temperature and the corresponding user's sleep state, the steps preceding the step of obtaining the user's sleep onset time under different ambient temperatures, where the sleep state includes light sleep and deep sleep, include: Obtain the user's in-bed and out-of-bed status; Obtain the user's posture and sleep status in bed.
3. The method according to claim 2, characterized in that, The steps for obtaining the user's bed posture and sleep state include: Determine whether the user's body is in a pre-sleep state under the current ambient temperature; If so, monitor whether the user enters a light sleep phase within a preset time. If not, adjust the mattress temperature to the temperature specified in the first light sleep environment data.
4. The method according to claim 3, characterized in that, Following the step of adjusting the mattress temperature to the temperature of the first light sleep environment data, the following is included: If the temperature of the first light sleep environment data exceeds the average temperature of the light sleep time in the first sleep onset time, then sleep suggestions are generated.
5. The method according to claim 1, characterized in that, The steps for adjusting mattress temperature to allow users to enter multiple second sleep stages (light and deep sleep) at the same ambient temperature include: Adjust the mattress temperature according to the three sleep stages: light sleep, deep sleep, and REM sleep.
6. The method according to claim 5, characterized in that, The steps for adjusting mattress temperature according to the three sleep stages—light sleep, deep sleep, and REM sleep—further include: Adjust the temperature gradient between the core and edge areas of the mattress according to the three sleep stages: light sleep, deep sleep, and REM sleep.
7. The method according to claim 6, characterized in that, The steps for adjusting the temperature gradient between the core and edge zones of the mattress according to the three sleep stages—light sleep, deep sleep, and REM sleep—further include: It acquires the temperature of local areas of the human body and compensates for local temperature deviations based on sleep stages.
8. The method according to claim 1, characterized in that, Adjusting the mattress temperature based on the user's current physical condition also includes: It obtains the user's historical sleep records and real-time physical condition to predict the trend of sleep depth that night and pre-adjust the mattress temperature.
9. A mattress, characterized in that, The mattress includes a mattress body, a processor and a memory coupled to each other, the memory being used to store a computer program, and the processor being used to load and execute the steps of any one of claims 1 to 8.
10. A computer storage medium having a computer program stored thereon, characterized in that, The computer program is used to implement the steps of any one of the methods of claims 1 to 8.