Sleep environment parameter adjustment methods, devices, electronic equipment and storage media
Patent Information
- Application Number
- CN202311187424.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-14
- Publication Date
- 2026-08-14
- Estimated Expiration
- 2043-09-14
AI Technical Summary
[0003]相关技术可知,当前往往基于睡眠辅助工具为用户提供统一的睡眠辅助支持,而不能根据每个用户的自身状态以及用户所处环境特点为用户提供个性化的睡眠辅助支持
[0015]本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述的睡眠环境参数调节方法。
Smart Images

Figure CN117404782B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for adjusting sleep environment parameters. Background Technology
[0002] As society progresses, users are paying more and more attention to factors related to their physical health, among which the quality of sleep is an important factor affecting their physical health.
[0003] According to relevant technologies, current sleep aid tools often provide users with uniform sleep support, rather than providing personalized sleep support based on each user's own condition and the characteristics of their environment.
[0004] Therefore, finding a solution that can personalize the adjustment of sleep environment parameters based on the user's own state and the characteristics of the user's environment has become a research hotspot. Summary of the Invention
[0005] This invention provides a method, device, electronic device, and storage medium for adjusting sleep environment parameters. Based on the target parameter values of sleep environment parameters corresponding to the microenvironment information of the user and the user's own user information, the sleep environment parameters are automatically adjusted in a personalized, hierarchical manner so that the adjusted sleep environment parameters meet the user's perceived temperature requirements, thereby improving the user's sleep environment in a personalized way.
[0006] This invention provides a method for adjusting sleep environment parameters. The method includes: determining environmental information of the microenvironment in which a user is located during sleep, wherein the microenvironment is an environmental space formed within a preset distance from the user; determining target parameter values for multiple sleep environment parameters corresponding to the environmental information based on the environmental information of the microenvironment; acquiring user information of the user, wherein the user information includes at least age information and gender information; and adjusting the sleep environment parameters step by step based on the user information and the target parameter values, so that the adjusted sleep environment parameters meet the user's perceived temperature requirements.
[0007] According to the sleep environment parameter adjustment method provided by the present invention, the environmental information includes at least humidity information and temperature information; the sleep environment parameters include at least environmental temperature parameters and environmental wind speed parameters; determining the target parameter values of multiple sleep environment parameters corresponding to the environmental information based on the microenvironment specifically includes: determining the target parameter values of each sleep environment parameter that matches both the humidity information and the temperature information according to a pre-set mapping table, wherein the mapping table includes the correspondence between different parameter values that match different humidity information and temperature information under each sleep environment parameter; adjusting the sleep environment parameters step by step based on the user information and the target parameter values specifically includes: calibrating the target parameter values based on the user information to obtain the target parameter values that match the user information. The system calculates calibrated parameter values that match the user's age and gender information, and uses these calibrated parameter values as the final target parameter values. Based on these final target parameter values, it constructs a first, quasi-normally distributed curve corresponding to the ambient temperature parameter and a second, quasi-normally distributed curve corresponding to the ambient wind speed parameter. The first curve characterizes the relationship between the ambient temperature parameter value and user comfort, with the highest user comfort achieved when the temperature value is the target parameter value. The second curve characterizes the relationship between the ambient wind speed parameter value and user comfort, with the highest user comfort achieved when the wind speed value is the target parameter value. Based on the first and second curves, the sleep environment parameters are adjusted hierarchically.
[0008] According to a method for adjusting sleep environment parameters provided by the present invention, before adjusting the sleep environment parameters step-by-step based on the first change curve and the second change curve, the method further includes: acquiring the current ambient temperature and current ambient wind speed of the microenvironment; the step of adjusting the sleep environment parameters step-by-step based on the first change curve and the second change curve specifically includes: determining a first degree of difference between the current ambient temperature and the target parameter value of the ambient temperature parameter based on the first change curve; determining a second degree of difference between the current ambient wind speed and the target parameter value of the ambient wind speed parameter based on the second change curve; determining an adjustment level based on the first degree of difference and the second degree of difference; and adjusting the sleep environment parameters step-by-step based on the adjustment level.
[0009] According to a method for adjusting sleep environment parameters provided by the present invention, the step of adjusting the sleep environment parameters step by step based on the adjustment level specifically includes: adjusting the current ambient temperature to the target parameter value of the ambient temperature parameter when the first difference is greater than the second difference; detecting the user's body surface temperature, and adjusting the current ambient wind speed to the target parameter value of the ambient wind speed parameter when the body surface temperature does not meet the preset target body surface temperature.
[0010] According to a method for adjusting sleep environment parameters provided by the present invention, the step of adjusting the sleep environment parameters step by step based on the adjustment level specifically includes: adjusting the current ambient wind speed to the target parameter value of the ambient wind speed parameter when the second difference degree is greater than the first difference degree; detecting the user's body surface temperature, and adjusting the current ambient temperature to the target parameter value of the ambient temperature parameter when the body surface temperature does not meet the preset target body surface temperature.
[0011] According to a method for adjusting sleep environment parameters provided by the present invention, the first difference is determined by the following method: based on the first change curve, a first parameter value change range of the ambient temperature parameter is determined; a first difference between the target parameter value of the ambient temperature parameter and the current ambient temperature is determined; and the first difference is obtained based on the first difference and the first parameter value change range.
[0012] According to a method for adjusting sleep environment parameters provided by the present invention, the second difference degree is determined in the following manner: based on the second change curve, a second parameter value change range of the environmental wind speed parameter is determined; a second difference between the target parameter value of the environmental wind speed parameter and the current environmental wind speed is determined; and the second difference degree is obtained based on the second difference and the second parameter value change range.
[0013] The present invention also provides a sleep environment parameter adjustment device, the device comprising: a determining module, configured to determine environmental information of the microenvironment in which the user is located during sleep, wherein the microenvironment is an environmental space formed within a preset distance from the user; a processing module, configured to determine target parameter values of a plurality of sleep environment parameters corresponding to the environmental information based on the environmental information of the microenvironment; an acquiring module, configured to acquire user information of the user, wherein the user information includes at least age information and gender information; and an adjusting module, configured to adjust the sleep environment parameters step by step based on the user information and the target parameter values, so that the adjusted sleep environment parameters meet the user's perceived temperature requirements.
[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the sleep environment parameter adjustment method as described above.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the sleep environment parameter adjustment method as described above.
[0016] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the sleep environment parameter adjustment method as described above.
[0017] The present invention provides a method, device, electronic device, and storage medium for adjusting sleep environment parameters, which determines the environmental information of the microenvironment in which the user is located during sleep; based on the environmental information of the microenvironment, determines the target parameter values of multiple sleep environment parameters corresponding to the environmental information; obtains the user's user information, and based on the user information and the target parameter values, performs personalized, hierarchical adjustment of the sleep environment parameters so that the adjusted sleep environment parameters meet the user's perceived temperature requirements, thereby enabling personalized improvement of the user's sleep environment. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating the sleep environment parameter adjustment method provided by the present invention;
[0020] Figure 2 This is a flowchart illustrating the process of adjusting sleep environment parameters step by step based on user information and target parameter values, as provided by the present invention.
[0021] Figure 3 This is a schematic diagram of the process for adjusting sleep environment parameters step by step based on the first and second change curves provided by the present invention.
[0022] Figure 4 This is a schematic diagram of the sleep environment parameter adjustment device provided by the present invention;
[0023] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0025] Figure 1 This is a flowchart illustrating the sleep environment parameter adjustment method provided by the present invention.
[0026] To further introduce the sleep environment parameter adjustment method provided by this invention, the following will be combined with... Figure 1 Please provide an explanation.
[0027] In an exemplary embodiment of the present invention, combined with Figure 1 As can be seen, the method for adjusting sleep environment parameters may include steps 110 to 140, and each step will be described below.
[0028] In step 110, the environmental information of the microenvironment in which the user is located during sleep is determined.
[0029] Among them, the microenvironment is the environmental space formed within a preset distance from the user.
[0030] In one embodiment, for a scenario where a user is lying in bed, the microenvironment may include the space around the user's body consisting of a mattress, blankets, and coverings.
[0031] It is understandable that the environmental information of the user's microenvironment has a more significant or direct impact on the user's perceived temperature. In one embodiment, the environmental information of the user's microenvironment during sleep can be determined. This environmental information may include at least humidity and temperature information.
[0032] In step 120, based on the environmental information of the microenvironment, target parameter values for multiple sleep environment parameters corresponding to the environmental information are determined.
[0033] In one embodiment, different environmental information within the microenvironment will correspond to different optimal target parameter values for sleep environment parameters that affect sleep environment quality. These sleep environment parameters may include at least ambient temperature and ambient wind speed. It is understood that the optimal target parameter values for ambient temperature and ambient wind speed will differ under different microenvironments. These different target parameter values will affect the adjustment of sleep environment parameters, thus allowing the adjustment of sleep environment parameters to take into account the environmental information of the user's microenvironment.
[0034] In step 130, user information is obtained, which includes at least age and gender information.
[0035] In step 140, based on user information and the target parameter value, the sleep environment parameters are adjusted step by step so that the adjusted sleep environment parameters meet the user's perceived temperature requirements.
[0036] In one embodiment, user information may also be obtained, which may include at least the user's age and gender. Determining the user's information lays the foundation for adjusting sleep environment parameters based on that information.
[0037] In another embodiment, user information and target parameter values of various sleep environment parameters can be integrated to adjust the sleep environment parameters in a personalized, step-by-step manner, so that the adjusted sleep environment parameters can meet the user's perceived temperature requirements, thereby improving the user's sleep environment in a personalized way.
[0038] The sleep environment parameter adjustment method provided by this invention determines the environmental information of the microenvironment in which the user is located during sleep; based on the environmental information of the microenvironment, determines the target parameter values of multiple sleep environment parameters corresponding to the environmental information; obtains the user's user information, and based on the user information and the target parameter values, performs personalized, hierarchical adjustment of the sleep environment parameters so that the adjusted sleep environment parameters meet the user's perceived temperature requirements, thereby enabling personalized improvement of the user's sleep environment.
[0039] Figure 2 This is a flowchart illustrating the process of adjusting sleep environment parameters step by step based on user information and target parameter values, as provided by the present invention.
[0040] The following will combine Figure 2 The process of adjusting sleep environment parameters step by step based on user information and target parameter values is explained.
[0041] In an exemplary embodiment of the present invention, the environmental information may include at least humidity information and temperature information; the sleep environment parameters may include at least ambient temperature parameters and ambient wind speed parameters. Combined with... Figure 2 As can be seen, adjusting the sleep environment parameters step by step based on user information and target parameter values can include steps 210 to 240, which will be described in detail below.
[0042] In step 210, target parameter values for each sleep environment parameter that matches the humidity and temperature information are determined according to a pre-set mapping table.
[0043] The mapping table includes the correspondence between different parameter values matched with different humidity and temperature information under various sleep environment parameters.
[0044] In one embodiment, target parameter values for various sleep environment parameters that match both humidity and temperature information can be determined based on a pre-set mapping table.
[0045] In one example, the mapping table may include target parameter values for various sleep environment parameters corresponding to humidity information A and temperature information B. For example, target parameter value 'a' for ambient temperature and target parameter value 'b' for ambient wind speed. It can be understood that target parameter value 'a' for ambient temperature and target parameter value 'b' for ambient wind speed are the values corresponding to humidity information A and temperature information B. When any environmental information changes, the target parameter values may be adjusted accordingly.
[0046] In step 220, the target parameter value is calibrated based on user information to obtain calibrated parameter values that match the user's age and gender information, and the calibrated parameter values are used as the final target parameter values.
[0047] To further ensure that the target values of various ambient temperature parameters can better match the user's status, the target parameter values can be calibrated based on user information to obtain calibrated parameter values that match the user's age and gender information, and these calibrated parameter values can be used as the final target parameter values.
[0048] In one example, if the user's age is greater than 60 or less than 10, the target value for the ambient temperature parameter can be increased, while the target value for the ambient wind speed parameter can be decreased. This embodiment allows adjusting the target parameter values based on the user's age, making the calibrated parameter values more closely match the user's actual situation.
[0049] In another embodiment, when the user is female, the target value for the ambient temperature parameter can be increased, and the target value for the ambient wind speed parameter can be decreased. This embodiment allows the target parameter values to be adjusted based on the user's gender, making the calibrated parameter values more closely match the user's actual situation.
[0050] In step 230, based on the final target parameter values, a first variation curve with a quasi-normal distribution corresponding to the ambient temperature parameter and a second variation curve with a quasi-normal distribution corresponding to the ambient wind speed parameter are constructed respectively.
[0051] In step 240, the sleep environment parameters are adjusted step by step based on the first and second change curves.
[0052] In one embodiment, based on the final target parameter values of each sleep environment parameter, a first quasi-normally distributed variation curve corresponding to the ambient temperature parameter and a second quasi-normally distributed variation curve corresponding to the ambient wind speed parameter can be constructed. The first variation curve characterizes the relationship between the ambient temperature parameter value and user comfort, with the highest user comfort achieved when the temperature value is the target value. The second variation curve characterizes the relationship between the ambient wind speed parameter value and user comfort, also with the highest user comfort achieved when the wind speed value is the target value.
[0053] In other words, in the first curve, the user comfort corresponding to the target parameter value is the greatest. As the value of the ambient temperature parameter increases, the corresponding user comfort gradually decreases until it reaches 0; as the value of the ambient temperature parameter decreases, the corresponding user comfort gradually decreases until it reaches 0.
[0054] In the second curve, the user comfort corresponding to the target parameter value is the highest. As the value of the environmental wind speed parameter increases, the corresponding user comfort gradually decreases until it reaches 0; as the value of the environmental wind speed parameter decreases, the corresponding user comfort gradually decreases until it reaches 0.
[0055] Furthermore, based on the first and second change curves, the sleep environment parameters are adjusted step by step. By adjusting the sleep environment parameters step by step in this application, it is possible to ensure that the adjusted parameters meet the user's perceived temperature requirements while also saving energy consumption during the adjustment process.
[0056] Figure 3 This is a schematic diagram of the process provided by the present invention for adjusting sleep environment parameters step by step based on the first and second change curves.
[0057] The following will combine Figure 3 The process of adjusting sleep environment parameters step by step based on the first and second change curves is explained.
[0058] In an exemplary embodiment of the present invention, combined with Figure 3 As can be seen, adjusting the sleep environment parameters step by step based on the first and second change curves can include steps 310 to 350, which will be described in detail below.
[0059] In step 310, the current ambient temperature and current ambient wind speed of the microenvironment are obtained.
[0060] In step 320, based on the first change curve, the first degree of difference between the current ambient temperature and the target parameter value of the ambient temperature parameter is determined.
[0061] In step 330, based on the second change curve, a second degree of difference between the current ambient wind speed and the target parameter value of the ambient wind speed parameter is determined.
[0062] In one embodiment, the current ambient temperature and current ambient wind speed in the user's microenvironment can be obtained. Further, based on a first change curve, a first degree of difference between the current ambient temperature and the target parameter value of the ambient temperature parameter can be determined. This allows determination of the magnitude of the difference between the current ambient temperature and the target parameter value of the ambient temperature parameter under given conditions.
[0063] In another example, the second degree of difference between the current ambient wind speed and the target parameter value of the ambient wind speed parameter can be determined based on the second change curve. This allows us to determine the magnitude of the difference between the current ambient wind speed and the target parameter value under the given ambient wind speed parameters.
[0064] By determining the first and second degree of difference, it is possible to identify which sleep environment parameter needs to be adjusted first, thus laying the foundation for adjusting sleep environment parameters step by step.
[0065] In step 340, the adjustment level is determined based on the first difference degree and the second difference degree.
[0066] In step 350, the sleep environment parameters are adjusted level by level based on the adjustment hierarchy.
[0067] In one embodiment, adjustment levels can be determined based on a first difference degree and a second difference degree, and sleep environment parameters can be adjusted level by level based on the adjustment levels. Through this embodiment, sleep environment parameters can be adjusted level by level according to the actual environmental conditions, thereby saving energy consumption during adjustment while ensuring that the adjusted sleep environment parameters meet the user's perceived temperature requirements.
[0068] In yet another exemplary embodiment of the present invention, the first degree of difference can be determined in the following manner:
[0069] Based on the first change curve, determine the range of change of the first parameter value of the ambient temperature parameter;
[0070] Determine the first difference between the target value of the ambient temperature parameter and the current ambient temperature;
[0071] The first degree of difference is obtained based on the first difference and the range of variation of the first parameter value.
[0072] In one embodiment, a first parameter value variation range M of the ambient temperature parameter can be determined based on a first variation curve. Then, a first difference (wW) between the target parameter value w of the ambient temperature parameter and the current ambient temperature W is determined. Further, a first degree of difference (wW)\M is obtained based on the quotient of the first difference (wW) and the first parameter value variation range M.
[0073] In yet another exemplary embodiment of the present invention, the second degree of difference can be determined in the following manner:
[0074] Based on the second variation curve, determine the variation range of the second parameter value of the environmental wind speed parameter;
[0075] Determine the second difference between the target value of the ambient wind speed parameter and the current ambient wind speed;
[0076] The second degree of difference is obtained based on the range of variation of the second difference and the second parameter value.
[0077] In one embodiment, the second parameter value variation range N of the environmental wind speed parameter can be determined based on the second variation curve. Then, the second difference (mM) between the target parameter value m and the current environmental wind speed M is determined. Further, the second degree of difference (mM)\N is obtained based on the quotient of the second difference (mM) and the second parameter value variation range N.
[0078] To further introduce the sleep environment parameter adjustment method provided by this invention, the following will describe how to adjust the sleep environment parameters step by step based on the adjustment level in different scenarios.
[0079] In an exemplary embodiment of the present invention, adjusting sleep environment parameters hierarchically based on adjustment levels can be achieved in the following manner:
[0080] If the first degree of difference is greater than the second degree of difference, adjust the current ambient temperature to the target parameter value of the ambient temperature parameter;
[0081] The system detects the user's body surface temperature and adjusts the current ambient wind speed to the target value if the body surface temperature does not meet the preset target body surface temperature.
[0082] In one embodiment, when the first difference degree is greater than the second difference degree, it indicates that the ambient temperature parameter is the parameter that needs to be adjusted first. Therefore, the current ambient temperature can be adjusted to the target value of the ambient temperature parameter. After adjusting the current ambient temperature to the target value, it can be determined again whether the adjustment has been effective. Therefore, the user's body surface temperature can be detected. If the body surface temperature does not meet the preset target body surface temperature, the current ambient wind speed can be adjusted to the target value of the ambient wind speed parameter. If the body surface temperature meets the preset target body surface temperature, it is not necessary to adjust the current ambient wind speed to the target value of the ambient wind speed parameter. Through this embodiment, the sleep environment parameters can be adjusted step by step.
[0083] In yet another exemplary embodiment of the present invention, adjusting sleep environment parameters hierarchically based on adjustment levels can also be achieved in the following manner:
[0084] If the second degree of difference is greater than the first degree of difference, the current ambient wind speed will be adjusted to the target parameter value of the ambient wind speed parameter.
[0085] The system detects the user's body surface temperature and adjusts the current ambient temperature to the target value if the body surface temperature does not meet the preset target value.
[0086] In one embodiment, when the second difference degree is greater than the first difference degree, it indicates that the ambient wind speed parameter is the parameter that needs to be adjusted first. Therefore, the current ambient wind speed can be adjusted to the target value of the ambient wind speed parameter. After adjusting the current ambient wind speed to the target value of the ambient wind speed parameter, it can be determined again whether the adjustment has been effective. Therefore, the user's body surface temperature can be detected. If the body surface temperature does not meet the preset target body surface temperature, the current ambient temperature can be adjusted to the target value of the ambient temperature parameter. If the body surface temperature meets the preset target body surface temperature, it is not necessary to adjust the current ambient temperature to the target value of the ambient temperature parameter. Through this embodiment, the sleep environment parameters can be adjusted step by step.
[0087] It should be noted that the user's body surface temperature can be measured using a temperature sensor or other methods. In this embodiment, no specific limitation is made on the method of measuring the user's body surface temperature. It is understood that the firmness of the mattress on the bed the user is on, as well as whether the user is covered with a blanket, will affect the user's body surface temperature. These factors will not be elaborated on in this embodiment; instead, the user's body surface temperature will be detected in a timely manner by the temperature measuring device.
[0088] As described above, the sleep environment parameter adjustment method provided by the present invention determines the environmental information of the microenvironment in which the user is located during sleep; based on the environmental information of the microenvironment, determines the target parameter values of multiple sleep environment parameters corresponding to the environmental information; obtains the user's user information, and based on the user information and the target parameter values, performs personalized, hierarchical adjustment of the sleep environment parameters so that the adjusted sleep environment parameters meet the user's perceived temperature requirements, thereby enabling personalized improvement of the user's sleep environment.
[0089] Based on the same concept, the present invention also provides a sleep environment parameter adjustment device.
[0090] The sleep environment parameter adjustment device provided by the present invention is described below. The sleep environment parameter adjustment device described below and the sleep environment parameter adjustment method described above can be referred to in correspondence.
[0091] Figure 4 This is a schematic diagram of the sleep environment parameter adjustment device provided by the present invention.
[0092] In an exemplary embodiment of the present invention, combined with Figure 4 As can be seen, the sleep environment parameter adjustment device may include a determining module 410, a processing module 420, an acquisition module 430, and an adjustment module 440. Each module will be described in detail below.
[0093] The determining module 410 can be configured to determine the environmental information of the microenvironment in which the user is located during sleep, wherein the microenvironment is the environmental space formed within a preset distance from the user;
[0094] Processing module 420 can be configured to determine target parameter values for multiple sleep environment parameters corresponding to the environment information based on the microenvironment information.
[0095] The acquisition module 430 can be configured to acquire user information, wherein the user information includes at least age information and gender information;
[0096] The adjustment module 440 can be configured to adjust the sleep environment parameters step by step based on user information and target parameter values, so that the adjusted sleep environment parameters meet the user's body temperature requirements.
[0097] In an exemplary embodiment of the present invention, the environmental information may include at least humidity information and temperature information; the sleep environment parameters may include at least environmental temperature parameters and environmental wind speed parameters.
[0098] The processing module 420 can determine the target parameter values of multiple sleep environment parameters corresponding to the microenvironment information by using the following methods:
[0099] Based on a pre-set mapping table, the target parameter values of each sleep environment parameter that are matched with humidity and temperature information are determined. The mapping table includes the correspondence between different parameter values matched with different humidity and temperature information under each sleep environment parameter.
[0100] The adjustment module 440 can adjust the sleep environment parameters step by step based on user information and target parameter values in the following ways:
[0101] The target parameter value is calibrated based on user information to obtain calibrated parameter values that match the user's age and gender information, and the calibrated parameter values are used as the final target parameter values.
[0102] Based on the final target parameter values, a first variation curve with a quasi-normal distribution corresponding to the ambient temperature parameter and a second variation curve with a quasi-normal distribution corresponding to the ambient wind speed parameter are constructed. The first variation curve is used to characterize the relationship between the ambient temperature parameter value and user comfort, with the highest user comfort when the parameter value is the target parameter value; the second variation curve is used to characterize the relationship between the ambient wind speed parameter value and user comfort, with the highest user comfort when the parameter value is the target parameter value.
[0103] Based on the first and second change curves, the sleep environment parameters are adjusted step by step.
[0104] In an exemplary embodiment of the present invention, the adjustment module 440 may further be configured to:
[0105] Obtain the current ambient temperature and current ambient wind speed of the microenvironment;
[0106] The adjustment module 440 can also adjust the sleep environment parameters step by step based on the first and second change curves in the following ways:
[0107] Based on the first change curve, determine the first degree of difference between the current ambient temperature and the target parameter value of the ambient temperature parameter;
[0108] Based on the second change curve, determine the second degree of difference between the current ambient wind speed and the target parameter value of the ambient wind speed parameter;
[0109] The adjustment level is determined based on the first and second degree of difference.
[0110] Based on the adjustment hierarchy, sleep environment parameters are adjusted step by step.
[0111] In an exemplary embodiment of the present invention, the adjustment module 440 can also implement the step-by-step adjustment of sleep environment parameters based on the adjustment level in the following manner:
[0112] If the first degree of difference is greater than the second degree of difference, adjust the current ambient temperature to the target parameter value of the ambient temperature parameter;
[0113] The system detects the user's body surface temperature and adjusts the current ambient wind speed to the target value if the body surface temperature does not meet the preset target body surface temperature.
[0114] In an exemplary embodiment of the present invention, the adjustment module 440 can also implement the step-by-step adjustment of sleep environment parameters based on the adjustment level in the following manner:
[0115] If the second degree of difference is greater than the first degree of difference, the current ambient wind speed will be adjusted to the target parameter value of the ambient wind speed parameter.
[0116] The system detects the user's body surface temperature and adjusts the current ambient temperature to the target value if the body surface temperature does not meet the preset target value.
[0117] In an exemplary embodiment of the present invention, the adjustment module 440 may determine the first degree of difference in the following manner:
[0118] Based on the first change curve, determine the range of change of the first parameter value of the ambient temperature parameter;
[0119] Determine the first difference between the target value of the ambient temperature parameter and the current ambient temperature;
[0120] The first degree of difference is obtained based on the first difference and the range of variation of the first parameter value.
[0121] In an exemplary embodiment of the present invention, the adjustment module 440 may determine the second difference degree in the following manner:
[0122] Based on the second variation curve, determine the variation range of the second parameter value of the environmental wind speed parameter;
[0123] Determine the second difference between the target value of the ambient wind speed parameter and the current ambient wind speed;
[0124] The second degree of difference is obtained based on the range of variation of the second difference and the second parameter value.
[0125] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5As shown, the electronic device may include a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, communications interface 520, and memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a sleep environment parameter adjustment method. This method includes: determining environmental information of the microenvironment in which the user is located during sleep, wherein the microenvironment is an environmental space formed within a preset distance from the user; determining target parameter values for multiple sleep environment parameters corresponding to the environmental information based on the microenvironment information; acquiring user information of the user, wherein the user information includes at least age and gender information; and adjusting the sleep environment parameters layer by layer based on the user information and the target parameter values to ensure that the adjusted sleep environment parameters meet the user's perceived temperature requirements.
[0126] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a 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.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. 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.
[0127] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the sleep environment parameter adjustment method provided by the above methods. The method includes: determining the environmental information of the microenvironment in which the user is located during sleep, wherein the microenvironment is an environmental space formed within a preset distance from the user; determining target parameter values of a plurality of sleep environment parameters corresponding to the environmental information based on the environmental information of the microenvironment; acquiring the user information of the user, wherein the user information includes at least age information and gender information; and adjusting the sleep environment parameters layer by layer based on the user information and the target parameter values so that the adjusted sleep environment parameters meet the user's body temperature requirements.
[0128] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a sleep environment parameter adjustment method provided by the above methods. The method includes: determining environmental information of the microenvironment in which the user is located during sleep, wherein the microenvironment is an environmental space formed within a preset distance from the user; determining target parameter values for a plurality of sleep environment parameters corresponding to the environmental information based on the environmental information of the microenvironment; acquiring user information of the user, wherein the user information includes at least age information and gender information; and adjusting the sleep environment parameters layer by layer based on the user information and the target parameter values, so that the adjusted sleep environment parameters meet the user's perceived temperature requirements.
[0129] The device embodiments described above are merely illustrative. 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 modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0130] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0131] It is further understood that although the operations are described in a specific order in the accompanying drawings in the embodiments of the present invention, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all the operations shown to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.
[0132] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adjusting sleep environment parameters, characterized in that, The method includes: The environmental information of the microenvironment in which the user is located during sleep is determined, wherein the microenvironment is the environmental space formed within a preset distance from the user; the environmental information includes at least humidity information and temperature information; the sleep environment parameters include at least environmental temperature parameters and environmental wind speed parameters. According to a pre-set mapping table, target parameter values for each sleep environment parameter that match the humidity information and the temperature information are determined. The mapping table includes the correspondence between different humidity information and different parameter values that match the temperature information under each sleep environment parameter. Obtain the user information of the user, wherein the user information includes at least age information and gender information; The target parameter value is calibrated based on the user information to obtain a calibrated parameter value that matches the user's age and gender information, and the calibrated parameter value is used as the final target parameter value. Based on the final target parameter value, a first variation curve with a quasi-normal distribution corresponding to the ambient temperature parameter and a second variation curve with a quasi-normal distribution corresponding to the ambient wind speed parameter are constructed respectively. The first variation curve is used to characterize the relationship between the ambient temperature parameter value and user comfort, where user comfort is highest when the parameter value is the target parameter value; the second variation curve is used to characterize the relationship between the ambient wind speed parameter value and user comfort, where user comfort is highest when the wind speed parameter value is the target parameter value. Obtain the current ambient temperature and current ambient wind speed of the microenvironment; Based on the first change curve, determine the first degree of difference between the current ambient temperature and the target parameter value of the ambient temperature parameter; Based on the second change curve, a second degree of difference between the current ambient wind speed and the target parameter value of the ambient wind speed parameter is determined; Based on the first degree of difference and the second degree of difference, the adjustment level is determined; Based on the aforementioned adjustment levels, the sleep environment parameters are adjusted level by level to ensure that the adjusted sleep environment parameters meet the user's perceived temperature requirements.
2. The method for adjusting sleep environment parameters according to claim 1, characterized in that, The step-by-step adjustment of the sleep environment parameters based on the adjustment levels specifically includes: If the first difference is greater than the second difference, the current ambient temperature is adjusted to the target parameter value of the ambient temperature parameter; The user's body surface temperature is detected. If the body surface temperature does not meet the preset target body surface temperature, the current ambient wind speed is adjusted to the target parameter value of the ambient wind speed parameter.
3. The method for adjusting sleep environment parameters according to claim 1, characterized in that, The step-by-step adjustment of the sleep environment parameters based on the adjustment levels specifically includes: If the second difference degree is greater than the first difference degree, the current ambient wind speed is adjusted to the target parameter value of the ambient wind speed parameter; The user's body surface temperature is detected. If the body surface temperature does not meet the preset target body surface temperature, the current ambient temperature is adjusted to the target parameter value of the ambient temperature parameter.
4. The method for adjusting sleep environment parameters according to claim 1, characterized in that, The first degree of difference is determined in the following manner: Based on the first change curve, the first parameter value change range of the ambient temperature parameter is determined; Determine the first difference between the target value of the ambient temperature parameter and the current ambient temperature; The first degree of difference is obtained based on the first difference and the range of change of the first parameter value.
5. The method for adjusting sleep environment parameters according to claim 1, characterized in that, The second degree of difference is determined in the following manner: Based on the second variation curve, the variation range of the second parameter value of the environmental wind speed parameter is determined; Determine the second difference between the target parameter value of the environmental wind speed parameter and the current environmental wind speed; The second degree of difference is obtained based on the second difference and the range of variation of the second parameter value.
6. A sleep environment parameter adjustment device, characterized in that, The device is used to implement the sleep environment parameter adjustment method according to any one of claims 1 to 5, and the device comprises: The determination module is used to determine the environmental information of the microenvironment in which the user is located during sleep, wherein the microenvironment is the environmental space formed within a preset distance from the user; The processing module is used to determine target parameter values for multiple sleep environment parameters corresponding to the environmental information of the microenvironment. The acquisition module is used to acquire the user information of the user, wherein the user information includes at least age information and gender information; The adjustment module is used to adjust the sleep environment parameters step by step based on the user information and the target parameter value, so that the adjusted sleep environment parameters meet the user's body temperature requirements.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the sleep environment parameter adjustment method as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the sleep environment parameter adjustment method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Temperature control method and device, storage medium and air conditioner
CN111219845A
Micro-environment controllable temperature and humidity system and method for evaluating sleep heat and humidity comfort level of textiles
WO2018152857A1