Temperature control method and device, electronic equipment and computer readable storage medium
By acquiring user posture, environment, and preference information, the target comfort information is determined, and the temperature of the terminal device is adjusted. This solves the problem of insufficient reference information dimensions in existing temperature control schemes and achieves more accurate and reasonable temperature control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN TCL NEW-TECH CO LTD
- Filing Date
- 2026-02-26
- Publication Date
- 2026-05-29
AI Technical Summary
Existing temperature control solutions have limited reference information, resulting in room for improvement in temperature control effectiveness.
By acquiring user posture information, current environment information, and user preference information, the target comfort information is determined, and the output temperature of the terminal device is adjusted according to this information.
It improves the accuracy and rationality of temperature control, meets users' physical needs, and enhances the user experience.
Smart Images

Figure CN122111141A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of temperature control technology, specifically to a temperature control method, device, electronic device, and computer-readable storage medium. Background Technology
[0002] Temperature control technology provides demand-based temperature control solutions, enabling temperatures to be adjusted as expected.
[0003] Currently, there are temperature control schemes designed based on the required temperature or combined with the ambient temperature. However, the current temperature control schemes refer to fewer dimensions of information, resulting in the need to improve the effectiveness of temperature control. Summary of the Invention
[0004] This application provides a temperature control method, apparatus, electronic device, and computer-readable storage medium, which can improve the effect of temperature control and enhance the user experience.
[0005] In a first aspect, embodiments of this application provide a temperature control method applied to a terminal device, the method comprising:
[0006] Obtain user posture information, current environment information, and user preference information; Based on the user posture information, the current environment information, and the user preference information, determine the target comfort information; The output temperature of the terminal device is adjusted according to the target comfort information.
[0007] Secondly, embodiments of this application also provide a temperature control device applied to a terminal device, the device comprising: The acquisition module is used to acquire user posture information, current environment information, and user preference information; The determination module is used to determine target comfort information based on the user posture information, the current environment information, and the user preference information; An adjustment module is used to adjust the output temperature of the terminal device according to the target comfort information.
[0008] Optionally, in some embodiments of this application, determining the target comfort information based on the user posture information, the current environment information, and the user preference information includes: Environmental comfort information is determined based on the current environmental information; Determine posture comfort information based on the user posture information and the current environment information; Determine preference comfort information based on the user preference information and the current environment information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information.
[0009] Optionally, in some embodiments of this application, the current environmental information includes at least one of current temperature information, current humidity information, current light intensity information, current weather information, or current air concentration information; The step of determining environmental comfort information based on the current environmental information includes: Based on the current temperature information, the current humidity information, and the preset temperature and humidity comfort mapping table, the temperature and humidity difference information is determined, and the environmental comfort information is determined based on the temperature and humidity difference information. The step of determining posture comfort information based on the user posture information and the current environment information includes: The posture comfort temperature information is determined based on the posture information, and the comfort temperature difference information is determined based on the posture comfort temperature information and the current temperature information, and the posture comfort information is determined based on the comfort temperature difference information. The step of determining preference comfort information based on the user preference information and the current environment information includes: Based on the current environmental information, the preferred temperature information is determined from the user preference information, and the preferred comfort information is determined based on the preferred temperature information and the current temperature information.
[0010] Optionally, in some embodiments of this application, the step of fusing the posture comfort information, the environmental comfort information, and the preference comfort information to obtain the target comfort information includes: Determine the current scene information; Determine the fusion weights based on the current scene information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information according to the fusion weights.
[0011] Optionally, in some embodiments of this application, after adjusting the output temperature of the terminal device according to the target comfort information, the method further includes: Obtain historical attitude information within a preset time period prior to the current moment; Based on the historical posture information and the user posture information, predict the predicted posture information for the future target time. The output temperature of the terminal device is adjusted based on the predicted attitude information at the current moment.
[0012] Optionally, in some embodiments of this application, the user posture information includes posture type information; obtaining the posture type information includes: Receive the attitude type information from the associated device; The associated device collects user video information and extracts the posture type information corresponding to the user video information. The associated device also controls the transmission of the user video information to the terminal device.
[0013] Optionally, in some embodiments of this application, the method further includes: If there are at least two users, the output temperature of the terminal device is adjusted according to the target comfort information of the two users, either by weighted average or by minimum discomfort principle.
[0014] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the temperature control method described above.
[0015] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the temperature control method described above.
[0016] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.
[0017] In summary, the terminal device in this application embodiment acquires user posture information, current environment information, and user preference information, determines target comfort information based on the user posture information, current environment information, and user preference information, and adjusts the output temperature of the terminal device based on the target comfort information.
[0018] In this embodiment, temperature regulation control is performed based on multiple dimensions of reference information such as user posture, current environment, and user preferences, which improves the accuracy and rationality of temperature control and enhances the temperature control effect. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of a scenario in which a terminal device, as provided in an embodiment of this application, executes the temperature control method; Figure 2 This is a schematic flowchart of the temperature control method provided in the embodiments of this application; Figure 3 This is a schematic diagram of the temperature control device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application.
[0021] Explanation of icon numbers: 101-Terminal device; 301-Acquisition module; 302-Determination module; 303-Adjustment module; 401-Processor; 402-Memory; 403-Power supply; 404-Input unit. Detailed Implementation
[0022] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] In the description of the embodiments of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Furthermore, the terms "first," "second," "third," and "fourth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first," "second," "third," and "fourth" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0024] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0025] This application provides a temperature control method, apparatus, electronic device, and computer-readable storage medium. Specifically, this application provides a temperature control apparatus suitable for electronic devices, including terminal devices, which include, but are not limited to, air conditioners or devices capable of regulating ambient temperature, such as heat pump systems and electric heaters.
[0026] For example, please see Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario where a terminal device, according to an embodiment of this application, executes the temperature control method. Specifically, the execution process of the temperature control method by the terminal device is as follows: Terminal device 101 acquires user posture information, current environment information, and user preference information. Based on the user posture information, current environment information, and user preference information, it determines target comfort information and adjusts the output temperature of the terminal device according to the target comfort information.
[0027] In this embodiment, temperature regulation control is performed based on multiple dimensions of reference information such as user posture, current environment, and user preferences, which improves the accuracy and rationality of temperature control and enhances the temperature control effect.
[0028] Among them, based on the user's posture, the body temperature perception of the user's body temperature in relation to the ambient temperature can be truly sensed, such as the user's current comfort level. Compared with the user's rough temperature adjustment settings or adjustment schemes based on ambient temperature, the embodiments of this application can make the temperature adjustment more in line with the user's physical needs and improve the effect of temperature adjustment.
[0029] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0030] Please see Figure 2 , Figure 2This is a flowchart illustrating a temperature control method provided in an embodiment of this application. Although the flowchart shows a logical sequence, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. Specifically, this temperature control method is applied to a terminal device, and the specific flow of the temperature control method is as follows: S201. Obtain user posture information, current environment information, and user preference information.
[0031] User posture information refers to the user's current physical state (such as sitting posture, standing posture, action, etc.) and device interaction methods (such as touch, voice, gesture, etc.).
[0032] The current environmental information refers to the real-time physical parameters (such as temperature, humidity, light, noise, air concentration, or weather) and spatial attributes (such as indoor / outdoor, location, etc.) of the user's space.
[0033] Among them, user preference information refers to users' long-term accumulated behavioral habits or clearly defined personalized needs (such as temperature preferences, light preferences, etc.).
[0034] It is understood that by acquiring information from multiple dimensions such as user posture information, current environment information, and user preference information, the embodiments of this application can help to conduct analysis with reference to more dimensions of information in order to achieve the desired results.
[0035] S202. Determine target comfort information based on the user posture information, the current environment information, and the user preference information.
[0036] Among them, the target comfort information is determined based on user posture information, current environment information and user preference information, and is used to reflect the user's feelings about comfort based on a series of conditions such as the current environment. For example, the target comfort information can be represented by a comfort score or a comfort index. A higher comfort score or comfort index indicates that the user feels more comfortable, or a lower score indicates more comfortable, or a middle score indicates comfortable, and a larger or smaller score indicates poorer comfort, etc.
[0037] It is understood that the embodiments of this application use multiple dimensions of information, such as user posture information, current environment information, and user preference information, as references to analyze user comfort, thereby improving the accuracy of user comfort analysis and providing an effective and accurate basis for comfort-based temperature control.
[0038] S203. Adjust the output temperature of the terminal device according to the target comfort information.
[0039] Understandably, temperature output control based on the target comfort level improves the rationality and accuracy of temperature control.
[0040] In summary, the embodiments of this application perform temperature regulation control based on multiple dimensions of reference information such as user posture, current environment, and user preferences, thereby improving the accuracy and rationality of temperature control and enhancing the temperature control effect.
[0041] Among them, based on the user's posture, the body temperature perception of the user's body temperature in relation to the ambient temperature can be truly sensed, such as the user's current comfort level. Compared with the user's rough temperature adjustment settings or adjustment schemes based on ambient temperature, the embodiments of this application can make the temperature adjustment more in line with the user's physical needs and improve the effect of temperature adjustment.
[0042] In this application embodiment, user comfort can be evaluated from multiple dimensions such as environment, posture, and user preferences, and the comfort of each dimension can be integrated to obtain target comfort information that reflects the overall user comfort. That is, optionally, in some embodiments of this application, the step of "determining target comfort information based on the user posture information, the current environment information, and the user preference information" includes: Environmental comfort information is determined based on the current environmental information; Determine posture comfort information based on the user posture information and the current environment information; Determine preference comfort information based on the user preference information and the current environment information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information.
[0043] Among them, environmental comfort information refers to the assessment of user comfort based on the current environment. For example, the assessment of comfort is based on the temperature information corresponding to the current environment. For instance, when the ambient temperature is low or high, the user's comfort is assessed as poor, and when the ambient temperature is moderate, the user's comfort is assessed as good.
[0044] Postural comfort information refers to an assessment of user comfort based on the user's current posture. It's understandable that a curled-up posture indicates coldness, suggesting a low temperature; conversely, fanning oneself with hands or tools indicates heat, suggesting a high temperature. Therefore, curling up or fanning oneself indicates lower comfort levels.
[0045] Among them, preference comfort information refers to the assessment of user comfort based on user preferences. For example, if the current temperature is significantly different from the user's preferred temperature, the user's comfort level is considered to be low; conversely, if the current temperature is relatively close to the user's preferred temperature, the user's comfort level is considered to be high.
[0046] It is understood that the embodiments of this application improve the accuracy of user comfort assessment by integrating the comfort assessment results of multiple dimensions.
[0047] It is understood that, in the embodiments of this application, the current environmental information includes current temperature information, current humidity information, current light intensity information, current weather information, or current air concentration information. The current temperature information refers to the current ambient temperature; for example, if adjusting indoor temperature, the current temperature information refers to the current indoor temperature. The current humidity information refers to the current ambient humidity; for example, if adjusting indoor temperature, the current humidity information refers to the current indoor humidity. The current air concentration information includes carbon dioxide concentration, for example, the current indoor carbon dioxide concentration. It is understood that the current environmental information can be obtained through corresponding sensors, and for terminal devices, such as air conditioners, the various current environmental information can be obtained by receiving the collected data sent by each sensor.
[0048] Accordingly, in this embodiment of the application, the step "determine environmental comfort information based on the current environmental information" includes: Based on the current temperature information, the current humidity information, and the preset temperature and humidity comfort mapping table, the temperature and humidity difference information is determined, and the environmental comfort information is determined based on the temperature and humidity difference information.
[0049] The preset temperature and humidity comfort mapping table includes multiple sets of preset temperature and humidity (including temperature and humidity) corresponding to comfortable temperatures. Temperature and humidity difference information refers to the difference between the current temperature information determined by the reference humidity and the comfortable temperature information. Based on this preset temperature and humidity comfort mapping table, the ideal comfortable temperature corresponding to the current temperature and humidity information can be determined. Correspondingly, the environmental comfort information can be determined based on the difference between the ideal comfortable temperature and the current temperature. For example, when the temperature and humidity difference is large, it indicates that the user's comfort level is low, and environmental comfort information representing low user comfort can be obtained. When the temperature and humidity difference is small, it indicates that the user's comfort level is high, and environmental comfort information representing high user comfort can be obtained.
[0050] Accordingly, in this embodiment of the application, the step of "determining posture comfort information based on the user posture information and the current environment information" includes: The posture comfort temperature information is determined based on the posture information, and the comfort temperature difference information is determined based on the posture comfort temperature information and the current temperature information, and the posture comfort information is determined based on the comfort temperature difference information.
[0051] Among them, posture comfort temperature information refers to the comfort temperature corresponding to the posture. The posture comfort temperature information corresponding to the posture information can be obtained by looking up a table. For example, a posture temperature comfort table can be obtained by configuring the comfort temperature corresponding to each posture, and the corresponding comfort temperature (i.e., posture comfort temperature information) can be found from the posture temperature comfort table using the current posture information.
[0052] The comfort temperature difference information refers to the difference between the posture comfort temperature information and the current temperature information. It can be understood that a larger comfort temperature difference indicates lower user comfort, and correspondingly, posture comfort information representing lower user comfort can be obtained. Conversely, a smaller comfort temperature difference indicates higher user comfort, and posture comfort information representing higher user comfort can be obtained.
[0053] Accordingly, the step "determine preference comfort information based on the user preference information and the current environment information" includes: Based on the current environmental information, the preferred temperature information is determined from the user preference information, and the preferred comfort information is determined based on the preferred temperature information and the current temperature information.
[0054] Among these, preference comfort information represents the user's comfort level determined by their preferences. Preference temperature information refers to the comfortable temperature corresponding to the user's preferences. For example, it could be the temperature a user prefers based on the current environment over a historical period. For instance, it could be the temperature a user adjusted under the same environmental conditions over the past month. If, for example, the user set the temperature to 27 degrees Celsius during rainy weather in the past month, then the user's preferred temperature under the same conditions is also 27 degrees Celsius. Therefore, under the same environmental conditions, the user's comfort level can be determined based on the difference between the preferred temperature information and the current temperature information. For example, if the difference between the preferred temperature information and the current temperature information is large, it indicates that the user's comfort level is low, and preference comfort information representing low comfort can be obtained. Conversely, if the difference is small, it indicates that the user's comfort level is high, and preference comfort information representing high comfort can be obtained.
[0055] In this application embodiment, to make the fusion of comfort information from multiple dimensions more effective, weights can be set to control the fusion. Based on these weights, the fusion of comfort information from multiple dimensions is controlled. That is, optionally, in some embodiments of this application, the step "fusion of the posture comfort information, the environmental comfort information, and the preference comfort information to obtain the target comfort information" includes: Determine the current scene information; Determine the fusion weights based on the current scene information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information according to the fusion weights.
[0056] The current scene information refers to a comprehensive contextual unit that is dynamically coupled with environmental elements (physical / social), user status, and interaction goals within a specific time and space range. For example, the current scene information may include whether the current scene is a single-user scene, a multi-user scene, a daytime scene, a nighttime scene, an activity scene, or a static scene.
[0057] Understandably, determining the fusion weights based on the current scenario information helps improve the rationality of the fusion weights, thereby enhancing the effectiveness and reference value of the target comfort information.
[0058] For example, in multi-person scenarios, the weight of user's personal preference comfort information is reduced; in nighttime scenarios, more attention is paid to the user's posture comfort information; and in daytime scenarios, more attention is paid to environmental comfort information.
[0059] In this embodiment, the user's posture can also be predicted to adjust the output temperature in advance and meet the user's temperature needs in a timely manner. That is, optionally, in some embodiments of this application, after the step "adjusting the output temperature of the terminal device according to the target comfort information", the method further includes: Obtain historical attitude information within a preset time period prior to the current moment; Based on the historical posture information and the user posture information, predict the predicted posture information for the future target time. The output temperature of the terminal device is adjusted based on the predicted attitude information at the current moment.
[0060] It is understood that historical posture information is posture data from a short period prior to the current moment. This application's embodiments combine historical posture information with current user posture information to predict the user's future posture information, and adjust the terminal device's output temperature in advance based on this predicted posture information. For example, adjusting the air conditioner's set temperature in advance. It is understood that adjusting the temperature in advance can promptly meet the user's temperature needs, thus improving the user experience.
[0061] In this embodiment, a deep learning model can be used to predict pose information at future moments. This deep learning model may include LSTM / GRU, TCN temporal convolutional networks, Transformer temporal models, etc.
[0062] In this embodiment, user posture information includes posture type information. Posture type information is a quantitative and categorized description of the spatial state of a human body or object at a specific point in time, containing both geometric features (such as relative positions between joints / parts, rotation angles, etc.) and semantic tags (such as walking, running, lying down, sitting, etc.). In this embodiment, posture type information used for comfort analysis includes sitting, standing, lying down, and movement.
[0063] In this embodiment of the application, the attitude type information can be obtained by receiving a transmission from an associated device; that is, obtaining the attitude type information includes: Receive the attitude type information from the associated device; The associated device collects user video information and extracts the posture type information corresponding to the user video information. The associated device also controls the transmission of the user video information to the terminal device.
[0064] For example, a user's video can be captured by a camera, and posture type information can be obtained by extracting skeletal points and classifying postures. Then, the posture type information can be sent to the terminal device.
[0065] It is understood that in this embodiment of the application, the user's video data is collected and processed only on the associated device (which is essentially an edge computing device), without having to send the video data to the terminal device, thus effectively protecting the user's privacy and preventing the leakage of the user's video data.
[0066] In this application embodiment, when there are multiple users in the scenario, the output temperature can be adjusted based on the number of users. That is, optionally, in some embodiments of this application, the method includes: If there are at least two users, the output temperature of the terminal device is adjusted according to the target comfort information of the two users, either by weighted average or by minimum discomfort principle.
[0067] The weighted average principle refers to optimizing temperature settings by quantifying the comfort levels of different users and calculating the overall needs of the group using a weighted allocation method. For example, the target comfort information of multiple users can be weighted and averaged to obtain the final comfort information, and then the temperature can be adjusted based on this final comfort information. Alternatively, the set temperature for each user can be determined separately based on each target comfort information, and then the average of each set temperature can be obtained by weighting the average of the individual set temperatures.
[0068] The principle of minimum discomfort refers to prioritizing the needs of individuals most sensitive to temperature changes in order to avoid extreme discomfort and ensure that the system output does not exceed any user's tolerance threshold. For example, if there are users in the scenario who are sensitive to temperature and afraid of the cold, after determining the target temperature suitable for each user, the minimum target temperature is selected as the set temperature to adjust the terminal device.
[0069] In summary, the embodiments of this application perform temperature regulation control based on multiple dimensions of reference information such as user posture, current environment, and user preferences, thereby improving the accuracy and rationality of temperature control and enhancing the temperature control effect.
[0070] Among them, the scenario-based determination of fusion weights enables scenario-based dynamic weight design, improving the accuracy of user comfort assessment.
[0071] In particular, by predicting the user's future posture type and adjusting the output temperature in advance, the temperature can be adjusted in advance, which helps to meet the user's temperature needs more quickly and timely.
[0072] In particular, by directly receiving the posture type information sent by the associated device without transmitting user video data, user privacy is protected and privacy leaks are avoided.
[0073] Among these methods, using a weighted average principle or a minimum discomfort principle for temperature adjustment when multiple users are involved can help meet the temperature adjustment needs of more users or take into account the temperature needs of special users, thereby improving the user experience.
[0074] To facilitate better implementation of the temperature control method of this application, this application also provides a temperature control device based on the above-described temperature control method. The meanings of the terms used are the same as in the above-described temperature control method, and specific implementation details can be found in the descriptions of the method embodiments.
[0075] Please see Figure 3 , Figure 3 This is a schematic diagram of the temperature control device provided in an embodiment of this application, wherein the temperature control device is applied to a terminal device, and the temperature control device may specifically be as follows: The acquisition module 301 is used to acquire user posture information, current environment information, and user preference information. The determining module 302 is used to determine target comfort information based on the user posture information, the current environment information, and the user preference information; The adjustment module 303 is used to adjust the output temperature of the terminal device according to the target comfort information.
[0076] Optionally, in some embodiments of this application, determining the target comfort information based on the user posture information, the current environment information, and the user preference information includes: Environmental comfort information is determined based on the current environmental information; Determine posture comfort information based on the user posture information and the current environment information; Determine preference comfort information based on the user preference information and the current environment information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information.
[0077] Optionally, in some embodiments of this application, the current environmental information includes at least one of current temperature information, current humidity information, current light intensity information, current weather information, or current air concentration information; The step of determining environmental comfort information based on the current environmental information includes: Based on the current temperature information, the current humidity information, and the preset temperature and humidity comfort mapping table, the temperature and humidity difference information is determined, and the environmental comfort information is determined based on the temperature and humidity difference information. The step of determining posture comfort information based on the user posture information and the current environment information includes: The posture comfort temperature information is determined based on the posture information, and the comfort temperature difference information is determined based on the posture comfort temperature information and the current temperature information, and the posture comfort information is determined based on the comfort temperature difference information. The step of determining preference comfort information based on the user preference information and the current environment information includes: Based on the current environmental information, the preferred temperature information is determined from the user preference information, and the preferred comfort information is determined based on the preferred temperature information and the current temperature information.
[0078] Optionally, in some embodiments of this application, the step of fusing the posture comfort information, the environmental comfort information, and the preference comfort information to obtain the target comfort information includes: Determine the current scene information; Determine the fusion weights based on the current scene information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information according to the fusion weights.
[0079] Optionally, in some embodiments of this application, after adjusting the output temperature of the terminal device according to the target comfort information, the method further includes: Obtain historical attitude information within a preset time period prior to the current moment; Based on the historical posture information and the user posture information, predict the predicted posture information for the future target time. The output temperature of the terminal device is adjusted based on the predicted attitude information at the current moment.
[0080] Optionally, in some embodiments of this application, the user posture information includes posture type information; obtaining the posture type information includes: Receive the attitude type information from the associated device; The associated device collects user video information and extracts the posture type information corresponding to the user video information. The associated device also controls the transmission of the user video information to the terminal device.
[0081] Optionally, in some embodiments of this application, the method further includes: If there are at least two users, the output temperature of the terminal device is adjusted according to the target comfort information of the two users, either by weighted average or by minimum discomfort principle.
[0082] In this embodiment, the acquisition module 301 acquires user posture information, current environment information, and user preference information; the determination module 302 determines target comfort information based on the user posture information, the current environment information, and the user preference information; and the adjustment module 303 adjusts the output temperature of the terminal device based on the target comfort information.
[0083] In this embodiment, temperature regulation control is performed based on multiple dimensions of reference information such as user posture, current environment, and user preferences, which improves the accuracy and rationality of temperature control and enhances the temperature control effect.
[0084] In addition, this application also provides an electronic device, such as Figure 4 As shown, it illustrates a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Specifically: The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0085] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0086] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0087] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0088] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing the steps in any of the temperature control methods provided in the embodiments of this application.
[0089] The terminal device in this application embodiment acquires user posture information, current environment information, and user preference information, determines target comfort information based on the user posture information, current environment information, and user preference information, and adjusts the output temperature of the terminal device based on the target comfort information.
[0090] In this embodiment, temperature regulation control is performed based on multiple dimensions of reference information such as user posture, current environment, and user preferences, which improves the accuracy and rationality of temperature control and enhances the temperature control effect.
[0091] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0092] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0093] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps of any of the temperature control methods provided in this application.
[0094] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0095] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0096] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the temperature control methods provided in this application, the beneficial effects that any of the temperature control methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0097] The above provides a detailed description of a temperature control method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A temperature control method, characterized in that, Applied to a terminal device, the method includes: Obtain user posture information, current environment information, and user preference information; Based on the user posture information, the current environment information, and the user preference information, determine the target comfort information; The output temperature of the terminal device is adjusted according to the target comfort information.
2. The temperature control method according to claim 1, characterized in that, The step of determining the target comfort information based on the user posture information, the current environment information, and the user preference information includes: Environmental comfort information is determined based on the current environmental information; Determine posture comfort information based on the user posture information and the current environment information; Determine preference comfort information based on the user preference information and the current environment information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information.
3. The temperature control method according to claim 2, characterized in that, The current environmental information includes at least one of the following: current temperature, current humidity, current light intensity, current weather, or current air concentration. The step of determining environmental comfort information based on the current environmental information includes: Based on the current temperature information, the current humidity information, and the preset temperature and humidity comfort mapping table, the temperature and humidity difference information is determined, and the environmental comfort information is determined based on the temperature and humidity difference information. The step of determining posture comfort information based on the user posture information and the current environment information includes: The posture comfort temperature information is determined based on the posture information, and the comfort temperature difference information is determined based on the posture comfort temperature information and the current temperature information, and the posture comfort information is determined based on the comfort temperature difference information. The step of determining preference comfort information based on the user preference information and the current environment information includes: Based on the current environmental information, the preferred temperature information is determined from the user preference information, and the preferred comfort information is determined based on the preferred temperature information and the current temperature information.
4. The temperature control method according to claim 2, characterized in that, The process of fusing the posture comfort information, the environmental comfort information, and the preferred comfort information to obtain the target comfort information includes: Determine the current scene information; Determine the fusion weights based on the current scene information; The target comfort information is obtained by fusing the posture comfort information, the environmental comfort information, and the preference comfort information according to the fusion weights.
5. The temperature control method according to claim 2, characterized in that, After adjusting the output temperature of the terminal device according to the target comfort information, the method further includes: Obtain historical attitude information within a preset time period prior to the current moment; Based on the historical posture information and the user posture information, predict the predicted posture information for the future target time. The output temperature of the terminal device is adjusted based on the predicted attitude information at the current moment.
6. The temperature control method according to claim 1, characterized in that, The user posture information includes posture type information; the acquisition of the posture type information includes: Receive the attitude type information from the associated device; The associated device collects user video information and extracts the posture type information corresponding to the user video information. The associated device also controls the transmission of the user video information to the terminal device.
7. The temperature control method according to claim 1, characterized in that, The method further includes: If there are at least two users, the output temperature of the terminal device is adjusted according to the target comfort information of the two users, either by weighted average or by minimum discomfort principle.
8. A temperature control device, characterized in that, Applied to a terminal device, the device includes: The acquisition module is used to acquire user posture information, current environment information, and user preference information; The determination module is used to determine target comfort information based on the user posture information, the current environment information, and the user preference information; An adjustment module is used to adjust the output temperature of the terminal device according to the target comfort information.
9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the temperature control method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the temperature control method as described in any one of claims 1-7.