Temperature and humidity control method and device and computer readable storage medium
By acquiring historical environmental data of the target space, the comfort lines for temperature and humidity are determined. Combined with the current temperature and humidity combination, the equipment is controlled to operate to the target temperature and humidity combination. This solves the problems of users lacking experience and collecting hidden variables, and realizes simple temperature and humidity comfort control.
Patent Information
- Application Number
- CN202410692617.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2025-12-02
AI Technical Summary
Users lack experience in temperature and humidity comfort control, making it difficult to achieve temperature and humidity comfort with existing equipment. Furthermore, the difficulty in collecting influencing factors such as clothing thermal resistance and metabolic rate makes it hard to achieve temperature and humidity comfort in a space.
By acquiring historical environmental data of the target space, the comfort lines such as temperature and humidity are determined. Combined with the current temperature and humidity combination, the equipment is controlled to operate to the target temperature and humidity combination to achieve temperature and humidity control.
No user experience or latent variable collection is required to easily improve the temperature and humidity comfort experience. The device automatically adjusts the temperature and humidity based on historical data and current conditions.
Smart Images

Figure CN121048243A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning equipment control technology, and in particular to a temperature and humidity control method, device and computer-readable storage medium. Background Technology
[0002] The temperature and humidity comfort theory states that under a suitable combination of temperature and humidity, the human body can maintain thermal balance, thus making people feel comfortable.
[0003] Although there are theories on temperature and humidity comfort, users often lack relevant experience in controlling temperature and humidity comfort and are unsure how to set the operating parameters of relevant equipment (such as air conditioners) to achieve temperature and humidity comfort in the corresponding space. Even if users have relevant experience in controlling temperature and humidity comfort, it is difficult to achieve temperature and humidity comfort in the corresponding space due to the difficulty in collecting some hidden variables that affect temperature and humidity comfort (such as clothing thermal resistance, metabolic rate, etc.).
[0004] Therefore, how to propose a simple method for temperature and humidity control to improve the user's temperature and humidity comfort experience is an urgent problem to be solved. Summary of the Invention
[0005] The main purpose of this application is to provide a temperature and humidity control method, device and computer-readable storage medium, which aims to improve the user's temperature and humidity comfort experience through simple temperature and humidity control.
[0006] To achieve the above objectives, this application provides a temperature and humidity control method, the temperature and humidity control method comprising:
[0007] Based on the historical environmental data of the target space, the temperature and humidity comfort lines of the target space are determined;
[0008] Obtain the current temperature and humidity combination, including the current temperature and humidity of the target space at the current moment;
[0009] Based on the current temperature and humidity combination, a first target temperature and humidity combination is determined from each temperature and humidity combination in the temperature and humidity isocomfort line;
[0010] The target device is controlled to operate according to the temperature and humidity in the first target temperature and humidity combination.
[0011] In one embodiment, the step of determining the temperature and humidity comfort line of the target space based on the acquired historical environmental data of the target space includes:
[0012] Based on the historical temperature and humidity combinations in the historical environmental data, determine the target variable values of each preset latent variable to be solved in the target space;
[0013] Based on the target variable values of each of the latent variables to be solved, the temperature and humidity comfort lines of the target space are generated.
[0014] In one embodiment, the step of determining the target variable value of each preset latent variable to be solved in the target space based on each historical temperature and humidity combination in the historical environmental data includes:
[0015] Obtain the total number of each latent variable to be solved, and thus obtain the target number;
[0016] From the aforementioned historical temperature and humidity combinations, select the target number of historical temperature and humidity combinations as the temperature and humidity combinations to be calculated;
[0017] Based on each of the temperature and humidity combinations to be calculated, the target variable values of each of the latent variables to be solved are obtained in the target space.
[0018] In one embodiment, the step of determining each preset latent variable to be solved in the target space based on each historical temperature and humidity combination in the historical environmental data includes:
[0019] Calculate the average distance between each preset temperature and humidity comfort hyperplane and each of the historical temperature and humidity combinations to obtain the first distance between each temperature and humidity comfort hyperplane and the historical environmental data; wherein, the variable values of each latent variable to be solved set for each temperature and humidity comfort hyperplane are different;
[0020] In each of the temperature and humidity comfort hyperplanes, the temperature and humidity comfort hyperplane corresponding to the minimum distance among the first distances is taken as the target temperature and humidity comfort hyperplane.
[0021] The values of the latent variables to be solved, as set by the target temperature and humidity comfort hyperplane, are taken as the target variable values of the latent variables to be solved in the target space.
[0022] In one embodiment, the step of determining a first target temperature and humidity combination from among the temperature and humidity isocomfort lines based on the current temperature and humidity combination includes:
[0023] Calculate the distance between the current temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line to obtain each second distance;
[0024] In each temperature and humidity combination in the aforementioned temperature and humidity comfort line, the temperature and humidity combination corresponding to the smallest distance among the second distances is taken as the first target temperature and humidity combination.
[0025] In one embodiment, after the step of controlling the target device to operate according to the temperature and humidity in the first target temperature and humidity combination, the method further includes:
[0026] If the target device has set parameters, then the temperature and humidity control of the target space by the target device is adjusted according to the set parameters; wherein, the set parameters include set temperature and / or set humidity.
[0027] In one embodiment, the step of adjusting the temperature and humidity control of the target space by the target device according to the set parameters includes:
[0028] If the set parameters include a set temperature, then the temperature and humidity control of the target space by the target device is adjusted to: temperature control of the target space based on the set temperature, and humidity control of the target space based on the temperature and humidity isocomfort line.
[0029] If the setting parameters include a set humidity, then the temperature and humidity control of the target space by the target device is adjusted to: humidity control of the target space based on the set humidity, and temperature control of the target space based on the temperature and humidity isocomfort line.
[0030] If the setting parameters include a setting temperature and a setting humidity, then the setting temperature and the setting humidity are combined to obtain a setting temperature and humidity combination;
[0031] Based on the set temperature and humidity combination, a second target temperature and humidity combination is determined from each temperature and humidity combination in the temperature and humidity isocomfort line;
[0032] After the target device operates at the temperature and humidity of the second target temperature and humidity combination, the temperature and humidity control of the target space by the target device is adjusted to: control the temperature and humidity of the target space based on the set temperature and the set humidity.
[0033] In one embodiment, the step of determining a second target temperature and humidity combination from among the temperature and humidity isocomfort lines based on the set temperature and humidity combination includes:
[0034] Calculate the interval between the set temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line to obtain each third distance;
[0035] Among the various temperature and humidity combinations in the aforementioned temperature and humidity comfort lines, the temperature and humidity combination corresponding to the smallest distance among the aforementioned third distances is taken as the second target temperature and humidity combination.
[0036] In addition, to achieve the above objectives, this application also provides a temperature and humidity control device, which includes a memory, a processor, and a temperature and humidity control program stored in the memory and executable on the processor. When the automatic control program is executed by the processor, it implements the steps of the temperature and humidity control method described above.
[0037] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the temperature and humidity control method described above.
[0038] In addition, to achieve the above objectives, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the temperature and humidity control method described above.
[0039] This application provides a temperature and humidity control method. First, a temperature and humidity isocomfort line for the target space is determined using historical environmental data. Since this isocomfort line is determined based on historical environmental data, it matches the actual environmental conditions of the target space. Then, a current temperature and humidity combination, including the current temperature and humidity of the target space, is acquired. Based on this current temperature and humidity combination, a first target temperature and humidity combination is determined from the various temperature and humidity combinations in the isocomfort line. Since this first target temperature and humidity combination is determined from the various temperature and humidity combinations in the isocomfort line based on the current temperature and humidity combination, the temperature and humidity in the first target temperature and humidity combination represent the temperature and humidity that the target space can subsequently change to from the current temperature and humidity. Finally, the target device is controlled to operate according to the temperature and humidity in the first target temperature and humidity combination, causing the temperature and humidity of the target space to change to the temperature and humidity in the first target temperature and humidity combination. Thus, the target device will implement temperature and humidity control of the target space based on the isocomfort line, thereby controlling the temperature and humidity of the target space based on the isocomfort line.
[0040] Therefore, this application proposes a simple temperature and humidity control method that not only does not rely on the user's experience in controlling temperature and humidity comfort, but also does not require the collection of some latent variables that affect temperature and humidity comfort, it can improve the user's temperature and humidity comfort experience through temperature and humidity control. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating the first embodiment of the temperature and humidity control method of this application.
[0044] Figure 2 This is a flowchart of the second embodiment of the temperature and humidity control method of this application.
[0045] Figure 3 This is an overall flowchart of the temperature and humidity control method according to an embodiment of this application;
[0046] Figure 4 This is a schematic diagram illustrating the relationship between temperature and humidity in the temperature and humidity control method of this application embodiment;
[0047] Figure 5 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.
[0048] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0049] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0050] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0051] The temperature and humidity comfort theory states that under a suitable combination of temperature and humidity, the human body can maintain thermal balance, thus making people feel comfortable.
[0052] Although there are theories on temperature and humidity comfort, users often lack relevant experience in controlling temperature and humidity comfort and are unsure how to set the operating parameters of relevant equipment (such as air conditioners) to achieve temperature and humidity comfort in the corresponding space. Even if users have relevant experience in controlling temperature and humidity comfort, it is difficult to achieve temperature and humidity comfort in the corresponding space due to the difficulty in collecting some hidden variables that affect temperature and humidity comfort (such as clothing thermal resistance, metabolic rate, etc.).
[0053] In addition, although some manufacturers have launched comfort functions, these functions require the thermal resistance and metabolic rate of clothing to be known. They usually use the current humidity as input to adjust the temperature to achieve relative comfort. However, in reality, temperature changes with humidity, so the existing comfort functions cannot achieve comfortable temperature and humidity control.
[0054] Therefore, how to propose a simple method for temperature and humidity control to improve the user's temperature and humidity comfort experience is an urgent problem to be solved.
[0055] This application provides a temperature and humidity control method. First, a temperature and humidity isocomfort line for the target space is determined using historical environmental data. Since this isocomfort line is determined based on historical environmental data, it matches the actual environmental conditions of the target space. Then, a current temperature and humidity combination, including the current temperature and humidity of the target space, is acquired. Based on this current temperature and humidity combination, a first target temperature and humidity combination is determined from the various temperature and humidity combinations in the isocomfort line. Since this first target temperature and humidity combination is determined from the various temperature and humidity combinations in the isocomfort line based on the current temperature and humidity combination, the temperature and humidity in the first target temperature and humidity combination represent the temperature and humidity that the target space can subsequently change to from the current temperature and humidity. Finally, the target device is controlled to operate according to the temperature and humidity in the first target temperature and humidity combination, causing the temperature and humidity of the target space to change to the temperature and humidity in the first target temperature and humidity combination. Thus, the target device will implement temperature and humidity control of the target space based on the isocomfort line, thereby controlling the temperature and humidity of the target space based on the isocomfort line.
[0056] Therefore, this application proposes a simple temperature and humidity control method that not only does not rely on the user's experience in controlling temperature and humidity comfort, but also does not require the collection of some latent variables that affect temperature and humidity comfort, it can improve the user's temperature and humidity comfort experience through temperature and humidity control.
[0057] The execution subject of the temperature and humidity control method of this application can be a temperature and humidity control device with data processing, network communication, and program execution functions, such as an air conditioner that regulates the air by controlling itself, or a server, central controller, wired controller, or other device that regulates the air by controlling other devices. This embodiment does not specifically limit this. The following uses a temperature and humidity control device as the execution subject to describe the following embodiments.
[0058] Based on this, this application proposes a temperature and humidity control method according to the first embodiment, please refer to... Figure 1 The temperature and humidity control method includes steps S10 to S40:
[0059] Step S10: Determine the temperature and humidity comfort line of the target space based on the historical environmental data of the target space obtained;
[0060] It should be noted that the target space is the environmental space where the temperature and humidity control equipment is located. The equipment adjusts the temperature and humidity within the target space by controlling these parameters. Historical environmental data includes various environmental parameter values (such as temperature and humidity) of the target space at different points in time over a past period. The temperature and humidity isocomfort line, also known as the thermal comfort line or temperature and humidity comfort line, includes multiple temperature and humidity combinations that maintain human thermal balance and promote comfort. Each temperature and humidity combination within the isocomfort line achieves the same thermal comfort effect. Generally, at higher temperatures, lower humidity makes people feel comfortable, while at lower temperatures, higher humidity makes people feel comfortable.
[0061] It is understandable that the values of various environmental parameters in the target space will change accordingly under different environmental conditions. Therefore, this embodiment can accurately determine the actual environmental conditions of the target space by recording historical environmental data of various environmental parameter values at various points in time over a period of time. Accordingly, the comfort lines of temperature and humidity of the target space determined by the historical environmental data can also be consistent with the actual environmental conditions of the target space.
[0062] In one feasible implementation, step S10 may include steps S11 to S12:
[0063] Step S11: Based on the historical temperature and humidity combinations in the historical environmental data, determine the target variable values of each preset latent variable to be solved in the target space.
[0064] It should be noted that the historical temperature and humidity combination is formed by the combination of temperature and humidity in the target space at a certain point in the past. The latent variables to be solved refer to unobservable random variables that affect the comfort lines such as temperature and humidity in the target space. These latent variables may include, but are not limited to, clothing thermal resistance and metabolic rate; this embodiment does not impose specific limitations on them. The target variable value refers to the value of each latent variable to be solved under the actual environmental conditions of the target space.
[0065] Step S12: Based on the target variable values of each of the latent variables to be solved, generate the temperature and humidity comfort lines of the target space.
[0066] For example, assuming that the latent variables to be solved include clothing thermal resistance and metabolic rate, with the target variable value of clothing thermal resistance being 0.1 and the target variable value of metabolic rate being 0.2, then the temperature and humidity comfort lines of the target space will be expressed as f(X1, X2, 0.1, 0.2) = 0, where X1 is temperature and X2 is humidity.
[0067] It is understandable that the latent variables such as clothing thermal resistance and metabolic rate vary in different scenarios, for example, less clothing in summer and more clothing in winter; and the latent variables such as clothing thermal resistance and metabolic rate also differ among different users, for example, overweight users have higher metabolisms and underweight users have lower metabolisms. Therefore, this implementation method first determines the target variable values of each preset latent variable in the target space by using historical temperature and humidity combinations in historical environmental data, so that the determined target variable values of each latent variable can better fit the actual environmental conditions of the target space. Then, using the determined target variable values of each latent variable, a temperature and humidity isocomfort line of the target space is generated, thus obtaining a temperature and humidity isocomfort line that matches the actual environmental conditions of the target space. This allows for better temperature and humidity control of the target space in the future, thereby further improving the user's temperature and humidity comfort experience.
[0068] In one feasible implementation, step S11 may include steps S111 to S113:
[0069] Step S111: Obtain the preset total number of each latent variable to be solved, and get the target number;
[0070] Step S112: Select the target number of historical temperature and humidity combinations from each of the historical temperature and humidity combinations as the temperature and humidity combinations to be calculated;
[0071] It should be noted that the temperature and humidity combination to be calculated refers to the historical temperature and humidity combination used to determine the target variable values of each latent variable to be solved in the target space.
[0072] When selecting a target number of historical temperature and humidity combinations as the temperature and humidity combinations to be calculated from various historical temperature and humidity combinations, any target number of historical temperature and humidity combinations can be selected as the temperature and humidity combinations to be calculated. In order to improve the accuracy of the target variable values of each latent variable to be solved in the subsequent determination, the historical temperature and humidity combinations with the highest number of occurrences can also be selected as the temperature and humidity combinations to be calculated from various historical temperature and humidity combinations. This embodiment does not specifically limit the specific implementation of step S112.
[0073] Step S113: Calculate the target variable value of each latent variable to be solved in the target space according to each of the temperature and humidity combinations to be calculated.
[0074] It should be noted that when calculating the target variable values of each latent variable in the target space based on each temperature and humidity combination to be calculated, the calculation is actually performed using Gaussian elimination. For example, assuming that each latent variable to be calculated includes clothing thermal resistance X3 and metabolic rate X4, and the temperature X1 of the temperature and humidity combination to be calculated is 26.0 and the humidity X2 is 0.55, then the calculation formula 1 is f(26.0, 0.55, X3, X4) = 0; the temperature X1 of the temperature and humidity combination to be calculated is 26.5 and the humidity X2 is 0.53, then the calculation formula 2 is f(26.5, 0.53, X3, X4) = 0. After processing calculation formulas 1 and 2 using Gaussian elimination, the target variable value of clothing thermal resistance X3 is a, and the target variable value of metabolic rate X4 is b.
[0075] In another feasible implementation, step S11 may include steps S114 to S116:
[0076] Step S114: Calculate the average distance between each preset temperature and humidity comfort hyperplane and each of the historical temperature and humidity combinations to obtain the first distance between each temperature and humidity comfort hyperplane and the historical environmental data; wherein, the variable values of each latent variable to be solved set for each temperature and humidity comfort hyperplane are different.
[0077] It should be noted that the temperature and humidity comfort hyperplane is used to describe the mathematical model or region of the optimal temperature and humidity combination that people feel comfortable in a multidimensional parameter space. The distance between the temperature and humidity comfort hyperplane and each historical temperature and humidity combination can be Euclidean distance, Manhattan distance, or cosine distance, etc., and this embodiment does not make a specific limitation on this.
[0078] Step S115: In each of the temperature and humidity comfort hyperplanes, the temperature and humidity comfort hyperplane corresponding to the minimum distance among the first distances is taken as the target temperature and humidity comfort hyperplane.
[0079] It is understandable that the smaller the first distance, the more closely the values of the hidden variables to be solved set by the corresponding temperature and humidity comfort hyperplane are in line with the current environmental conditions of the target space.
[0080] Step S116: The variable values of each of the latent variables to be solved set by the target temperature and humidity comfort hyperplane are taken as the target variable values of each of the latent variables to be solved in the target space.
[0081] For example, assuming the latent variables to be solved include clothing thermal resistance X3 and metabolic rate X4, and the variable values for clothing thermal resistance X3 and metabolic rate X4 set in temperature and humidity comfort hyperplane 1 are 0.1 and 0.2 respectively, then temperature and humidity comfort hyperplane 1 will be represented as f(X1, X2, 0.1, 0.2) = 0. Similarly, temperature and humidity comfort hyperplane 2 will be represented as f(X1, X2, 0.2, 0.1) = 0, with the same variable values for clothing thermal resistance X3 and metabolic rate X4. Historical temperature and humidity combinations can then be obtained through calculation.<a1,b1> ,<a2,b2> and<a3,b3> The distances between the temperature and humidity comfort hyperplane 1 and the hyperplane 1 are 0.1, 0.2, and 0.3, respectively, based on historical temperature and humidity combinations.<a1,b1> ,<a2,b2> and<a3,b3> The intervals between the temperature and humidity comfort hyperplane 1 and the historical environmental data are 0.3, 0.4, and 0.5, respectively. By calculating the average values of 0.1, 0.2, and 0.3, and the average values of 0.3, 0.4, and 0.5, we can obtain that the first distance between the temperature and humidity comfort hyperplane 1 and the historical environmental data is 0.2, and the first distance between the temperature and humidity comfort hyperplane 2 and the historical environmental data is 0.4. Therefore, the variable values of clothing thermal resistance X3 (0.1) and metabolic rate X4 (0.2) set on the temperature and humidity comfort hyperplane 1 can be used as the target variable values of clothing thermal resistance X3 and metabolic rate X4, respectively.
[0082] The above are only two feasible implementations of step S11 provided in this embodiment. This embodiment does not specifically limit the specific implementation of step S11.
[0083] It is understandable that, in the two feasible implementations of step S11 provided above, the second implementation comprehensively considers all temperature and humidity combinations in the historical environmental data when determining the target variable values of each latent variable to be solved. Therefore, given a sufficiently large number of preset temperature and humidity comfort hyperplanes, the final determined target variable values of each latent variable to be solved are more accurate than those determined in the first implementation. Conversely, since the first implementation requires processing less data, it is more efficient than the second implementation in determining the target variable values of each latent variable to be solved.
[0084] Step S20: Obtain the current temperature and humidity combination, including the current temperature and humidity of the target space at the current moment;
[0085] It should be noted that when obtaining the current temperature and humidity combination, including the current temperature and humidity of the target space, it can be obtained from the temperature and humidity control device or from other devices connected to the temperature and humidity control device. This embodiment does not specifically limit this.
[0086] It is understandable that, due to environmental factors, equipment limitations, or other factors, the temperature and humidity within the target space may not reach the temperature and humidity of some temperature and humidity combinations in the temperature and humidity comfort line under the current temperature and humidity conditions. Therefore, in this embodiment, when determining the first target temperature and humidity combination, it will determine it from each temperature and humidity combination in the temperature and humidity comfort line based on the current temperature and humidity combination. This ensures that the temperature and humidity in the determined first target temperature and humidity combination are the temperature and humidity that the target space can subsequently change to from the current temperature and humidity.
[0087] Step S30: Based on the current temperature and humidity combination, determine the first target temperature and humidity combination from the temperature and humidity isocomfort lines;
[0088] It should be noted that the first target temperature and humidity combination is used to characterize the temperature and humidity combination used by the target device when the target space enters the temperature and humidity control based on the temperature and humidity comfort line.
[0089] In one feasible implementation, step S30 may include steps S31 to S32:
[0090] Step S31: Calculate the interval distance between the current temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line to obtain each second distance;
[0091] It should be noted that the interval between the current temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line can be Euclidean distance, Manhattan distance or cosine distance, etc., and this embodiment does not make specific limitations on this.
[0092] Step S32: Among the temperature and humidity combinations in the temperature and humidity comfort lines, the temperature and humidity combination corresponding to the smallest distance among the second distances is taken as the first target temperature and humidity combination.
[0093] In this embodiment, firstly, the second distance is obtained by calculating the interval between the current temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line. Then, the temperature and humidity combination corresponding to the smallest distance among the temperature and humidity combinations in the temperature and humidity isocomfort line is taken as the first target temperature and humidity combination. Since the first target temperature and humidity combination is the temperature and humidity combination closest to the current temperature and humidity combination in the temperature and humidity isocomfort line, the target device can quickly enter the temperature and humidity control based on the temperature and humidity isocomfort line to quickly achieve the temperature and humidity comfort of the target space, thereby further improving the user's temperature and humidity comfort experience.
[0094] In another feasible implementation, step S30 may include: calculating the interval distance between the current temperature and humidity combination and each temperature and humidity combination in the isocomfort line to obtain each second distance; and determining a first target temperature and humidity combination from among the temperature and humidity combinations whose second distance is less than a preset distance threshold. Specifically, when determining the first target temperature and humidity combination from among the temperature and humidity combinations whose second distance is less than the preset distance threshold, any temperature and humidity combination can be arbitrarily selected as the first target temperature and humidity combination from among the temperature and humidity combinations whose second distance is less than the preset distance threshold, or a temperature and humidity combination can be selected as the first target temperature and humidity combination according to certain selection requirements. This embodiment does not specifically limit this.
[0095] The above are only two feasible implementation methods of step S30 provided in this embodiment. This embodiment does not specifically limit the specific implementation method of step S30.
[0096] Step S40: Control the target device to operate according to the temperature and humidity in the first target temperature and humidity combination.
[0097] It is understandable that after the target device is controlled to operate according to the temperature and humidity in the first target temperature and humidity combination, the target device will enter the temperature and humidity control of the target space based on the temperature and humidity isocomfort line, so that the temperature and humidity of the target device will move synchronously with the temperature and humidity isocomfort line.
[0098] This embodiment provides a temperature and humidity control method. First, the temperature and humidity isocomfort line of the target space is determined through historical environmental data of the target space. Since this temperature and humidity isocomfort line is determined based on the historical environmental data of the target space, it is consistent with the actual environmental conditions of the target space. Then, the current temperature and humidity combination, including the current temperature and humidity of the target space, is obtained. Based on this current temperature and humidity combination, a first target temperature and humidity combination is determined from each temperature and humidity combination in the temperature and humidity isocomfort line. Since the first target temperature and humidity combination is determined from each temperature and humidity combination in the temperature and humidity isocomfort line based on the current temperature and humidity combination, the temperature and humidity in the first target temperature and humidity combination are the temperature and humidity that the target space can subsequently change to from the current temperature and humidity. Finally, the target device is controlled to operate according to the temperature and humidity in the first target temperature and humidity combination, so that the temperature and humidity of the target space change to the temperature and humidity in the first target temperature and humidity combination. Thus, the target device will enter the temperature and humidity control of the target space based on the temperature and humidity isocomfort line, thereby controlling the temperature and humidity of the target space based on the temperature and humidity isocomfort line.
[0099] Therefore, this embodiment proposes a simple temperature and humidity control method that not only does not rely on the user's experience in controlling temperature and humidity comfort, but also does not require the collection of some latent variables that affect temperature and humidity comfort. It can improve the user's temperature and humidity comfort experience through temperature and humidity control.
[0100] Based on the first embodiment described above, a second embodiment of the temperature and humidity control method of this application is proposed. For the second embodiment, please refer to... Figure 2 After step S40, step S50 is also included:
[0101] Step S50: If the target device has set parameters, then adjust the temperature and humidity control of the target space by the target device according to the set parameters; wherein, the set parameters include set temperature and / or set humidity.
[0102] It should be noted that the setting parameters refer to the specific parameter values that the user or the device itself wants to achieve and maintain. These device parameters may include, but are not limited to, setting temperature and / or setting humidity.
[0103] In this embodiment, if the target device has set parameters, the temperature and humidity control of the target space by the target device will be adjusted according to the set parameters so that the temperature and humidity control of the target space by the target device can meet the requirements of the set parameters. Thus, on the basis of achieving temperature and humidity comfort in the target space, the user's set requirements can be further met, thereby not only improving the user's temperature and humidity comfort experience, but also improving the user's experience of using the target device.
[0104] In one possible implementation, step S50 may include:
[0105] Step S51: If the set parameters include a set temperature, then the temperature and humidity control of the target space by the target device is adjusted to: temperature control of the target space based on the set temperature, and humidity control of the target space based on the temperature and humidity comfort line.
[0106] Step S52: If the set parameters include set humidity, then the temperature and humidity control of the target space by the target device is adjusted to: control the humidity of the target space based on the set humidity, and control the temperature of the target space based on the temperature and humidity comfort line.
[0107] Step S53: If the setting parameters include a setting temperature and a setting humidity, then combine the setting temperature and the setting humidity to obtain a setting temperature and humidity combination;
[0108] Step S54: Based on the set temperature and humidity combination, determine the second target temperature and humidity combination from each temperature and humidity combination in the temperature and humidity isocomfort line;
[0109] It should be noted that the second target temperature and humidity combination is used to characterize the temperature and humidity combination that the target device needs to operate when it wants to enter the target space for temperature and humidity control based on the set temperature and humidity combination.
[0110] In one feasible implementation, step S54 may include steps S541 to S542:
[0111] Step S541: Calculate the interval distance between the set temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line to obtain each third distance;
[0112] It should be noted that the interval distance between the temperature and humidity combinations and the temperature and humidity isocomfort lines can be Euclidean distance, Manhattan distance, or cosine distance, etc., and this embodiment does not make specific limitations on this.
[0113] Step S542: Among the temperature and humidity combinations in the temperature and humidity comfort lines, the temperature and humidity combination corresponding to the smallest distance among the third distances is taken as the second target temperature and humidity combination.
[0114] In this embodiment, firstly, the interval distance between the set temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line is calculated to obtain each third distance. Then, from each temperature and humidity combination in the temperature and humidity isocomfort line, the temperature and humidity combination corresponding to the smallest distance among each third distance is taken as the second target temperature and humidity combination. Since this second target temperature and humidity combination is the temperature and humidity combination closest to the set temperature and humidity combination in the temperature and humidity isocomfort line, after limiting the temperature and humidity of the target device to the second target temperature and humidity combination, the target device is then controlled to enter the temperature and humidity control of the target space based on the set temperature and humidity combination. This allows the user's set requirements to be further met without affecting the temperature and humidity comfort of the target space as much as possible. This not only improves the user's temperature and humidity comfort experience but also enhances the user's experience of using the target device.
[0115] Step S55: After the target device operates at the temperature and humidity of the second target temperature and humidity combination, the temperature and humidity control of the target space by the target device is adjusted to: control the temperature and humidity of the target space based on the set temperature and the set humidity.
[0116] This implementation method limits the target device to perform different temperature and humidity controls on the target space when the types of parameters included in the setting parameters are different. This is to further meet the user's setting requirements while minimizing the impact on the temperature and humidity comfort of the target space. This not only improves the user's temperature and humidity comfort experience but also enhances the user's experience of using the target device.
[0117] For example, to help understand the implementation process of the temperature and humidity control method obtained by combining the above embodiments, please refer to... Figure 3 and Figure 4 ,in, Figure 4 The solid line in the figure represents the actual temperature and humidity conditions of the target equipment during operation, specifically:
[0118] First, based on historical environmental data of the target space, determine the temperature and humidity comfort lines (corresponding to...) of the target space. Figure 4 (dashed line in the image), and then obtain the current temperature and humidity combination (corresponding to the current temperature and humidity of the target space at the current moment). Figure 4 Point A in the diagram); then, by calculating the interval distance between the current temperature and humidity combination and each temperature and humidity combination in the isocomfort line, the temperature and humidity combination corresponding to the smallest interval distance is taken as the first target temperature and humidity combination (corresponding to...). Figure 4 Point B in the diagram); then control the target device to operate according to the temperature and humidity in the first target temperature and humidity combination; next, determine whether the target device has set parameters. If the target device has set parameters, and these set parameters include both set temperature and set humidity, then calculate the interval distance between the set temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line, so that the temperature and humidity combination corresponding to the smallest interval distance is taken as the second target temperature and humidity combination (corresponding to...). Figure 4 Point C in the middle); finally, after the target equipment reaches the temperature and humidity of the second target temperature and humidity combination, control the target equipment to operate according to the set temperature and humidity combination (corresponding to...). Figure 4 The temperature and humidity at point D in the diagram are monitored.
[0119] It should be noted that this example is only for the purpose of assisting in understanding this application and does not constitute a limitation on the temperature and humidity control method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0120] This application also provides a temperature and humidity control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the temperature and humidity control method in the above embodiments.
[0121] The following is for reference. Figure 5 It shows a structural schematic diagram of a temperature and humidity control device suitable for implementing the embodiments of this application. Figure 5 The temperature and humidity control device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0122] like Figure 5As shown, the temperature and humidity control device may include a processing unit 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 102 or a program loaded from storage device 103 into random access memory (RAM) 104. The RAM 104 also stores various programs and data required for the operation of the temperature and humidity control device. The processing unit 101, ROM 102, and RAM 104 are interconnected via a bus 105. An input / output (I / O) interface 106 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 106: input devices 107 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 108 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 103 including, for example, magnetic tapes, hard disks, etc.; and communication devices 109. Communication device 109 allows the temperature and humidity control device to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows temperature and humidity control devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.
[0123] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 103, or installed from ROM 102. When the computer program is executed by processing device 101, it performs the functions defined in the methods of the embodiments of this application.
[0124] The temperature and humidity control device provided in this application, employing the temperature and humidity control method described in the above embodiments, can improve the user's temperature and humidity comfort experience through simple temperature and humidity control. Compared with the prior art, the beneficial effects of the temperature and humidity control device provided in this application are the same as those of the temperature and humidity control method provided in the above embodiments, and other technical features of this temperature and humidity control device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0125] It should be understood that various parts of the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0126] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
[0127] This application also provides a computer-readable storage medium storing a program for a smart home system that can run on a processor. The computer-readable program instructions are used to execute the temperature and humidity control method in the above embodiments.
[0128] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0129] The aforementioned computer-readable storage medium may be included in the temperature and humidity control device; or it may exist independently and not be assembled into the temperature and humidity control device.
[0130] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a temperature and humidity control device, cause the temperature and humidity control device to: determine the temperature and humidity isocomfort line of the target space based on historical environmental data of the target space; acquire a current temperature and humidity combination including the current temperature and humidity of the target space; determine a first target temperature and humidity combination from each temperature and humidity combination in the temperature and humidity isocomfort line based on the current temperature and humidity combination; and control the target device to operate according to the temperature and humidity in the first target temperature and humidity combination.
[0131] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0132] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0133] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0134] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the above-described temperature and humidity control method, which can improve the user's temperature and humidity comfort experience through simple temperature and humidity control. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the temperature and humidity control method provided in the above embodiments, and will not be repeated here.
[0135] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the temperature and humidity control method described above.
[0136] The computer program product provided in this application embodiment can improve the user's temperature and humidity comfort experience through simple temperature and humidity control. Compared with the prior art, the beneficial effects of the computer program product provided in this application embodiment are the same as the beneficial effects of the temperature and humidity control method provided in the above embodiments, and will not be repeated here.
[0137] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.
Claims
1. A method for controlling temperature and humidity, characterized in that, The temperature and humidity control method includes: Based on the historical environmental data of the target space, the temperature and humidity comfort lines of the target space are determined; Obtain the current temperature and humidity combination, including the current temperature and humidity of the target space at the current moment; Based on the current temperature and humidity combination, a first target temperature and humidity combination is determined from each temperature and humidity combination in the temperature and humidity isocomfort line; The target device is controlled to operate according to the temperature and humidity in the first target temperature and humidity combination.
2. The method as described in claim 1, characterized in that, The step of determining the temperature and humidity comfort line of the target space based on the acquired historical environmental data of the target space includes: Based on the historical temperature and humidity combinations in the historical environmental data, determine the target variable values of each preset latent variable to be solved in the target space; Based on the target variable values of each of the latent variables to be solved, the temperature and humidity comfort lines of the target space are generated.
3. The method as described in claim 2, characterized in that, The step of determining the target variable values of each preset latent variable to be solved in the target space based on each historical temperature and humidity combination in the historical environmental data includes: Obtain the total number of each latent variable to be solved, and thus obtain the target number; From the aforementioned historical temperature and humidity combinations, select the target number of historical temperature and humidity combinations as the temperature and humidity combinations to be calculated; Based on each of the temperature and humidity combinations to be calculated, the target variable values of each of the latent variables to be solved are obtained in the target space.
4. The method as described in claim 2, characterized in that, The step of determining each preset latent variable to be solved in the target space based on each historical temperature and humidity combination in the historical environmental data includes: Calculate the average distance between each preset temperature and humidity comfort hyperplane and each of the historical temperature and humidity combinations to obtain the first distance between each temperature and humidity comfort hyperplane and the historical environmental data; wherein, the variable values of each latent variable to be solved set for each temperature and humidity comfort hyperplane are different; In each of the temperature and humidity comfort hyperplanes, the temperature and humidity comfort hyperplane corresponding to the minimum distance among the first distances is taken as the target temperature and humidity comfort hyperplane. The values of the latent variables to be solved, as set by the target temperature and humidity comfort hyperplane, are taken as the target variable values of the latent variables to be solved in the target space.
5. The method as described in claim 1, characterized in that, The step of determining a first target temperature and humidity combination from among the temperature and humidity isocomfort lines based on the current temperature and humidity combination includes: Calculate the distance between the current temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line to obtain each second distance; In each temperature and humidity combination in the aforementioned temperature and humidity comfort line, the temperature and humidity combination corresponding to the smallest distance among the second distances is taken as the first target temperature and humidity combination.
6. The method according to any one of claims 1 to 5, characterized in that, After the step of controlling the target device to operate according to the temperature and humidity in the first target temperature and humidity combination, the method further includes: If the target device has set parameters, then the temperature and humidity control of the target space by the target device is adjusted according to the set parameters; wherein, the set parameters include set temperature and / or set humidity.
7. The method as described in claim 6, characterized in that, The step of adjusting the temperature and humidity control of the target space by the target device according to the set parameters includes: If the set parameters include a set temperature, then the temperature and humidity control of the target space by the target device is adjusted to: temperature control of the target space based on the set temperature, and humidity control of the target space based on the temperature and humidity isocomfort line. If the setting parameters include a set humidity, then the temperature and humidity control of the target space by the target device is adjusted to: humidity control of the target space based on the set humidity, and temperature control of the target space based on the temperature and humidity isocomfort line. If the setting parameters include a setting temperature and a setting humidity, then the setting temperature and the setting humidity are combined to obtain a setting temperature and humidity combination; Based on the set temperature and humidity combination, a second target temperature and humidity combination is determined from each temperature and humidity combination in the temperature and humidity isocomfort line; After the target device operates at the temperature and humidity of the second target temperature and humidity combination, the temperature and humidity control of the target space by the target device is adjusted to: control the temperature and humidity of the target space based on the set temperature and the set humidity.
8. The method as described in claim 7, characterized in that, The step of determining a second target temperature and humidity combination from among the temperature and humidity isocomfort lines based on the set temperature and humidity combination includes: Calculate the interval between the set temperature and humidity combination and each temperature and humidity combination in the temperature and humidity isocomfort line to obtain each third distance; Among the various temperature and humidity combinations in the aforementioned temperature and humidity comfort lines, the temperature and humidity combination corresponding to the smallest distance among the aforementioned third distances is taken as the second target temperature and humidity combination.
9. A temperature and humidity control device, characterized in that, The temperature and humidity control device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the temperature and humidity control method as described in any one of claims 1 to 8.
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 and humidity control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Air conditioning controller
CN101055114A
Smart home air conditioner control system and control method
CN110454919A
Temperature control method and device and storage medium
CN111256322A
Air conditioner control method and device, air conditioner and computer readable storage medium
CN113310192A
Control method and device, equipment and storage medium
CN117872788A