Control method and device of air conditioner, air conditioner and medium
By identifying the target user in the air conditioner environment and calculating the adjustment weight based on the historical preferred temperature, the problem of inconsistent temperature settings of the air conditioner in a multi-user environment is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202410518148.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2025-10-28
AI Technical Summary
When there are multiple target users in an air-conditioning environment, how to determine the ambient temperature that can meet the needs of different target users is difficult to effectively solve with existing technologies.
By identifying the target users in the air conditioner environment, determining each user's current preferred temperature, and calculating each user's current adjustment weight based on the preferred temperature in the historical period, the current set temperature of the air conditioner is determined.
The air conditioner's set temperature is matched to each target user, improving the user experience and ensuring that the temperature setting meets the changing needs of multiple users.
Smart Images

Figure CN120845901A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of electrical equipment, and particularly relates to a control method, device, air conditioner and medium for an air conditioner. Background Technology
[0002] With the continuous development of science and technology, air conditioners have entered thousands of households, bringing convenience to people's lives. During use, users can adjust the set temperature to meet their environmental temperature needs. However, when multiple users are present, their temperature requirements may differ. Therefore, determining a set temperature that satisfies the needs of multiple users is a problem that urgently needs to be solved. Summary of the Invention
[0003] In view of the above-mentioned technical problems in related technologies, the present invention provides a control method, device, air conditioner and medium for an air conditioner to meet the environmental temperature requirements of multiple target users and improve the user experience of the target users.
[0004] In a first aspect, embodiments of the present invention provide a control method for an air conditioner, comprising:
[0005] If N target users are identified in the environment where the air conditioner is located, determine the current preferred temperature of each target user, where N is an integer greater than 1;
[0006] Obtain the current adjustment weight of the temperature set by each target user for the air conditioner, wherein the current adjustment weight of each target user is obtained based on the preferred temperature of the N target users in N historical time periods;
[0007] The current set temperature of the air conditioner is determined based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user.
[0008] In some implementations, obtaining the current adjustment weight of each target user for the set temperature of the air conditioner includes:
[0009] For each of the N historical time periods, determine the preferred temperature of each target user in that historical time period, and determine the set temperature of the air conditioner in that historical time period;
[0010] Based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period, the current adjustment weight of each target user is determined.
[0011] In some implementations, obtaining the current adjustment weight of each target user for the set temperature of the air conditioner includes:
[0012] Based on the N target users, target mapping data matching the N target users is determined from multiple sets of preset mapping data. Each set of preset mapping data includes at least two users and the current adjustment weight corresponding to each user. The users included in each set of preset mapping data are not completely the same.
[0013] The current adjustment weight corresponding to each target user in the target mapping data is determined through the following steps: for each historical period within the N historical periods, the preferred temperature of each target user in that historical period and the set temperature of the air conditioner in that historical period are determined; based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period, the current adjustment weight of each target user is determined.
[0014] In some embodiments, the method further includes:
[0015] Determine the initial preference temperature for each target user, wherein the initial preference temperature is the preference temperature determined before the earliest historical period among the N historical periods;
[0016] For each target user, the initial preferred temperature of the target user is compared with the preferred temperature of the target user in each historical time period to obtain a comparison result. The comparison result includes a first comparison result indicating that the preferred temperature has changed and a second comparison result indicating that the preferred temperature has not changed.
[0017] Determining the current adjustment weight for each target user includes:
[0018] Based on the comparison results of each target user, the preferred temperature of each target user in each historical period, and the set temperature of the air conditioner in each historical period, the current adjustment weight of each target user is determined.
[0019] In some implementations, determining the current adjustment weight of each target user based on the comparison results of each target user, the preferred temperature of each target user in each historical time period, and the set temperature of the air conditioner in each historical time period includes:
[0020] If there are M target users whose comparison results match the first comparison result, then based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period, the original adjustment weight of each target user is determined, where M is an integer less than or equal to N.
[0021] Based on the original adjustment weights of each target user, the current adjustment weights of each target user are determined.
[0022] In some implementations, determining the current adjustment weight of each target user based on the comparison results of each target user, the preferred temperature of each target user in each historical time period, and the set temperature of the air conditioner in each historical time period includes:
[0023] If there are P target users whose comparison results are the first comparison result and K target users whose comparison results are the second comparison result, the original adjustment weights of the P target users are determined based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period.
[0024] For the K target users, the historical adjustment weight of the last update of the target user is obtained as the original adjustment weight of the target user, where P and K are both positive integers less than N;
[0025] Based on the original adjustment weights of each target user, the current adjustment weights of each target user are determined.
[0026] In some implementations, determining the current adjustment weight of each target user based on the original adjustment weight of each target user includes:
[0027] The original adjustment weights for each target user are normalized, and the normalized weights corresponding to each target user are used as the current adjustment weights for each target user.
[0028] In some embodiments, the method further includes:
[0029] The multiple sets of preset mapping data are updated according to a preset cycle.
[0030] In a second aspect, embodiments of the present invention provide a control device for an air conditioner, comprising:
[0031] The first acquisition module is used to determine the current preferred temperature of each target user if N target users are identified in the environment where the air conditioner is located, where N is an integer greater than 1.
[0032] The second acquisition module is used to acquire the current adjustment weight of the temperature set by each target user for the air conditioner, wherein the current adjustment weight of each target user is obtained based on the preferred temperature of the N target users in N historical time periods;
[0033] The processing module is used to determine the current set temperature of the air conditioner based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user.
[0034] Thirdly, embodiments of the present invention provide an air conditioner, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the control method of the air conditioner described above.
[0035] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the control method for the air conditioner described above.
[0036] The embodiments of the present invention provide one or more technical solutions that achieve at least the following technical effects or advantages:
[0037] In the air conditioner control method provided in the embodiments of this specification, if N target users are identified in the environment where the air conditioner is located, the current preferred temperature of each target user is determined, where N is an integer greater than 1; the current adjustment weight of each target user for the air conditioner's set temperature is determined, wherein the current adjustment weight corresponding to each target user is obtained based on the preferred temperatures of the N target users over N historical time periods; and the current set temperature of the air conditioner is determined based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user. In this solution, the current adjustment weight of each target user is determined by the preferred temperatures of different target users over historical time periods, making the current adjustment weight more closely aligned with the needs of the target users, thereby ensuring that the final set temperature determined based on the current adjustment weight can match each target user, effectively improving the target user experience. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 A flowchart illustrating a control method for an air conditioner provided in an embodiment of this specification;
[0040] Figure 2 This is a schematic diagram of a control device for an air conditioner provided in an embodiment of this specification;
[0041] Figure 3 This is a schematic diagram of an air conditioner provided as an embodiment of this specification. Detailed Implementation
[0042] This specification provides a control method, apparatus, air conditioner, and medium for an air conditioner, comprising: if N target users are identified in the environment where the air conditioner is located, determining the current preferred temperature of each target user, where N is an integer greater than 1; determining the current adjustment weight of each target user for the set temperature of the air conditioner, wherein the current adjustment weight corresponding to each target user is obtained based on the preferred temperatures of the N target users in N historical time periods; and determining the current set temperature of the air conditioner based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user.
[0043] The solution in the embodiments of this specification determines the current adjustment weight of each target user by the preferred temperature of different target users in historical time periods, so that the current adjustment weight is more in line with the needs of the target users, and thus the current set temperature determined according to the current adjustment weight can match each target user, effectively improving the target user experience.
[0044] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0045] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0046] This specification provides an embodiment of an air conditioner control method, such as... Figure 1 The diagram shown is a flowchart of a control method for an air conditioner provided in an embodiment of this specification. The method includes the following steps:
[0047] Step S101: If N target users are identified in the environment where the air conditioner is located, determine the current preferred temperature of each target user, where N is an integer greater than 1;
[0048] Step S102: Determine the current adjustment weight of the temperature set by each target user for the air conditioner, wherein the current adjustment weight corresponding to each target user is obtained based on the preferred temperature of the N target users in N historical time periods;
[0049] Step S103: Determine the current set temperature of the air conditioner based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user.
[0050] The methods provided in the embodiments of this specification can be applied to air conditioners, servers that are connected to air conditioners, or systems consisting of air conditioners and servers; no limitations are imposed here.
[0051] In step S101, the air conditioner can have multiple users. For example, taking a household air conditioner as an example, the users of the air conditioner can include all members of the family, such as grandparents, parents, and children. The N target users can be multiple users among the users of the air conditioner.
[0052] Identifying N target users in the environment where an air conditioner is located can be achieved in various ways. In some embodiments, the air conditioner can be equipped with an image acquisition device, LiDAR, etc., to acquire feature information of each user in the environment. User feature information includes, but is not limited to, facial information, height information, etc. A correspondence is established between each user and their respective feature information, and stored locally on the air conditioner or in the cloud. When the air conditioner acquires feature information of N target users in the current environment through the image acquisition device, LiDAR, etc., the corresponding target user can be determined by looking up this correspondence.
[0053] In other embodiments, the target user can also directly inform the air conditioner of the target users currently using the air conditioner through voice interaction, or input the N target users currently using the air conditioner through the air conditioner's control panel or the terminal interaction program corresponding to the air conditioner.
[0054] In the embodiments of this specification, the preferred temperature corresponding to a user can be a temperature set by the user to meet their own needs. For example, for user A, the preferred temperature is set to 26°C, and for user B, the preferred temperature is set to 24°C. Of course, the preferred temperature of a target user can also be estimated based on each user's temperature adjustment operations. For example, if user C consistently adjusts the air conditioner's set temperature to 25°C while using it, then 25°C can be considered user C's preferred temperature. Preferred temperatures can also be determined in other ways, which will not be listed here.
[0055] In the embodiments described in this specification, the target user's current temperature can be the most recently updated preferred temperature. It should be understood that a user's preferred temperature may change. For example, user D's preferred temperature might be 24°C, but after a period of time, user D might feel that 24°C is too low and change their preferred temperature to 26°C. In some embodiments, the most recently modified 26°C can be used as user D's current preferred temperature. In other embodiments, the current preferred temperature can be the average of preferred temperatures over a preset time period. If user D changes their preferred temperature from 24°C to 26°C within the preset time period, the average of the two can be used as the most recently updated preferred temperature, i.e., user D's current preferred temperature.
[0056] Each user's current preferred temperature can be stored locally on the air conditioner or in the cloud. After identifying N target users, the corresponding current preferred temperature can be read directly from the local unit or the cloud.
[0057] In step S102, the current adjustment weight for the air conditioner's set temperature can reflect, to some extent, the impact of each user's preferred temperature on the air conditioner's set temperature. The current adjustment weight for each target user is based on their preferred temperature over N historical time periods. Taking N target users as user A and user B (N = 2), it is necessary to obtain the preferred temperatures of user A and user B over two historical time periods. If the two historical time periods are historical time period a and historical time period b, then the preferred temperatures of user A in historical time period a (Ta1), user A in historical time period b (Tb1), user B in historical time period a (Ta2), and user B in historical time period b (Tb2) are determined. The historical time periods can be set according to actual needs. In some embodiments, the historical time periods can be N time periods within the previous day, or N time periods can be selected from the previous three days or the previous week. The current adjustment weight can be determined based on the preferred temperatures of the N target users over the N historical time periods. For example, the preferred temperatures of each target user can be input into a preset model for analysis and processing to obtain the current adjustment weight for each user. The current adjustment weights can also be determined by combining the preferred temperature and other parameters, which is not limited here.
[0058] In the embodiments described in this specification, the current adjustment weight can be calculated in real time or pre-calculated. The two calculation methods will be explained below.
[0059] The first method
[0060] When calculating the current adjustment weight in real time, the current adjustment weight of each target user can be determined through the following steps: for each historical period within the N historical periods, determine the preferred temperature of each target user in that historical period and the set temperature of the air conditioner in that historical period; based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period, determine the current adjustment weight of each target user.
[0061] For ease of explanation, let's continue with the example of N = 2, N target users as user A and user B, and N historical time periods as historical time period a and historical time period b. For each user, their preferred temperature for each time period can be saved. Similarly, the air conditioner's set temperature for each historical time period can also be recorded and saved. When calculating the current adjustment weight, the target user's preferred temperature for each historical time period, as well as the set temperature for each historical time period, can be directly retrieved.
[0062] It should be noted that if a user changes their preferred temperature within the same historical period, for example, if user A first sets their preferred temperature to 25℃ in historical period a, and then changes it to 26℃ before the end of historical period a, then the average of the multiple preferred temperatures can be used as the preferred temperature for that historical period, or the last modified preferred temperature can be used as the preferred temperature for that historical period. There is no limitation here.
[0063] For each historical period, the air conditioner has a corresponding actual set temperature during operation. If the set temperature of the air conditioner is modified multiple times during the same period, such as user A first adjusting the set temperature from 24℃ to 26℃, and user B then adjusting the set temperature from 26℃ to 25℃, then the average of the multiple set temperatures of the air conditioner during that historical period can be used as the set temperature of the air conditioner during that historical period, or the last modified set temperature can be used as the set temperature of the air conditioner during that historical period.
[0064] After determining the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period, the current adjustment weight of each target user can be determined in a variety of ways.
[0065] In some embodiments, the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period can be input into a pre-established weight determination model. The model processes the input data and outputs the current adjustment weight of each target user.
[0066] In other embodiments, a system of equations for the weights can be constructed, and the weights can be calculated by solving the system of equations. Continuing with the example of N=2 above, user A's preferred temperature Ta1 in historical time period a, user A's preferred temperature Tb1 in historical time period b, user B's preferred temperature Ta2 in historical time period a, user B's preferred temperature Tb2 in historical time period b, the air conditioner's set temperature in historical time period a is Ts1, and the air conditioner's set temperature in historical time period b is Ts2. The current adjustment weights for user A and user B can be obtained by solving the following system of equations:
[0067]
[0068] Where α is the original adjustment weight for user A and β is the original adjustment weight for user B. The original adjustment weights can be further normalized to obtain the current adjustment weights for users A and B. Alternatively, the original adjustment weights can be directly used as the current adjustment weights for the corresponding users; this is not a limitation here.
[0069] The second method
[0070] When the current adjustment weight is pre-calculated, the current adjustment weights of N target users can be determined based on the following steps: Based on the N target users, target mapping data matching the N target users is determined from multiple sets of preset mapping data. Each set of preset mapping data includes at least two users and the current adjustment weight corresponding to each user. The users included in each set of preset mapping data are not completely the same. The current adjustment weight corresponding to each target user in the target mapping data is determined by the following steps: For each historical period within the N historical periods, the preferred temperature of each target user in that historical period and the set temperature of the air conditioner in that historical period are determined. Based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period, the current adjustment weight of each target user is determined.
[0071] It should be understood that an air conditioner can have multiple users, and the N target users may be some of these multiple users. For example, if the air conditioner has 4 users, the N target users may be two, three, or four of these 4 users. In other words, there are multiple combinations of users using the air conditioner. For instance, the air conditioner might detect user A and user B as the N target users in the morning, and user A, user C, and user D as the N target users in the afternoon. Regarding the temperature control of the air conditioner, each user in each user combination has its own adjustment weight. Therefore, to improve the accuracy of the air conditioner's temperature control and make the set temperature closer to each user's preferred temperature, the embodiments in this specification can pre-calculate the adjustment weights corresponding to each possible user combination, constructing mapping data for each user combination.
[0072] For ease of explanation, let's take an air conditioner with three users as an example: User A, User B, and User C. The air conditioner can potentially identify multiple users in the following combinations: Combination 1: User A and User B; Combination 2: User A and User C; Combination 3: User B and User C; Combination 4: User A, User B, and User C. For each user combination, there is corresponding mapping data. That is, for each user combination, the current adjustment weight of each user in that combination is calculated, forming the mapping data corresponding to that user combination.
[0073] It should be noted that, for each set of mapped data, the calculation method for the current adjustment weight of each user in that set of mapped data is similar to the method described in the first method above. For example, for combination 1, the preferred temperatures of user A and user B in historical time period a and historical time period b, respectively, and the set temperatures in historical time period a and historical time period b are obtained. Based on the pre-established weight determination model or solving the system of equations, the current adjustment weight of user A and the current adjustment weight of user B in combination 1 are determined.
[0074] For example, in combination 4, which includes three users: User A, User B, and User C, it is necessary to obtain the preferred temperature for each user in three historical time periods, as well as the set temperature of the air conditioner in these three historical time periods. If these three historical time periods are historical time period c, historical time period d, and historical time period e, then the preferred temperatures for User A in historical time periods c, d, and e, the preferred temperatures for User B in historical time periods c, d, and e, and the preferred temperatures for User C in historical time periods c, d, and e, as well as the set temperatures of the air conditioner in historical time periods c, d, and e, and e. Furthermore, the above data is input into a pre-established weight determination model or a system of simultaneous equations to solve for the current adjustment weights of User A, User B, and User C in combination 4.
[0075] For each user combination, corresponding mapping data can be constructed using the above method. After identifying N target users, each set of mapping data user combinations is matched with the N target users to determine the user combinations corresponding to the N target users. The mapping data corresponding to this user combination is then used as the target mapping data. The current adjustment weights corresponding to the N target users can be obtained from the target mapping data.
[0076] It should be noted that for the method of pre-calculating the current adjustment weight, multiple sets of preset mapping data can be updated according to a preset period. The preset period can be set according to actual needs, for example, it can be one day, three days, one week, etc. In some embodiments, multiple sets of preset mapping data can be updated at midnight every day. It should be understood that if the preferred temperature of each user does not change within N historical periods, it indicates that the multiple mapping relationships are still applicable and do not need to be updated. If the preferred temperature of a user changes within N historical periods, the mapping data containing that user can be updated.
[0077] As can be seen from the above, regardless of whether it is calculated in real time or in advance, the current weights of N target users can be determined through the following steps: For each historical period within N historical periods, determine the preferred temperature of each target user in that historical period and the set temperature of the air conditioner in that historical period; based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period, determine the current adjustment weight of each target user.
[0078] In this embodiment of the specification, the current adjustment weight of each target user can also be determined through the following steps: determining the initial preferred temperature of each target user, wherein the initial preferred temperature is the preferred temperature determined before the earliest historical period among the N historical periods; for each target user, comparing the initial preferred temperature of the target user with the preferred temperature of the target user in each historical period to obtain a comparison result, wherein the comparison result includes a first comparison result indicating that the preferred temperature has changed and a second comparison result indicating that the preferred temperature has not changed; and determining the current adjustment weight of each target user based on the comparison result of each target user, the preferred temperature of each target user in each historical period, and the set temperature of the air conditioner in each historical period.
[0079] In scenarios where multiple users operate an air conditioner, only some users' preferred temperatures may change. Different methods can be chosen to calculate the current adjustment weight for users whose preferred temperatures have changed and for those whose preferred temperatures have not. Therefore, in this embodiment, it can be first determined whether the preferred temperature of each target user has changed. Specifically, when determining the initial preferred temperature, the earliest historical time period is determined from N historical time periods, and the preferred temperature of the target user within the time period preceding and closest to the first historical time period is used as the initial time period.
[0080] The initial preferred temperature of each target user is compared with the preferred temperature in N historical time periods corresponding to that target user. If the preferred temperature in at least one of the N historical time periods is different from the initial preferred temperature, the comparison result of the target user is the first comparison result indicating that the preferred temperature has changed. If the preferred temperature in each of the N historical time periods is the same as the initial preferred temperature, the comparison result is the second comparison result indicating that the preferred temperature has not changed.
[0081] In the embodiments of this specification, the current adjustment weight of each target user can be determined in a variety of ways based on the comparison results of each target user, the preferred temperature of each target user in each historical period, and the set temperature of the air conditioner in each historical period. Two of these methods are described below.
[0082] First implementation method
[0083] If there are M target users whose comparison results match the first comparison result, then based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period, the original adjustment weight of each target user is determined, where M is an integer less than or equal to N; based on the original adjustment weight of each target user, the current adjustment weight of each target user is determined.
[0084] Specifically, if the preferred temperature of one or more of the N target users changes, the adjustment weights of the N target users need to be updated. Taking the simultaneous equations method described above as an example, an equation system is established based on each target user's preferred temperature and set temperature in each historical period. The original adjustment weights for each target user are obtained by solving the equation system.
[0085] In some embodiments, the original adjustment weights for each target user can be normalized, and the normalized weights corresponding to each target user can be used as the current adjustment weights for each target user.
[0086] For ease of explanation, let's take N target users, user A and user B, as an example. The N historical time periods include a first historical time period and a second historical time period. User A and user B's initial preferred temperatures are 24℃ and 18℃, respectively. In the first historical time period, their preferred temperatures are 24℃ and 18℃, respectively. In the second historical time period, their preferred temperatures are 22℃ and 20℃, respectively. The air conditioner's set temperature is 20.4℃ in the first historical time period and 21.6℃ in the second historical time period. It can be seen that the preferred temperatures of both user A and user B have changed. The following system of equations can be solved simultaneously:
[0087]
[0088] Solving the system of equations, we obtain the original adjustment weight α = 0.23 for user A and β = 0.83 for user B. After normalizing the original adjustment weights, we obtain the current adjustment weight of user A as 0.22 and the original adjustment weight of user B as 0.78.
[0089] The second implementation method
[0090] If there are P target users whose comparison results are the first comparison result and K target users whose comparison results are the second comparison result, the original adjustment weights of the P target users are determined based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period; for the K target users, the historical adjustment weights updated last time for each target user are obtained as the original adjustment weights of that target user, where P and K are both positive integers less than N; and the current adjustment weights of each target user are determined based on the original adjustment weights of each target user.
[0091] Considering that only some of the N target users have changed their preferred temperature, while the preferred temperature of others has not changed, when updating the adjustment weights, the previous adjustment weights can be used for users whose preferred temperature has not changed, that is, the historical adjustment weights updated last time can be used for those users.
[0092] Specifically, P target users whose alignment result is the first alignment result and K target users whose alignment result is the second alignment result are identified, where the sum of P and K is N. In some embodiments, the original adjustment weight of each target user can be determined by solving the above system of simultaneous equations. However, for the K target users whose preferred temperature has not changed, the original adjustment weights of the K target users are replaced with the historical adjustment weights updated in the last update. That is, the adjustment weights of the K target users are used, and then normalization is performed to obtain the current adjustment weight of each user.
[0093] For ease of explanation, let's take N target users, user A and user B, as an example. The N historical time periods include a first historical time period and a second historical time period. The initial preferred temperatures for users A and B are 24℃ and 18℃, respectively. In the first historical time period, their preferred temperatures are 24℃ and 18℃, respectively. In the second historical time period, their preferred temperatures are 24℃ and 17℃, respectively. The air conditioner's set temperature is 20.4℃ in the first historical time period and 19.5℃ in the second historical time period. It can be seen that user A's preferred temperature has not changed, while user B's preferred temperature has changed. User A's last updated historical adjustment weight was 0.4. The following system of equations can be solved simultaneously:
[0094]
[0095] Solving the system of equations, we obtain the original adjustment weight β = 0.83 for user B. Since user A's preferred temperature has not changed, user A's original adjustment weight remains the historical adjustment weight of 0.4 from the last update. After normalizing the original adjustment weights of user A and user B, we obtain the current adjustment weight of user A as 0.31 and the original adjustment weight of user B as 0.69.
[0096] To better understand the method provided in the embodiments of this specification, the following example illustrates the method with N target users, namely user A and user B, and updating the current adjustment weight at 11 PM every night. The two historical time periods are the morning and afternoon periods of the current day. The method includes the following steps:
[0097] Step 1: The air conditioner identifies the target users in the current environment as user A and user B, and determines the current preferred temperature Ta of user A and the current preferred temperature Tb of user B;
[0098] Step 2: Obtain the current adjustment weight α for user A and the current adjustment weight β for user B, which were updated at 11 PM last night;
[0099] Step 3: Calculate the current set temperature of the air conditioner, Ts = α*Ta + β*Tb;
[0100] Step 4: Update the current adjustment weights for user A and user B at 11 PM;
[0101] When updating the current adjustment weights, the preferred temperatures of users A and B during the morning session, the preferred temperatures of users A and B during the afternoon session, the set temperatures of the air conditioner during the morning session, and the set temperatures of the air conditioner during the afternoon session are obtained. The updated current adjustment weights are obtained by solving a system of simultaneous equations or by inputting the data into a pre-built weight determination model.
[0102] After obtaining the current set temperature of the air conditioner, the air conditioner operates according to the current set temperature, and controls the adjustment of parameters such as fan and frequency to make the ambient temperature approach the current set temperature.
[0103] In summary, the embodiments in this specification adjust the adjustment weight of each user's air conditioner temperature setting by using preferred temperature. This makes the adjustment weight more closely match the user's needs. When the user's preferred temperature changes, the weight can be updated in a timely manner to ensure that the air conditioner's set temperature meets the user's changing needs. Furthermore, adjusting the adjustment weight of each user by using preferred temperature requires less data, saving computational resources and reducing the time consumed by weight updates, effectively improving the user experience.
[0104] Based on the same inventive concept, embodiments of the present invention provide a control device for an air conditioner, such as... Figure 2 As shown, the device includes:
[0105] The first acquisition module 201 is used to determine the current preferred temperature of each target user if N target users are identified in the environment where the air conditioner is located, where N is an integer greater than 1;
[0106] The second acquisition module 202 is used to acquire the current adjustment weight of the temperature set by each target user for the air conditioner, wherein the current adjustment weight of each target user is obtained based on the preferred temperature of the N target users in N historical time periods;
[0107] The processing module 203 is used to determine the current set temperature of the air conditioner based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user.
[0108] In some implementations, the second acquisition module 202 is used for:
[0109] For each of the N historical time periods, determine the preferred temperature of each target user in that historical time period, and determine the set temperature of the air conditioner in that historical time period;
[0110] Based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period, the current adjustment weight of each target user is determined.
[0111] In some implementations, the second acquisition module 202 is used for:
[0112] Based on the N target users, target mapping data matching the N target users is determined from multiple sets of preset mapping data. Each set of preset mapping data includes at least two users and the current adjustment weight corresponding to each user. The users included in each set of preset mapping data are not completely the same.
[0113] The current adjustment weight corresponding to each target user in the target mapping data is determined through the following steps: for each historical period within the N historical periods, the preferred temperature of each target user in that historical period and the set temperature of the air conditioner in that historical period are determined; based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period, the current adjustment weight of each target user is determined.
[0114] In some embodiments, the apparatus further includes:
[0115] The third acquisition module is used to determine the initial preference temperature of each target user, wherein the initial preference temperature is the preference temperature determined before the earliest historical period among the N historical periods;
[0116] The comparison module is used to compare the initial preferred temperature of each target user with the preferred temperature of the target user in each historical time period to obtain a comparison result. The comparison result includes a first comparison result indicating that the preferred temperature has changed and a second comparison result indicating that the preferred temperature has not changed.
[0117] The second acquisition module 202 is used to: determine the current adjustment weight of each target user based on the comparison results of each target user, the preferred temperature of each target user in each historical time period, and the set temperature of the air conditioner in each historical time period.
[0118] In some implementations, the second acquisition module 202 is used for:
[0119] If there are M target users whose comparison results match the first comparison result, then based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period, the original adjustment weight of each target user is determined, where M is an integer less than or equal to N.
[0120] Based on the original adjustment weights of each target user, the current adjustment weights of each target user are determined.
[0121] In some implementations, the second acquisition module 202 is used for:
[0122] If there are P target users whose comparison results are the first comparison result and K target users whose comparison results are the second comparison result, the original adjustment weights of the P target users are determined based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period.
[0123] For the K target users, the historical adjustment weight of the last update of the target user is obtained as the original adjustment weight of the target user, where P and K are both positive integers less than N;
[0124] Based on the original adjustment weights of each target user, the current adjustment weights of each target user are determined.
[0125] In some implementations, the second acquisition module 202 is used for:
[0126] The original adjustment weights for each target user are normalized, and the normalized weights corresponding to each target user are used as the current adjustment weights for each target user.
[0127] In some embodiments, the apparatus further includes:
[0128] The update module is used to update the multiple sets of preset mapping data according to a preset period.
[0129] Regarding the above-mentioned device, the specific functions of each module have been described in detail in the embodiments of the air conditioner control method provided in this specification, and will not be elaborated here.
[0130] Based on the same inventive concept, embodiments of the present invention provide an air conditioner, see reference. Figure 3 As shown, the device includes a memory 304, a processor 302, and a computer program stored in the memory 304 and executable on the processor 302. When the processor 302 executes the program, it implements any one of the embodiments of the air conditioner control method.
[0131] Among them, Figure 3 In this document, a bus architecture (represented by bus 300) is used. Bus 300 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 302 and memory represented by memory 304. Bus 300 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 305 provides an interface between bus 300 and receiver 301 and transmitter 303. Receiver 301 and transmitter 303 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 302 is responsible for managing bus 300 and general processing, while memory 304 can be used to store data used by processor 302 during operation.
[0132] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this invention and the appended claims. For example, due to the nature of software, the functions described above can be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units can be integrated into a single processing unit, or each unit can exist physically separately, or two or more units can be integrated into a single unit.
[0133] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0134] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0135] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0136] The above description is merely an embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of the claims of the present invention.
Claims
1. A control method for an air conditioner, characterized in that, include: If N target users are identified in the environment where the air conditioner is located, determine the current preferred temperature of each target user, where N is an integer greater than 1; Obtain the current adjustment weight of the temperature set by each target user for the air conditioner, wherein the current adjustment weight of each target user is obtained based on the preferred temperature of the N target users in N historical time periods; The current set temperature of the air conditioner is determined based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user.
2. The method as described in claim 1, characterized in that, The step of obtaining the current adjustment weight of each target user for the temperature set on the air conditioner includes: For each of the N historical time periods, determine the preferred temperature of each target user in that historical time period, and determine the set temperature of the air conditioner in that historical time period; Based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period, the current adjustment weight of each target user is determined.
3. The method as described in claim 1, characterized in that, The step of obtaining the current adjustment weight of each target user for the temperature set on the air conditioner includes: Based on the N target users, target mapping data matching the N target users is determined from multiple sets of preset mapping data. Each set of preset mapping data includes at least two users and the current adjustment weight corresponding to each user. The users included in each set of preset mapping data are not completely the same. The current adjustment weight corresponding to each target user in the target mapping data is determined through the following steps: for each historical period within the N historical periods, the preferred temperature of each target user in that historical period and the set temperature of the air conditioner in that historical period are determined; based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period, the current adjustment weight of each target user is determined.
4. The method as described in claim 2 or 3, characterized in that, The method further includes: Determine the initial preference temperature for each target user, wherein the initial preference temperature is the preference temperature determined before the earliest historical period among the N historical periods; For each target user, the initial preferred temperature of the target user is compared with the preferred temperature of the target user in each historical time period to obtain a comparison result. The comparison result includes a first comparison result indicating that the preferred temperature has changed and a second comparison result indicating that the preferred temperature has not changed. Determining the current adjustment weight for each target user includes: Based on the comparison results of each target user, the preferred temperature of each target user in each historical period, and the set temperature of the air conditioner in each historical period, the current adjustment weight of each target user is determined.
5. The method as claimed in claim 4, characterized in that, The determination of the current adjustment weight for each target user based on the comparison results of each target user, the preferred temperature of each target user in each historical time period, and the set temperature of the air conditioner in each historical time period includes: If there are M target users whose comparison results match the first comparison result, then based on the preferred temperature of each target user in each historical time period and the set temperature of the air conditioner in each historical time period, the original adjustment weight of each target user is determined, where M is an integer less than or equal to N. Based on the original adjustment weights of each target user, the current adjustment weights of each target user are determined.
6. The method as described in claim 4, characterized in that, The determination of the current adjustment weight for each target user based on the comparison results of each target user, the preferred temperature of each target user in each historical time period, and the set temperature of the air conditioner in each historical time period includes: If there are P target users whose comparison results are the first comparison result and K target users whose comparison results are the second comparison result, the original adjustment weights of the P target users are determined based on the preferred temperature of each target user in each historical period and the set temperature of the air conditioner in each historical period. For the K target users, the historical adjustment weight of the last update of the target user is obtained as the original adjustment weight of the target user, where P and K are both positive integers less than N; Based on the original adjustment weights of each target user, the current adjustment weights of each target user are determined.
7. The method as described in claim 6, characterized in that, The step of determining the current adjustment weight of each target user based on the original adjustment weight of each target user includes: The original adjustment weights for each target user are normalized, and the normalized weights corresponding to each target user are used as the current adjustment weights for each target user.
8. The method as described in claim 3, characterized in that, The method further includes: The multiple sets of preset mapping data are updated according to a preset cycle.
9. A control device for an air conditioner, characterized in that, include: The first acquisition module is used to determine the current preferred temperature of each target user if N target users are identified in the environment where the air conditioner is located, where N is an integer greater than 1. The second acquisition module is used to acquire the current adjustment weight of the temperature set by each target user for the air conditioner, wherein the current adjustment weight of each target user is obtained based on the preferred temperature of the N target users in N historical time periods; The processing module is used to determine the current set temperature of the air conditioner based on the current adjustment weight corresponding to each target user and the current preferred temperature of each target user.
10. An air conditioner, 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, when executing the program, implements the method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1-8.