Air conditioner control method and device, air conditioner and storage medium
By acquiring the location information of the space where the air conditioner is located and performing temperature correction, the problem of the air conditioner's inability to accurately sense the ambient temperature is solved, enabling accurate temperature control of the air conditioner, avoiding excessive cooling output, and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2026-05-26
AI Technical Summary
The air conditioner cannot recognize the room's layout, causing it to output excessive cooling when it mistakenly senses a high ambient temperature, thus affecting the user experience.
By obtaining the location information of the space where the air conditioner is located, determining the temperature correction value, and controlling the temperature according to the corrected target temperature, the problem of the air conditioner being unable to accurately sense the ambient temperature is solved.
It achieves accurate temperature control of the air conditioner, avoids excessive cooling output, and improves the user experience.
Smart Images

Figure CN122083483A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioner technology, and in particular to air conditioner control methods, devices, air conditioners and storage media. Background Technology
[0002] Air conditioners are located in complex home environments with various structural layouts. Air conditioners cannot recognize the room's shape and will maintain high cooling output when they sense a high ambient temperature, resulting in poor control. For example, a common heat leakage situation occurs when the air conditioner is installed on a wall with a window. In the hot summer, due to insufficient window sealing or users' habitual leaving gaps, the air conditioner may sense a high ambient temperature, leading to a problem where it maintains a high cooling output for an extended period. This results in a cycle of the air conditioner sensing heat → high cooling output → cold indoor air, thus affecting the user experience. Summary of the Invention
[0003] The main objective of this application is to provide an air conditioner control method, device, air conditioner, and storage medium, aiming to solve the technical problem in the prior art where the air conditioner cannot know the layout of the space, causing the air conditioner to fail to control when it mistakenly senses that the ambient temperature is high.
[0004] To achieve the above objectives, this application proposes an air conditioner control method, which includes:
[0005] Obtain the location information of the space where the air conditioner is located;
[0006] When the location information of the space where the air conditioner is located meets the temperature correction conditions, the temperature correction value of the air conditioner is determined;
[0007] The target temperature is corrected based on the temperature correction value to obtain the corrected target temperature;
[0008] The air conditioner is temperature controlled based on the corrected target temperature.
[0009] In one embodiment, the step of obtaining the location information of the space where the air conditioner is located includes:
[0010] The positions of multiple space walls and the wall positions of each space wall in the space where the air conditioner is located are determined based on the first position sequence collected by the air conditioner's position sensor during a historical time period.
[0011] Based on the second position sequence collected by the position sensor during the monitoring period and the wall positions of each space wall, the target wall is determined among multiple space walls, and the location information of the space where the air conditioner is located is obtained.
[0012] In one embodiment, the step of obtaining the location information of the space where the air conditioner is located further includes:
[0013] When the location of the air conditioner coincides with the location of the target wall, the location information of the space where the air conditioner is located is determined to meet the temperature correction conditions.
[0014] In one embodiment, the step of determining multiple space walls and the wall positions of each space wall in the space where the air conditioner is located based on a first position sequence collected by the air conditioner's position sensor over a historical time period includes:
[0015] The user's multiple historical coordinates within a historical time period are determined based on the first location sequence collected by the air conditioner's position sensor during the historical time period.
[0016] The spatial area of the space where the air conditioner is located is determined by calculating the area based on each historical coordinate.
[0017] The location of the multiple spatial walls of the space where the air conditioner is located and the wall positions of each spatial wall are determined based on the space area.
[0018] In one embodiment, the step of calculating the area of the space where the air conditioner is located based on historical coordinates includes:
[0019] The first direction coordinate values and the second direction coordinate values of each historical coordinate are sorted to obtain the first coordinate sequence and the second coordinate sequence.
[0020] The first spatial span of the space where the air conditioner is located is determined based on the first coordinate sequence;
[0021] The second spatial span of the space where the air conditioner is located is determined according to the second coordinate sequence;
[0022] The area of the space where the air conditioner is located is determined by calculating the area based on the first spatial span and the second spatial span.
[0023] In one embodiment, the step of determining the target wall among multiple spatial walls based on the second position sequence collected by the position sensor during the monitoring time period and the wall positions of each spatial wall includes:
[0024] Based on the second position sequence collected by the position sensor during the monitoring period and the wall positions of each space wall, the space wall corresponding to each monitoring point during the monitoring period is determined among multiple space walls.
[0025] The number of times each space wall appears is determined by statistically analyzing the spatial walls corresponding to each monitoring point.
[0026] The target wall is determined from among the walls in multiple spaces based on the frequency of their appearance.
[0027] In one embodiment, before the step of determining the target wall among multiple spatial walls based on the second position sequence collected by the position sensor during the monitoring time period and the wall positions of each spatial wall, the method further includes:
[0028] Obtain the operating time and preset timing window of the air conditioner;
[0029] The monitoring time period is determined based on the running time and the preset time window.
[0030] In one embodiment, the step of obtaining the location information of the space where the air conditioner is located includes:
[0031] Obtain spatial layout information of the space where the air conditioner is located;
[0032] Based on the spatial layout information, the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located is determined, and the location information of the space where the air conditioner is located is obtained.
[0033] In one embodiment, the step of obtaining the location information of the space where the air conditioner is located is followed by:
[0034] When the arrangement is such that the air conditioner is located on the same wall in the same space, the location information of the space where the air conditioner is located is determined to meet the temperature correction conditions.
[0035] In one embodiment, the step of determining the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located based on the spatial layout information includes:
[0036] Based on the spatial layout information, determine the first position corresponding to the air conditioner, the second position corresponding to the spatial window of the space where the air conditioner is located, and the wall positions of multiple spatial walls in the space where the air conditioner is located.
[0037] The layout relationship between the air conditioner and the space window is determined by judging the position based on the first position corresponding to the air conditioner, the second position corresponding to the space window, and the wall position of each space wall.
[0038] In one embodiment, after determining the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located based on the spatial layout information, the method further includes:
[0039] When the arrangement relationship is that the air conditioner is on an adjacent wall, the first position corresponding to the air conditioner and the second position corresponding to the space window of the space where the air conditioner is located are determined according to the spatial layout information.
[0040] The distance between the air conditioner and the space window is calculated based on the first position corresponding to the air conditioner and the second position corresponding to the space window, thereby obtaining the position information of the space where the air conditioner is located.
[0041] In one embodiment, the step of obtaining the location information of the space where the air conditioner is located is followed by:
[0042] When the distance between the locations is less than the distance threshold, the location information of the space where the air conditioner is located is determined to meet the temperature correction conditions.
[0043] In one embodiment, the step of determining the temperature correction value of the air conditioner includes:
[0044] Obtain the cooling amplitude of multiple first samples and multiple cooling amplitudes of multiple second samples;
[0045] The average values of the cooling amplitudes of multiple first samples and multiple second samples are calculated to obtain the average value of the first amplitude and the average value of the second amplitude.
[0046] The difference between the first average amplitude and the second average amplitude is calculated to determine the temperature drop difference.
[0047] The temperature correction value of the air conditioner is obtained based on the difference in the cooling rate.
[0048] Furthermore, to achieve the above objectives, this application also proposes an air conditioner control device, which includes:
[0049] The acquisition module is used to acquire the location information of the space where the air conditioner is located;
[0050] The processing module is used to determine the temperature correction value of the air conditioner when the location information of the space where the air conditioner is located meets the temperature correction conditions;
[0051] The correction module is used to correct the target temperature based on the temperature correction value to obtain the corrected target temperature;
[0052] The control module is used to control the temperature of the air conditioner according to the corrected target temperature.
[0053] In addition, to achieve the above objectives, this application also proposes an air conditioner, which includes: a memory, a processor, and an air conditioner control program stored in the memory and executable on the processor, wherein the air conditioner control program is configured to implement the air conditioner control method described above.
[0054] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the air conditioner control method described above.
[0055] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the air conditioner control method described above.
[0056] The one or more technical solutions proposed in this application, when the location information of the space where the air conditioner is located meets the temperature correction conditions, enter the temperature correction process based on the temperature correction value to control the temperature of the air conditioner. This solves the problem that the air conditioner cannot know the layout of the space, which leads to the air conditioner's control failure when it mistakenly senses that the ambient temperature is high. This ensures accurate control of the air conditioner, avoids the occurrence of large cooling output, and improves the user experience. Attached Figure Description
[0057] 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.
[0058] 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.
[0059] Figure 1 This is a flowchart illustrating an embodiment of the air conditioner control method of this application.
[0060] Figure 2 A schematic diagram of the spatial layout provided for the air conditioner control method in Embodiment 1 of this application;
[0061] Figure 3 This is a flowchart illustrating Embodiment 2 of the air conditioner control method of this application;
[0062] Figure 4 A schematic diagram of human body position provided for the air conditioner control method of Embodiment 2 of this application;
[0063] Figure 5 This is a flowchart illustrating Embodiment 3 of the air conditioner control method of this application;
[0064] Figure 6 This is a flowchart illustrating Embodiment 4 of the air conditioner control method of this application;
[0065] Figure 7 This is a flowchart illustrating Embodiment 5 of the air conditioner control method of this application;
[0066] Figure 8 This is a schematic diagram of the module structure of the air conditioner control device according to an embodiment of this application;
[0067] Figure 9 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the air conditioner control method in the embodiments of this application.
[0068] 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
[0069] 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.
[0070] 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.
[0071] Air conditioners are located in complex home environments with various structural layouts. Air conditioners cannot recognize the room's shape and may maintain high cooling output when the ambient temperature is high, resulting in poor control. For example, a common heat leakage situation occurs when the air conditioner is installed on a wall with a window. In the hot summer, due to insufficient window sealing or users' habitual leaving gaps, the air conditioner may sense a high ambient temperature, leading to a prolonged period of high cooling output. This results in a cycle of the air conditioner sensing heat → high cooling output → cold indoor temperature, causing numerous user complaints about excessive cold in the summer and negatively impacting user experience.
[0072] This application provides a solution that, when the location information of the space where the air conditioner is located meets the temperature correction conditions, enters the temperature correction process based on the temperature correction value to control the temperature of the air conditioner. This solves the problem that the air conditioner cannot know the layout of the space, causing the air conditioner to fail to control when it mistakenly senses that the ambient temperature is high. This ensures accurate control of the air conditioner, avoids the occurrence of large cooling output, and improves the user experience.
[0073] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as an air conditioner, a fresh air system, etc., or an electronic device or air conditioner capable of performing the above functions. The following description uses an air conditioner as an example to illustrate this embodiment and the subsequent embodiments.
[0074] Based on this, the present application provides an air conditioner control method, referring to... Figure 1, Figure 1 This is a flowchart illustrating the first embodiment of the air conditioner control method of this application.
[0075] In this embodiment, the air conditioner control method includes steps S10 to S40:
[0076] Step S10: Obtain the location information of the space where the air conditioner is located.
[0077] It should be noted that the location information of the space where the air conditioner is located includes, but is not limited to, the wall positions of each wall in the space where the air conditioner is located, the wall where the window of the space where the air conditioner is located is located, the distance between the window and the air conditioner, and whether the window and the air conditioner are on the same wall. In this embodiment, when the user inputs spatial layout information, the distance between the window and the air conditioner, and whether the air conditioner and the window are on the same wall can be determined based on the spatial layout information. The spatial layout information includes, but is not limited to, the actual location information of the air conditioner, each wall in the space where the air conditioner is located, and the window in the space where the air conditioner is located.
[0078] It is understandable that when the user input does not contain spatial layout information, the position of the human body can be collected by the position sensor in the air conditioner. The position can be calculated by collecting the human body position sequence to determine the position of the walls of each space in the space where the air conditioner is located, the space wall where the space window of the space where the air conditioner is located is located, and whether the space window of the space where the air conditioner is located is on the same wall as the air conditioner.
[0079] In this embodiment, the air conditioner contains a position sensor for collecting the position of a human body. The position sensor can be any of the following: an infrared sensor, an ultrasonic sensor, a microwave radar sensor, or other devices that can perform the above functions.
[0080] Step S20: When the location information of the space where the air conditioner is located meets the temperature correction conditions, determine the temperature correction value of the air conditioner.
[0081] It should be noted that when the air conditioner and the window of the space where the air conditioner is located are on the same wall (e.g., Figure 2 As shown in Figure A, there may be heat leakage through the window of the space where the air conditioner is located. Furthermore, since the wall with the window is in direct contact with the outside environment, changes in the outside temperature will affect that wall. Therefore, when the air conditioner and the window of the space where it is located are on the same wall, the temperature sensor built into the air conditioner may not accurately reflect the true average temperature of the space.
[0082] It is understandable that when the air conditioner and the window of the space where the air conditioner is located are on adjacent walls and the distance between the air conditioner and the window of the space where the air conditioner is located is less than a distance threshold (e.g.) Figure 2 As shown in B), heat leakage through the space window can also cause the temperature sensor built into the air conditioner to fail to accurately reflect the true average temperature of the space where the air conditioner is located.
[0083] Therefore, when the air conditioner and the window of the space where the air conditioner is located are on the same wall, or when the air conditioner and the window of the space where the air conditioner is located are on adjacent walls and the distance between the two windows is less than a distance threshold, the location information of the space where the air conditioner is located is determined to meet the temperature correction condition. In this embodiment, the window of the space where the air conditioner is located is a heat exchange vent between the space where the air conditioner is located and the external environment, such as a room window.
[0084] It is understandable that when the location information of the space where the air conditioner is located meets the temperature correction conditions, it is necessary to perform temperature correction on the air conditioner to reduce the influence of external factors on the perception of indoor temperature. At this time, the temperature correction value under the correction process is determined. In this embodiment, the temperature correction value can be a value set by the user in advance, or it can be calculated based on a large amount of sample temperature data. This embodiment does not restrict the source of the temperature correction value.
[0085] In practice, in addition to the above-mentioned method of temperature correction when the location information of the space where the air conditioner is located meets the temperature correction conditions, the user can also directly control and determine the temperature correction, in which case the temperature correction value is directly determined.
[0086] It should be noted that if the air conditioner and the window of the space where the air conditioner is located are not on the same wall, and the distance between the windows of the air conditioner and the space where the air conditioner is located is not less than the distance threshold, the location information of the space where the air conditioner is located is determined not to meet the temperature correction conditions. If the location information of the space where the air conditioner is located does not meet the temperature correction conditions and the user does not control the air conditioner to perform temperature correction, no temperature correction will be performed, and the air conditioner will be controlled according to the pre-set temperature control target.
[0087] In one feasible implementation, step S20 may further include steps A11 to A14:
[0088] Step A11: Obtain the cooling range of multiple first samples and multiple cooling ranges of multiple second samples.
[0089] It should be noted that the operating data of N air conditioners are collected, where the air conditioner and the window of the space where the air conditioner is located are on the same wall, or the air conditioner and the window of the space where the air conditioner is located are on adjacent walls and the distance between the windows of the air conditioner and the space is less than a distance threshold. Based on the operating data of N air conditioners, the temperature drop ΔT within a preset time period after startup is determined. degrade The temperature drop ΔT that occurs when the above N air conditioners reach the preset time after startup and operation. degrade This is the temperature drop of the first sample. In this embodiment, the preset duration can be set to 20 minutes, for example, to obtain the temperature drop of the air conditioner after 20 minutes of operation.
[0090] Understandably, the system collects operating data from N air conditioners whose windows are not on the same wall as the air conditioners and whose distances between the windows are not less than a distance threshold. Based on this data, the system determines the temperature drop ΔT within a preset time period after the air conditioners start operating. vanilla The temperature drop ΔT that occurs when the above N air conditioners reach the preset time after startup and operation. vanilla This is the temperature at which the second sample decreased.
[0091] Step A12: Calculate the average of the cooling amplitudes of multiple first samples and multiple second samples respectively to obtain the average of the first amplitude and the average of the second amplitude.
[0092] It should be noted that the mean value of the temperature drop of multiple first samples is calculated, and the calculated mean value is the first amplitude mean ΔT1; the mean value of the temperature drop of multiple second samples is calculated, and the calculated mean value is the second amplitude mean ΔT2.
[0093] Step A13: Calculate the difference between the first and second average amplitude values to determine the temperature drop difference.
[0094] Step A14: Obtain the temperature correction value for the air conditioner based on the difference in temperature drop.
[0095] It should be noted that the difference between the first and second amplitude averages is used to obtain the temperature difference ΔT. adjust =ΔT2-ΔT1. In this embodiment, the temperature difference of the drop can be a positive value, and the temperature difference of the drop is used as the temperature correction value of the air conditioner.
[0096] Step S30: Correct the target temperature according to the temperature correction value to obtain the corrected target temperature.
[0097] It should be noted that the target temperature T goalThe target temperature is set in advance, and the target temperature is adjusted according to the temperature correction value to obtain the corrected target temperature T'. goal =Tgoal + ΔT adjust .
[0098] Step S40: Perform temperature control on the air conditioner according to the corrected target temperature.
[0099] It should be noted that after obtaining the corrected target temperature, the air conditioner's temperature control target is adjusted to the corrected target temperature to maintain the stability and comfort of the indoor temperature.
[0100] By using the above method, when the location information of the space where the air conditioner is located meets the temperature correction conditions, the temperature correction process is entered based on the temperature correction value to control the temperature of the air conditioner. This solves the problem that the air conditioner cannot know the layout of the space, which leads to the air conditioner's control failure when it mistakenly senses that the ambient temperature is high. This ensures accurate control of the air conditioner, avoids the occurrence of large cooling output, and improves the user experience.
[0101] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 Step S10 includes steps S11 to S12:
[0102] Step S11: Determine the multiple space walls and the wall positions of each space wall in the space where the air conditioner is located based on the first position sequence collected by the air conditioner's position sensor during a historical time period.
[0103] It should be noted that the air conditioner's position sensor is used to collect human body positions. The first position sequence is constructed from multiple human body positions collected by the position sensor within a historical time period. The historical time period can be the period from the first time the air conditioner is turned on to the current moment, or it can be any time period selected after the air conditioner is officially turned on. This embodiment does not restrict the selection of the historical time period. In this embodiment, the human body position is the position relative to the air conditioner.
[0104] Understandably, the spatial area of the space where the air conditioner is located can be calculated based on the first position sequence. Based on this spatial area, the regional boundary of the space where the air conditioner is located, as well as the position and length of the boundary line, can be analyzed. In this embodiment, the spatial wall refers to the regional boundary of the space where the air conditioner is located. Based on the position and length of the boundary line, the position coordinates of each spatial wall can be determined, thus obtaining the wall position. In this embodiment, the wall position is represented by Cartesian coordinates (X, Y) between the normal direction of the position sensor and the plane where the air conditioner is located.
[0105] Step S12: Based on the second position sequence collected by the position sensor during the monitoring period and the wall positions of each space wall, determine the target wall among multiple space walls to obtain the location information of the space where the air conditioner is located.
[0106] It should be noted that the monitoring time period is the time window corresponding to the start and end of the air conditioner's operation; the second location sequence is constructed from multiple human body locations collected by the position sensor within the monitoring time period.
[0107] It is understandable that the second location sequence [L] collected by the location sensor during the monitoring period is obtained. i-w L i-w+1 , ..., L i , ..., L i+w ], L i-w L i-w+1 ... L i+w This involves collecting human body positions at each monitoring point within the monitoring period. The coordinates of each human body position in the second position sequence are transformed to obtain the Cartesian coordinates corresponding to each monitoring point. Using the Cartesian coordinates of each monitoring point, the distance between the human body position at each monitoring point and the walls in each space is calculated. The wall closest to the human body position at each monitoring point is identified, thus obtaining the corresponding wall for each monitoring point. The frequency of each wall's occurrence during the monitoring period is counted, and the wall with the most occurrences is designated as the target wall. The target wall refers to the wall containing the window of the space where the air conditioner is located, thereby obtaining the location information of the space where the air conditioner is located.
[0108] In one feasible implementation, after obtaining the location information of the space where the air conditioner is located, the method further includes: since the position of the space wall is represented by Cartesian coordinates (X, Y) of the coordinates of the plane where the air conditioner is located and the normal direction of the position sensor, and the position sensor is located on the air conditioner, the position of the air conditioner is (0,0). At this time, it is determined whether the position of the air conditioner coincides with the position of the target wall. If so, it means that the air conditioner and the space window of the space where the air conditioner is located are on the same wall, and it is determined that the location information of the space where the air conditioner is located meets the temperature correction condition; otherwise, it means that the location information of the space where the air conditioner is located does not meet the temperature correction condition.
[0109] In one feasible implementation, step S12 may further include steps B11 to B13:
[0110] Step B11: Based on the second position sequence collected by the position sensor during the monitoring period and the wall position of each space wall, determine the space wall corresponding to each monitoring point during the monitoring period among multiple space walls.
[0111] It should be noted that, based on the second position sequence collected by the position sensor during the monitoring period and the wall positions of each space wall, the distance between the human position at each monitoring point and each space wall is calculated, thus identifying the space wall closest to the human position at each monitoring point. In this embodiment, the space wall corresponding to each monitoring point refers to the space wall closest to the human position at each monitoring point.
[0112] Step B12: Statistically analyze the spatial walls corresponding to each monitoring point to determine the frequency of occurrence of each spatial wall.
[0113] It should be noted that after obtaining the spatial walls corresponding to each monitoring point, the second location sequence is converted into a wall sequence, which is composed of the spatial walls corresponding to each monitoring point. The wall sequences are then statistically analyzed to determine the frequency of each spatial wall in the sequence.
[0114] Step B13: Determine the target wall from among the multiple space walls based on the frequency of their appearance in each space.
[0115] It should be noted that the frequency of occurrence of each wall in the space was sorted to identify the wall that appeared most frequently during the monitoring period. When the air conditioner starts running, the user will close the window in the space where the air conditioner is located, and at this time, the user will linger at the wall where the window is located for a long time. Therefore, the wall that appeared most frequently during the monitoring period is the wall where the window is located, thus identifying the target wall.
[0116] In this embodiment, for ease of understanding, it is now referred to as Figure 4 To illustrate, Figure 4 W1, W2, W3, and W4 in the diagram represent multiple spatial walls within the space where the air conditioner is located. The second location sequence [L] will be monitored over a specific time period. i-w L i-w+1 , ..., L i , ..., L i+w The sequence is converted into a wall sequence [W2, W1, ..., W4, ..., W3]. The first spatial wall W2 in the wall sequence is located at a distance L from the human body position in the second position sequence. i-w The nearest spatial wall, that is, the spatial wall closest to the user's trajectory. By counting the occurrences of each spatial wall in the wall sequence, we determined that spatial wall W4 appeared most frequently. Combined with the trajectory in the graph, we determined that the spatial wall where the user spent the longest time was W4. Therefore, we determined that the spatial window of the space where the air conditioner is located is located at W4. Figure 4 The window in the middle, at this time W4 is the target wall.
[0117] In one feasible implementation, steps C11 to C12 may be included before step S12:
[0118] Step C11: Obtain the air conditioner's operating time and preset timing window.
[0119] It should be noted that the running time refers to the start time of the air conditioner. The preset time window can be set by the user or be the default time of the air conditioner.
[0120] Step C12: Determine the monitoring time period based on the running time and the preset timing window.
[0121] It should be noted that a preset time window before and after the running time is used as the monitoring time period; alternatively, the running time can be used as the midpoint of the preset time window to obtain a monitoring time period for a preset time window. In this embodiment, a preset time window before and after the running time is used as the monitoring time period. For example, if the preset time window is 1 minute and the running time is 10:00:00, then the monitoring time period is 09:59:00 to 10:01:00.
[0122] By using the above method, the spatial layout of the space where the air conditioner is located can be accurately obtained by collecting the human body position sequence through the position sensor, thereby obtaining the corresponding location information of the space where the air conditioner is located.
[0123] Based on the first embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to that in embodiments one / two above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 5 Step S11 also includes steps S111 to S113:
[0124] Step S111: Determine multiple historical coordinates of the user within the historical time period based on the first location sequence collected by the air conditioner's position sensor during the historical time period.
[0125] It should be noted that the first position sequence collected by the air conditioner's position sensor in a historical time period is obtained, and each human position L in the first position sequence is decomposed into the coordinate expression (X, Y) of the position sensor normal direction and the plane where the air conditioner is located. The coordinate expression (X, Y) corresponding to each human position L in the first position sequence is the historical coordinate.
[0126] Step S112: Calculate the area based on the historical coordinates to determine the spatial area of the space where the air conditioner is located.
[0127] It should be noted that the spatial area of the space where the air conditioner is located can be calculated based on the historical coordinates. The convex hull algorithm can be used for area calculation. Alternatively, the X-axis span and Y-axis span of the user in the space where the air conditioner is located can be determined by the historical coordinates during the historical time period, and the spatial area of the space where the air conditioner is located can be calculated based on the span in the two directions. Other methods can also be used for area calculation. This embodiment does not limit the method of spatial area calculation.
[0128] In one feasible implementation, step S112 may further include steps D11 to D14:
[0129] Step D11: Sort the first direction coordinate value and the second direction coordinate value of each historical coordinate to obtain the first coordinate sequence and the second coordinate sequence.
[0130] It should be noted that the first and second direction coordinate values of each historical coordinate are sorted from smallest to largest, resulting in a first coordinate sequence sorted by the first direction coordinate values and a second coordinate sequence sorted by the second direction coordinate values. In this embodiment, the first direction coordinate value is the coordinate value corresponding to the X direction, and the second direction coordinate value is the coordinate value corresponding to the Y direction; or the first direction coordinate value is the coordinate value corresponding to the Y direction, and the second direction coordinate value is the coordinate value corresponding to the X direction. This embodiment does not impose any restrictions on this.
[0131] For example, the historical coordinates for historical time periods are (X1, Y1), (X2, Y2), (X3, Y3), ..., (X... n Y n For the first direction coordinate values X1, X2, X3, ..., X... n Sort the coordinate values in ascending order to obtain the first coordinate sequence [X3, X2, X...]. n ..., X1]; for the second direction coordinate values Y1, Y2, Y3, ..., Y... n Sort the coordinate values in ascending order to obtain the second coordinate sequence [Y1, Y3, Y...]. n ..., Y n-1 ].
[0132] Step D12: Determine the first spatial span of the space where the air conditioner is located based on the first coordinate sequence.
[0133] It should be noted that, in this embodiment, the extreme value of the coordinate value in the first direction can be selected from the first coordinate sequence to obtain the spatial span of the space where the air conditioner is located in the first direction; or multiple preset quantiles can be selected from the first coordinate sequence to obtain the spatial span of the space where the air conditioner is located in the first direction. The first direction is the X direction and the second direction is the Y direction; or, the first direction is the Y direction and the second direction is the X direction. This embodiment does not limit this, and in this embodiment, the first direction is the X direction and the second direction is the Y direction for explanation. The first spatial span refers to the spatial span of the space where the air conditioner is located in the first direction.
[0134] To facilitate understanding, the following example illustrates how multiple preset quantiles are selected in the first coordinate sequence to determine the first spatial span: The first coordinate values of the first direction, X, are selected from the 1% quantile and the 99th quantile in the first coordinate sequence. 1% With X 99% The values are -1.6 and 1.6 respectively, thus the spatial span in the X direction of the space where the air conditioner is located is 3.2.
[0135] Step D13: Determine the second spatial span of the space where the air conditioner is located based on the second coordinate sequence.
[0136] It should be noted that in this embodiment, the extreme value of the second direction coordinate value can be selected in the second coordinate sequence to obtain the spatial span of the space where the air conditioner is located in the second direction; or multiple preset quantiles can be selected in the second coordinate sequence to obtain the spatial span of the space where the air conditioner is located in the second direction. The first direction is the X direction and the second direction is the Y direction; or, the first direction is the Y direction and the second direction is the X direction. This embodiment does not limit this, and in this embodiment, the first direction is the X direction and the second direction is the Y direction for explanation. The second spatial span refers to the spatial span of the space where the air conditioner is located in the second direction.
[0137] To facilitate understanding, an example is provided below illustrating how multiple preset quantiles are selected in the second coordinate sequence to determine the second spatial span: The second coordinate values of the 1% and 99th quantiles are selected in the second coordinate sequence, Y... 1% With Y 99% The values are -1.7 and 0.8 respectively, thus the Y-axis spatial span of the space where the air conditioner is located is 2.5.
[0138] Step D14: Calculate the area based on the first space span and the second space span to determine the spatial area of the space where the air conditioner is located.
[0139] It should be noted that after obtaining the first and second spans of the space where the air conditioner is located, multiplying the first and second spans will give the area of the space where the air conditioner is located. For example, if the first span is 3.2 and the second span is 2.5, then the area = 3.2 × 2.5 = 8.
[0140] Step S113: Determine the multiple walls of the space where the air conditioner is located and the location of each wall based on the space area.
[0141] It should be noted that, based on the spatial area, the regional boundary of the space where the air conditioner is located, as well as the position and length of the boundary line, can be analyzed. In this embodiment, the spatial wall refers to the wall surface corresponding to the regional boundary of the space where the air conditioner is located. Based on the position and length of the boundary line, the position coordinates of each spatial wall can be determined, thereby obtaining the wall position of the spatial wall.
[0142] Using the above method, based on the human body position collected by the position sensor, the spatial layout of the space where the air conditioner is located can be accurately obtained, laying the foundation for subsequent temperature correction.
[0143] Based on the first embodiment of this application, in the fourth embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 6 Step S10 further includes steps S01 to S02:
[0144] Step S01: Obtain the spatial layout information of the space where the air conditioner is located.
[0145] It should be noted that the spatial layout information includes, but is not limited to, the actual location information of the air conditioner, the walls of the space where the air conditioner is located, and the windows of the space where the air conditioner is located. In this embodiment, the spatial layout information is pre-entered into the air conditioner by the user.
[0146] Step S02: Determine the layout relationship between the air conditioner and the space windows of the space where the air conditioner is located based on the spatial layout information, and obtain the location information of the space where the air conditioner is located.
[0147] It should be noted that the layout relationship refers to the positional relationship between the air conditioner and the space window where the air conditioner is located. When the air conditioner and the space window where the air conditioner is located are on the same space wall, the layout relationship is the same space wall; when the space wall where the air conditioner is located and the space wall where the air conditioner is located are adjacent, the layout relationship is adjacent wall; when the space wall where the air conditioner is located and the space wall where the air conditioner is located are opposite, the layout relationship is opposite wall. Other layout relationships may also be included, but this embodiment does not limit them.
[0148] Understandably, by using spatial layout information, the actual location information of the air conditioner, the walls of the space where the air conditioner is located, and the windows of the space where the air conditioner is located can be used to accurately determine the layout relationship between the air conditioner and the windows of the space where the air conditioner is located, thereby obtaining the location information of the space where the air conditioner is located.
[0149] In one feasible implementation, step S02 may further include steps E11 to E12:
[0150] Step E11: Determine the first position corresponding to the air conditioner, the second position corresponding to the space window of the space where the air conditioner is located, and the wall positions of multiple space walls in the space where the air conditioner is located based on the spatial layout information.
[0151] It should be noted that the first position corresponding to the air conditioner refers to the actual position of the air conditioner in the space; the second position corresponding to the space window of the space where the air conditioner is located refers to the actual position of the space window of the space where the air conditioner is located; and the wall positions of the multiple space walls of the space where the air conditioner is located refers to the actual position information of the multiple space walls of the space where the air conditioner is located.
[0152] Step E12: Determine the layout relationship between the air conditioner and the space window based on the first position corresponding to the air conditioner, the second position corresponding to the space window, and the wall positions of each space wall.
[0153] It should be noted that the system iterates through the wall positions of all spatial walls to determine if the air conditioner's initial position coincides with the position of any spatial wall. If so, the spatial wall where the air conditioner is located can be determined. If the air conditioner's initial position does not coincide with the position of any spatial wall, the distance between the air conditioner and each spatial wall is calculated based on the air conditioner's initial position and the positions of each spatial wall. The spatial wall with a distance less than a set threshold is considered the spatial wall where the air conditioner is located. In this embodiment, the set threshold can be half the wall width, or it can be set according to requirements; this embodiment does not impose any restrictions on this.
[0154] It is understandable that by traversing the wall positions of all spatial walls, it can be determined whether the second position of the spatial window in the space where the air conditioner is located coincides with the wall position of a certain spatial wall. If so, the spatial wall in which the air conditioner is located can be determined. Alternatively, other methods can be used to determine the spatial wall in which the spatial window is located.
[0155] In practice, the layout relationship between the air conditioner and the window can be obtained by comparing the wall where the air conditioner is located with the wall where the window of the space where the air conditioner is located.
[0156] In one feasible implementation, after obtaining the location information of the space where the air conditioner is located, the method further includes: after determining the layout relationship between the air conditioner and the space window of the space where the air conditioner is located based on the spatial layout information input by the user, if the layout relationship is on the same space wall, it is determined that the location information of the space where the air conditioner is located meets the temperature correction conditions, and temperature correction needs to be performed at this time.
[0157] It is understandable that when the layout relationship is not on the same wall or adjacent walls, the location information of the space where the air conditioner is located does not meet the temperature correction conditions; when the layout relationship is adjacent walls but the distance between the air conditioner and the window of the space where the air conditioner is located is not less than the distance threshold, the location information of the space where the air conditioner is located does not meet the temperature correction conditions.
[0158] Using the above method, the spatial layout information can accurately determine the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located, laying the foundation for subsequent temperature correction.
[0159] Based on the first embodiment of this application, in the fifth embodiment of this application, the content that is the same as or similar to that in embodiments one / four above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 7 After step S02: determining the layout relationship between the air conditioner and the spatial windows of the space where the air conditioner is located based on the spatial layout information, the method further includes steps S211 to S212:
[0160] Step S211: When the layout relationship is that the air conditioner is on an adjacent wall, determine the first position corresponding to the air conditioner and the second position corresponding to the space window of the space where the air conditioner is located based on the spatial layout information.
[0161] Step S212: Calculate the distance between the air conditioner and the space window based on the first position corresponding to the air conditioner and the second position corresponding to the space window, and obtain the position information of the space where the air conditioner is located.
[0162] It should be noted that when the air conditioner is located on an adjacent wall, the first position of the air conditioner and the second position of the window in the space where the air conditioner is located are determined based on the spatial layout information. The positional distance between the air conditioner and the window is calculated using the first and second positions to obtain the positional information of the space where the air conditioner is located.
[0163] In one feasible implementation, after obtaining the location information of the space where the air conditioner is located, the method further includes: when the layout relationship is adjacent walls and the positional distance between the air conditioner and the space window where the air conditioner is located is less than a distance threshold, determining that the location information of the space where the air conditioner is located meets the temperature correction condition.
[0164] Using the above method, when the layout relationship is adjacent walls, the location information of the space where the air conditioner is located can be accurately obtained by calculating the positional distance between the air conditioner and the space window, laying the foundation for subsequent temperature correction.
[0165] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the air conditioner control method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0166] This application also provides an air conditioner control device; please refer to... Figure 8 The air conditioner control device includes:
[0167] The acquisition module 10 is used to acquire the location information of the space where the air conditioner is located.
[0168] It should be noted that the location information of the space where the air conditioner is located includes, but is not limited to, the wall positions of each wall in the space where the air conditioner is located, the wall where the window of the space where the air conditioner is located is located, the distance between the window and the air conditioner, and whether the window and the air conditioner are on the same wall. In this embodiment, when the user inputs spatial layout information, the distance between the window and the air conditioner, and whether the air conditioner and the window are on the same wall can be determined based on the spatial layout information. The spatial layout information includes, but is not limited to, the actual location information of the air conditioner, each wall in the space where the air conditioner is located, and the window in the space where the air conditioner is located.
[0169] It is understandable that when the user input does not contain spatial layout information, the position of the human body can be collected by the position sensor in the air conditioner. The position can be calculated by collecting the human body position sequence to determine the position of the walls of each space in the space where the air conditioner is located, the space wall where the space window of the space where the air conditioner is located is located, and whether the space window of the space where the air conditioner is located is on the same wall as the air conditioner.
[0170] In this embodiment, the air conditioner contains a position sensor for collecting the position of a human body. The position sensor can be any of the following: an infrared sensor, an ultrasonic sensor, a microwave radar sensor, or other devices that can perform the above functions.
[0171] The processing module 20 is used to determine the temperature correction value of the air conditioner when the location information of the space where the air conditioner is located meets the temperature correction conditions.
[0172] It should be noted that when the air conditioner and the window of the space where it is located are on the same wall, heat leakage may occur through the window. Additionally, since the wall with the window is in direct contact with the outside environment, changes in outside temperature will affect that wall. Therefore, when the air conditioner and the window of the space where it is located are on the same wall, the temperature sensor built into the air conditioner may not accurately reflect the true average temperature of the space where it is located.
[0173] It is understandable that when the air conditioner and the window of the space where the air conditioner is located are on adjacent walls and the distance between the air conditioner and the window of the space where the air conditioner is located is less than the distance threshold, heat leakage from the window will also cause the temperature sensor built into the air conditioner to fail to accurately reflect the true average temperature of the space where the air conditioner is located.
[0174] Therefore, when the air conditioner and the window of the space where the air conditioner is located are on the same wall, or when the air conditioner and the window of the space where the air conditioner is located are on adjacent walls and the distance between the two windows is less than a distance threshold, the location information of the space where the air conditioner is located is determined to meet the temperature correction condition. In this embodiment, the window of the space where the air conditioner is located is a heat exchange vent between the space where the air conditioner is located and the external environment, such as a room window.
[0175] It is understandable that when the location information of the space where the air conditioner is located meets the temperature correction conditions, it is necessary to perform temperature correction on the air conditioner to reduce the influence of external factors on the perception of indoor temperature. At this time, the temperature correction value under the correction process is determined. In this embodiment, the temperature correction value can be a value set by the user in advance, or it can be calculated based on a large amount of sample temperature data. This embodiment does not restrict the source of the temperature correction value.
[0176] In practice, in addition to the above-mentioned method of temperature correction when the location information of the space where the air conditioner is located meets the temperature correction conditions, the user can also directly control and determine the temperature correction, in which case the temperature correction value is directly determined.
[0177] It should be noted that if the air conditioner and the window of the space where the air conditioner is located are not on the same wall, and the distance between the windows of the air conditioner and the space where the air conditioner is located is not less than the distance threshold, the location information of the space where the air conditioner is located is determined not to meet the temperature correction conditions. If the location information of the space where the air conditioner is located does not meet the temperature correction conditions and the user does not control the air conditioner to perform temperature correction, no temperature correction will be performed, and the air conditioner will be controlled according to the pre-set temperature control target.
[0178] The correction module 30 is used to correct the target temperature according to the temperature correction value to obtain the corrected target temperature.
[0179] It should be noted that the target temperature T goal The target temperature is set in advance, and the target temperature is adjusted according to the temperature correction value to obtain the corrected target temperature T'. goal =Tgoal + ΔT adjust .
[0180] The control module 40 is used to control the temperature of the air conditioner according to the corrected target temperature.
[0181] It should be noted that after obtaining the corrected target temperature, the air conditioner's temperature control target is adjusted to the corrected target temperature to maintain the stability and comfort of the indoor temperature.
[0182] In one embodiment, the acquisition module 10 is further configured to determine multiple spatial walls and the wall positions of each spatial wall in the space where the air conditioner is located based on a first position sequence collected by the air conditioner's position sensor during a historical time period; and to determine a target wall among the multiple spatial walls based on a second position sequence collected by the position sensor during the monitoring time period and the wall positions of each spatial wall, thereby obtaining the location information of the space where the air conditioner is located.
[0183] In one embodiment, the acquisition module 10 is further configured to determine that the location information of the space where the air conditioner is located meets the temperature correction conditions when the location of the air conditioner coincides with the location of the target wall.
[0184] In one embodiment, the acquisition module 10 is further configured to determine multiple historical coordinates of the user within a historical time period based on a first position sequence collected by the air conditioner's position sensor during a historical time period; calculate the area of the space where the air conditioner is located based on each historical coordinate; and determine multiple space walls and the wall positions of each space wall based on the space area.
[0185] In one embodiment, the acquisition module 10 is further configured to sort the first direction coordinate values and the second direction coordinate values of each historical coordinate to obtain a first coordinate sequence and a second coordinate sequence; determine the first spatial span of the space where the air conditioner is located based on the first coordinate sequence; determine the second spatial span of the space where the air conditioner is located based on the second coordinate sequence; and calculate the area based on the first spatial span and the second spatial span to determine the spatial area of the space where the air conditioner is located.
[0186] In one embodiment, the acquisition module 10 is further configured to: determine the spatial wall corresponding to each monitoring point within the monitoring time period from among multiple spatial walls based on the second position sequence collected by the position sensor within the monitoring time period and the wall position of each spatial wall; count the spatial walls corresponding to each monitoring point to determine the number of times each spatial wall appears; and determine the target wall from among multiple spatial walls based on the number of times each spatial wall appears.
[0187] In one embodiment, the acquisition module 10 is further configured to acquire the operating time of the air conditioner and a preset time window; and determine the monitoring time period based on the operating time and the preset time window.
[0188] In one embodiment, the acquisition module 10 is further configured to acquire spatial layout information of the space where the air conditioner is located; determine the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located based on the spatial layout information, and obtain the location information of the space where the air conditioner is located.
[0189] In one embodiment, the acquisition module 10 is further configured to determine that the location information of the space where the air conditioner is located meets the temperature correction conditions when the arrangement relationship is that they are in the same space wall.
[0190] In one embodiment, the acquisition module 10 is further configured to determine the first position corresponding to the air conditioner, the second position corresponding to the space window of the space where the air conditioner is located, and the wall positions of multiple space walls in the space where the air conditioner is located based on the spatial layout information; and to determine the layout relationship between the air conditioner and the space window based on the first position corresponding to the air conditioner, the second position corresponding to the space window, and the wall positions of each space wall.
[0191] In one embodiment, the acquisition module 10 is further configured to, when the arrangement relationship is that the air conditioner is on an adjacent wall, determine the first position corresponding to the air conditioner and the second position corresponding to the space window of the space where the air conditioner is located based on the spatial layout information; calculate the distance between the air conditioner and the space window based on the first position corresponding to the air conditioner and the second position corresponding to the space window, and obtain the position information of the space where the air conditioner is located.
[0192] In one embodiment, the acquisition module 10 is further configured to determine that the location information of the space where the air conditioner is located meets the temperature correction condition when the location spacing is less than a distance threshold.
[0193] In one embodiment, the processing module 20 is further configured to acquire multiple first sample cooling amplitudes and multiple second sample cooling amplitudes; calculate the average of the multiple first sample cooling amplitudes and multiple second sample cooling amplitudes respectively to obtain a first amplitude average and a second amplitude average; calculate the difference between the first amplitude average and the second amplitude average to determine the cooling amplitude difference; and obtain the temperature correction value of the air conditioner based on the cooling amplitude difference.
[0194] By using the above method, when the location information of the space where the air conditioner is located meets the temperature correction conditions, the temperature correction process is entered based on the temperature correction value to control the temperature of the air conditioner. This solves the problem that the air conditioner cannot know the layout of the space, which leads to the air conditioner's control failure when it mistakenly senses that the ambient temperature is high. This ensures accurate control of the air conditioner, avoids the occurrence of large cooling output, and improves the user experience.
[0195] The air conditioner control device provided in this application, employing the air conditioner control method in the above embodiments, can solve the technical problem in the prior art where the air conditioner cannot know the layout of its space, leading to air conditioner control failure when it mistakenly senses a high ambient temperature. Compared with the prior art, the beneficial effects of the air conditioner control device provided in this application are the same as those of the air conditioner control method provided in the above embodiments, and other technical features in the air conditioner control device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0196] This application provides an air conditioner, 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, the instructions being executed by the at least one processor to enable the at least one processor to perform the air conditioner control method in Embodiment 1 above.
[0197] The following is for reference. Figure 9 The diagram illustrates a structural schematic of an air conditioner suitable for implementing embodiments of this application. The air conditioner in these embodiments may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 9 The air conditioner shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.
[0198] like Figure 9As shown, the air conditioner may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the air conditioner. The processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the air conditioner to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows an air conditioner 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.
[0199] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application 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 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0200] The air conditioner provided in this application, employing the air conditioner control method described in the above embodiments, solves the technical problem in the prior art where the air conditioner cannot know the layout of the space, leading to control failure when the air conditioner incorrectly senses a high ambient temperature. Compared with the prior art, the beneficial effects of the air conditioner provided in this application are the same as those of the air conditioner control method provided in the above embodiments, and other technical features of this air conditioner are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0201] It should be understood that the various parts disclosed in 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.
[0202] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0203] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the air conditioner control method in the above embodiments.
[0204] The computer-readable storage medium provided in this application 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 having 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 fiber, 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.
[0205] The aforementioned computer-readable storage medium may be included in the air conditioner; or it may exist independently and not be installed in the air conditioner.
[0206] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the air conditioner, cause the air conditioner to: acquire location information of the space where the air conditioner is located; determine a temperature correction value for the air conditioner when the location information of the space where the air conditioner is located meets the temperature correction conditions; correct the target temperature according to the temperature correction value to obtain the corrected target temperature; and perform temperature control on the air conditioner according to the corrected target temperature.
[0207] Computer program code for performing the operations of this application 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).
[0208] 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.
[0209] 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.
[0210] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described air conditioner control method. This solves the technical problem in the prior art where the air conditioner cannot know its spatial layout, leading to control failure when the air conditioner incorrectly senses a high ambient temperature. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the air conditioner control method provided in the above embodiments, and will not be repeated here.
[0211] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the air conditioner control method described above.
[0212] The computer program product provided in this application can solve the technical problem in the prior art where the air conditioner cannot know the layout of the space, causing the air conditioner to malfunction when it mistakenly senses a high ambient temperature. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the air conditioner control method provided in the above embodiments, and will not be repeated here.
[0213] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. An air conditioner control method, characterized in that, The air conditioner control method includes: Obtain the location information of the space where the air conditioner is located; When the location information of the space where the air conditioner is located meets the temperature correction conditions, the temperature correction value of the air conditioner is determined; The target temperature is corrected based on the temperature correction value to obtain the corrected target temperature; The air conditioner is temperature controlled based on the corrected target temperature.
2. The method as described in claim 1, characterized in that, The step of obtaining the location information of the space where the air conditioner is located includes: The positions of multiple space walls and the wall positions of each space wall in the space where the air conditioner is located are determined based on the first position sequence collected by the air conditioner's position sensor during a historical time period. Based on the second position sequence collected by the position sensor during the monitoring period and the wall positions of each space wall, the target wall is determined among multiple space walls, and the location information of the space where the air conditioner is located is obtained.
3. The method as described in claim 2, characterized in that, Following the step of obtaining the location information of the space where the air conditioner is located, the method further includes: When the location of the air conditioner coincides with the location of the target wall, the location information of the space where the air conditioner is located is determined to meet the temperature correction conditions.
4. The method as described in claim 2, characterized in that, The step of determining the multiple spatial walls of the space where the air conditioner is located and the wall positions of each spatial wall based on the first position sequence collected by the air conditioner's position sensor over a historical time period includes: The user's multiple historical coordinates within a historical time period are determined based on the first location sequence collected by the air conditioner's position sensor during the historical time period. The spatial area of the space where the air conditioner is located is determined by calculating the area based on each historical coordinate. The location of the multiple spatial walls of the space where the air conditioner is located and the wall positions of each spatial wall are determined based on the space area.
5. The method as described in claim 4, characterized in that, The step of calculating the area of the space where the air conditioner is located based on historical coordinates includes: The first direction coordinate values and the second direction coordinate values of each historical coordinate are sorted to obtain the first coordinate sequence and the second coordinate sequence. The first spatial span of the space where the air conditioner is located is determined based on the first coordinate sequence; The second spatial span of the space where the air conditioner is located is determined according to the second coordinate sequence; The area of the space where the air conditioner is located is determined by calculating the area based on the first spatial span and the second spatial span.
6. The method as described in claim 2, characterized in that, The step of determining the target wall among multiple spatial walls based on the second position sequence collected by the position sensor during the monitoring time period and the wall positions of each spatial wall includes: Based on the second position sequence collected by the position sensor during the monitoring period and the wall positions of each space wall, the space wall corresponding to each monitoring point during the monitoring period is determined among multiple space walls; The number of times each space wall appears is determined by statistically analyzing the spatial walls corresponding to each monitoring point. The target wall is determined from among the walls in multiple spaces based on the frequency of their appearance.
7. The method as described in claim 2, characterized in that, Before the step of determining the target wall among multiple spatial walls based on the second position sequence collected by the position sensor during the monitoring time period and the wall positions of each spatial wall, the method further includes: Obtain the operating time and preset timing window of the air conditioner; The monitoring time period is determined based on the running time and the preset time window.
8. The method as described in claim 1, characterized in that, The step of obtaining the location information of the space where the air conditioner is located includes: Obtain spatial layout information of the space where the air conditioner is located; Based on the spatial layout information, the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located is determined, and the location information of the space where the air conditioner is located is obtained.
9. The method as described in claim 8, characterized in that, The step of obtaining the location information of the space where the air conditioner is located is followed by: When the arrangement is such that the air conditioner is located on the same wall in the same space, the location information of the space where the air conditioner is located is determined to meet the temperature correction conditions.
10. The method as described in claim 8, characterized in that, The step of determining the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located based on the spatial layout information includes: Based on the spatial layout information, determine the first position corresponding to the air conditioner, the second position corresponding to the spatial window of the space where the air conditioner is located, and the wall positions of multiple spatial walls in the space where the air conditioner is located. The layout relationship between the air conditioner and the space window is determined by judging the position based on the first position corresponding to the air conditioner, the second position corresponding to the space window, and the wall position of each space wall.
11. The method as described in claim 8, characterized in that, After determining the arrangement relationship between the air conditioner and the spatial windows of the space where the air conditioner is located based on the spatial layout information, the method further includes: When the arrangement relationship is that the air conditioner is on an adjacent wall, the first position corresponding to the air conditioner and the second position corresponding to the space window of the space where the air conditioner is located are determined according to the spatial layout information. The distance between the air conditioner and the space window is calculated based on the first position corresponding to the air conditioner and the second position corresponding to the space window, thereby obtaining the position information of the space where the air conditioner is located.
12. The method as described in claim 11, characterized in that, The step of obtaining the location information of the space where the air conditioner is located is followed by: When the distance between the locations is less than the distance threshold, the location information of the space where the air conditioner is located is determined to meet the temperature correction conditions.
13. The method according to any one of claims 1 to 12, characterized in that, The step of determining the temperature correction value of the air conditioner includes: Obtain the cooling amplitude of multiple first samples and multiple cooling amplitudes of multiple second samples; The average values of the cooling amplitudes of multiple first samples and multiple second samples are calculated to obtain the average value of the first amplitude and the average value of the second amplitude. The difference between the first average amplitude and the second average amplitude is calculated to determine the temperature drop difference. The temperature correction value of the air conditioner is obtained based on the difference in the cooling rate.
14. An air conditioner control device, characterized in that, The device includes: The acquisition module is used to acquire the location information of the space where the air conditioner is located; The processing module is used to determine the temperature correction value of the air conditioner when the location information of the space where the air conditioner is located meets the temperature correction conditions; The correction module is used to correct the target temperature based on the temperature correction value to obtain the corrected target temperature; The control module is used to control the temperature of the air conditioner according to the corrected target temperature.
15. An air conditioner, characterized in that, The air conditioner 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 air conditioner control method as described in any one of claims 1 to 13.
16. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the air conditioner control method as described in any one of claims 1 to 13.