WO2023010908A1 - 空调控制方法、设备、介质及程序产品 - Google Patents
空调控制方法、设备、介质及程序产品 Download PDFInfo
- Publication number
- WO2023010908A1 WO2023010908A1 PCT/CN2022/089655 CN2022089655W WO2023010908A1 WO 2023010908 A1 WO2023010908 A1 WO 2023010908A1 CN 2022089655 W CN2022089655 W CN 2022089655W WO 2023010908 A1 WO2023010908 A1 WO 2023010908A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- location
- air conditioner
- home
- moving
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 79
- 239000013598 vector Substances 0.000 claims description 40
- 238000004378 air conditioning Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 13
- 238000000926 separation method Methods 0.000 claims description 12
- 230000007613 environmental effect Effects 0.000 abstract 1
- 238000001816 cooling Methods 0.000 description 14
- 238000013461 design Methods 0.000 description 8
- 239000002699 waste material Substances 0.000 description 7
- 238000005265 energy consumption Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000036772 blood pressure Effects 0.000 description 2
- 230000036760 body temperature Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000027758 ovulation cycle Effects 0.000 description 2
- 238000005482 strain hardening Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 description 1
- 101100321992 Drosophila melanogaster ABCD gene Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 102220092686 rs1662316 Human genes 0.000 description 1
- 102220024204 rs397515480 Human genes 0.000 description 1
- 102220013118 rs397516477 Human genes 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2120/00—Control inputs relating to users or occupants
- F24F2120/10—Occupancy
- F24F2120/12—Position of occupants
Definitions
- the present application relates to air-conditioning technology, in particular to an air-conditioning control method, equipment, medium and program product.
- Air-conditioning is a device that can adjust the temperature of the indoor environment.
- people's requirements for intelligent control of air-conditioning are getting higher and higher.
- most of the existing air conditioners have a remote control opening function.
- the current air conditioner is usually turned on by remote control by installing a wifi module. Users can remotely control the air conditioner by operating mobile phones and other devices before arriving home, or set mobile phones and other devices to send a signal to remotely control the air conditioner. Then it can be at a suitable ambient temperature.
- the existing air conditioners still have the following defects in the process of remote control opening: when the air conditioner is remotely controlled to be turned on directly through mobile phones and other devices through manual operation, the user may forget that the remote control air conditioner needs to be turned on, resulting in insufficient or even insufficient time for the air conditioner to be turned on in advance.
- Turning on in advance prevents the user from being in a suitable ambient temperature after returning home, which affects the user experience; when the air conditioner is turned on by remote control by setting a mobile phone and other devices to send a turn-on signal at regular intervals, the user may not be able to grasp the time accurately, resulting in insufficient time to turn on the air conditioner in advance Or it is redundant, so that the user cannot be in a suitable ambient temperature after returning home, or reaches a suitable ambient temperature in advance before the user arrives home, resulting in a waste of energy.
- the present application provides an air conditioner control method, device, medium and program product to solve the technical problem of how to improve the intelligence of controlling the opening of the air conditioner so as to improve user experience.
- the present application provides an air conditioner control method, including:
- the air conditioner is controlled to be turned on.
- the acquiring the location information of the user specifically includes:
- the judging whether the user is in the home state according to the location information specifically includes:
- the judging whether the user is in the home state according to the moving direction and the moving distance specifically includes:
- Judging whether the moving direction is the direction in which the user moves from the location to the location of the home; if so, determining the moving time required for the user to move the moving distance, and judging whether the moving time is shorter than the second preset Duration; if the moving duration is less than the second preset duration, it is determined that the user is in the home state;
- the determining the moving time required for the user to move the moving distance specifically includes:
- a moving speed determines the moving time required for the user to move the moving distance; or, determines the interval distance between two adjacent position information in the position sequence and the interval time corresponding to each interval distance, according to each A said separation distance and the interval duration corresponding to each said separation distance respectively determine the second movement speed corresponding to each said separation distance, and use the mean value of the second movement speed as the first movement speed, according to the The moving distance and the first moving speed determine the moving time required for the user to move the moving distance.
- the determining the moving direction of the user according to the location information specifically includes:
- the determining and controlling the user position when the air conditioner is turned on according to the moving speed and the preset temperature specifically includes:
- the location acquisition time is determined according to the user's historical location data and the user's air conditioner use habit information, and if the time reaches the location acquisition time, the step of acquiring the user's location information is executed.
- the air conditioner is communicatively connected to user terminals of multiple users in the same family, and after the determination of the user's location when controlling the start of the air conditioner, further includes:
- the time required for each user to go home from the location of the user to the location of the home is obtained, and the order of the Sort the duration of going home to generate a sequence of durations;
- controlling the air conditioner to turn on includes:
- the air conditioner is controlled to run in the air conditioner working mode corresponding to the user.
- the method also includes:
- each user has a different corresponding air-conditioning working mode, it is judged whether the air-conditioning working mode of the user corresponding to the minimum home time in the time length sequence is the second working mode;
- the air conditioner is controlled to operate in the first working mode, and the operating intensity of the second working mode is higher than that of the first working mode. the operating intensity of the model;
- the air conditioner working mode is the first working mode, and determine whether the difference between the minimum time length and the minimum home time length is greater than the third preset time length ; If the difference between the minimum time length and the minimum home time length is greater than the third preset time length, when the user corresponding to the minimum home time length in the time length sequence arrives at the user's user location, control the air conditioner Operate in the second working mode and control the air conditioner to switch to the first working mode after the fourth preset time; if the difference between the minimum time and the minimum home time is not greater than the third preset duration, when the user corresponding to the minimum home duration in the duration sequence arrives at the user's user location, the air conditioner is controlled to run in the first working mode; wherein, the fourth preset duration is less than the third preset duration .
- the present application provides an air conditioner control device, including a memory and a processor;
- memory for storing said processor-executable instructions
- the processor is configured to invoke executable instructions stored in the memory to execute the above method.
- the present application provides a computer program product, including a computer program, which implements the above method when the computer program is executed by a processor.
- the air conditioner control solution provided by this application can judge whether the user is in the home state according to the user’s location information, and further determine the user’s position when the user is in the home state when the air conditioner is turned on.
- the user’s position can be determined by the user’s moving speed and The preset temperature is determined.
- the user's location can be set to control the air conditioner to turn on when the user arrives at the user's location, so that the air conditioner can just adjust the indoor temperature to a suitable temperature when the user returns home. With this setting, the user does not need to use mobile phones, etc.
- the device can remotely control the air conditioner to turn on, so as to prevent the user from forgetting to turn on the air conditioner in advance and affect the user experience; it also does not require the user to remotely control the air conditioner to turn on by setting the mobile phone and other devices to regularly send the signal to turn on the air conditioner.
- the user's location can be determined by the user's current moving speed and preset temperature, etc.), to avoid the user's wrong time estimate and the insufficient or redundant opening time of the air conditioner in advance, so as to prevent the user from being unable to be in a suitable ambient temperature after returning home or causing energy loss. Waste, improve the intelligence of controlling the opening of the air conditioner, thereby improving the user experience.
- FIG. 1 is a schematic flowchart of an air-conditioning control method provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of an air-conditioning control method provided in another embodiment of the present application.
- FIG. 3 is a schematic flowchart of an air conditioning control method provided in another embodiment of the present application.
- FIG. 4 is a schematic flowchart of an air conditioning control method provided in another embodiment of the present application.
- Fig. 5 is a schematic flowchart of an air conditioner control method provided in another embodiment of the present application.
- FIG. 6 is a schematic flowchart of an air-conditioning control method provided in another embodiment of the present application.
- Fig. 7 is a schematic flowchart of an air conditioner control method provided in another embodiment of the present application.
- FIG. 8 is a schematic flowchart of an air conditioner control method provided in another embodiment of the present application.
- FIG. 9 is a schematic flowchart of an air conditioner control method provided in another embodiment of the present application.
- FIG. 10 is a schematic flowchart of an air conditioner control method provided in another embodiment of the present application.
- Fig. 11 is a schematic structural diagram of an air conditioner control device provided by an embodiment of the present application.
- the remote control of the air conditioner is usually realized by installing a wifi module on the air conditioner.
- the user can remotely control the start of the air conditioner by operating mobile phones and other devices before arriving home, or set the mobile phone and other devices to send open signals regularly to remotely control the start of the air conditioner. , so that the user can be in a suitable ambient temperature after returning home.
- the user may forget that the remote control air conditioner needs to be turned on, resulting in insufficient time for the air conditioner to be turned on in advance or even not turned on in advance, so that the user cannot be at a suitable ambient temperature after returning home. Affect the user experience; and when the remote control air conditioner is turned on by setting the mobile phone and other devices to send the opening signal at regular intervals, the user may not be able to grasp the time accurately, resulting in insufficient or redundant opening time of the air conditioner in advance, so that the user cannot be in a suitable ambient temperature after returning home , or reach the appropriate ambient temperature in advance before the user arrives home, resulting in a waste of energy.
- the air conditioner control method provided by this application aims to solve the above technical problems in the prior art.
- This method can judge whether the user is in the state of going home according to the user's location information, and further determine when the user is in the state of going home to control the air conditioner when it is turned on.
- User location the user location can be set to control the air conditioner to turn on when the user arrives at the user location, so that the air conditioner can just adjust the indoor temperature to a suitable temperature when the user returns home.
- the user does not need to remotely control the air conditioner to turn on through the mobile phone or other equipment, or set the mobile phone and other equipment to send the opening signal to remotely control the air conditioner to turn on, so as to prevent the user from being in a suitable environment after returning home. Waste, improve the intelligence of controlling the opening of the air conditioner, thereby improving the user experience.
- Fig. 1 is a flow chart of the air conditioner control method provided by Embodiment 1 of the present application.
- the air conditioner control method provided by the embodiment of the present application is applied to an air conditioner, and the air conditioner is connected to a user terminal for communication. As shown in Fig. 1 , the air conditioner control The method includes the following steps:
- S101 When the air conditioner is not turned on, acquire the location information of the user, and judge whether the user is going home according to the location information.
- the location information of the user terminal communicatively connected to the air conditioner may be obtained, and the location information of the user terminal may be used as the location information of the user.
- User terminals include but are not limited to: devices such as mobile phones, smart watches, and smart bracelets.
- the time for obtaining the user's location information can be preset. Therefore, as shown in FIG. 2 , a feasible implementation of S101 includes: S1011A. When the air conditioner is not turned on, determine whether the time has reached the user's If the scheduled off-duty time is reached, obtain the location information of the user; S1012, judge whether the user is in the home state according to the location information.
- the time reaches the user's scheduled off-duty time it means that the user may be going home, and there is no need to obtain the user's location information before that, but only after that.
- the time for obtaining the user's location information can be determined simply and accurately, reducing energy consumption in the process of obtaining the user's location, and avoiding waste.
- S1011A when the air conditioner is not turned on, determine whether the shutdown duration of the air conditioner reaches the preset shutdown duration, and if so, obtain the user's location information.
- the air conditioner can automatically obtain the shutdown time without the need for the user to set the off-duty time, which improves the intelligence of the air conditioner control, and at the same time reduces the energy consumption in the process of obtaining the user's location and avoids waste.
- the preset shutdown duration can be 8 hours or 9 hours.
- S1011C1 When the air conditioner is not turned on, determine the location acquisition time according to the user's historical location data and the user's air conditioner usage habit information; S1011C2 . If the time reaches the location acquisition time, the location information of the user is acquired.
- the location acquisition time can be determined according to the user's historical location data and the user's air conditioner use habit information.
- the location acquisition time can be set to 18:00.
- the location acquisition time is determined according to the user's historical location data and the user's air conditioner usage habit information, and the user does not need to set any parameters in advance.
- the air conditioner can automatically determine the location acquisition time through big data analysis based on historical operating data. , to further improve the intelligence and accuracy of air-conditioning control, and at the same time reduce energy consumption in the process of obtaining the user's location and avoid waste.
- information such as the user's moving distance and moving direction can be determined according to the user's location information. Therefore, as shown in FIG. 5 , another feasible implementation of S101 includes: S1013. The duration is an interval, and the user's location information is periodically acquired; S1014A, determine the moving distance between the user's location and the home location according to the location information, and judge whether the user is in the home state according to the moving distance.
- the process of the user returning home is the process of the user gradually getting closer to the location of the home, that is, the process of gradually shrinking the moving distance between the location of the user and the location of the home. Therefore, it can be simply and accurately judged whether the user is in the home state according to the moving distance between the user's location and the home location.
- periodically acquiring the location information of the user at intervals of the first preset time length refers to acquiring the location information of the user every first preset time length.
- the first preset duration may be 1 minute or 2 minutes, which is not limited here.
- the method of judging whether the user is in the home state according to the moving distance may be: sorting the location information according to the order in which the location information is obtained to generate a location sequence, and judging whether the moving distance corresponding to each location information in the sequence is Decrease gradually, if yes, then the user is in the home state, if not, then the user is not in the home state.
- the method of judging whether the user is in the home state according to the moving distance can also be: judging whether the moving distance corresponding to the location information reaches the preset moving distance, if yes, the user is in the home state, if not, the user is not in the home state. home state.
- other methods may also be used to determine whether the user is in the home state according to the moving distance, which is not limited here.
- S1014A Determine the moving direction of the user according to the location information, and judge whether the user is in the home state according to the moving direction.
- the process of the user returning home is the process of the user moving toward the home location.
- the user’s moving direction is from the user’s location to the direction of the home location, it can be determined that the user is in the home state. . Therefore, it can be simply and accurately judged whether the user is in the state of going home or not according to the moving direction of the user.
- the method for judging whether the user is in the home state according to the moving direction may be: judging whether the moving direction is the direction in which the user tends to the home location from the location, if so, the user is in the home state, if not, Then the user is not in the home state.
- other methods may also be used to determine whether the user is in the home state according to the moving direction, which is not limited here.
- S1014C1 determine the user's moving direction and the moving distance between the user's location and the home location according to the location information
- S1014C2 according to the moving Direction and moving distance to determine whether the user is in the home state.
- the process of the user returning home is a process in which the moving distance between the user's location and the home location gradually decreases, and it can also be considered as a process in which the user tends to move toward the home location. Therefore, judging by integrating the two aspects of moving direction and moving distance can further improve the accuracy of user state judgment and reduce errors caused by accidental events, such as the situation where the user takes a long detour due to traffic jam on the way home from get off work.
- determining the user's moving direction according to the location information in the above S1014B and S1014C1 may include: sorting according to the order in which the location information is acquired to generate a location sequence; respectively generating the first location information in the location sequence As for the direction vector between other location information, determine the number of vectors in the same direction in the direction vector, and judge whether the number of vectors in the same direction is greater than or equal to the preset number, and if so, use the direction of the vector in the same direction as the user's moving direction.
- the direction vector between the first position information and other position information the greater the interval between two position information, the more accurate the direction of the direction vector, and further improve the accuracy of moving direction judgment.
- the same number of vectors reduces errors caused by accidental events, thereby further improving the accuracy of moving direction judgment.
- the determination of the user's moving direction according to the location information in the above S1014B and S1014C1 may include: sorting according to the order in which the location information is acquired to generate a location sequence; respectively generating two adjacent locations in the location sequence Direction vectors between information; determine the number of vectors with the same direction in the direction vectors, and judge whether the number of vectors with the same direction is greater than or equal to the preset number, and if so, use the direction of the vectors with the same direction as the user's moving direction.
- This embodiment is applicable to the situation where the user’s moving direction changes slightly during the process of returning home.
- By generating the direction vectors between two adjacent position information in the position sequence as long as the user changes the moving direction on the way, it can be detected simply and conveniently.
- the accuracy of the judgment of the moving direction is further improved.
- the error caused by accidental events is reduced through the number of vectors in the same direction, thereby further improving the accuracy of the judgment of the moving direction.
- the preset number is less than or equal to the number of location information constituting the location sequence, and the specific data can be flexibly set by those skilled in the art, and no limitation is set here.
- a certain number of location information can be acquired arbitrarily, for example, four pieces of location information A, B, C, and D are obtained, and these four pieces of location information are sorted according to the order in which the location information is obtained to generate a location sequence ABCD, respectively generate direction vectors between A and B, A and C, A and D, or generate direction vectors between A and B, B and C, C and D respectively, if the directions of these three direction vectors are the same
- the number of vectors is greater than or equal to 2, and the direction of these vectors with the same direction is the user's moving direction.
- judging whether the user is in the home state according to the moving direction and moving distance may include: S201, judging whether the moving direction is that the user is moving from the location to where the home is The direction of the position; S202, if not, continue to periodically obtain the user's location information at intervals of the first preset duration; S203, if so, determine the required travel time for the user to move the distance; S204, determine whether the travel duration is less than the second preset duration; S205, if the travel duration is less than the second preset duration, determine that the user is in the home state; S206, if the travel duration is not less than the second preset duration, gradually increase the value according to the preset time increment The first preset time length, and periodically acquire the location information of the user at intervals of the increased first preset time length.
- the direction of movement is not the direction in which the user is moving from the location to the location of the home, it means that the user is not in the direction of going home.
- Location information until the direction of movement determined by certain location information is the direction from the user's current location to the location of the home. If the moving direction is the direction from where the user is to the home location, continue to determine whether the user is closer to the home location.
- the moving time is less than the second preset time, it is determined that the user is in the home state; if the moving time is not less than the second preset time, it means that the user is far away from home, and the first preset value is gradually increased according to the preset time increment duration, and periodically acquire the location information of the user at intervals of the increased first preset duration until the moving duration determined by certain location information is less than the second preset duration.
- the distance from home directly affects the user's choice of transportation, that is, affects the user's moving speed.
- the moving speed is generally smaller, and when the user is farther away from home, the moving speed is generally higher.
- This embodiment is applicable to the situation where the user is far away from home.
- the user status is initially judged by the user's moving direction, and then the user status is further determined by the user's moving distance, so as to improve the accuracy of user status judgment.
- the location information does not need to be obtained too frequently, and the energy consumption can be reduced by increasing the time interval for obtaining location information, while further improving the accuracy of judgment.
- judging whether the user is in the home state according to the moving direction and moving distance may include: S301, judging whether the moving distance is less than the preset distance; S302, if not , then gradually increase the first preset duration according to the preset time increment value, and periodically acquire the user's location information at intervals of the increased first preset duration; S303.
- the location information of the user is acquired periodically at intervals of the first preset duration.
- the first preset duration is gradually increased according to the preset time increment, and the increased first preset duration is Obtain the user's location information at intervals until the moving distance is less than the preset distance; if the moving distance is less than the preset distance, it means that the user is closer to home, and continue to judge whether the moving direction is from the user's location to the home location direction; if so, it is determined that the user is in the state of going home; if not, it means that the user is not in the direction of going home, and at this time continue to take the first preset duration as an interval to periodically obtain the user's location information (at this time, the user is far away from home) Recently, location information needs to be obtained more frequently to avoid errors caused by untimely acquisition), until the moving direction determined by a certain location information is the direction from the user's location to the location of the home.
- This embodiment is applicable to the situation where the user is close to home.
- the user status is initially judged based on the user’s moving distance and the time interval for information acquisition is determined accordingly, and then the user status is further determined through the user’s moving direction to improve the accuracy of user status judgment. accuracy.
- the location information does not need to be obtained too frequently, and energy consumption can be reduced by increasing the time interval for obtaining location information; when the user is close to the home location, the location information needs to be obtained more frequently information, so as to avoid delays in turning on the air conditioner due to untimely acquisition of location information.
- the second preset duration may be 30 minutes or 35 minutes, which is not limited herein.
- those skilled in the art can flexibly set the preset time increment, for example, the preset time increment can be 1 min or 0.5 min, which is not limited here.
- the increased first preset duration is less than or equal to the duration threshold, and those skilled in the art can flexibly set the duration threshold, for example, the duration threshold may be 5 minutes or 6 minutes, which is not limited here.
- the preset distance for example, the preset distance can be 1km or 1.5km, which is not limited here.
- determining the moving time required for the user to move the moving distance may include: sorting according to the order in which the position information is obtained to generate a position sequence; determining the first position information and the last position information in the position sequence The interval distance and interval duration between the location information, the first moving speed is determined according to the interval distance and the interval duration, and the moving time required for the user to move the moving distance is determined according to the moving distance and the first moving speed.
- the current moving speed of the user is calculated according to the interval distance and interval time between the first-ranked position information and the last-ranked position information in the position sequence, which can improve the simplicity and quickness of calculating the moving speed.
- determining the moving time required for the user to move the moving distance may include: sorting according to the order in which the location information is obtained to generate a location sequence; determining the distance between two adjacent pieces of location information in the location sequence The separation distance and the interval duration corresponding to each interval distance, according to each interval distance and the interval duration corresponding to each interval distance, determine the second moving speed corresponding to each interval distance, and use the mean value of the second moving speed as The first moving speed determines the moving time required for the user to move the moving distance according to the moving distance and the first moving speed.
- the current moving speed of the user is calculated through the interval distance between two adjacent pieces of location information in the location sequence and the interval time corresponding to each interval distance, which can improve the accuracy of calculating the moving speed.
- S102 If yes, acquire the moving speed and the preset temperature of the user, and determine the user's position when the air conditioner is turned on according to the moving speed and the preset temperature.
- the user's location information can be acquired periodically at intervals of the first preset time length, and the user's moving speed can be determined according to the acquired location information.
- the preset temperature can be 26° C. or 27° C., which is not limited here.
- determining the user position when controlling the air conditioner to be turned on according to the moving speed and the preset temperature includes: obtaining the indoor ambient temperature and the preset working mode; Determine the running time required for the air conditioner to adjust the indoor ambient temperature to the preset temperature in the preset working mode; obtain the third moving distance according to the running time and moving speed; determine when the air conditioner is turned on according to the third moving distance and the location of the home user's location.
- the running time of the air conditioner is determined by the preset temperature, indoor ambient temperature, and preset working mode, etc., and then the user's location when the air conditioner is turned on is determined according to the running time, moving speed, and home location, so that the user arrives at When the home is located, the air conditioner just adjusts the indoor temperature to the preset temperature, which improves the intelligence of controlling the opening of the air conditioner, thereby improving the user experience.
- the preset working mode may be a cooling mode or a heating mode, which is not limited here.
- the air conditioner can obtain the indoor ambient temperature through a temperature acquisition module installed on itself, or obtain the indoor ambient temperature through a user terminal communicating with the air conditioner. Of course, other methods can also be used to obtain the indoor ambient temperature, which is not limited here.
- the method of determining the user's location when controlling the air conditioner to be turned on may be: draw a circle with the home location as the center and the third moving distance as the radius, and the circle's The position of the round edge is the user's position when the air conditioner is turned on.
- other methods can also be used to determine the user's position when the air conditioner is turned on, which is not limited here.
- air conditioner start information may also be sent to a user terminal communicatively connected to the air conditioner.
- Fig. 10 is a flow chart of the air conditioner control method provided in Embodiment 2 of the present application.
- the air conditioner control method provided in the embodiment of the present application is applied to an air conditioner, and the air conditioner communicates with user terminals of multiple users in the same family, as shown in Fig. 10 , the air conditioning control method includes the following steps:
- S401 When the air conditioner is not turned on, acquire the location information of the user, and judge whether the user is going home according to the location information.
- the method of acquiring the user's location information and judging whether the user is in the home state according to the location information is the same as that of S101 in Embodiment 1. For the sake of brevity, details are not repeated here.
- S402 If yes, obtain the user's moving speed and preset temperature, and determine the user's position when the air conditioner is turned on according to the moving speed and preset temperature.
- the specific manner of determining the user position when controlling the air conditioner to be turned on according to the moving speed and the preset temperature is the same as that of S102 in Embodiment 1, and for the sake of brevity, details are not repeated here.
- S403 According to each user's user location and each user's moving speed, obtain the home time required for each user to move from the respective user location to the home location, and perform the calculation according to the order from small to large The duration of going home is sorted to generate a sequence of durations.
- S404 Obtain the physiological information of each user, and determine the corresponding air conditioner working mode of each user according to the physiological information of each user.
- the user's physiological information includes, but is not limited to: age, blood pressure, heartbeat, body temperature, and female menstrual cycle.
- Those skilled in the art may store in the server a table of correspondences between various physiological information and air conditioner working modes in advance, and the server may search for corresponding air conditioner working modes according to the correspondence table after acquiring the physiological information of a certain user.
- the user's physiological information can be information that does not change much in a short period of time, such as age, female menstrual cycle, etc., which can be stored in the server or air conditioner controller in advance, and each user's The physiological information corresponds to the user terminal model and the like of each user.
- relevant information can be directly invoked according to the user terminal model of the user.
- the user's physiological information can be information that changes greatly in a short period of time, such as blood pressure, heartbeat, and body temperature, etc.
- various information detection APPs can be downloaded in the user terminal in advance.
- the server sends an acquisition signal to the user terminal of the user, and the user terminal sends various detected physiological information to the server after receiving the acquisition signal.
- the user's current physical state can be determined more accurately, which facilitates the subsequent determination of the corresponding air conditioner working mode according to the user's physiological information, and improves user experience.
- S405 Determine whether the air conditioner working modes corresponding to each user are the same.
- the air conditioner working modes corresponding to each user's physiological information are not necessarily the same. Therefore, after determining the corresponding air conditioner working mode of each user, it can be first judged whether the corresponding air conditioner working mode of each user is same. If they are the same, it is only necessary to control the air conditioner to run in the air conditioner working mode corresponding to the user when the user corresponding to the minimum home time in the time length sequence arrives at the user's user location, and it is not necessary to judge according to the user locations of other users. Improve the intelligence and convenience of air conditioning control and improve user experience.
- the operating intensity of the second working mode is higher than that of the first working mode.
- the first working mode is a weak cooling working mode
- the second working mode is a forced cooling working mode.
- S410 Determine whether the difference between the minimum duration and the minimum return duration is greater than a third preset duration.
- S411 If the difference between the minimum time length and the minimum home time length is greater than the third preset time length, when the user corresponding to the minimum home time length in the time length sequence arrives at the user's user location, control the air conditioner to operate in the second working mode run and control the air conditioner to switch to the first working mode after the fourth preset time period.
- the fourth preset duration is shorter than the third preset duration.
- the third preset duration can be 30min, or 35min, or others; the fourth preset duration can be 10min, It can also be 15 minutes, or other, as long as the fourth preset duration is shorter than the third preset duration, there is no limitation here.
- the air conditioner operating modes corresponding to each user are different, since the air conditioner can only operate in one operating mode, it is necessary to determine the operating mode of the air conditioner when it is turned on. It can be judged according to the length of time the user goes home and the corresponding air conditioner working mode of the user. Some users are weak or temporarily unsuitable for the forced cooling mode. If the user arrives home first, then control the air conditioner to turn on the weak cooling mode; home interval. If the interval is small, the air conditioner is controlled to turn on the weak cooling working mode; if the interval is large, the air conditioner is controlled to turn on the forced cooling working mode for a period of time and then switch to the weak cooling working mode.
- the needs of users with weak constitutions are given priority, further improving the intelligence and convenience of air-conditioning control, and improving user experience.
- an air conditioner communicates with the user terminals of four users a, b, c, and d in the same family.
- the server determines that the controlled air conditioners of the four users are turned on
- the server determines that the controlled air conditioners of the four users are turned on
- After the user's location first, according to each user's user's location and each user's moving speed, obtain the home time ta, tb, tc required for each user to move from their respective user's location to their home location , td, and sort the above-mentioned home time in descending order to generate a time sequence ta, tb, tc, td.
- the server call the physiological information pre-stored in the server, and determine the air conditioner working mode corresponding to users a, b, c, and d according to the physiological information of each user. Afterwards, it is judged whether the air conditioner working modes corresponding to each user are the same, and if they are the same, for example, both are in the forced cold working mode, then when user a arrives at his user location, the air conditioner is controlled to operate in the forced cold working mode. If not, it is judged whether the air conditioner working mode of user a is the forced cooling working mode, if not, the air conditioner is controlled to run the weak cooling working mode when user a arrives at the user's location.
- Fig. 11 is a schematic structural diagram of an air-conditioning control device provided by an embodiment of the present application.
- the air-conditioning control device includes: a processor 101 and a memory 102; the memory 102 stores a computer program; the processor 101 executes the memory storage A computer program to realize the steps of the air-conditioning control method in the above method embodiments.
- the air conditioner control device may be independent or a part of the air conditioner, and the processor 101 and memory 102 may use existing hardware inside the air conditioner.
- the memory 102 and the processor 101 are electrically connected directly or indirectly to realize data transmission or interaction.
- these components may be electrically connected to each other through one or more communication buses or signal lines, for example, they may be connected through a bus.
- the memory 102 stores computer-executed instructions for implementing the data access control method, including at least one software function module that can be stored in the memory 102 in the form of software or firmware.
- the processor 101 executes the software programs and modules stored in the memory 102, Various functional applications and data processing are thereby performed.
- Memory 102 can be, but not limited to, Random Access Memory (Random Access Memory, referred to as: RAM), Read Only Memory (Read Only Memory, referred to as: ROM), Programmable Read-Only Memory (Programmable Read-Only Memory, referred to as: PROM ), Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), Electric Erasable Programmable Read-Only Memory (EEPROM for short), etc.
- RAM Random Access Memory
- ROM Read Only Memory
- PROM Programmable Read-Only Memory
- EPROM Erasable Programmable Read-Only Memory
- EEPROM Electric Erasable Programmable Read-Only Memory
- the software programs and modules in the memory 102 may also include an operating system, which may include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and It can communicate with various hardware or software components to provide an operating environment for other software components.
- an operating system which may include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and It can communicate with various hardware or software components to provide an operating environment for other software components.
- the processor 101 may be an integrated circuit chip, which has a signal processing capability.
- the above-mentioned processor 101 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), and the like.
- CPU Central Processing Unit
- NP Network Processor
- a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
- An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used to implement the steps of the various method embodiments of the present application when executed by a processor.
- Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory can include random access memory (RAM) or external cache memory.
- RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
- SRAM Static RAM
- DRAM Dynamic RAM
- SDRAM Synchronous DRAM
- DDRSDRAM Double Data Rate SDRAM
- ESDRAM Enhanced SDRAM
- SLDRAM Synchronous Chain Synchlink DRAM
- Rambus direct RAM
- RDRAM direct memory bus dynamic RAM
- RDRAM memory bus dynamic RAM
- An embodiment of the present application further provides a computer program product, including a computer program, to implement the steps of the air-conditioning control method in the above method embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Selective Calling Equipment (AREA)
- Air Conditioning Control Device (AREA)
Abstract
本申请提供一种空调控制方法、设备、介质及程序产品。该方法包括:在空调处于未开启状态下,获取用户的位置信息,并且根据位置信息判断用户是否处于回家状态;若是,则获取用户的移动速度及预设温度,并且根据移动速度及预设温度确定控制空调开启时的用户位置;在用户到达用户位置时,控制空调开启。本申请的方法,不需要用户通过手机等设备远程遥控空调开启,或者通过设置手机等设备定时发送开启信号来远程遥控空调开启,从而避免用户在回到家之后不能处于适宜的环境温度或者造成能源的浪费,提高控制空调开启的智能性,从而提升用户使用体验。
Description
本申请要求于2021年08月02日提交中国专利局、申请号为202110879419.9、申请名称为“空调控制方法、设备、介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及空调技术,尤其涉及一种空调控制方法、设备、介质及程序产品。
空调是一种能够调节室内环境温度的设备,随着经济的发展和社会的进步,人们对空调进行智能控制的要求也越来越高。例如,为了使用便捷,现有的空调大都具备远程遥控开启功能。
现在的空调通常通过安装wifi模块来实现远程遥控开启,用户可以在到家之前通过操作手机等设备远程遥控空调开启,或者设置手机等设备定时发送开启信号来远程遥控空调开启,以使用户在回到家之后就可以处于适宜的环境温度。
然而,现有的空调在实现远程遥控开启的过程中仍然存在以下缺陷:通过手动操作直接通过手机等设备远程遥控空调开启时,用户可能忘记需要远程遥控空调开启,导致空调提前开启时间不足甚至未提前开启,使得用户在回到家之后不能处于适宜的环境温度,影响用户使用体验;通过设置手机等设备定时发送开启信号来远程遥控空调开启时,用户可能把握不准时间,导致空调提前开启时间不足或者多余,使得用户在回到家之后不能处于适宜的环境温度,或者在用户到家之前提前达到适宜的环境温度,造成能源的浪费。
发明内容
本申请提供一种空调控制方法、设备、介质及程序产品,用以解决如何提高控制空调开启的智能性,从而提升用户使用体验的技术问题。
第一方面,本申请提供一种空调控制方法,包括:
在所述空调处于未开启状态下,获取用户的位置信息,并且根据所述位置信息判断用户是否处于回家状态;
若是,则获取用户的移动速度及预设温度,并且根据所述移动速度及所述预设温度确定控制所述空调开启时的用户位置;
在用户到达所述用户位置时,控制所述空调开启。
在一种可能的设计中,所述获取用户的位置信息,具体包括:
以第一预设时长为间隔,周期地获取用户的位置信息;
相应的,所述根据所述位置信息判断用户是否处于回家状态,具体包括:
根据所述位置信息确定用户所处位置与家庭所在位置之间的移动距离,并且根据所述移动距离判断用户是否处于回家状态;
或者,
根据所述位置信息确定用户的移动方向,并且根据所述移动方向判断用户是否处于回家状态;
或者,
根据所述位置信息确定用户的移动方向以及用户所处位置与家庭所在位置之间的移动距离,并且根据所述移动方向以及所述移动距离判断用户是否处于回家状态。
在一种可能的设计中,所述根据所述移动方向以及所述移动距离判断用户是否处于回家状态,具体包括:
判断所述移动方向是否为用户从所处位置趋于所述家庭所在位置的方向;若是,则确定用户移动所述移动距离所需的移动时长,并且判断所述移动时长是否小于第二预设时长;若所述移动时长小于第二预设时长,则确定用户处于回家状态;
或者,
判断所述移动距离是否小于预设距离;若是,则判断所述移动方向是否为用户所处位置趋于所述家庭所在位置的方向;若所述移动方向为用户所处位置趋于所述家庭所在位置的方向,则确定用户处于回家状态。
在一种可能的设计中,所述确定用户移动所述移动距离所需的移动时长,具体包括:
按照获得所述位置信息的先后顺序进行排序以生成位置序列;
确定所述位置序列中排序最先的位置信息与排序最后的位置信息之间的间隔距离以及间隔时长,根据所述间隔距离以及间隔时长确定第一移动速度,根据所述移动距离以及所述第一移动速度确定用户移动所述移动距离所需的移动时长;或者,确定所述位置序列中相邻两个位置信息之间的间隔距离以及每一所述间隔距离各自对应的间隔时长,根据每一所述间隔距离以及每一所述间隔距离各自对应的间隔时长确定每一所述间隔距离各自对应的第二移动速度,并且将所述第二移动速度的均值作为第一移动速度,根据所述移动距离以及所述第一移动速度确定用户移动所述移动距离所需的移动时长。
在一种可能的设计中,所述根据所述位置信息确定用户的移动方向,具体包括:
按照获取所述位置信息的先后顺序进行排序以生成位置序列;
分别生成所述位置序列中排序最先的位置信息与其他位置信息之间的方向矢量,确定所述方向矢量中方向相同的矢量数目,并且判断所述方向相同的矢量数目是否大于等于预设数目,若是,则将所述方向相同的矢量方向作为用户的移动方向;或者,分别生成所述位置序列中相邻两个位置信息之间的方向矢量;确定所述方向矢量中方向相同的矢量数目,并且判断所述方向相同的矢量数目是否大于等于预设数目,若是,则将所述方向相同的矢量方向作为用户的移动方向。
在一种可能的设计中,所述根据所述移动速度及所述预设温度确定控制所述空调开启时的用户位置,具体包括:
获取室内环境温度以及预设的工作模式;
根据所述预设温度、所述室内环境温度以及所述预设的工作模式确定所述空调在所述预设的工作模式下将所述室内环境温度调整至所述预设温度所需的运行时间;
根据所述运行时间以及所述移动速度获取第三移动距离;
根据所述第三移动距离以及家庭所在位置确定控制所述空调开启时的用户位置。
在一种可能的设计中,在所述获取用户的位置信息之前,还包括:
确定时间是否达到用户预定的下班时间,若达到,则执行所述获取用户的位置信息的步骤;
或者,
确定所述空调的关机时长是否达到预设关机时长,若达到,则执行所述获取用户的位置信息的步骤;
或者,
根据用户的历史位置数据以及用户的空调使用习惯信息确定位置获取时间,若时间达到所述位置获取时间,则执行所述获取用户的位置信息的步骤。
在一种可能的设计中,所述空调与同一家庭的多个用户的用户终端通讯连接,在所述确定控制所述空调开启时的用户位置之后,还包括:
根据每个用户的用户所处位置以及每个用户的移动速度获取每个用户从各自的用户所处位置移动至家庭所在位置所需的回家时长,并且按照由小至大的顺序对所述回家时长进行排序以生成时长序列;
获取每个用户的生理信息,并且根据所述每个用户的生理信息确定每个用户各自对应的空调工作模式;
判断每个用户各自对应的空调工作模式是否相同;
相应的,所述在用户到达所述用户位置时,控制所述空调开启,包括:
若每个用户各自对应的空调工作模式相同,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以该用户对应的空调工作模式运行。
在一种可能的设计中,所述方法还包括:
若每个用户各自对应的空调工作模式不同,则判断所述时长序列中最小回家时长对应的用户的空调工作模式是否为第二工作模式;
若否,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以第一工作模式运行,所述第二工作模式的运行强度高于第一工作模式的运行强度;
若是,则获取空调工作模式为所述第一工作模式的用户对应的回家时长中的最小时长,并且判断该最小时长与所述最小回家时长之间的差值是否大于第三预设时长;如果该最小时长与所述最小回家时长之间的差值大于第三预设时长,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以所述第二工作模式运行并且在第四预设时长之后控制所述空调切换为第一工作模式运行;如果该最小时长与所述最小回家时长之间的差值不大于第三预设时长,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以第一工作模式运行;其中,所述第四预设时长小于第三预设时长。
第二方面,本申请提供一种空调控制设备,包括存储器,处理器;
存储器;用于存储所述处理器可执行指令的存储器;
其中,所述处理器被配置为调用所述存储器中存储的可执行指令,执行上述的方法。
第三方面,本申请提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述的方法。
本申请提供的空调控制方案,可以根据用户的位置信息判断用户是否处于回家状态,并且当用户处于回家状态时进一步确定控制空调开启时的用户位置,该用户位置可以通过用户的移动速度及预设温度确定,该用户位置可以设置为在用户到达用户位置时控制空调开启,可以使空调在用户回到家时恰好能够将室内温度调整至适宜温度,通过这样的设置,不需要用户通过手机等设备远程遥控空调开启,避免用户忘记提前开启空调而影响使用体验;也不需要用户通过设置手机等设备定时发送开启信号来远程遥控空调开启,在用户到达用户位置时即可控制空调开启(具体的用户位置可以通过用户当前的移动速度以及预设温度等确定),避免用户预估错时间而导致空调提前开启时间不足或者多余,从而避免用户在回到家之后不能处于适宜的环境温度或者造成能源的浪费,提高控制空调开启的智能 性,从而提升用户使用体验。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
图1为本申请的一实施例提供的空调控制方法的流程示意图;
图2为本申请的另一实施例提供的空调控制方法的流程示意图;
图3为本申请的另一实施例提供的空调控制方法的流程示意图;
图4为本申请的另一实施例提供的空调控制方法的流程示意图;
图5为本申请的另一实施例提供的空调控制方法的流程示意图;
图6为本申请的另一实施例提供的空调控制方法的流程示意图;
图7为本申请的另一实施例提供的空调控制方法的流程示意图;
图8为本申请的另一实施例提供的空调控制方法的流程示意图;
图9为本申请的另一实施例提供的空调控制方法的流程示意图;
图10为本申请的另一实施例提供的空调控制方法的流程示意图;
图11是本申请的一实施例提供的空调控制设备的结构示意图。
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
目前,人们对空调进行智能控制的要求越来越高,例如,现有的空调大都具备远程遥控开启功能,以便用户提前控制空调开启。
现有技术中,通常通过在空调上安装wifi模块来实现空调的远程遥控开启,用户可以在到家之前通过操作手机等设备远程遥控空调开启,或者设置手机等设备定时发送开启信号来远程遥控空调开启,以使用户在回到家之后就可以处于适宜的环境温度。
但是,上述通过手动操作直接通过手机等设备远程遥控空调开启时,用户可能忘记需 要远程遥控空调开启,导致空调提前开启时间不足甚至未提前开启,使得用户在回到家之后不能处于适宜的环境温度,影响用户使用体验;而通过设置手机等设备定时发送开启信号来远程遥控空调开启时,用户可能把握不准时间,导致空调提前开启时间不足或者多余,使得用户在回到家之后不能处于适宜的环境温度,或者在用户到家之前提前达到适宜的环境温度,造成能源的浪费。
本申请提供的空调控制方法,旨在解决现有技术的如上技术问题,该方法可以根据用户的位置信息判断用户是否处于回家状态,并且当用户处于回家状态时进一步确定控制空调开启时的用户位置,该用户位置可以设置为在用户到达用户位置时控制空调开启,可以使空调在用户回到家时恰好能够将室内温度调整至适宜温度。通过这样的设置,不需要用户通过手机等设备远程遥控空调开启,或者通过设置手机等设备定时发送开启信号来远程遥控空调开启,从而避免用户在回到家之后不能处于适宜的环境温度或者造成能源的浪费,提高控制空调开启的智能性,从而提升用户使用体验。
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。
实施例一
图1是本申请实施例一提供的空调控制方法的流程图,本申请实施例提供的空调控制方法应用于空调,该空调与一个用户的用户终端通讯连接,如图1所示,该空调控制方法包括以下步骤:
S101:在空调处于未开启状态下,获取用户的位置信息,并且根据位置信息判断用户是否处于回家状态。
在本实施例中,可以获取与空调通讯连接的用户终端的位置信息,并将该用户终端的位置信息作为用户的位置信息。用户终端包括但不限于:手机、智能手表和智能手环等设备。
在一些实施例中,可以预先设置获取用户的位置信息的时间,因此,如图2所示,S101的一种可行的实施方式包括:S1011A、在空调处于未开启状态下,确定时间是否达到用户预定的下班时间,若达到,则获取用户的位置信息;S1012、根据位置信息判断用户是否处于回家状态。
在本实施方式中,若时间达到用户预定的下班时间,说明用户可能将要回家,在此之前不需要获取用户的位置信息,只需在此之后获取用户的位置信息。通过根据判断时间是否达到用户预定的下班时间,可以简单而又准确地确定获取用户位置信息的时间,降低获 取用户位置过程的能源消耗,避免浪费。
可选的,如图3所示,S1011A的一种可能的实现方式为:S1011B、在空调处于未开启状态下,确定空调的关机时长是否达到预设关机时长,若达到,则获取用户的位置信息。
在本实施方式中,若空调的关机时长较长,说明用户已经长时间不在家,可能即将回家,在此之前不需要获取用户的位置信息,只需在此之后获取用户的位置信息。通过根据判断空调的关机时长是否达到预设关机时长,不需要用户设置下班时间,空调可以自动获取关机时长,提高空调控制的智能性,同时降低获取用户位置过程的能源消耗,避免浪费。本领域技术人员可以灵活设置预设关机时长,例如,预设关机时长可以是8小时,也可以是9小时。
可选的,如图4所示,S1011A的另一种可能的实现方式为:S1011C1、在空调处于未开启状态下,根据用户的历史位置数据以及用户的空调使用习惯信息确定位置获取时间;S1011C2、若时间达到位置获取时间,则获取用户的位置信息。
在本实施方式中,可以根据用户的历史位置数据以及用户的空调使用习惯信息确定位置获取时间,例如,用户基本都在17:40开始从公司回家,并且在18:30到家开启空调,那么可以将位置获取时间设置为18:00。
在本实施方式中,通过根据用户的历史位置数据以及用户的空调使用习惯信息确定位置获取时间,完全不需要用户事先设置任何参数,空调可以根据历史运行数据等通过大数据分析自动确定位置获取时间,进一步提高空调控制的智能性以及准确性,同时降低获取用户位置过程的能源消耗,避免浪费。
在另一些实施例中,根据用户的位置信息可以确定用户的移动距离、移动方向等信息,因此,如图5所示,S101的另一种可行的实施方式包括:S1013、以第一预设时长为间隔,周期地获取用户的位置信息;S1014A、根据位置信息确定用户所处位置与家庭所在位置之间的移动距离,并且根据移动距离判断用户是否处于回家状态。
在本实施方式中,用户回家的过程即是用户逐渐靠近家庭所在位置的过程,也就是用户所处位置与家庭所在位置之间的移动距离逐渐缩小的过程。因此,通过用户所处位置与家庭所在位置之间的移动距离即可简便而又准确地判断出用户是否处于回家状态。
需要说明的是,以第一预设时长为间隔,周期地获取用户的位置信息指的是,每隔第一预设时长就获取一次用户的位置信息。在本实施方式中,本领域技术人员可以灵活设置第一预设时长,例如,第一预设时长可以是1min,也可以是2min,在此不作限制。
此外,还需要说明的是,根据移动距离判断用户是否处于回家状态的方法可以是:按照获取位置信息的先后顺序进行排序以生成位置序列,判断序列中每一位置信息所对应的 移动距离是否逐渐减小,若是,则用户处于回家状态,若否,则用户未处于回家状态。或者,根据移动距离判断用户是否处于回家状态的方法还可以是:判断位置信息所对应的移动距离是否达到预设的移动距离,若是,则用户处于回家状态,若否,则用户未处于回家状态。当然,也可以利用其他方式根据移动距离判断用户是否处于回家状态,在此不作限制。
可选的,如图6所示,S1014A的一种可能的实现方式为:S1014B、根据位置信息确定用户的移动方向,并且根据移动方向判断用户是否处于回家状态。
在本实施方式中,用户回家的过程即是用户趋于家庭所在位置移动的过程,只要用户的移动方向是从用户所处位置趋于家庭所在位置的方向,即可确定用户处于回家状态。因此,通过用户的移动方向即可简便而又准确地判断出判断用户是否处于回家状态。
需要说明的是,根据移动方向判断用户是否处于回家状态的方法可以是:判断移动方向是否为用户从所处位置趋于家庭所在位置的方向,若是,则用户处于回家状态,若否,则用户未处于回家状态。当然,也可以利用其他方式根据移动方向判断用户是否处于回家状态,在此不作限制。
可选的,如图7所示,S1014A的另一种可能的实现方式为:S1014C1、根据位置信息确定用户的移动方向以及用户所处位置与家庭所在位置之间的移动距离;S1014C2、根据移动方向以及移动距离判断用户是否处于回家状态。
在本实施方式中,用户回家的过程即是用户所处位置与家庭所在位置之间的移动距离逐渐缩小的过程,也可以认为是用户趋于家庭所在位置移动的过程。因此,通过综合移动方向和移动距离两个方面进行判断,可以进一步提高用户状态判断的准确性,减小偶然事件带来的误差,如用户下班途中因堵车而绕远路等情形。
在一个可能的实施方式中,上述S1014B和S1014C1中根据位置信息确定用户的移动方向,可以包括:按照获取位置信息的先后顺序进行排序以生成位置序列;分别生成位置序列中排序最先的位置信息与其他位置信息之间的方向矢量,确定方向矢量中方向相同的矢量数目,并且判断方向相同的矢量数目是否大于等于预设数目,若是,则将方向相同的矢量方向作为用户的移动方向。
由于道路情况、建筑物以及障碍物等的影响,用户基本不可能从所处位置不改变方向地移动,本实施方式适用于用户回家过程中移动方向改变程度较大的情形,通过分别生成位置序列中排序最先的位置信息与其他位置信息之间的方向矢量,两个位置信息之间的间隔时间越大,方向矢量的方向越准确,进一步提高移动方向判断的准确性,此外,还通过方向相同的矢量数目减小偶然事件带来的误差,从而更进一步地提高移动方向判断的准确 性。
在一个另可能的实施方式中,上述S1014B和S1014C1中根据位置信息确定用户的移动方向,可以包括:按照获取位置信息的先后顺序进行排序以生成位置序列;分别生成位置序列中相邻两个位置信息之间的方向矢量;确定方向矢量中方向相同的矢量数目,并且判断方向相同的矢量数目是否大于等于预设数目,若是,则将方向相同的矢量方向作为用户的移动方向。
本实施方式适用于用户回家过程中移动方向改变程度较小的情形,通过分别生成位置序列中相邻两个位置信息之间的方向矢量,只要用户途中改变移动方向就可以简单便捷地检测到,进一步提高移动方向判断的准确性,此外,还通过方向相同的矢量数目减小偶然事件带来的误差,从而更进一步地提高移动方向判断的准确性。
在上述实施方式中,预设数目小于等于组成位置序列的位置信息的数目,具体的数据本领域技术人员可以灵活设置,在此不作限制。
在一个具体的实施方式中,可以任意获取一定数目的位置信息,例如获取4个位置信息A、B、C、D,将这4个位置信息按照获取位置信息的先后顺序进行排序以生成位置序列ABCD,分别生成A与B、A与C、A与D之间的方向矢量,或者分别生成A与B、B与C、C与D之间的方向矢量,若这3个方向矢量中方向相同的矢量数目大于等于2,则这些方向相同的矢量方向即为用户的移动方向。
在一个可能的实施方式中,如图8所示,上述S1014C2中根据移动方向以及移动距离判断用户是否处于回家状态,可以包括:S201、判断移动方向是否为用户从所处位置趋于家庭所在位置的方向;S202、若不是,则继续以第一预设时长为间隔,周期地获取用户的位置信息;S203、若是,则确定用户移动移动距离所需的移动时长;S204、判断移动时长是否小于第二预设时长;S205、若移动时长小于第二预设时长,则确定用户处于回家状态;S206、若移动时长不小于第二预设时长,则按照预设的时间增值逐渐增大第一预设时长,并以增大后的第一预设时长为间隔周期地获取用户的位置信息。
在本实施方式中,若移动方向不是用户从所处位置趋于家庭所在位置的方向,说明用户并未处于回家的方向,此时继续以第一预设时长为间隔,周期地获取用户的位置信息,直至以某位置信息确定的移动方向为用户从所处位置趋于家庭所在位置的方向。若移动方向为用户从所处位置趋于家庭所在位置的方向,则继续判断用户是否距离家庭所在位置较近。若移动时长小于第二预设时长,则确定用户处于回家状态;若移动时长不小于第二预设时长,说明用户离家较远,则按照预设的时间增值逐渐增大第一预设时长,并以增大后的第一预设时长为间隔周期地获取用户的位置信息,直至以某位置信息确定的移动时长小 于第二预设时长。
离家距离直接影响用户交通工具的选择,即影响用户的移动速度,当用户离家较近时,移动速度一般较小,当用户离家较远时,移动速度一般较大。本实施方式适用于用户离家较远的情形,先通过用户的移动方向初步判断用户状态,再通过用户的移动距离进一步确定用户状态,以提高用户状态判断的准确性。此外,当用户移动方向为回家的方向但距离家庭所在位置较远时,不需要太频繁获取位置信息,可以通过增大位置信息获取的时间间隔降低能源消耗,同时进一步提高判断的准确性。
在另一个可能的实施方式中,如图9所示,上述S1014C2中根据移动方向以及移动距离判断用户是否处于回家状态,可以包括:S301、判断移动距离是否小于预设距离;S302、若不是,则按照预设的时间增值逐渐增大第一预设时长,并以增大后的第一预设时长为间隔周期地获取用户的位置信息;S303、若是,则判断移动方向是否为用户所处位置趋于家庭所在位置的方向;S304、若移动方向为用户所处位置趋于家庭所在位置的方向,则确定用户处于回家状态;S305、若移动方向不是用户所处位置趋于家庭所在位置的方向,则以第一预设时长为间隔,周期地获取用户的位置信息。
在本实施方式中,若移动距离不小于预设距离,说明用户离家较远,则按照预设的时间增值逐渐增大第一预设时长,并以增大后的第一预设时长为间隔周期地获取用户的位置信息,直至移动距离小于预设距离;若移动距离小于预设距离,说明用户离家较近,则继续判断移动方向是否为用户从所处位置趋于家庭所在位置的方向;若是,则确定用户处于回家状态;若否,说明用户并未处于回家的方向,此时继续以第一预设时长为间隔,周期地获取用户的位置信息(此时离家较近,需要较频繁地获取位置信息,以免获取不及时造成错误),直至以某位置信息确定的移动方向为用户从所处位置趋于家庭所在位置的方向。
本实施方式适用于用户离家较近的情形,先通过用户的移动距离初步判断用户状态并且据此确定信息获取的时间间隔,再通过用户的移动方向进一步确定用户状态,以提高用户状态判断的准确性。此外,当用户距离家庭所在位置较远时,不需要太频繁获取位置信息,可以通过增大位置信息获取的时间间隔降低能源消耗;当用户距离家庭所在位置较近时,需要较频繁地获取位置信息,以免因位置信息获取不及时而导致空调开启延迟。
需要说明的是,本领域技术人员可以灵活设置第二预设时长,例如,第二预设时长可以是30min,也可以是35min,在此不作限制。同样的,本领域技术人员可以灵活设置预设的时间增值,例如,预设的时间增值可以是1min,也可以是0.5min,在此不作限制。此外,增大后的第一预设时长小于等于时长阈值,本领域技术人员可以灵活设置时长阈值,例如,时长阈值可以是5min,也可以是6min,在此不作限制。本领域技术人员可以灵活 设置预设距离,例如,预设距离可以是1km,也可以是1.5km,在此不作限制。
在一个可能的实施方式中,确定用户移动移动距离所需的移动时长,可以包括:按照获得位置信息的先后顺序进行排序以生成位置序列;确定位置序列中排序最先的位置信息与排序最后的位置信息之间的间隔距离以及间隔时长,根据间隔距离以及间隔时长确定第一移动速度,根据移动距离以及第一移动速度确定用户移动移动距离所需的移动时长。
在一个具体的实施方式中,可以任意获取一定数目的位置信息,例如获取4个位置信息E、F、G、H,将这4个位置信息按照获取位置信息的先后顺序进行排序以生成位置序列EFGH,确定E与H之间的间隔距离S0以及间隔时长T0,则第一移动速度V1=S0/T0,移动距离S已知,则用户移动移动距离所需的移动时长T=S/V1。
在本实施方式中,通过位置序列中排序最先的位置信息与排序最后的位置信息之间的间隔距离以及间隔时长来计算用户当前的移动速度,可以提高计算移动速度的简便性和快捷性。
在另一个可能的实施方式中,确定用户移动移动距离所需的移动时长,可以包括:按照获得位置信息的先后顺序进行排序以生成位置序列;确定位置序列中相邻两个位置信息之间的间隔距离以及每一间隔距离各自对应的间隔时长,根据每一间隔距离以及每一间隔距离各自对应的间隔时长确定每一间隔距离各自对应的第二移动速度,并且将第二移动速度的均值作为第一移动速度,根据移动距离以及第一移动速度确定用户移动移动距离所需的移动时长。
在另一个具体的实施方式中,可以任意获取一定数目的位置信息,例如获取4个位置信息E、F、G、H,将这4个位置信息按照获取位置信息的先后顺序进行排序以生成位置序列EFGH,分别确定E与F之间的间隔距离S1以及间隔时长T1,F与G之间的间隔距离S2以及间隔时长T2,G与H之间的间隔距离S3以及间隔时长T3,则E与F对应的第二移动速度V21=S1/T1,F与G对应的第二移动速度V22=S2/T2,G与H对应的第二移动速度V23=S3/T3,则第一移动速度V1=(V21+V22+V23)/3,移动距离S已知,则用户移动移动距离所需的移动时长T=S/V1。
在本实施方式中,通过位置序列中相邻两个位置信息之间的间隔距离以及每一间隔距离各自对应的间隔时长来计算用户当前的移动速度,可以提高计算移动速度的准确性。
S102:若是,则获取用户的移动速度及预设温度,并且根据移动速度及预设温度确定控制空调开启时的用户位置。
在本实施例中,可以以第一预设时长为间隔,周期地获取用户的位置信息,根据获取到的位置信息确定用户的移动速度,具体的确定移动速度的步骤请见S101,在此不作赘述。 当然,也可以采用其他方式获取用户的移动速度,在此不作限制。此外,本领域技术人员可以灵活设置预设温度,例如,预设温度可以是26℃,也可以是27℃,在此不作限制。
在一个实施方式中,根据移动速度及预设温度确定控制空调开启时的用户位置,具体包括:获取室内环境温度以及预设的工作模式;根据预设温度、室内环境温度以及预设的工作模式确定空调在预设的工作模式下将室内环境温度调整至预设温度所需的运行时间;根据运行时间以及移动速度获取第三移动距离;根据第三移动距离以及家庭所在位置确定控制空调开启时的用户位置。
在本实施例中,通过预设温度、室内环境温度以及预设的工作模式等确定空调运行的时间,之后根据运行时间、移动速度以及家庭所在位置确定控制空调开启时的用户位置,使得用户到达家庭所在位置时空调恰好将室内温度调整至预设温度,提高控制空调开启的智能性,从而提升用户使用体验。
需要说明的是,预设的工作模式可以是制冷模式,也可以是制热模式,在此不作限制。空调可以通过自身安装的温度获取模块获取室内环境温度,也可以通过与空调通讯连接的用户终端获取室内环境温度,当然,也可以采用其他方式获取室内环境温度,在此不作限制。
此外,还需要说明的是,根据第三移动距离以及家庭所在位置确定控制空调开启时的用户位置的方式可以是:以家庭所在位置为圆心,以第三移动距离为半径画圆,该圆的圆边所在的位置即为控制空调开启时的用户位置,当然,也可以采用其他方式确定控制空调开启时的用户位置,在此不作限制。
S103:在用户到达用户位置时,控制空调开启。
在本实施例中,在控制空调开启的同时,还可以向与空调通讯连接的用户终端发送空调开启信息。
实施例二
图10是本申请实施例二提供的空调控制方法的流程图,本申请实施例提供的空调控制方法应用于空调,该空调与同一家庭的多个用户的用户终端通讯连接,如图10所示,该空调控制方法包括以下步骤:
S401:在空调处于未开启状态下,获取用户的位置信息,并且根据位置信息判断用户是否处于回家状态。
在本实施例中,具体的获取用户的位置信息,并且根据位置信息判断用户是否处于回家状态的方式与实施例一中的S101相同,为了描述简洁,在此不再赘述。
S402:若是,则获取用户的移动速度及预设温度,并且根据移动速度及预设温度确定 控制空调开启时的用户位置。
在本实施例中,具体的根据移动速度及预设温度确定控制空调开启时的用户位置的方式与实施例一中的S102相同,为了描述简洁,在此不再赘述。
S403:根据每个用户的用户所处位置以及每个用户的移动速度获取每个用户从各自的用户所处位置移动至家庭所在位置所需的回家时长,并且按照由小至大的顺序对回家时长进行排序以生成时长序列。
S404:获取每个用户的生理信息,并且根据每个用户的生理信息确定每个用户各自对应的空调工作模式。
在本实施例中,用户的生理信息包括但不限于:年龄、血压、心跳、体温和女性生理周期等。本领域技术人员可以事先在服务器中存储各种生理信息与空调工作模式的对应关系表,服务器获取到某个用户的生理信息之后可以根据该对应关系表查找相应的空调工作模式。
在一个可能的实施方式中,用户的生理信息可以是短时间内变化不大的信息,例如年龄、女性生理周期等,可以事先在服务器或空调控制器中存储这些信息,并且将每个用户的生理信息分别与每个用户的用户终端型号等对应。当需要获取某用户的生理信息时,可以根据该用户的用户终端型号直接调用相关信息,通过直接调用用户的生理信息可以提高信息获取的便捷性并且缩短信息获取的时间。
在另一个可能的实施方式中,用户的生理信息可以是短时间内变化较大的信息,例如血压、心跳和体温等,可以事先在用户终端中下载各种信息检测的APP等。当需要获取某用户的生理信息时,服务器向该用户的用户终端发送获取信号,用户终端在接收到获取信号后将实施检测到的各种生理信息发送至服务器。通过实时获取用户的生理信息可以更加准确的确定用户当前的身体状态,便于后续根据用户的生理信息确定相应的空调工作模式,提高用户体验。
S405:判断每个用户各自对应的空调工作模式是否相同。
S406:若每个用户各自对应的空调工作模式相同,则在时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制空调以该用户对应的空调工作模式运行。
在本实施例中,根据每个用户的生理信息对应的空调工作模式不一定相同,因此,在确定每个用户各自对应的空调工作模式之后,可以先判断每个用户各自对应的空调工作模式是否相同。若相同,只需在时长序列中最小回家时长对应的用户到达该用户的用户位置时控制空调以该用户对应的空调工作模式运行即可,不需要再根据其他用户的用户位置进行判断,进一步提高空调控制的智能性和便捷性,提升用户使用体验。
S407:若每个用户各自对应的空调工作模式不同,则判断时长序列中最小回家时长对应的用户的空调工作模式是否为第二工作模式。
S408:若否,则在时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制空调以第一工作模式运行。
在本实施例中,第二工作模式的运行强度高于第一工作模式的运行强度,在一个可能的实施方式中,第一工作模式为弱制冷工作模式,第二工作模式为强制冷工作模式。
S409:若是,则获取空调工作模式为第一工作模式的用户对应的回家时长中的最小时长。
S410:判断该最小时长与最小回家时长之间的差值是否大于第三预设时长。
S411:如果该最小时长与最小回家时长之间的差值大于第三预设时长,则在时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制空调以第二工作模式运行并且在第四预设时长之后控制空调切换为第一工作模式运行。
在本实施例中,第四预设时长小于第三预设时长。本领域技术人员可以根据实际灵活设置第三预设时长和第四预设时长,例如,第三预设时长可以是30min,也可以是35min,或者是其他;第四预设时长可以是10min,也可以是15min,或者是其他,只要第四预设时长小于第三预设时长即可,在此不作限制。
S412:如果该最小时长与最小回家时长之间的差值不大于第三预设时长,则在时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制空调以第一工作模式运行。
在本实施例中,如果每个用户各自对应的空调工作模式不相同,由于空调只能运行一种工作模式,因此,需要确定空调开启时运行的工作模式。可以根据用户的回家时长以及用户对应的空调工作模式进行判断。有些用户体质弱或者暂时不适宜强制冷工作模式,如果该用户首先到家,那么控制空调开启弱制冷工作模式;如果适宜强制冷工作模式的用户首先到家,需要判断其与适宜弱制冷工作模式的用户的回家间隔。若间隔较小,则控制空调开启弱制冷工作模式,若间隔较大,则控制空调开启一段时间的强制冷工作模式再转为弱制冷工作模式。通过这样的设置,在尽可能地满足不同用户的需求的同时优先考虑体质较弱的用户的需求,进一步提高空调控制的智能性和便捷性,提升用户使用体验。
在一个具体的实施方式中,某空调与同一家庭的4个用户a、b、c、d的用户终端通讯连接,当服务器分别根据4个用户的位置信息确定这4个用户的控制空调开启时的用户位置之后,首先,根据每个用户的用户所处位置以及每个用户的移动速度获取每个用户从各自的用户所处位置移动至家庭所在位置所需的回家时长ta、tb、tc、td,并且按照由小至大的顺序对上述回家时长进行排序以生成时长序列ta、tb、tc、td。然后,调用服务器中预存 的生理信息,并且根据每个用户的生理信息确定用户a、b、c、d对应的空调工作模式。之后,判断每个用户各自对应的空调工作模式是否相同,如果相同,例如均为强制冷工作模式,则在用户a到达其用户位置时,控制空调运行强制冷工作模式。如果不同,则判断用户a的空调工作模式是否为强制冷工作模式,如果不是,则在用户a到达其用户位置时控制空调运行弱制冷工作模式。如果是,获取空调工作模式均为弱制冷工作模式的用户c和d的回家时长中最小的tc,判断ta与tc之间的差值是否大于30min。若是,则在用户a到达其用户位置时控制空调运行强制冷工作模式,并在10min之后控制空调运行弱制冷工作模式;若否,则在用户a到达其用户位置时控制空调运行弱制冷工作模式。
图11为本申请的一实施例提供的空调控制设备的结构示意图,如图11所示,该空调控制设备包括:处理器101和存储器102;存储器102存储有计算机程序;处理器101执行存储器存储的计算机程序,实现上述各方法实施例中空调控制方法的步骤。
该空调控制设备可以是独立的,也可以是空调的一部分,该处理器101和存储器102可以采用空调内部现有的硬件。
在上述空调控制设备中,存储器102和处理器101之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可以通过一条或者多条通信总线或信号线实现电性连接,如可以通过总线连接。存储器102中存储有实现数据访问控制方法的计算机执行指令,包括至少一个可以软件或固件的形式存储于存储器102中的软件功能模块,处理器101通过运行存储在存储器102内的软件程序以及模块,从而执行各种功能应用以及数据处理。
存储器102可以是,但不限于,随机存取存储器(Random Access Memory,简称:RAM),只读存储器(Read Only Memory,简称:ROM),可编程只读存储器(ProgrammableRead-Only Memory,简称:PROM),可擦除只读存储器(Erasable Programmable Read-OnlyMemory,简称:EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,简称:EEPROM)等。其中,存储器102用于存储程序,处理器101在接收到执行指令后,执行程序。进一步地,上述存储器102内的软件程序以及模块还可包括操作系统,其可包括各种用于管理系统任务(例如内存管理、存储设备控制、电源管理等)的软件组件和/或驱动,并可与各种硬件或软件组件相互通信,从而提供其他软件组件的运行环境。
处理器101可以是一种集成电路芯片,具有信号的处理能力。上述的处理器101可以是通用处理器,包括中央处理器(Central Processing Unit,简称:CPU)、网络处理器(Network Processor,简称:NP)等。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
本申请的一实施例还提供了一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现本申请各方法实施例的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)、直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
本申请的一实施例还提供了一种计算机程序产品,包括计算机程序,实现上述各方法实施例中空调控制方法的步骤。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
Claims (12)
- 一种空调控制方法,其特征在于,包括:在所述空调处于未开启状态下,获取用户的位置信息,并且根据所述位置信息判断用户是否处于回家状态;若是,则获取用户的移动速度及预设温度,并且根据所述移动速度及所述预设温度确定控制所述空调开启时的用户位置;在用户到达所述用户位置时,控制所述空调开启。
- 根据权利要求1所述的方法,其特征在于,所述获取用户的位置信息,具体包括:以第一预设时长为间隔,周期地获取用户的位置信息;相应的,所述根据所述位置信息判断用户是否处于回家状态,具体包括:根据所述位置信息确定用户所处位置与家庭所在位置之间的移动距离,并且根据所述移动距离判断用户是否处于回家状态;或者,根据所述位置信息确定用户的移动方向,并且根据所述移动方向判断用户是否处于回家状态;或者,根据所述位置信息确定用户的移动方向以及用户所处位置与家庭所在位置之间的移动距离,并且根据所述移动方向以及所述移动距离判断用户是否处于回家状态。
- 根据权利要求2所述的方法,其特征在于,所述根据所述移动方向以及所述移动距离判断用户是否处于回家状态,具体包括:判断所述移动方向是否为用户从所处位置趋于所述家庭所在位置的方向;若是,则确定用户移动所述移动距离所需的移动时长,并且判断所述移动时长是否小于第二预设时长;若所述移动时长小于第二预设时长,则确定用户处于回家状态;或者,判断所述移动距离是否小于预设距离;若是,则判断所述移动方向是否为用户所处位置趋于所述家庭所在位置的方向;若所述移动方向为用户所处位置趋于所述家庭所在位置的方向,则确定用户处于回家状态。
- 根据权利要求3所述的方法,其特征在于,所述确定用户移动所述移动距离所需的移动时长,具体包括:按照获得所述位置信息的先后顺序进行排序以生成位置序列;确定所述位置序列中排序最先的位置信息与排序最后的位置信息之间的间隔距离以及间隔时长,根据所述间隔距离以及间隔时长确定第一移动速度,根据所述移动距离以及所述第一移动速度确定用户移动所述移动距离所需的移动时长;或者,确定所述位置序列中相邻两个位置信息之间的间隔距离以及每一所述间隔距离各自对应的间隔时长,根据每一所述间隔距离以及每一所述间隔距离各自对应的间隔时长确定每一所述间隔距离各自对应的第二移动速度,并且将所述第二移动速度的均值作为第一移动速度,根据所述移动距离以及所述第一移动速度确定用户移动所述移动距离所需的移动时长。
- 根据权利要求2所述的方法,其特征在于,所述根据所述位置信息确定用户的移动方向,具体包括:按照获取所述位置信息的先后顺序进行排序以生成位置序列;分别生成所述位置序列中排序最先的位置信息与其他位置信息之间的方向矢量,确定所述方向矢量中方向相同的矢量数目,并且判断所述方向相同的矢量数目是否大于等于预设数目,若是,则将所述方向相同的矢量方向作为用户的移动方向;或者,分别生成所述位置序列中相邻两个位置信息之间的方向矢量;确定所述方向矢量中方向相同的矢量数目,并且判断所述方向相同的矢量数目是否大于等于预设数目,若是,则将所述方向相同的矢量方向作为用户的移动方向。
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述根据所述移动速度及所述预设温度确定控制所述空调开启时的用户位置,具体包括:获取室内环境温度以及预设的工作模式;根据所述预设温度、所述室内环境温度以及所述预设的工作模式确定所述空调在所述预设的工作模式下将所述室内环境温度调整至所述预设温度所需的运行时间;根据所述运行时间以及所述移动速度获取第三移动距离;根据所述第三移动距离以及家庭所在位置确定控制所述空调开启时的用户位置。
- 根据权利要求1-5中任一项所述的方法,其特征在于,在所述获取用户的位置信息之前,还包括:确定时间是否达到用户预定的下班时间,若达到,则执行所述获取用户的位置信息的步骤;或者,确定所述空调的关机时长是否达到预设关机时长,若达到,则执行所述获取用户的位置信息的步骤;或者,根据用户的历史位置数据以及用户的空调使用习惯信息确定位置获取时间,若时间达到所述位置获取时间,则执行所述获取用户的位置信息的步骤。
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述空调与同一家庭的多个用户的用户终端通讯连接,在所述确定控制所述空调开启时的用户位置之后,还包括:根据每个用户的用户所处位置以及每个用户的移动速度获取每个用户从各自的用户所处位置移动至家庭所在位置所需的回家时长,并且按照由小至大的顺序对所述回家时长进行排序以生成时长序列;获取每个用户的生理信息,并且根据所述每个用户的生理信息确定每个用户各自对应的空调工作模式;判断每个用户各自对应的空调工作模式是否相同;相应的,所述在用户到达所述用户位置时,控制所述空调开启,包括:若每个用户各自对应的空调工作模式相同,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以该用户对应的空调工作模式运行。
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:若每个用户各自对应的空调工作模式不同,则判断所述时长序列中最小回家时长对应的用户的空调工作模式是否为第二工作模式;若否,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以第一工作模式运行,所述第二工作模式的运行强度高于第一工作模式的运行强度;若是,则获取空调工作模式为所述第一工作模式的用户对应的回家时长中的最小时长,并且判断该最小时长与所述最小回家时长之间的差值是否大于第三预设时长;如果该最小时长与所述最小回家时长之间的差值大于第三预设时长,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以所述第二工作模式运行并且在第四预设时长之后控制所述空调切换为第一工作模式运行;如果该最小时长与所述最小回家时长之间的差值不大于第三预设时长,则在所述时长序列中最小回家时长对应的用户到达该用户的用户位置时,控制所述空调以第一工作模式运行;其中,所述第四预设时长小于第三预设时长。
- 一种空调控制设备,包括存储器,处理器;存储器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器中存储的可执行指令,执行如权利要求1至9中任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至9中任一项所述的方法。
- 一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现权利要求1-9中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110879419.9 | 2021-08-02 | ||
CN202110879419.9A CN113639435B (zh) | 2021-08-02 | 2021-08-02 | 空调控制方法、设备、介质及程序产品 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023010908A1 true WO2023010908A1 (zh) | 2023-02-09 |
Family
ID=78419269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/089655 WO2023010908A1 (zh) | 2021-08-02 | 2022-04-27 | 空调控制方法、设备、介质及程序产品 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113639435B (zh) |
WO (1) | WO2023010908A1 (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113639435B (zh) * | 2021-08-02 | 2023-01-13 | 青岛海尔空调器有限总公司 | 空调控制方法、设备、介质及程序产品 |
CN114488823A (zh) * | 2021-12-16 | 2022-05-13 | 漳州立达信光电子科技有限公司 | 智能家居控制方法及控制终端 |
CN114383287A (zh) * | 2021-12-21 | 2022-04-22 | 青岛海尔空调器有限总公司 | 空调控制方法、空调、电子设备及存储介质 |
CN114353255B (zh) * | 2022-01-20 | 2023-05-02 | Tcl空调器(中山)有限公司 | 空调器控制方法、装置、空调器及可读存储介质 |
CN114738922A (zh) * | 2022-03-14 | 2022-07-12 | 青岛海尔空调器有限总公司 | 用于控制空调的方法及装置、空调、存储介质 |
CN115059989B (zh) * | 2022-03-21 | 2024-06-07 | 杨迎卯 | 一种智能家居的唤醒方法、系统及存储介质 |
CN115111712A (zh) * | 2022-06-02 | 2022-09-27 | 青岛海尔空调器有限总公司 | 一种空调器的远程控制方法及空调器 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013200098A (ja) * | 2012-03-26 | 2013-10-03 | Mitsubishi Electric Corp | 空気調和装置 |
CN103994558A (zh) * | 2014-05-07 | 2014-08-20 | 广东美的制冷设备有限公司 | 空调器的控制方法、智能终端和空调器控制系统 |
CN105180346A (zh) * | 2015-07-16 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | 一种基于gps的空调远程自动控制系统及方法 |
CN106871331A (zh) * | 2017-01-03 | 2017-06-20 | 珠海格力电器股份有限公司 | 一种空调的控制方法和系统 |
CN112099362A (zh) * | 2019-06-17 | 2020-12-18 | 美的集团武汉制冷设备有限公司 | 控制终端、家电设备的远程控制提示方法及空调器 |
CN112229027A (zh) * | 2019-06-30 | 2021-01-15 | 广东美的制冷设备有限公司 | 空调器的控制方法、终端及计算机可读存储介质 |
CN112229026A (zh) * | 2019-06-30 | 2021-01-15 | 广东美的制冷设备有限公司 | 空调器的控制方法、空调器、服务器及存储介质 |
CN112229037A (zh) * | 2019-06-30 | 2021-01-15 | 广东美的制冷设备有限公司 | 空调器的控制方法、终端、空调器和存储介质 |
CN113639435A (zh) * | 2021-08-02 | 2021-11-12 | 青岛海尔空调器有限总公司 | 空调控制方法、设备、介质及程序产品 |
Family Cites Families (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4823266A (en) * | 1987-09-29 | 1989-04-18 | Ford Motor Company | Control of engine speed with automatic transmissions |
US5072878A (en) * | 1989-07-31 | 1991-12-17 | Mitsubishi Denki Kabushiki Kaisha | Air conditioning apparatus |
JP4193300B2 (ja) * | 1999-08-17 | 2008-12-10 | 株式会社エクォス・リサーチ | エージェント装置 |
JP2002284876A (ja) * | 2001-01-22 | 2002-10-03 | Toray Ind Inc | ポリアリーレンスルフィドの製造方法 |
JP2015206483A (ja) * | 2014-04-17 | 2015-11-19 | 日立アプライアンス株式会社 | 空気調和機 |
CN104166396B (zh) * | 2014-08-27 | 2016-09-28 | 深圳创维-Rgb电子有限公司 | 一种智能家居控制方法及系统 |
CN105180363A (zh) * | 2015-09-08 | 2015-12-23 | 广东美的制冷设备有限公司 | 空调器的控制方法、终端及系统 |
CN106921541A (zh) * | 2015-12-24 | 2017-07-04 | 美的集团股份有限公司 | 家庭网关和智能家居系统、家用电器的控制方法 |
CN106980266A (zh) * | 2016-01-16 | 2017-07-25 | 国基电子(上海)有限公司 | 智能家电控制系统及方法 |
US10120397B1 (en) * | 2016-02-11 | 2018-11-06 | Indoor Reality Inc. | Interior climate control utilizing multimodal sensor positioning |
CN106288163B (zh) * | 2016-08-09 | 2019-08-16 | 广东美的制冷设备有限公司 | 空调器及其一键开机控制方法 |
CN108427314A (zh) * | 2018-05-29 | 2018-08-21 | 深圳市零度智控科技有限公司 | 智能家居控制方法、装置及计算机可读存储介质 |
CN108536035A (zh) * | 2018-07-06 | 2018-09-14 | 盯盯拍(深圳)技术股份有限公司 | 智能家居控制方法以及智能家居控制装置 |
CN109269029A (zh) * | 2018-08-31 | 2019-01-25 | 上海与德科技有限公司 | 智能新风系统的控制方法、控制器和可存储介质 |
CN110007616A (zh) * | 2019-05-28 | 2019-07-12 | 广州小鹏汽车科技有限公司 | 基于车载系统的智能家居设备控制方法、装置及车载终端 |
CN110398898B (zh) * | 2019-06-20 | 2023-11-14 | 平安科技(深圳)有限公司 | 智能终端管理方法、装置、计算机设备及可读存储介质 |
EP3988851A4 (en) * | 2019-06-30 | 2022-08-17 | GD Midea Air-Conditioning Equipment Co., Ltd. | METHOD OF CONTROLLING AN AIR CONDITIONING SYSTEM, AIR CONDITIONING, SERVER AND STORAGE MEDIUM |
JP7427404B2 (ja) * | 2019-09-30 | 2024-02-05 | 大和ハウス工業株式会社 | 機器制御装置 |
CN113138558A (zh) * | 2020-04-03 | 2021-07-20 | 哈尔滨学院 | 一种智能家居系统及其运行方法 |
CN111552189A (zh) * | 2020-04-20 | 2020-08-18 | 星络智能科技有限公司 | 一种启动场景模式的方法、智能家居控制器及存储介质 |
CN111594986A (zh) * | 2020-06-02 | 2020-08-28 | 宁波奥克斯电气股份有限公司 | 空调器的智能预约方法、装置、空调器及可读存储介质 |
CN111649443A (zh) * | 2020-06-17 | 2020-09-11 | 宁波奥克斯电气股份有限公司 | 空调器控制方法、装置、空调器及存储介质 |
CN111964215A (zh) * | 2020-07-02 | 2020-11-20 | 宁波奥克斯电气股份有限公司 | 一种预约开机方法、控制装置及空调器 |
CN112880154A (zh) * | 2021-02-07 | 2021-06-01 | 河北红岸基地科技有限公司 | 一种智能空调设备的控制方法 |
CN112965393A (zh) * | 2021-02-07 | 2021-06-15 | 河北红岸基地科技有限公司 | 一种智能家居设备的控制方法 |
CN113168484B (zh) * | 2021-03-16 | 2022-05-10 | 华为技术有限公司 | 鉴权方法、装置及存储介质 |
-
2021
- 2021-08-02 CN CN202110879419.9A patent/CN113639435B/zh active Active
-
2022
- 2022-04-27 WO PCT/CN2022/089655 patent/WO2023010908A1/zh active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013200098A (ja) * | 2012-03-26 | 2013-10-03 | Mitsubishi Electric Corp | 空気調和装置 |
CN103994558A (zh) * | 2014-05-07 | 2014-08-20 | 广东美的制冷设备有限公司 | 空调器的控制方法、智能终端和空调器控制系统 |
CN105180346A (zh) * | 2015-07-16 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | 一种基于gps的空调远程自动控制系统及方法 |
CN106871331A (zh) * | 2017-01-03 | 2017-06-20 | 珠海格力电器股份有限公司 | 一种空调的控制方法和系统 |
CN112099362A (zh) * | 2019-06-17 | 2020-12-18 | 美的集团武汉制冷设备有限公司 | 控制终端、家电设备的远程控制提示方法及空调器 |
CN112229027A (zh) * | 2019-06-30 | 2021-01-15 | 广东美的制冷设备有限公司 | 空调器的控制方法、终端及计算机可读存储介质 |
CN112229026A (zh) * | 2019-06-30 | 2021-01-15 | 广东美的制冷设备有限公司 | 空调器的控制方法、空调器、服务器及存储介质 |
CN112229037A (zh) * | 2019-06-30 | 2021-01-15 | 广东美的制冷设备有限公司 | 空调器的控制方法、终端、空调器和存储介质 |
CN113639435A (zh) * | 2021-08-02 | 2021-11-12 | 青岛海尔空调器有限总公司 | 空调控制方法、设备、介质及程序产品 |
Also Published As
Publication number | Publication date |
---|---|
CN113639435B (zh) | 2023-01-13 |
CN113639435A (zh) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023010908A1 (zh) | 空调控制方法、设备、介质及程序产品 | |
US10271284B2 (en) | Methods and systems for performing geofencing with reduced power consumption | |
CN110578999B (zh) | 空调器及其控制方法、装置和计算机可读存储介质 | |
CN112229039B (zh) | 空调器的控制方法、空调器、服务器及存储介质 | |
WO2021000642A1 (zh) | 空调器的控制方法、空调器、服务器及存储介质 | |
US10284385B2 (en) | Environmental control method and apparatus | |
RU2651943C2 (ru) | Способ и устройство для управления интеллектуальным устройством | |
CN109202882B (zh) | 一种机器人的控制方法及其装置 | |
US9471049B2 (en) | System and method for configuring a field device of a control system | |
RU2644410C2 (ru) | Способ для напоминания и устройство напоминания | |
US10831256B2 (en) | Facilitating power conservation for devices based on likelihood of power usage level | |
CN112229026B (zh) | 空调器的控制方法、空调器、服务器及存储介质 | |
JP6325109B2 (ja) | 管理装置、管理装置の制御方法、及び管理システムの制御方法 | |
CN112229037B (zh) | 空调器的控制方法、终端、空调器和存储介质 | |
WO2018157525A1 (zh) | 车载空调控制方法及系统 | |
CN111435237A (zh) | 电器控制方法、装置、电子设备及存储介质 | |
CN110986290A (zh) | 空调器及其控制方法、控制终端、服务器和存储介质 | |
CN110830334A (zh) | 一种家电设备控制方法、装置、系统、服务器及家电设备 | |
WO2020037903A1 (zh) | 控制器的控制方法、装置、设备和存储介质 | |
CN110073684B (zh) | 用于控制远程信息处理控制单元的方法 | |
EP3565217B1 (en) | Method for realizing value-added service and cloud server | |
US10405137B2 (en) | Mobile application and system for associating actions with independent geographic locations | |
EP4180947B1 (en) | Software upgrading method, apparatus, and system | |
CN113504749B (zh) | 基于uwb的设备控制方法和装置、控制设备、存储介质 | |
CN115214293A (zh) | 车内温度控制方法、系统及云端大数据系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22851629 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22851629 Country of ref document: EP Kind code of ref document: A1 |